Sigma rule: ASLR Disabled Via Sysctl or Direct Syscall - Linux

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c7877f274be8, updated 2025-12-05T00:00:00.000Z.

Rule

Title
ASLR Disabled Via Sysctl or Direct Syscall - Linux
Status
experimental
Level
high
Author
Milad Cheraghi
Date
2025-05-26
Modified
2025-12-05
File
rules/linux/auditd/lnx_auditd_disable_aslr_protection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects actions that disable Address Space Layout Randomization (ASLR) in Linux, including:
- Use of the `personality` syscall with the ADDR_NO_RANDOMIZE flag (0x0040000)
- Modification of the /proc/sys/kernel/randomize_va_space file
- Execution of the `sysctl` command to set `kernel.randomize_va_space=0`
Disabling ASLR is often used by attackers during exploit development or to bypass memory protection mechanisms.
A successful use of these methods can reduce the effectiveness of ASLR and make memory corruption attacks more reliable.

Log source

product
linux
service
auditd

Detection

selection_syscall:
    type: 'SYSCALL'
    SYSCALL: 'personality'
    a0: 40000
selection_sysctl:
    type: 'EXECVE'
    a0: 'sysctl'
    a1: '-w'
    a2: 'kernel.randomize_va_space=0' # 0 = disable
condition: 1 of selection_*

False positives (as the rule lists them)

  • Debugging or legitimate software testing

Tags

  • attack.privilege-escalation
  • attack.stealth
  • attack.defense-impairment
  • attack.t1685
  • attack.t1055.009

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/lnx_auditd_disable_aslr_protection.yml

Sources and licences

  • SigmaHQ

    "ASLR Disabled Via Sysctl or Direct Syscall - Linux" by Milad Cheraghi (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/lnx_auditd_disable_aslr_protection.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: ASLR Disabled Via Sysctl or Direct Syscall - Linux",
entity page, dataset version ref-c7877f274be8, updated 2025-12-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e497a24e-9345-4a62-9803-b06d7d7cb132 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e497a24e-9345-4a62-9803-b06d7d7cb132, 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.