{"id":"4cad6c64-d6df-42d6-8dae-eb78defdc415","title":"Potential Linux Process Code Injection Via DD Utility","description":"Detects the injection of code by overwriting the memory map of a Linux process using the \"dd\" Linux command.","author":"Joseph Kamau","status":"test","level":"medium","date":"2023-12-01","modified":"","tags":["attack.privilege-escalation","attack.stealth","attack.t1055.009"],"technique_ids":["T1055.009"],"logsource":{"product":"linux","category":"process_creation"},"falsepositives":["Unknown"],"references":["https://www.aon.com/cyber-solutions/aon_cyber_labs/linux-based-inter-process-code-injection-without-ptrace2/","https://github.com/AonCyberLabs/Cexigua/blob/34d338620afae4c6335ba8d8d499e1d7d3d5d7b5/overwrite.sh"],"source_path":"rules/linux/process_creation/proc_creation_lnx_dd_process_injection.yml","source_sha256":"b33a2caba571e7feeb84116a0e958d5ba9602cf800e3e9ea0375216f03feb3a8","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_dd_process_injection.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 Linux Process Code Injection Via DD Utility\nid: 4cad6c64-d6df-42d6-8dae-eb78defdc415\nstatus: test\ndescription: Detects the injection of code by overwriting the memory map of a Linux process using the \"dd\" Linux command.\nreferences:\n    - https://www.aon.com/cyber-solutions/aon_cyber_labs/linux-based-inter-process-code-injection-without-ptrace2/\n    - https://github.com/AonCyberLabs/Cexigua/blob/34d338620afae4c6335ba8d8d499e1d7d3d5d7b5/overwrite.sh\nauthor: Joseph Kamau\ndate: 2023-12-01\ntags:\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1055.009\nlogsource:\n    product: linux\n    category: process_creation\ndetection:\n    selection:\n        Image|endswith: '/dd'\n        CommandLine|contains|all:\n            - 'of='\n            - '/proc/'\n            - '/mem'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1055.009","id":"T1055.009","name":"Proc Memory","page":"techniques/enterprise/T1055.009/"}],"data_path":"data/detection-rules/4cad6c64-d6df-42d6-8dae-eb78defdc415.json","kind":"sigma"}
