Potentially Suspicious Ping/Copy Command Combination (via process_creation)
This rule detects uncommon and potentially anomalous one-liner command containing both "ping" and "copy" at the same time, which is usually used by malware.
SigmamediumWindowsv1
sigma
potentially-suspicious-ping-copy-command-combination-via-process-creation
title: Potentially Suspicious Ping/Copy Command Combination (via process_creation)
id: fe22a589-d668-5666-898d-263bb1d547fe
status: stable
description: This rule detects uncommon and potentially anomalous one-liner command containing both "ping" and "copy" at the same time, which is usually used by malware.
references:
- https://attack.mitre.org/techniques/T1070/004/
- Internal Research
author: Huntrule Team
date: 2026-03-17
tags:
- attack.stealth
- attack.t1070.004
logsource:
category: process_creation
product: windows
detection:
selection_cmd:
- Image|endswith: '\cmd.exe'
- OriginalFileName: 'Cmd.Exe'
selection_action:
CommandLine|contains|all:
- 'ping'
- 'copy '
selection_cli_1:
CommandLine|contains|windash: ' -n '
selection_cli_2:
CommandLine|contains|windash: ' -y '
condition: all of selection_*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.