YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_LNX_ARCH_ALPM_Hook_Jun26
Detects suspicious execution commands in Arch ALPM hooks
- Author
- Marius Benthin
- Date
- 2026-06-15
- Score / Quality
- 70 / 85
What this rule detects
Detects suspicious execution commands in Arch ALPM hooks
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_LNX_ARCH_ALPM_Hook_Jun26 : FILE
{
meta:
= "Detects suspicious execution commands in Arch ALPM hooks"
= "Marius Benthin"
= "066c4a55-8840-58de-8f4e-c3e13c2cac2b"
= "2026-06-15"
= "2026-06-15"
= "https://aur.archlinux.org/cgit/aur.git/commit/?h=hearthstone-linux-gui-bin&id=ecf810ac853e7149abd4e0c793b2517e9737edb8"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/susp_aur_packages.yar#L72-L88"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "ba332432f87e68d7fa8c784c60c39ba0d3e2ac06fd8855e82ea49329e2684529"
= "b588d68867424799dcc7fd47d1fa3d3a89475290344a0b26e2ebca43e91076a7"
= 70
= 85
= "FILE"
strings:
$s1 = "[Action]"
$s2 = "Exec = "
$s3 = "npm install "
$s4 = "2>/dev/null"
condition:
filesize < 5KB and all of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "[Action]" | |
| $s2 | text | "Exec = " | |
| $s3 | text | "npm install " | |
| $s4 | text | "2>/dev/null" |
Condition
filesize < 5KB and all of themIn plain words (Heuristic)
- The file must be smaller than 5KB (a cheap guard that skips large files).
- All patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- ba332432f87e68d7fa8c784c60c39ba0d3e2ac06fd8855e82ea49329e2684529
Licence & attribution
Author: Marius Benthin
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 066c4a55-8840-58de-8f4e-c3e13c2cac2b
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-31
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-06-15
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2025-11-24
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2025-11-24
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29