{"id":"54786ddc-5b8a-11ed-9b6a-0242ac120002","title":"Suspicious Ping/Del Command Combination","description":"Detects a method often used by ransomware. Which combines the \"ping\" to wait a couple of seconds and then \"del\" to delete the file in question. Its used to hide the file responsible for the initial infection for example","author":"Ilya Krestinichev","status":"test","level":"high","date":"2022-11-03","modified":"2024-03-05","tags":["attack.stealth","attack.t1070.004"],"technique_ids":["T1070.004"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://blog.sygnia.co/kaseya-ransomware-supply-chain-attack","https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2022/06/23093553/Common-TTPs-of-the-modern-ransomware_low-res.pdf","https://www.acronis.com/en-us/blog/posts/lockbit-ransomware/","https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/blackbyte-exbyte-ransomware"],"source_path":"rules/windows/process_creation/proc_creation_win_cmd_ping_del_combined_execution.yml","source_sha256":"8827d95a38f78724aae8c9300ce912bed5bb912718b04a812d6cfedba992efa1","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_cmd_ping_del_combined_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: Suspicious Ping/Del Command Combination\nid: 54786ddc-5b8a-11ed-9b6a-0242ac120002\nstatus: test\ndescription: Detects a method often used by ransomware. Which combines the \"ping\" to wait a couple of seconds and then \"del\" to delete the file in question. Its used to hide the file responsible for the initial infection for example\nreferences:\n    - https://blog.sygnia.co/kaseya-ransomware-supply-chain-attack\n    - https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2022/06/23093553/Common-TTPs-of-the-modern-ransomware_low-res.pdf\n    - https://www.acronis.com/en-us/blog/posts/lockbit-ransomware/\n    - https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/blackbyte-exbyte-ransomware\nauthor: Ilya Krestinichev\ndate: 2022-11-03\nmodified: 2024-03-05\ntags:\n    - attack.stealth\n    - attack.t1070.004\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    # Note: In the case of sysmon and similar logging utilities, see this discussion https://github.com/SigmaHQ/sigma/discussions/4277\n    # Example: \"C:\\Windows\\System32\\cmd.exe\"  /C ping 127.0.0.7 -n 3 > Nul & fsutil file setZeroData offset=0 length=524288 \"C:\\Users\\User\\Desktop\\lockbit\\lockbit.exe\" & Del /f /q \"C:\\Users\\User\\Desktop\\lockbit\\lockbit.exe\".\n    selection_count:\n        CommandLine|contains|windash: ' -n '\n    selection_nul:\n        CommandLine|contains: 'Nul' # Covers \"> Nul\" and \">Nul \"\n    selection_del_param:\n        CommandLine|contains|windash:\n            - ' -f '\n            - ' -q '\n    selection_all:\n        CommandLine|contains|all:\n            - 'ping' # Covers \"ping\" and \"ping.exe\"\n            - 'del '\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1070.004","id":"T1070.004","name":"File Deletion","page":"techniques/enterprise/T1070.004/"}],"data_path":"data/detection-rules/54786ddc-5b8a-11ed-9b6a-0242ac120002.json","kind":"sigma"}
