Potentially Suspicious DLL Registered Via Odbcconf.EXE

 Original Source: [Sigma source]
Title: Potentially Suspicious DLL Registered Via Odbcconf.EXE
Status: test
Description: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.
References:
  -https://learn.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-ver16
  -https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/
  -https://www.trendmicro.com/en_us/research/17/h/backdoor-carrying-emails-set-sights-on-russian-speaking-businesses.html
Author: Nasreddine Bencherchali (Nextron Systems)
Date: 2023-05-22
modified:None
Tags:
  • -'attack.stealth'
  • -'attack.t1218.008'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection_img:
Image|endswith:'\odbcconf.exe' OriginalFileName:'odbcconf.exe'   selection_cli:
    CommandLine|contains: 'REGSVR '
  filter_main_dll_ext:
    CommandLine|contains: '.dll'
  condition:all of selection_* and not 1 of filter_main_*
Falsepositives:
  -Unlikely
Level: high