{"id":"b5c7395f-e501-4a08-94d4-57fe7a9da9d2","title":"Potential Binary Proxy Execution Via Cdb.EXE","description":"Detects usage of \"cdb.exe\" to launch arbitrary processes or commands from a debugger script file","author":"Beyu Denis, oscd.community, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2019-10-26","modified":"2024-04-22","tags":["attack.execution","attack.stealth","attack.t1106","attack.t1218","attack.t1127"],"technique_ids":["T1106","T1127","T1218"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate use of debugging tools"],"references":["https://lolbas-project.github.io/lolbas/OtherMSBinaries/Cdb/","https://web.archive.org/web/20170715043507/http://www.exploit-monday.com/2016/08/windbg-cdb-shellcode-runner.html","https://twitter.com/nas_bench/status/1534957360032120833"],"source_path":"rules/windows/process_creation/proc_creation_win_cdb_arbitrary_command_execution.yml","source_sha256":"0304f2c48a2acce400a1c390dc1a286954f84e54a3aec0065b792cf4a3f3438e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_cdb_arbitrary_command_execution.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Binary Proxy Execution Via Cdb.EXE\nid: b5c7395f-e501-4a08-94d4-57fe7a9da9d2\nstatus: test\ndescription: Detects usage of \"cdb.exe\" to launch arbitrary processes or commands from a debugger script file\nreferences:\n    - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Cdb/\n    - https://web.archive.org/web/20170715043507/http://www.exploit-monday.com/2016/08/windbg-cdb-shellcode-runner.html\n    - https://twitter.com/nas_bench/status/1534957360032120833\nauthor: Beyu Denis, oscd.community, Nasreddine Bencherchali (Nextron Systems)\ndate: 2019-10-26\nmodified: 2024-04-22\ntags:\n    - attack.execution\n    - attack.stealth\n    - attack.t1106\n    - attack.t1218\n    - attack.t1127\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\cdb.exe'\n        - OriginalFileName: 'CDB.Exe'\n    selection_cli:\n        CommandLine|contains:\n            - ' -c ' # Using a debugger script\n            - ' -cf '\n    condition: all of selection*\nfalsepositives:\n    - Legitimate use of debugging tools\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1106","id":"T1106","name":"Native API","page":"techniques/enterprise/T1106/"},{"key":"enterprise/T1127","id":"T1127","name":"Trusted Developer Utilities Proxy Execution","page":"techniques/enterprise/T1127/"},{"key":"enterprise/T1218","id":"T1218","name":"System Binary Proxy Execution","page":"techniques/enterprise/T1218/"}],"data_path":"data/detection-rules/b5c7395f-e501-4a08-94d4-57fe7a9da9d2.json","kind":"sigma"}
