Sigma rule: Linux Capabilities Discovery

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3cd3850e798c, updated 2022-12-25T00:00:00.000Z.

Rule

Title
Linux Capabilities Discovery
Status
test
Level
low
Author
Pawel Mazur
Date
2021-11-28
Modified
2022-12-25
File
rules/linux/auditd/execve/lnx_auditd_capabilities_discovery.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attempts to discover the files with setuid/setgid capability on them. That would allow adversary to escalate their privileges.

Log source

product
linux
service
auditd

Detection

selection:
    type: EXECVE
    a0: getcap
    a1: '-r'
    a2: '/'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.discovery
  • attack.privilege-escalation
  • attack.t1083
  • attack.t1548

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_capabilities_discovery.yml

Sources and licences

  • SigmaHQ

    "Linux Capabilities Discovery" by Pawel Mazur (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_capabilities_discovery.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Linux Capabilities Discovery",
entity page, dataset version ref-3cd3850e798c, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/fe10751f-1995-40a5-aaa2-c97ccb4123fe (accessed 2026-11-03).
Underlying source: SigmaHQ rule fe10751f-1995-40a5-aaa2-c97ccb4123fe, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.