Sigma rule: OS Architecture Discovery Via Grep

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4b87e39db66f, updated 2023-06-02T00:00:00.000Z.

Rule

Title
OS Architecture Discovery Via Grep
Status
test
Level
low
Author
Joseliyo Sanchez, @Joseliyo_Jstnk
Date
2023-06-02
File
rules/linux/process_creation/proc_creation_lnx_grep_os_arch_discovery.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the use of grep to identify information about the operating system architecture. Often combined beforehand with the execution of "uname" or "cat /proc/cpuinfo"

Log source

product
linux
category
process_creation

Detection

selection_process:
    Image|endswith: '/grep'
selection_architecture:
    CommandLine|endswith:
        - 'aarch64'
        - 'arm'
        - 'i386'
        - 'i686'
        - 'mips'
        - 'x86_64'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.discovery
  • attack.t1082

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/process_creation/proc_creation_lnx_grep_os_arch_discovery.yml

Sources and licences

  • SigmaHQ

    "OS Architecture Discovery Via Grep" by Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_grep_os_arch_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: OS Architecture Discovery Via Grep",
entity page, dataset version ref-4b87e39db66f, updated 2023-06-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d27ab432-2199-483f-a297-03633c05bae6 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d27ab432-2199-483f-a297-03633c05bae6, 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.