Actor(s): Comment Crew
There is no description at this point.
rule win_hacksfase_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-04-08" version = "1" description = "Detects win.hacksfase." info = "autogenerated rule brought to you by yara-signator" tool = "yara-signator v0.6.0" signator_config = "callsandjumps;datarefs;binvalue" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.hacksfase" malpedia_rule_date = "20220405" malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a" malpedia_version = "20220411" malpedia_license = "CC BY-SA 4.0" malpedia_sharing = "TLP:WHITE" /* DISCLAIMER * The strings used in this rule have been automatically selected from the * disassembly of memory dumps and unpacked files, using YARA-Signator. * The code and documentation is published here: * https://github.com/fxb-cocacoding/yara-signator * As Malpedia is used as data source, please note that for a given * number of families, only single samples are documented. * This likely impacts the degree of generalization these rules will offer. * Take the described generation method also into consideration when you * apply the rules in your use cases and assign them confidence levels. */ strings: $sequence_0 = { 8b0d???????? 8b4904 81c1???????? 8b4104 8b5128 0bc6 85d2 } // n = 7, score = 100 // 8b0d???????? | // 8b4904 | mov ecx, dword ptr [ecx + 4] // 81c1???????? | // 8b4104 | mov eax, dword ptr [ecx + 4] // 8b5128 | mov edx, dword ptr [ecx + 0x28] // 0bc6 | or eax, esi // 85d2 | test edx, edx $sequence_1 = { 53 ffd0 59 e9???????? 837de405 0f85f6010000 8b450c } // n = 7, score = 100 // 53 | push ebx // ffd0 | call eax // 59 | pop ecx // e9???????? | // 837de405 | cmp dword ptr [ebp - 0x1c], 5 // 0f85f6010000 | jne 0x1fc // 8b450c | mov eax, dword ptr [ebp + 0xc] $sequence_2 = { c705????????01000000 50 c705????????7b14ae47 c705????????e17a843f } // n = 4, score = 100 // c705????????01000000 | // 50 | push eax // c705????????7b14ae47 | // c705????????e17a843f | $sequence_3 = { 8bec 83ec28 53 56 57 68???????? ff7508 } // n = 7, score = 100 // 8bec | mov ebp, esp // 83ec28 | sub esp, 0x28 // 53 | push ebx // 56 | push esi // 57 | push edi // 68???????? | // ff7508 | push dword ptr [ebp + 8] $sequence_4 = { c7470402000000 eb0b 8b4510 897008 8930 897004 80631400 } // n = 7, score = 100 // c7470402000000 | mov dword ptr [edi + 4], 2 // eb0b | jmp 0xd // 8b4510 | mov eax, dword ptr [ebp + 0x10] // 897008 | mov dword ptr [eax + 8], esi // 8930 | mov dword ptr [eax], esi // 897004 | mov dword ptr [eax + 4], esi // 80631400 | and byte ptr [ebx + 0x14], 0 $sequence_5 = { 51 6a04 89542430 89442434 ff15???????? 83f803 777b } // n = 7, score = 100 // 51 | push ecx // 6a04 | push 4 // 89542430 | mov dword ptr [esp + 0x30], edx // 89442434 | mov dword ptr [esp + 0x34], eax // ff15???????? | // 83f803 | cmp eax, 3 // 777b | ja 0x7d $sequence_6 = { 8b15???????? 56 56 8d4c2430 c68424cc22000003 89542430 } // n = 6, score = 100 // 8b15???????? | // 56 | push esi // 56 | push esi // 8d4c2430 | lea ecx, dword ptr [esp + 0x30] // c68424cc22000003 | mov byte ptr [esp + 0x22cc], 3 // 89542430 | mov dword ptr [esp + 0x30], edx $sequence_7 = { b8???????? 85c0 0f850d040000 8b0d???????? } // n = 4, score = 100 // b8???????? | // 85c0 | test eax, eax // 0f850d040000 | jne 0x413 // 8b0d???????? | $sequence_8 = { 732a 85c0 750c b8cdcccccc } // n = 4, score = 100 // 732a | jae 0x2c // 85c0 | test eax, eax // 750c | jne 0xe // b8cdcccccc | mov eax, 0xcccccccd $sequence_9 = { 5f c3 55 8bec 51 8a4108 8365fc00 } // n = 7, score = 100 // 5f | pop edi // c3 | ret // 55 | push ebp // 8bec | mov ebp, esp // 51 | push ecx // 8a4108 | mov al, byte ptr [ecx + 8] // 8365fc00 | and dword ptr [ebp - 4], 0 condition: 7 of them and filesize < 106496 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY