signature-base/yara/apt_rocketkitten_keylogger.yar
2016-02-15 12:31:27 +01:00

34 lines
992 B
Plaintext

/*
Yara Rule Set
Author: Florian Roth
Date: 2015-09-01
Identifier: Rocket Kitten Keylogger
*/
rule RocketKitten_Keylogger {
meta:
description = "Detects Keylogger used in Rocket Kitten APT"
author = "Florian Roth"
reference = "https://goo.gl/SjQhlp"
date = "2015-09-01"
super_rule = 1
hash1 = "1c9e519dca0468a87322bebe2a06741136de7969a4eb3efda0ab8db83f0807b4"
hash2 = "495a15f9f30d6f6096a97c2bd8cc5edd4d78569b8d541b1d5a64169f8109bc5b"
strings:
$x1 = "\\Release\\CWoolger.pdb" ascii
$x2 = "WoolenLoger\\obj\\x86\\Release" ascii
$x3 = "D:\\Yaser Logers\\"
$z1 = "woolger" fullword wide
$s1 = "oShellLink.TargetPath = \"" fullword ascii
$s2 = "wscript.exe " fullword ascii
$s3 = "strSTUP = WshShell.SpecialFolders(\"Startup\")" fullword ascii
$s4 = "[CapsLock]" fullword ascii
condition:
/* File detection */
(uint16(0) == 0x5a4d and filesize < 200KB and (1 of ($x*) or ($z1 and 2 of ($s*)))) or
/* Memory detection */
($z1 and all of ($s*))
}