Actor(s): PROMETHIUM, StrongPity
According to Mitre, StrongPity is an information stealing malware used by PROMETHIUM.
rule win_strongpity_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-12-06" version = "1" description = "Detects win.strongpity." 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.strongpity" malpedia_rule_date = "20231130" malpedia_hash = "fc8a0e9f343f6d6ded9e7df1a64dac0cc68d7351" malpedia_version = "20230808" 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 = { 50 33c0 d1f9 50 51 53 } // n = 6, score = 700 // 50 | push eax // 33c0 | xor eax, eax // d1f9 | sar ecx, 1 // 50 | push eax // 51 | push ecx // 53 | push ebx $sequence_1 = { 75f8 ff75d0 68???????? ff36 e8???????? } // n = 5, score = 700 // 75f8 | jne 0xfffffffa // ff75d0 | push dword ptr [ebp - 0x30] // 68???????? | // ff36 | push dword ptr [esi] // e8???????? | $sequence_2 = { 41 83ea01 75f7 50 e8???????? 59 } // n = 6, score = 700 // 41 | inc ecx // 83ea01 | sub edx, 1 // 75f7 | jne 0xfffffff9 // 50 | push eax // e8???????? | // 59 | pop ecx $sequence_3 = { e8???????? 8b4608 83c418 6a2f 59 } // n = 5, score = 700 // e8???????? | // 8b4608 | mov eax, dword ptr [esi + 8] // 83c418 | add esp, 0x18 // 6a2f | push 0x2f // 59 | pop ecx $sequence_4 = { 8945f8 f7d8 56 57 } // n = 4, score = 700 // 8945f8 | mov dword ptr [ebp - 8], eax // f7d8 | neg eax // 56 | push esi // 57 | push edi $sequence_5 = { 33db c745f804000000 53 ff7710 895df4 ff770c } // n = 6, score = 700 // 33db | xor ebx, ebx // c745f804000000 | mov dword ptr [ebp - 8], 4 // 53 | push ebx // ff7710 | push dword ptr [edi + 0x10] // 895df4 | mov dword ptr [ebp - 0xc], ebx // ff770c | push dword ptr [edi + 0xc] $sequence_6 = { ba???????? f3a5 8bf2 668b02 83c202 } // n = 5, score = 700 // ba???????? | // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // 8bf2 | mov esi, edx // 668b02 | mov ax, word ptr [edx] // 83c202 | add edx, 2 $sequence_7 = { 83e801 7408 6a02 58 884612 } // n = 5, score = 700 // 83e801 | sub eax, 1 // 7408 | je 0xa // 6a02 | push 2 // 58 | pop eax // 884612 | mov byte ptr [esi + 0x12], al $sequence_8 = { 0107 83be8800000002 8b07 0f85ad000000 83f814 } // n = 5, score = 300 // 0107 | add dword ptr [edi], eax // 83be8800000002 | cmp dword ptr [esi + 0x88], 2 // 8b07 | mov eax, dword ptr [edi] // 0f85ad000000 | jne 0xb3 // 83f814 | cmp eax, 0x14 $sequence_9 = { 012e 885c240a e9???????? 84db 0f8434020000 } // n = 5, score = 300 // 012e | add dword ptr [esi], ebp // 885c240a | mov byte ptr [esp + 0xa], bl // e9???????? | // 84db | test bl, bl // 0f8434020000 | je 0x23a $sequence_10 = { 5f 8d4503 5d 5b 8b4c2428 } // n = 5, score = 300 // 5f | pop edi // 8d4503 | lea eax, [ebp + 3] // 5d | pop ebp // 5b | pop ebx // 8b4c2428 | mov ecx, dword ptr [esp + 0x28] $sequence_11 = { 7417 48 7545 39812c020000 7433 8b8124020000 } // n = 6, score = 300 // 7417 | je 0x19 // 48 | dec eax // 7545 | jne 0x47 // 39812c020000 | cmp dword ptr [ecx + 0x22c], eax // 7433 | je 0x35 // 8b8124020000 | mov eax, dword ptr [ecx + 0x224] $sequence_12 = { 5f 8b4c2408 5e 5b } // n = 4, score = 300 // 5f | pop edi // 8b4c2408 | mov ecx, dword ptr [esp + 8] // 5e | pop esi // 5b | pop ebx $sequence_13 = { 5f 8d4502 5d 5e 5b 8b4c2468 } // n = 6, score = 300 // 5f | pop edi // 8d4502 | lea eax, [ebp + 2] // 5d | pop ebp // 5e | pop esi // 5b | pop ebx // 8b4c2468 | mov ecx, dword ptr [esp + 0x68] $sequence_14 = { 012e 885c240a ebc3 80fb5d 7520 837c240c00 0f85fe020000 } // n = 7, score = 300 // 012e | add dword ptr [esi], ebp // 885c240a | mov byte ptr [esp + 0xa], bl // ebc3 | jmp 0xffffffc5 // 80fb5d | cmp bl, 0x5d // 7520 | jne 0x22 // 837c240c00 | cmp dword ptr [esp + 0xc], 0 // 0f85fe020000 | jne 0x304 $sequence_15 = { 5f 8bc3 5b c3 8d4638 50 e8???????? } // n = 7, score = 300 // 5f | pop edi // 8bc3 | mov eax, ebx // 5b | pop ebx // c3 | ret // 8d4638 | lea eax, [esi + 0x38] // 50 | push eax // e8???????? | condition: 7 of them and filesize < 999424 }
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