signature-base/yara/crime_ransom_lockergoga.yar
2019-03-19 16:53:29 +01:00

27 lines
1.3 KiB
Plaintext

rule Ransom_LockerGoga_Mar19_1 {
meta:
description = "Detects LockerGoga ransomware binaries"
author = "Florian Roth"
reference = "https://www.nrk.no/norge/skreddersydd-dobbeltangrep-mot-hydro-1.14480202"
license = "https://creativecommons.org/licenses/by-nc/4.0/"
date = "2019-03-19"
hash1 = "c97d9bbc80b573bdeeda3812f4d00e5183493dd0d5805e2508728f65977dda15"
hash2 = "7bcd69b3085126f7e97406889f78ab74e87230c11812b79406d723a80c08dd26"
hash3 = "bdf36127817413f625d2625d3133760af724d6ad2410bea7297ddc116abc268f"
strings:
$x1 = "\\.(doc|dot|wbk|docx|dotx|docb|xlm|xlsx|xltx|xlsb|xlw|ppt|pot|pps|pptx|potx|ppsx|sldx|pdf)" wide
$x2 = "|[A-Za-z]:\\cl.log" wide
$x4 = "\\crypto-locker\\" ascii
$xc1 = { 00 43 00 6F 00 6D 00 70 00 61 00 6E 00 79 00 4E
00 61 00 6D 00 65 00 00 00 00 00 4D 00 6C 00 63
00 72 00 6F 00 73 00 6F 00 66 00 74 }
$xc2 = { 00 2E 00 6C 00 6F 00 63 00 6B 00 65 00 64 00 00
00 20 46 41 49 4C 45 44 20 00 00 00 00 20 00 00
00 20 75 6E 6B 6E 6F 77 6E 20 65 78 63 65 70 74
69 6F 6E }
$rn1 = "This may lead to the impossibility of recovery of the certain files." wide
condition:
( uint16(0) == 0x5a4d and filesize < 4000KB and 1 of ($x*) ) or $rn1
}