mirror of
https://github.com/valitydev/signature-base.git
synced 2024-11-06 18:15:20 +00:00
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
|
/*
|
||
|
Yara Rule Set
|
||
|
Author: Florian Roth
|
||
|
Date: 2018-03-06
|
||
|
Identifier: CrimsonRAT
|
||
|
Reference: Internal Research
|
||
|
*/
|
||
|
|
||
|
/* Rule Set ----------------------------------------------------------------- */
|
||
|
|
||
|
rule CrimsonRAT_Mar18_1 {
|
||
|
meta:
|
||
|
description = "Detects CrimsonRAT malware"
|
||
|
author = "Florian Roth"
|
||
|
reference = "Internal Research"
|
||
|
date = "2018-03-06"
|
||
|
hash1 = "acf2e8013b6fafcf436d5a05049896504ffa2e982bca05155d19981d1931c611"
|
||
|
hash2 = "7ca6e5ef1d346ec35993c910128a3526b098a07445131784a9358bf5679e3975"
|
||
|
hash3 = "be4264973de9886caedae1cb707586588d0da85ac7a2ad277db4258033ea12a8"
|
||
|
hash4 = "acf2e8013b6fafcf436d5a05049896504ffa2e982bca05155d19981d1931c611"
|
||
|
hash5 = "ff52b4a64ed7caeab00350e493968dbdb159aeb545fcba67d83ab9b158464de4"
|
||
|
strings:
|
||
|
$x1 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run|" wide
|
||
|
$x2 = "\\Release\\RTLBot.pdb" ascii
|
||
|
$x3 = "cmd.exe/c systeminfo >> 1.txt" fullword wide
|
||
|
$x4 = "/online >> Get online target with important info" fullword wide
|
||
|
$x5 = "/screen >> ScreenShot from target PC" fullword wide
|
||
|
$x6 = "/restart >> Restart Target PC" fullword wide
|
||
|
$x7 = "/log_key >> Get log key file" fullword wide
|
||
|
|
||
|
$a1 = "get_ShiftKey" fullword ascii
|
||
|
$a2 = "get_ControlKey" fullword ascii
|
||
|
$a3 = "get_AltKey" fullword ascii
|
||
|
$a4 = "get_MineInterval" fullword ascii
|
||
|
|
||
|
$fp1 = "Copyright Software Secure" wide
|
||
|
condition:
|
||
|
uint16(0) == 0x5a4d and filesize < 400KB and ( 1 of ($x*) or all of ($a*) )
|
||
|
and not 1 of ($fp*)
|
||
|
}
|