APT_WebShell_AUS_5
Description
Detetcs a webshell involved in the Australian Parliament House network compromise
Query · yara
strings:
$a1 = "function DEC(d){return System.Text.Encoding.UTF8.GetString(Convert.FromBase64String(d));}" fullword ascii
$a2 = "function ENC(d){return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(d));}" fullword ascii
$s1 = "var hash=DEC(Request.Item['" ascii
$s2 = "Response.Write(ENC(SET_ASS_SUCCESS));" fullword ascii
$s3 = "hashtable[hash] = assCode;" fullword ascii
$s4 = "Response.Write(ss);" fullword ascii
$s5 = "var hashtable = Application[CachePtr];" fullword ascii
condition:
uint16(0) == 0x7566 and filesize < 2KB and 4 of them