{"id":"ded2b07a-d12f-4284-9b76-653e37b6c8b0","title":"Potentially Suspicious Ping/Copy Command Combination","description":"Detects uncommon and potentially suspicious one-liner command containing both \"ping\" and \"copy\" at the same time, which is usually used by malware.\n","author":"X__Junior (Nextron Systems)","status":"test","level":"medium","date":"2023-07-18","modified":"2024-03-06","tags":["attack.stealth","attack.t1070.004"],"technique_ids":["T1070.004"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["Internal Research"],"source_path":"rules/windows/process_creation/proc_creation_win_cmd_ping_copy_combined_execution.yml","source_sha256":"da1ec7c5f8b2bef8a670051dcf601a6a34fdd686978c919186c68389d9773e2b","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_cmd_ping_copy_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: Potentially Suspicious Ping/Copy Command Combination\nid: ded2b07a-d12f-4284-9b76-653e37b6c8b0\nstatus: test\ndescription: |\n    Detects uncommon and potentially suspicious one-liner command containing both \"ping\" and \"copy\" at the same time, which is usually used by malware.\nreferences:\n    - Internal Research\nauthor: X__Junior (Nextron Systems)\ndate: 2023-07-18\nmodified: 2024-03-06\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    selection_cmd:\n        - Image|endswith: '\\cmd.exe'\n        - OriginalFileName: 'Cmd.Exe'\n    selection_action:\n        CommandLine|contains|all:\n            - 'ping' # Covers \"ping\" and \"ping.exe\"\n            - 'copy '\n    selection_cli_1:\n        CommandLine|contains|windash: ' -n ' # Count\n    selection_cli_2:\n        CommandLine|contains|windash: ' -y '\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\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/ded2b07a-d12f-4284-9b76-653e37b6c8b0.json","kind":"sigma"}
