There is no description at this point.
rule win_xfsadm_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.xfsadm." 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.xfsadm" malpedia_rule_date = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 84c9 7410 c60720 47 8a06 46 8807 } // n = 7, score = 100 // 84c9 | test cl, cl // 7410 | je 0x12 // c60720 | mov byte ptr [edi], 0x20 // 47 | inc edi // 8a06 | mov al, byte ptr [esi] // 46 | inc esi // 8807 | mov byte ptr [edi], al $sequence_1 = { 8975cc 8975d0 8975e0 8d1c85fcffffff c745e4d8254200 } // n = 5, score = 100 // 8975cc | mov dword ptr [ebp - 0x34], esi // 8975d0 | mov dword ptr [ebp - 0x30], esi // 8975e0 | mov dword ptr [ebp - 0x20], esi // 8d1c85fcffffff | lea ebx, [eax*4 - 4] // c745e4d8254200 | mov dword ptr [ebp - 0x1c], 0x4225d8 $sequence_2 = { 6a00 ffd7 85c0 740c 6a00 6a00 } // n = 6, score = 100 // 6a00 | push 0 // ffd7 | call edi // 85c0 | test eax, eax // 740c | je 0xe // 6a00 | push 0 // 6a00 | push 0 $sequence_3 = { 6a26 58 0fb60c858e174200 0fb634858f174200 8bf9 8985b0f8ffff c1e702 } // n = 7, score = 100 // 6a26 | push 0x26 // 58 | pop eax // 0fb60c858e174200 | movzx ecx, byte ptr [eax*4 + 0x42178e] // 0fb634858f174200 | movzx esi, byte ptr [eax*4 + 0x42178f] // 8bf9 | mov edi, ecx // 8985b0f8ffff | mov dword ptr [ebp - 0x750], eax // c1e702 | shl edi, 2 $sequence_4 = { e8???????? 83c414 57 e8???????? a1???????? 83c404 } // n = 6, score = 100 // e8???????? | // 83c414 | add esp, 0x14 // 57 | push edi // e8???????? | // a1???????? | // 83c404 | add esp, 4 $sequence_5 = { e8???????? 68f80f0000 8bf8 6a00 } // n = 4, score = 100 // e8???????? | // 68f80f0000 | push 0xff8 // 8bf8 | mov edi, eax // 6a00 | push 0 $sequence_6 = { 75d3 8b4d08 ff7718 6a00 51 8b4f04 6a0a } // n = 7, score = 100 // 75d3 | jne 0xffffffd5 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // ff7718 | push dword ptr [edi + 0x18] // 6a00 | push 0 // 51 | push ecx // 8b4f04 | mov ecx, dword ptr [edi + 4] // 6a0a | push 0xa $sequence_7 = { 57 6a00 6a00 6a00 6a00 6a00 680cfeffff } // n = 7, score = 100 // 57 | push edi // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 // 680cfeffff | push 0xfffffe0c $sequence_8 = { ff5008 8bd0 c702???????? 8b45fc 8b4d0c 894204 } // n = 6, score = 100 // ff5008 | call dword ptr [eax + 8] // 8bd0 | mov edx, eax // c702???????? | // 8b45fc | mov eax, dword ptr [ebp - 4] // 8b4d0c | mov ecx, dword ptr [ebp + 0xc] // 894204 | mov dword ptr [edx + 4], eax $sequence_9 = { c7463800000000 8d4608 c7463c00000000 c7464000000000 c7464400000000 c7464800000000 } // n = 6, score = 100 // c7463800000000 | mov dword ptr [esi + 0x38], 0 // 8d4608 | lea eax, [esi + 8] // c7463c00000000 | mov dword ptr [esi + 0x3c], 0 // c7464000000000 | mov dword ptr [esi + 0x40], 0 // c7464400000000 | mov dword ptr [esi + 0x44], 0 // c7464800000000 | mov dword ptr [esi + 0x48], 0 condition: 7 of them and filesize < 566272 }
rule win_xfsadm_w0 { meta: description = "Detects ATM Malware XFSADM" author = "Frank Boldewin (@r3c0nst)" reference = "https://twitter.com/r3c0nst/status/1149043362244308992" date = "2019-06-21" hash1 = "2740bd2b7aa0eaa8de2135dd710eb669d4c4c91d29eefbf54f1b81165ad2da4d" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.xfsadm" malpedia_version = "20190712" malpedia_license = "CC BY-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $Code1 = {68 88 13 00 00 FF 35 ?? ?? ?? ?? 68 CF 00 00 00 50 FF 15} // Read Card Data $Code2 = {68 98 01 00 00 50 FF 15} // Get PIN Data $Mutex = "myXFSADM" nocase wide $MSXFSDIR = "C:\\Windows\\System32\\msxfs.dll" nocase ascii $XFSCommand1 = "WfsExecute" nocase ascii $XFSCommand2 = "WfsGetInfo" nocase ascii $PDB = "C:\\Work64\\ADM\\XFS\\Release\\XFS.pdb" nocase ascii $WindowName = "XFS ADM" nocase wide $FindWindow = "ADM rec" nocase wide $LogFile = "xfs.log" nocase ascii $TmpFile = "~pipe.tmp" nocase ascii condition: uint16(0) == 0x5A4D and filesize < 500KB and 4 of them }
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