Detection rules › Sigma

System Network Discovery - macOS

Status
test
Severity
informational
Log source
product macos, category process_creation
Author
remotephone, oscd.community
Source
github.com/SigmaHQ/sigma

Detects enumeration of local network configuration

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
ESFexecProcess Execution (Notify)

Rule body yaml

title: System Network Discovery - macOS
id: 58800443-f9fc-4d55-ae0c-98a3966dfb97
status: test
description: Detects enumeration of local network configuration
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1016/T1016.md
author: remotephone, oscd.community
date: 2020-10-06
modified: 2024-08-29
tags:
    - attack.discovery
    - attack.t1016
logsource:
    product: macos
    category: process_creation
detection:
    selection_1:
        Image|endswith:
            - '/arp'
            - '/ifconfig'
            - '/netstat'
            - '/networksetup'
            - '/socketfilterfw'
    selection_2:
        Image: '/usr/bin/defaults'
        CommandLine|contains|all:
            - '/Library/Preferences/com.apple.alf'
            - 'read'
    filter_main_wifivelocityd:
        ParentImage|endswith: '/wifivelocityd'
    condition: 1 of selection_* and not 1 of filter_main_*
falsepositives:
    - Legitimate administration activities
level: informational

Stages and Predicates

Stage 0: condition

1 of selection_* and not 1 of filter_main_*

Stage 1: selection_1

selection_1:
    Image|endswith:
        - '/arp'
        - '/ifconfig'
        - '/netstat'
        - '/networksetup'
        - '/socketfilterfw'

Stage 2: selection_2

selection_2:
    Image: '/usr/bin/defaults'
    CommandLine|contains|all:
        - '/Library/Preferences/com.apple.alf'
        - 'read'

Stage 3: not filter_main_wifivelocityd

filter_main_wifivelocityd:
    ParentImage|endswith: '/wifivelocityd'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
ParentImageends_with/wifivelocityd

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • /Library/Preferences/com.apple.alf
  • read
Imageends_with
  • /arp
  • /ifconfig
  • /netstat
  • /networksetup
  • /socketfilterfw
Imageeq
  • /usr/bin/defaults