Detection rules › Sigma

System and Hardware Information Discovery

Status
stable
Severity
informational
Log source
product linux, service auditd
Author
Ömer Günal, oscd.community
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 and Hardware Information Discovery
id: 1f358e2e-cb63-43c3-b575-dfb072a6814f
related:
    - id: 42df45e7-e6e9-43b5-8f26-bec5b39cc239
      type: derived
status: stable
description: Detects system information discovery commands
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1082/T1082.md#atomic-test-4---linux-vm-check-via-hardware
author: Ömer Günal, oscd.community
date: 2020-10-08
modified: 2022-11-26
tags:
    - attack.discovery
    - attack.t1082
logsource:
    product: linux
    service: auditd
detection:
    selection:
        type: 'PATH'
        name:
            - '/sys/class/dmi/id/bios_version'
            - '/sys/class/dmi/id/product_name'
            - '/sys/class/dmi/id/chassis_vendor'
            - '/proc/scsi/scsi'
            - '/proc/ide/hd0/model'
            - '/proc/version'
            - '/etc/*version'
            - '/etc/*release'
            - '/etc/issue'
    condition: selection
falsepositives:
    - Legitimate administration activities
level: informational

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    type: 'PATH'
    name:
        - '/sys/class/dmi/id/bios_version'
        - '/sys/class/dmi/id/product_name'
        - '/sys/class/dmi/id/chassis_vendor'
        - '/proc/scsi/scsi'
        - '/proc/ide/hd0/model'
        - '/proc/version'
        - '/etc/*version'
        - '/etc/*release'
        - '/etc/issue'

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
nameeq
  • /etc/*release
  • /etc/*version
  • /etc/issue
  • /proc/ide/hd0/model
  • /proc/scsi/scsi
  • /proc/version
  • /sys/class/dmi/id/bios_version
  • /sys/class/dmi/id/chassis_vendor
  • /sys/class/dmi/id/product_name
typeeq
  • PATH