Skip to content

Commit

Permalink
Add detection for BabyLockerKZ
Browse files Browse the repository at this point in the history
  • Loading branch information
ditekshen committed Nov 1, 2024
1 parent 2bde3a0 commit 98f506d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions data/yara/CAPE/BabyLockerKZ.yar
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
rule BabyLockerKZ {
meta:
author = "ditekshen"
description = "Detects BabyLockerKZ"
cape_type = "BabyLockerKZ Payload"
strings:
$s1 = ":\\locker\\bin\\stub_win_x64_encrypter.pdb" ascii
$s2 = "taskkill /f /im explorer.exe" fullword wide
$s3 = "\\SysWOW64\\cmd.exe /c %windir%\\" wide
$s4 = "[!] Failed to RunNonElevated: %s, error 0x%X" fullword wide
$s5 = "[!] Failed to run sync command: %s, error 0x%X" fullword wide
$s6 = "[-] RunNonElevated: %s" fullword wide
$s7 = "[!][Encrypt] Not" fullword
$s8 = "[-] sALLUSERSPROFILE: %s" fullword wide
$s9 = "[!] WNetGetConnection failed 0x%X" fullword wide
$s10 = "[!][Scan] " wide
$s11 = "[-] Start encrypt" wide
condition:
uint16(0) == 0x5a4d and 4 of them
}

0 comments on commit 98f506d

Please sign in to comment.