{"id":"2d32dd6f-3196-4093-b9eb-1ad8ab088ca5","title":"Suspicious Response File Execution Via Odbcconf.EXE","description":"Detects execution of \"odbcconf\" with the \"-f\" flag in order to load a response file with a non-\".rsp\" extension.","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2023-05-22","modified":"2024-03-13","tags":["attack.stealth","attack.t1218.008"],"technique_ids":["T1218.008"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unlikely"],"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"],"source_path":"rules/windows/process_creation/proc_creation_win_odbcconf_response_file_susp.yml","source_sha256":"424eaab0054105f1fc3524076820e1dbbfa27adeda0db06300421489f7815301","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_odbcconf_response_file_susp.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Response File Execution Via Odbcconf.EXE\nid: 2d32dd6f-3196-4093-b9eb-1ad8ab088ca5\nrelated:\n    - id: 5f03babb-12db-4eec-8c82-7b4cb5580868\n      type: derived\n    - id: 65d2be45-8600-4042-b4c0-577a1ff8a60e\n      type: obsolete\nstatus: test\ndescription: Detects execution of \"odbcconf\" with the \"-f\" flag in order to load a response file with a non-\".rsp\" extension.\nreferences:\n    - https://learn.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-ver16\n    - https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/\n    - https://www.trendmicro.com/en_us/research/17/h/backdoor-carrying-emails-set-sights-on-russian-speaking-businesses.html\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-05-22\nmodified: 2024-03-13\ntags:\n    - attack.stealth\n    - attack.t1218.008\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\odbcconf.exe'\n        - OriginalFileName: 'odbcconf.exe'\n    selection_cli:\n        CommandLine|contains|windash: ' -f '\n    filter_main_rsp_ext:\n        CommandLine|contains: '.rsp'\n    filter_main_runonce_odbc:\n        # When odbcconf is run with the \"/R\" flag, it creates a \"runonce\" key to run at the next reboot\n        ParentImage: 'C:\\Windows\\System32\\runonce.exe'\n        Image: 'C:\\Windows\\System32\\odbcconf.exe'\n        CommandLine|contains: '.exe /E /F \"C:\\WINDOWS\\system32\\odbcconf.tmp\"'\n    condition: all of selection_* and not 1 of filter_main_*\nfalsepositives:\n    - Unlikely\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1218.008","id":"T1218.008","name":"Odbcconf","page":"techniques/enterprise/T1218.008/"}],"data_path":"data/detection-rules/2d32dd6f-3196-4093-b9eb-1ad8ab088ca5.json","kind":"sigma"}
