RottenPotato_Potato
Description
Detects a component of privilege escalation tool Rotten Potato - file Potato.exe
Query · yara
strings:
$x1 = "Potato.exe -ip <ip>" fullword wide
$x2 = "-enable_httpserver true -enable_spoof true" fullword wide
$x3 = "/C schtasks.exe /Create /TN omg /TR" fullword wide
$x4 = "-enable_token true -enable_dce true" fullword wide
$x5 = "DNS lookup succeeds - UDP Exhaustion failed!" fullword wide
$x6 = "DNS lookup fails - UDP Exhaustion worked!" fullword wide
$x7 = "\\obj\\Release\\Potato.pdb" ascii
$x8 = "function FindProxyForURL(url,host){if (dnsDomainIs(host, \"localhost\")) return \"DIRECT\";" fullword wide
$s1 = "\"C:\\Windows\\System32\\cmd.exe\" /K start" fullword wide
condition:
( uint16(0) == 0x5a4d and filesize < 200KB and 1 of ($x*) ) or ( 2 of them )