M_Hunting_Python_Backdoor_CommandParser_1
Description
Finds strings indicative of the vmsyslog.py python backdoor.
Query · yara
strings:
$key1 = "self.conn.readInt8()" ascii
$key2 = "upload" ascii
$key3 = "download" ascii
$key4 = "shell" ascii
$key5 = "execute" ascii
$re1 = /def\srun.{0,20}command\s?=\s?self\.conn\.readInt8\(\).{,75}upload.{,75}download.{,75}shell.{,75}execute/s
condition:
filesize < 200KB and all of them