Detection rules › Sigma

Ping Hex IP

Status
test
Severity
high
Log source
category process_creation, product windows
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects a ping command that uses a hex encoded IP address

Known false positives

  • Unlikely, because no sane admin pings IP addresses in a hexadecimal form

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: Ping Hex IP
id: 1a0d4aba-7668-4365-9ce4-6d79ab088dfd
status: test
description: Detects a ping command that uses a hex encoded IP address
references:
    - https://github.com/vysecurity/Aggressor-VYSEC/blob/0d61c80387b9432dab64b8b8a9fb52d20cfef80e/ping.cna
    - https://twitter.com/vysecurity/status/977198418354491392
author: Florian Roth (Nextron Systems)
date: 2018-03-23
modified: 2025-10-17
tags:
    - attack.stealth
    - attack.t1140
    - attack.t1027
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\ping.exe'
        CommandLine|re: '0x[a-fA-F0-9]{8}'
    condition: selection
falsepositives:
    - Unlikely, because no sane admin pings IP addresses in a hexadecimal form
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\ping.exe'
    CommandLine|re: '0x[a-fA-F0-9]{8}'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLineregex_match
  • 0x[a-fA-F0-9]{8}
field:"CommandLine" kind:regex_match value:"0x[a-fA-F0-9]{8}"
Imageends_with
  • \ping.exe corpus 6 (sigma 6)
field:"Image" kind:ends_with value:"\ping.exe"