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

26 lines
1.3 KiB
Text

rule Ransom_LockerGoga_Mar19_1 {
meta:
description = "Detects LockerGoga ransomware binaries"
author = "Florian Roth (Nextron Systems)"
reference = "https://www.nrk.no/norge/skreddersydd-dobbeltangrep-mot-hydro-1.14480202"
date = "2019-03-19"
hash1 = "c97d9bbc80b573bdeeda3812f4d00e5183493dd0d5805e2508728f65977dda15"
hash2 = "7bcd69b3085126f7e97406889f78ab74e87230c11812b79406d723a80c08dd26"
hash3 = "bdf36127817413f625d2625d3133760af724d6ad2410bea7297ddc116abc268f"
id = "ba5836b9-bc47-54d4-8f7a-475ba0feaac6"
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
}