MAL_RANSOM_DarkBit_Feb23_2
Description
Detects Go based DarkBit ransomware (garbled code; could trigger on other obfuscated samples, too)
Query · yara
strings:
$s1 = "runtime.initLongPathSupport" ascii fullword
$s2 = "reflect." ascii
$s3 = " \"processes\": []," ascii fullword
$s4 = "^!* %!(!" ascii fullword
$op1 = { 4d 8b b6 00 00 00 00 48 8b 94 24 40 05 00 00 31 c0 87 82 30 03 00 00 b8 01 00 00 00 f0 0f c1 82 00 03 00 00 48 8b 44 24 48 48 8b 0d ba 1f 32 00 }
$op2 = { 49 8d 49 01 0f 1f 00 48 39 d9 7c e2 b9 0b 00 00 00 49 89 d8 e9 28 fc ff ff e8 89 6c d7 ff }
condition:
uint16(0) == 0x5a4d and
filesize < 20000KB and all of them