Linux: Disable ASLR via personality syscall or sysctl/randomize_va_space changes

Flags Linux events where ASLR is disabled using the personality syscall or sysctl setting kernel.randomize_va_space=0.

FreeReviewedSigma · High · v3
Product
linux
Service
auditd
Author
Milad Cheraghi (SigmaHQ), DRL 1.1
Published
2025-05-26
Updated
2026-07-31

ATT&CK techniques

Priv Esc → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies Linux activity that disables Address Space Layout Randomization (ASLR) by using the personality syscall with the ADDR_NO_RANDOMIZE flag, modifying /proc/sys/kernel/randomize_va_space, or executing sysctl to set kernel.randomize_va_space=0. Reducing ASLR effectiveness can make memory corruption exploits more reliable and is a common defense-impairment step during adversary tradecraft. It relies on auditd telemetry capturing syscall events for personality and process execution events for sysctl with specific arguments and values.

Related detections2 linkedT1055.009 — drag to rearrange
Malicious Process Memory Injection via dd Write to /proc/pid/mem by UNC3886 (via process_creation)
Linux dd Process Memory Map Overwrite for Code Injection (proc/mem)
Linux: Disable ASLR via personality syscall or sysctl/randomize_va_space changes
Pivot detection · T1055.009 · 2 related

Changelog

v3
  1. v3
    Candidate ingested via manual entry.2026-07-31
  2. v2
    Candidate ingested via manual entry.2026-07-31
  3. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.