A malware of the gozi group, developed on the base of isfb. It uses Office Macros and PowerShell in documents distributed in e-mail messages.
rule win_powersniff_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.powersniff." 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.powersniff" malpedia_rule_date = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" 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 = { 03c7 53 8b9880000000 33c9 894dfc 3bd9 0f849c000000 } // n = 7, score = 100 // 03c7 | add eax, edi // 53 | push ebx // 8b9880000000 | mov ebx, dword ptr [eax + 0x80] // 33c9 | xor ecx, ecx // 894dfc | mov dword ptr [ebp - 4], ecx // 3bd9 | cmp ebx, ecx // 0f849c000000 | je 0xa2 $sequence_1 = { 8bd8 85db 7420 85ff 741c ff75fc 6a00 } // n = 7, score = 100 // 8bd8 | mov ebx, eax // 85db | test ebx, ebx // 7420 | je 0x22 // 85ff | test edi, edi // 741c | je 0x1e // ff75fc | push dword ptr [ebp - 4] // 6a00 | push 0 $sequence_2 = { 744e 81ffd2100000 7446 8b44240c ff44240c 83f805 7739 } // n = 7, score = 100 // 744e | je 0x50 // 81ffd2100000 | cmp edi, 0x10d2 // 7446 | je 0x48 // 8b44240c | mov eax, dword ptr [esp + 0xc] // ff44240c | inc dword ptr [esp + 0xc] // 83f805 | cmp eax, 5 // 7739 | ja 0x3b $sequence_3 = { 8b149590780010 8975f8 0fb6f3 3314b5907c0010 8b5dfc c1eb08 0fb6f3 } // n = 7, score = 100 // 8b149590780010 | mov edx, dword ptr [edx*4 + 0x10007890] // 8975f8 | mov dword ptr [ebp - 8], esi // 0fb6f3 | movzx esi, bl // 3314b5907c0010 | xor edx, dword ptr [esi*4 + 0x10007c90] // 8b5dfc | mov ebx, dword ptr [ebp - 4] // c1eb08 | shr ebx, 8 // 0fb6f3 | movzx esi, bl $sequence_4 = { 8bd8 3bde 7558 8d45f0 50 8d45f8 } // n = 6, score = 100 // 8bd8 | mov ebx, eax // 3bde | cmp ebx, esi // 7558 | jne 0x5a // 8d45f0 | lea eax, [ebp - 0x10] // 50 | push eax // 8d45f8 | lea eax, [ebp - 8] $sequence_5 = { 56 33f6 803d????????06 57 8975fc 7371 8d45f0 } // n = 7, score = 100 // 56 | push esi // 33f6 | xor esi, esi // 803d????????06 | // 57 | push edi // 8975fc | mov dword ptr [ebp - 4], esi // 7371 | jae 0x73 // 8d45f0 | lea eax, [ebp - 0x10] $sequence_6 = { 0fb6fb 8b5df0 8975fc 8b75f8 } // n = 4, score = 100 // 0fb6fb | movzx edi, bl // 8b5df0 | mov ebx, dword ptr [ebp - 0x10] // 8975fc | mov dword ptr [ebp - 4], esi // 8b75f8 | mov esi, dword ptr [ebp - 8] $sequence_7 = { 53 33c9 8bd8 8b4508 56 be???????? } // n = 6, score = 100 // 53 | push ebx // 33c9 | xor ecx, ecx // 8bd8 | mov ebx, eax // 8b4508 | mov eax, dword ptr [ebp + 8] // 56 | push esi // be???????? | $sequence_8 = { ff15???????? 8bf8 897df0 3bfb 7435 8d4508 50 } // n = 7, score = 100 // ff15???????? | // 8bf8 | mov edi, eax // 897df0 | mov dword ptr [ebp - 0x10], edi // 3bfb | cmp edi, ebx // 7435 | je 0x37 // 8d4508 | lea eax, [ebp + 8] // 50 | push eax $sequence_9 = { c1e208 0bd6 0fb6710b c1e208 0bd6 335008 } // n = 6, score = 100 // c1e208 | shl edx, 8 // 0bd6 | or edx, esi // 0fb6710b | movzx esi, byte ptr [ecx + 0xb] // c1e208 | shl edx, 8 // 0bd6 | or edx, esi // 335008 | xor edx, dword ptr [eax + 8] condition: 7 of them and filesize < 90112 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY