Potentially Suspicious DLL Registered Via Odbcconf.EXE
Detects execution of "odbcconf" with the "REGSVR" action where the DLL in question doesn't contain a ".dll" extension. Which is often used as a method to evade defenses.
Sigma rule (View on GitHub)
1title: Potentially Suspicious DLL Registered Via Odbcconf.EXE
2id: ba4cfc11-d0fa-4d94-bf20-7c332c412e76
3related:
4 - id: 9f0a8bf3-a65b-440a-8c1e-5cb1547c8e70
5 type: derived
6status: test
7description: Detects execution of "odbcconf" with the "REGSVR" action where the DLL in question doesn't contain a ".dll" extension. Which is often used as a method to evade defenses.
8references:
9 - https://learn.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-ver16
10 - https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/
11 - https://www.trendmicro.com/en_us/research/17/h/backdoor-carrying-emails-set-sights-on-russian-speaking-businesses.html
12author: Nasreddine Bencherchali (Nextron Systems)
13date: 2023-05-22
14tags:
15 - attack.defense-evasion
16 - attack.t1218.008
17logsource:
18 category: process_creation
19 product: windows
20detection:
21 selection_img:
22 - Image|endswith: '\odbcconf.exe'
23 - OriginalFileName: 'odbcconf.exe'
24 selection_cli:
25 # Note: The "/A" flag is not required to call a specific action
26 CommandLine|contains: 'REGSVR '
27 filter_main_dll_ext:
28 CommandLine|contains: '.dll'
29 condition: all of selection_* and not 1 of filter_main_*
30falsepositives:
31 - Unlikely
32level: high
References
Related rules
- Driver/DLL Installation Via Odbcconf.EXE
- New DLL Registered Via Odbcconf.EXE
- Odbcconf.EXE Suspicious DLL Location
- Response File Execution Via Odbcconf.EXE
- Suspicious Driver/DLL Installation Via Odbcconf.EXE