Sigma rule: New DLL Registered Via Odbcconf.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4305d6f13959, updated 2023-05-22T00:00:00.000Z.
Rule
- Title
- New DLL Registered Via Odbcconf.EXE
- Status
- test
- Level
- medium
- Author
- Kirill Kiryanov, Beyu Denis, Daniil Yugoslavskiy, oscd.community, Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-05-22
- File
- rules/windows/process_creation/proc_creation_win_odbcconf_register_dll_regsvr.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of "odbcconf" with "REGSVR" in order to register a new DLL (equivalent to running regsvr32). 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:
- 'REGSVR '
- '.dll'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate DLLs being registered via "odbcconf" will generate false positives. Investigate the path of the DLL and its content to determine if the action is authorized.
Tags
- attack.stealth
- attack.t1218.008
MITRE ATT&CK ids this rule names
Related rules
References
- https://learn.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-ver16
- https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/
- https://redcanary.com/blog/raspberry-robin/
- https://web.archive.org/web/20191023232753/https://twitter.com/Hexacorn/status/1187143326673330176
- https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/
- https://www.trendmicro.com/en_us/research/17/h/backdoor-carrying-emails-set-sights-on-russian-speaking-businesses.html
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_register_dll_regsvr.yml
Sources and licences
SigmaHQ
"New DLL Registered Via Odbcconf.EXE" by Kirill Kiryanov, Beyu Denis, Daniil Yugoslavskiy, oscd.community, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_odbcconf_register_dll_regsvr.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: New DLL Registered Via Odbcconf.EXE",
entity page, dataset version ref-4305d6f13959, updated 2023-05-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9f0a8bf3-a65b-440a-8c1e-5cb1547c8e70 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9f0a8bf3-a65b-440a-8c1e-5cb1547c8e70, 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.