YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_LNX_Base64_Exec_Apr24
Detects suspicious base64 encoded shell commands (as seen in Palo Alto CVE-2024-3400 exploitation)
- Auteur
- Christian Burkard
- Date
- 2024-04-18
- Modifiée
- 2025-03-21
- Score / Qualité
- 75 / 85
Ce que détecte cette règle
Detects suspicious base64 encoded shell commands (as seen in Palo Alto CVE-2024-3400 exploitation)
Elle définit 6 motifs (6 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule SIGNATURE_BASE_SUSP_LNX_Base64_Exec_Apr24 : SCRIPT CVE_2024_3400 FILE
{
meta:
= "Detects suspicious base64 encoded shell commands (as seen in Palo Alto CVE-2024-3400 exploitation)"
= "Christian Burkard"
= "2da3d050-86b0-5903-97eb-c5f39ce4f3a3"
= "2024-04-18"
= "2025-03-21"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/vuln_paloalto_cve_2024_3400_apr24.yar#L81-L105"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "e96fb7c8faac12c1f0210689f2b3a7903b42a543b97ddff11298e5ae13cae80b"
= 75
= 85
= "SCRIPT, CVE-2024-3400, FILE"
strings:
$s1 = "curl http://" base64
$s2 = "wget http://" base64
$s3 = ";chmod 777 " base64
$mirai = "country="
$fp1 = "<html"
$fp2 = "<?xml"
condition:
filesize < 800KB and 1 of ( $s* ) and not $mirai and not 1 of ( $fp* )
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "curl http://" | base64 |
| $s2 | texte | "wget http://" | base64 |
| $s3 | texte | ";chmod 777 " | base64 |
| $mirai | texte | "country=" | |
| $fp1 | texte | "<html" | |
| $fp2 | texte | "<?xml" |
Condition
filesize < 800KB and 1 of ( $s* ) and not $mirai and not 1 of ( $fp* )En clair (Heuristique)
- Le fichier doit faire moins de 800KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 1 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $fp* ) doivent être trouvés.
- Le motif $mirai ne doit PAS être présent.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Licence et attribution
Auteur : Christian Burkard
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 2da3d050-86b0-5903-97eb-c5f39ce4f3a3
Règles liées
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-06-01
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Paul Hager· 2024-04-18
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- GénériqueSignature Base (Florian Roth / Nextron)· Christian Burkard· 2022-05-24