Detection rules › Sigma

System Network Discovery - Linux

Status
test
Severity
informational
Log source
product linux, category process_creation
Author
Ömer Günal and remotephone, oscd.community
Source
github.com/SigmaHQ/sigma

Detects enumeration of local network configuration

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: System Network Discovery - Linux
id: e7bd1cfa-b446-4c88-8afb-403bcd79e3fa
status: test
description: Detects enumeration of local network configuration
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1016/T1016.md
author: Ömer Günal and remotephone, oscd.community
date: 2020-10-06
modified: 2022-09-15
tags:
    - attack.discovery
    - attack.t1016
logsource:
    category: process_creation
    product: linux
detection:
    selection_img:
        Image|endswith:
            - '/firewall-cmd'
            - '/ufw'
            - '/iptables'
            - '/netstat'
            - '/ss'
            - '/ip'
            - '/ifconfig'
            - '/systemd-resolve'
            - '/route'
    selection_cli:
        CommandLine|contains: '/etc/resolv.conf'
    condition: 1 of selection_*
falsepositives:
    - Legitimate administration activities
level: informational

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '/firewall-cmd'
        - '/ufw'
        - '/iptables'
        - '/netstat'
        - '/ss'
        - '/ip'
        - '/ifconfig'
        - '/systemd-resolve'
        - '/route'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: '/etc/resolv.conf'

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
  • /etc/resolv.conf
Imageends_with
  • /firewall-cmd
  • /ifconfig
  • /ip
  • /iptables
  • /netstat
  • /route
  • /ss
  • /systemd-resolve
  • /ufw