Sneed-Reactivity/yara-mikesxrs/AirBnB/malware_windows_moonlightmaze_xk_keylogger.yara
Sam Sneed 08e8d462fe OMG ISTG PLS WORK
RED PILL 🔴 💊
2024-07-25 12:43:35 -05:00

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*)
}