Actor(s): BlackTech
There is no description at this point.
rule win_flagpro_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-05-16" version = "1" description = "Detects win.flagpro." 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.flagpro" malpedia_rule_date = "20220513" malpedia_hash = "7f4b2229e6ae614d86d74917f6d5b41890e62a26" malpedia_version = "20220516" 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 = { 8d542438 52 50 8b8100010000 ffd0 3bc3 } // n = 6, score = 100 // 8d542438 | lea edx, [esp + 0x38] // 52 | push edx // 50 | push eax // 8b8100010000 | mov eax, dword ptr [ecx + 0x100] // ffd0 | call eax // 3bc3 | cmp eax, ebx $sequence_1 = { 56 c784249c45010001000000 e8???????? 83c404 6a01 } // n = 5, score = 100 // 56 | push esi // c784249c45010001000000 | mov dword ptr [esp + 0x1459c], 1 // e8???????? | // 83c404 | add esp, 4 // 6a01 | push 1 $sequence_2 = { 80f958 770d 0fbec2 0fb680e0a44100 83e00f 8b8dc0fdffff 6bc009 } // n = 7, score = 100 // 80f958 | cmp cl, 0x58 // 770d | ja 0xf // 0fbec2 | movsx eax, dl // 0fb680e0a44100 | movzx eax, byte ptr [eax + 0x41a4e0] // 83e00f | and eax, 0xf // 8b8dc0fdffff | mov ecx, dword ptr [ebp - 0x240] // 6bc009 | imul eax, eax, 9 $sequence_3 = { 751e 8d04f550d84100 8938 68a00f0000 ff30 83c718 } // n = 6, score = 100 // 751e | jne 0x20 // 8d04f550d84100 | lea eax, [esi*8 + 0x41d850] // 8938 | mov dword ptr [eax], edi // 68a00f0000 | push 0xfa0 // ff30 | push dword ptr [eax] // 83c718 | add edi, 0x18 $sequence_4 = { 40 3bf8 0f8312010000 8bcf d1e9 } // n = 5, score = 100 // 40 | inc eax // 3bf8 | cmp edi, eax // 0f8312010000 | jae 0x118 // 8bcf | mov ecx, edi // d1e9 | shr ecx, 1 $sequence_5 = { e8???????? 8b4c241c 8d8c0b00040000 8bc1 8d6801 8a10 } // n = 6, score = 100 // e8???????? | // 8b4c241c | mov ecx, dword ptr [esp + 0x1c] // 8d8c0b00040000 | lea ecx, [ebx + ecx + 0x400] // 8bc1 | mov eax, ecx // 8d6801 | lea ebp, [eax + 1] // 8a10 | mov dl, byte ptr [eax] $sequence_6 = { 396e18 7205 8b4604 eb03 8d4604 8b6c2424 } // n = 6, score = 100 // 396e18 | cmp dword ptr [esi + 0x18], ebp // 7205 | jb 7 // 8b4604 | mov eax, dword ptr [esi + 4] // eb03 | jmp 5 // 8d4604 | lea eax, [esi + 4] // 8b6c2424 | mov ebp, dword ptr [esp + 0x24] $sequence_7 = { 6603c9 6603c9 66898c44300c0000 40 83f825 7ce4 } // n = 6, score = 100 // 6603c9 | add cx, cx // 6603c9 | add cx, cx // 66898c44300c0000 | mov word ptr [esp + eax*2 + 0xc30], cx // 40 | inc eax // 83f825 | cmp eax, 0x25 // 7ce4 | jl 0xffffffe6 $sequence_8 = { ffd2 47 3b7c243c 897c2450 0f8c03feffff e9???????? 8b44241c } // n = 7, score = 100 // ffd2 | call edx // 47 | inc edi // 3b7c243c | cmp edi, dword ptr [esp + 0x3c] // 897c2450 | mov dword ptr [esp + 0x50], edi // 0f8c03feffff | jl 0xfffffe09 // e9???????? | // 8b44241c | mov eax, dword ptr [esp + 0x1c] $sequence_9 = { 897c242c e8???????? 83c404 3bc7 7408 8d4c2410 } // n = 6, score = 100 // 897c242c | mov dword ptr [esp + 0x2c], edi // e8???????? | // 83c404 | add esp, 4 // 3bc7 | cmp eax, edi // 7408 | je 0xa // 8d4c2410 | lea ecx, [esp + 0x10] condition: 7 of them and filesize < 1411072 }
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