apt_RU_MoonlightMaze_customlokitools
Description
Rule to detect Moonlight Maze Loki samples by custom attacker-authored strings
Query · yara
strings: $a1="Write file Ok..." ascii wide $a2="ERROR: Can not open socket...." ascii wide $a3="Error in parametrs:" ascii wide $a4="Usage: @<get/put> <IP> <PORT> <file>" ascii wide $a5="ERROR: Not connect..." ascii wide $a6="Connect successful...." ascii wide $a7="clnt <%d> rqstd n ll kll" ascii wide $a8="clnt <%d> rqstd swap" ascii wide $a9="cld nt sgnl prcs grp" ascii wide $a10="cld nt sgnl prnt" ascii wide //keeping only ascii version of string -> $a11="ork error" ascii fullword condition: // Added filesize due to false positives with Nvidia drivers in process memory filesize < 5000KB and 3 of ($a*)