{"id":"3f5491e2-8db8-496b-9e95-1029fce852d4","title":"Driver/DLL Installation Via Odbcconf.EXE","description":"Detects execution of \"odbcconf\" with \"INSTALLDRIVER\" which installs a new ODBC driver. Attackers abuse this to install and run malicious DLLs.","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-05-22","modified":"","tags":["attack.stealth","attack.t1218.008"],"technique_ids":["T1218.008"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate driver DLLs being registered via \"odbcconf\" will generate false positives. Investigate the path of the DLL and its contents to determine if the action is authorized."],"references":["https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/","https://web.archive.org/web/20191023232753/https://twitter.com/Hexacorn/status/1187143326673330176","https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/"],"source_path":"rules/windows/process_creation/proc_creation_win_odbcconf_driver_install.yml","source_sha256":"01b31e8304cdaa548e4d0a00699b003046390a17360b361c25cc8a05a0bd4101","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_odbcconf_driver_install.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Driver/DLL Installation Via Odbcconf.EXE\nid: 3f5491e2-8db8-496b-9e95-1029fce852d4\nrelated:\n    - id: cb0fe7c5-f3a3-484d-aa25-d350a7912729\n      type: similar\nstatus: test\ndescription: Detects execution of \"odbcconf\" with \"INSTALLDRIVER\" which installs a new ODBC driver. Attackers abuse this to install and run malicious DLLs.\nreferences:\n    - https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/\n    - https://web.archive.org/web/20191023232753/https://twitter.com/Hexacorn/status/1187143326673330176\n    - https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-05-22\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        # Note: The \"/A\" flag is not required to call a specific action\n        CommandLine|contains|all:\n            - 'INSTALLDRIVER '\n            - '.dll'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate driver DLLs being registered via \"odbcconf\" will generate false positives. Investigate the path of the DLL and its contents to determine if the action is authorized.\nlevel: medium\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/3f5491e2-8db8-496b-9e95-1029fce852d4.json","kind":"sigma"}
