Detection rules › Sigma

System Information Discovery - Auditd

Status
test
Severity
low
Log source
product linux, service auditd
Author
Pawel Mazur
Source
github.com/SigmaHQ/sigma

Detects System Information Discovery commands

MITRE ATT&CK coverage

TacticTechniques
DiscoveryT1082 System Information Discovery

Event coverage

Rule body yaml

title: System Information Discovery - Auditd
id: f34047d9-20d3-4e8b-8672-0a35cc50dc71
status: test
description: Detects System Information Discovery commands
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f296668303c29d3f4c07e42bdd2b28d8dd6625f9/atomics/T1082/T1082.md
author: Pawel Mazur
date: 2021-09-03
modified: 2023-03-06
tags:
    - attack.discovery
    - attack.t1082
logsource:
    product: linux
    service: auditd
detection:
    selection_1:
        type: PATH
        name:
            - /etc/lsb-release
            - /etc/redhat-release
            - /etc/issue
    selection_2:
        type: EXECVE
        a0:
            - uname
            - uptime
            - lsmod
            - hostname
            - env
    selection_3:
        type: EXECVE
        a0: grep
        a1|contains:
            - vbox
            - vm
            - xen
            - virtio
            - hv
    selection_4:
        type: EXECVE
        a0: kmod
        a1: list
    condition: 1 of selection_*
falsepositives:
    - Likely
level: low

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    type: PATH
    name:
        - /etc/lsb-release
        - /etc/redhat-release
        - /etc/issue

Stage 2: selection_2

selection_2:
    type: EXECVE
    a0:
        - uname
        - uptime
        - lsmod
        - hostname
        - env

Stage 3: selection_3

selection_3:
    type: EXECVE
    a0: grep
    a1|contains:
        - vbox
        - vm
        - xen
        - virtio
        - hv

Stage 4: selection_4

selection_4:
    type: EXECVE
    a0: kmod
    a1: list

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
a0eq
  • env
  • grep
  • hostname
  • kmod
  • lsmod
  • uname
  • uptime
a1eq
  • list
a1match
  • hv
  • vbox
  • virtio
  • vm
  • xen
nameeq
  • /etc/issue
  • /etc/lsb-release
  • /etc/redhat-release
typeeq
  • EXECVE
  • PATH