CmdID

CmdID / Rules / macOS

Macos Remote System Discovery

A Sigma rule for process creation on macOS, by Alejandro Ortuno, oscd.community.

informational 1 ATT&CK technique 2 programs it names 2 everyday examples trip it

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection_1:
    CommandLine|contains: '-a'
    Image|endswith: '/arp'
  selection_2:
    CommandLine|contains:
      - ' 10.'
      - ' 192.168.'
      - ' 172.16.'
      - ' 172.17.'
      - ' 172.18.'
      - ' 172.19.'
      - ' 172.20.'
      - ' 172.21.'
      - ' 172.22.'
      - ' 172.23.'
      - ' 172.24.'
      - ' 172.25.'
      - ' 172.26.'
      - ' 172.27.'
      - ' 172.28.'
      - ' 172.29.'
      - ' 172.30.'
      - ' 172.31.'
      - ' 127.'
      - ' 169.254.'
    Image|endswith: '/ping'
  condition: 1 of selection*

The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Alejandro Ortuno, oscd.community, under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.

Command lines that trip it

everyday examples from tldr-pages, CC BY 4.0, each read by CmdID

Show alternative BSD style output format with on fixed columns on the page for arp

arp -aIdentify

Ping a host with IP 10.0.0.1 (Note: 10.0.0.1 can be shortened to 10.1) on the page for ping

ping 10.0.0.1Identify

Programs and files it names

their pages here

ATT&CK

the techniques it is tagged with
T1018Remote System Discovery