Sigma rule: Binary Padding - Linux

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-571a9c6b8338, updated 2023-05-03T00:00:00.000Z.

Rule

Title
Binary Padding - Linux
Status
test
Level
high
Author
Igor Fits, oscd.community
Date
2020-10-13
Modified
2023-05-03
File
rules/linux/auditd/execve/lnx_auditd_binary_padding.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Adversaries may use binary padding to add junk data and change the on-disk representation of malware.
This rule detect using dd and truncate to add a junk data to file.

Log source

product
linux
service
auditd

Detection

selection_execve:
    type: 'EXECVE'
keywords_truncate:
    '|all':
        - 'truncate'
        - '-s'
keywords_dd:
    '|all':
        - 'dd'
        - 'if='
keywords_filter:
    - 'of='
condition: selection_execve and (keywords_truncate or (keywords_dd and not keywords_filter))

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1027.001

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_binary_padding.yml

Sources and licences

  • SigmaHQ

    "Binary Padding - Linux" by Igor Fits, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_binary_padding.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: Binary Padding - Linux",
entity page, dataset version ref-571a9c6b8338, updated 2023-05-03T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c52a914f-3d8b-4b2a-bb75-b3991e75f8ba (accessed 2026-11-03).
Underlying source: SigmaHQ rule c52a914f-3d8b-4b2a-bb75-b3991e75f8ba, 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.