YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_LNX_Base64_Download_Exec_Apr24
Detects suspicious base64 encoded shell commands used for downloading and executing further stages
- Author
- Paul Hager
- Date
- 2024-04-18
- Modified
- 2025-03-21
- Score / Quality
- 75 / 85
What this rule detects
Detects suspicious base64 encoded shell commands used for downloading and executing further stages
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_Base64_Download_Exec_Apr24 : SCRIPT
{
meta:
= "Detects suspicious base64 encoded shell commands used for downloading and executing further stages"
= "Paul Hager"
= "df8dddef-3c49-500c-abc8-7f7de5aa69ae"
= "2024-04-18"
= "2025-03-21"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/vuln_paloalto_cve_2024_3400_apr24.yar#L48-L65"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "90b7781812b4078550b0d66ba020b3bb0a8217f2de03492af98db6c619f31929"
= 75
= 85
= "SCRIPT"
strings:
$sa1 = "curl http" base64
$sa2 = "wget http" base64
$sb1 = "chmod 777 " base64
$sb2 = "/tmp/" base64
condition:
1 of ( $sa* ) and all of ( $sb* )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sa1 | text | "curl http" | base64 |
| $sa2 | text | "wget http" | base64 |
| $sb1 | text | "chmod 777 " | base64 |
| $sb2 | text | "/tmp/" | base64 |
Condition
1 of ( $sa* ) and all of ( $sb* )In plain words (Heuristic)
- All patterns in ( $sb* ) must match.
- At least 1 patterns in ( $sa* ) 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.
Licence & attribution
Author: Paul Hager
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: df8dddef-3c49-500c-abc8-7f7de5aa69ae
Tags:SCRIPT
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Paul Hager· 2022-06-02
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Christian Burkard· 2024-04-18
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-11