Detectionhightest

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.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-05-22ba4cfc11-d0fa-4d94-bf20-7c332c412e76windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
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: 'REGSVR '
    filter_main_dll_ext:
        CommandLine|contains: '.dll'
    condition: all of selection_* and not 1 of filter_main_*
False Positives
Unlikely

False positives are unlikely for most environments. High confidence detection.

MITRE ATT&CK
Rule Metadata
Rule ID
ba4cfc11-d0fa-4d94-bf20-7c332c412e76
Status
test
Level
high
Type
Detection
Created
2023-05-22
Path
rules/windows/process_creation/proc_creation_win_odbcconf_register_dll_regsvr_susp.yml
Raw Tags
attack.stealthattack.t1218.008
View on GitHub