08e8d462fe
RED PILL 🔴 💊
22 lines
730 B
Text
22 lines
730 B
Text
rule malware_windows_moonlightmaze_xk_keylogger
|
|
{
|
|
meta:
|
|
description = "Rule to detect Moonlight Maze 'xk' keylogger"
|
|
reference = "https://en.wikipedia.org/wiki/Moonlight_Maze"
|
|
author = "Kaspersky Lab"
|
|
strings:
|
|
$a1 = "Log ended at => %s"
|
|
$a2 = "Log started at => %s [pid %d]"
|
|
$a3 = "/var/tmp/task" fullword
|
|
$a4 = "/var/tmp/taskhost" fullword
|
|
$a5 = "my hostname: %s"
|
|
$a6 = "/var/tmp/tasklog"
|
|
$a7 = "/var/tmp/.Xtmp01" fullword
|
|
$a8 = "myfilename=-%s-"
|
|
$a9 = "/var/tmp/taskpid"
|
|
$a10 = "mypid=-%d-" fullword
|
|
$a11 = "/var/tmp/taskgid" fullword
|
|
$a12 = "mygid=-%d-" fullword
|
|
condition:
|
|
3 of ($a*)
|
|
}
|