Sigma rule: Potentially Suspicious Ping/Copy Command Combination
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7cf390d09ce5, updated 2024-03-06T00:00:00.000Z.
Rule
- Title
- Potentially Suspicious Ping/Copy Command Combination
- Status
- test
- Level
- medium
- Author
- X__Junior (Nextron Systems)
- Date
- 2023-07-18
- Modified
- 2024-03-06
- File
- rules/windows/process_creation/proc_creation_win_cmd_ping_copy_combined_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects uncommon and potentially suspicious one-liner command containing both "ping" and "copy" at the same time, which is usually used by malware.
Log source
- product
- windows
- category
- process_creation
Detection
# Note: In the case of sysmon and similar logging utilities, see this discussion https://github.com/SigmaHQ/sigma/discussions/4277
selection_cmd:
- Image|endswith: '\cmd.exe'
- OriginalFileName: 'Cmd.Exe'
selection_action:
CommandLine|contains|all:
- 'ping' # Covers "ping" and "ping.exe"
- 'copy '
selection_cli_1:
CommandLine|contains|windash: ' -n ' # Count
selection_cli_2:
CommandLine|contains|windash: ' -y '
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.stealth
- attack.t1070.004
MITRE ATT&CK ids this rule names
References
- Internal Research
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_ping_copy_combined_execution.yml
Sources and licences
SigmaHQ
"Potentially Suspicious Ping/Copy Command Combination" by X__Junior (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_ping_copy_combined_execution.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potentially Suspicious Ping/Copy Command Combination",
entity page, dataset version ref-7cf390d09ce5, updated 2024-03-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ded2b07a-d12f-4284-9b76-653e37b6c8b0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule ded2b07a-d12f-4284-9b76-653e37b6c8b0, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.