SUSP_LNX_Base64_Exec_Apr24
Description
Detects suspicious base64 encoded shell commands (as seen in Palo Alto CVE-2024-3400 exploitation)
Query · yara
strings:
$s1 = "curl http://" base64
$s2 = "wget http://" base64
$s3 = ";chmod 777 " base64
// $s4 = "/tmp/" base64 // prone to FPs
$mirai = "country="
$fp1 = "<html"
$fp2 = "<?xml"
condition:
filesize < 800KB
and 1 of ($s*)
and not $mirai
and not 1 of ($fp*)