-
Notifications
You must be signed in to change notification settings - Fork 0
/
RANSOM_ESXiArgs_Ransomware_Encryptor_Feb23.yar
44 lines (32 loc) · 1.65 KB
/
RANSOM_ESXiArgs_Ransomware_Encryptor_Feb23.yar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
rule RANSOM_ESXiArgs_Ransomware_Encryptor_Feb23
{
meta:
author = "SECUINFRA Falcon Team (@SI_FalconTeam)"
description = "Detects the ESXiArgs Ransomware 'encrypt' binary"
reference = "https://www.secuinfra.com/en/techtalk/hide-your-hypervisor-analysis-of-esxiargs-ransomware/"
date = "2023-02-07"
tlp = "CLEAR"
yarahub_reference_md5 = "87b010bc90cd7dd776fb42ea5b3f85d3"
yarahub_uuid = "5eed9fd1-410e-4d38-a355-d89617398785"
yarahub_license = "CC BY 4.0"
yarahub_rule_matching_tlp = "TLP:WHITE"
yarahub_rule_sharing_tlp = "TLP:WHITE"
yarahub_author_twitter = "@SI_FalconTeam"
strings:
// Sosemanuk Pseudo-Random Number Generator
$sosemanuk_prng = {48 8b 45 f8 48 01 45 e0 48 8b 45 f8 48 29 45 d8 48 8b 45 e8 8b 90 80 00 00 00 48 8b 45 f8 01 c2 48 8b 45 e8 89 90 80 00 00 00}
// Sosemanuk Multiplication Tables
// based on Findcrypt3 rule https://github.com/polymorf/findcrypt-yara/blob/ad165a6b2bd5b56932657b96edffa851b5b00b15/findcrypt3.rules#L1522
$sosemanuk_mul_a = {00 00 00 00 13 CF 9F E1 26 37 97 6B 35 F8 08 8A [992] DE 4D 5B B5 CD 82 C4 54 F8 7A CC DE EB B5 53 3F}
$sosemanuk_mul_ia = {00 00 00 00 CD 40 0F 18 33 80 1E 30 FE C0 11 28 [992] 1C 65 E2 9E D1 25 ED 86 2F E5 FC AE E2 A5 F3 B6}
$interpreter = "/lib64/ld-linux-x86-64.so.2"
$debug0 = "encrypt_bytes: too big data"
$debug1 = "Progress: %f"
$help = "usage: encrypt <public_key> <file_to_encrypt> [<enc_step>] [<enc_size>] [<file_size>]"
condition:
uint32be(0x0) == 0x7F454C46
and all of ($sosemanuk_*)
and $interpreter
and 2 of ($debug*)
and $help
}