Sigma rule: Driver/DLL Installation Via Odbcconf.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7c83051ef85e, updated 2023-05-22T00:00:00.000Z.
Rule
- Title
- Driver/DLL Installation Via Odbcconf.EXE
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-05-22
- File
- rules/windows/process_creation/proc_creation_win_odbcconf_driver_install.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of "odbcconf" with "INSTALLDRIVER" which installs a new ODBC driver. Attackers abuse this to install and run malicious DLLs.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\odbcconf.exe'
- OriginalFileName: 'odbcconf.exe'
selection_cli:
# Note: The "/A" flag is not required to call a specific action
CommandLine|contains|all:
- 'INSTALLDRIVER '
- '.dll'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate driver DLLs being registered via "odbcconf" will generate false positives. Investigate the path of the DLL and its contents to determine if the action is authorized.
Tags
- attack.stealth
- attack.t1218.008
MITRE ATT&CK ids this rule names
Related rules
References
- https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/
- https://web.archive.org/web/20191023232753/https://twitter.com/Hexacorn/status/1187143326673330176
- https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_odbcconf_driver_install.yml
Sources and licences
SigmaHQ
"Driver/DLL Installation Via Odbcconf.EXE" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_odbcconf_driver_install.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Driver/DLL Installation Via Odbcconf.EXE",
entity page, dataset version ref-7c83051ef85e, updated 2023-05-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3f5491e2-8db8-496b-9e95-1029fce852d4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3f5491e2-8db8-496b-9e95-1029fce852d4, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.