Detection rules › Sigma

System Network Connections Discovery - MacOs

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

Detects usage of system utilities to discover system network connections

Known false positives

  • Legitimate activities

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: System Network Connections Discovery - MacOs
id: 9a7a0393-2144-4626-9bf1-7c2f5a7321db
status: test
description: Detects usage of system utilities to discover system network connections
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1049/T1049.md
author: Daniil Yugoslavskiy, oscd.community
date: 2020-10-19
modified: 2022-12-28
tags:
    - attack.discovery
    - attack.t1049
logsource:
    category: process_creation
    product: macos
detection:
    selection:
        Image|endswith:
            - '/who'
            - '/w'
            - '/last'
            - '/lsof'
            - '/netstat'
    condition: selection
falsepositives:
    - Legitimate activities
level: informational

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '/who'
        - '/w'
        - '/last'
        - '/lsof'
        - '/netstat'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • /last
  • /lsof
  • /netstat
  • /w
  • /who
field:"Image" kind:ends_with