Detectionhightest

Suspicious Response File Execution Via Odbcconf.EXE

Detects execution of "odbcconf" with the "-f" flag in order to load a response file with a non-".rsp" extension.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-05-22Updated 2024-03-132d32dd6f-3196-4093-b9eb-1ad8ab088ca5windows
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 Logic4 selectors
detection:
    selection_img:
        - Image|endswith: '\odbcconf.exe'
        - OriginalFileName: 'odbcconf.exe'
    selection_cli:
        CommandLine|contains|windash: ' -f '
    filter_main_rsp_ext:
        CommandLine|contains: '.rsp'
    filter_main_runonce_odbc:
        # When odbcconf is run with the "/R" flag, it creates a "runonce" key to run at the next reboot
        ParentImage: 'C:\Windows\System32\runonce.exe'
        Image: 'C:\Windows\System32\odbcconf.exe'
        CommandLine|contains: '.exe /E /F "C:\WINDOWS\system32\odbcconf.tmp"'
    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
2d32dd6f-3196-4093-b9eb-1ad8ab088ca5
Status
test
Level
high
Type
Detection
Created
2023-05-22
Modified
2024-03-13
Path
rules/windows/process_creation/proc_creation_win_odbcconf_response_file_susp.yml
Raw Tags
attack.stealthattack.t1218.008
View on GitHub