There is no description at this point.
rule win_xfscashncr_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.xfscashncr." 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.xfscashncr" 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 = { 89959cfbffff 83bd9cfbffff10 776a 8b859cfbffff 0fb688502c5100 ff248d382c5100 8b95f8fbffff } // n = 7, score = 100 // 89959cfbffff | mov dword ptr [ebp - 0x464], edx // 83bd9cfbffff10 | cmp dword ptr [ebp - 0x464], 0x10 // 776a | ja 0x6c // 8b859cfbffff | mov eax, dword ptr [ebp - 0x464] // 0fb688502c5100 | movzx ecx, byte ptr [eax + 0x512c50] // ff248d382c5100 | jmp dword ptr [ecx*4 + 0x512c38] // 8b95f8fbffff | mov edx, dword ptr [ebp - 0x408] $sequence_1 = { 83e21f c1e206 8b0485c0195700 8a4c1024 80e180 8b550c 8b02 } // n = 7, score = 100 // 83e21f | and edx, 0x1f // c1e206 | shl edx, 6 // 8b0485c0195700 | mov eax, dword ptr [eax*4 + 0x5719c0] // 8a4c1024 | mov cl, byte ptr [eax + edx + 0x24] // 80e180 | and cl, 0x80 // 8b550c | mov edx, dword ptr [ebp + 0xc] // 8b02 | mov eax, dword ptr [edx] $sequence_2 = { 66891401 ba02000000 6bd203 0fb745f0 8b4de4 0fb71411 0bd0 } // n = 7, score = 100 // 66891401 | mov word ptr [ecx + eax], dx // ba02000000 | mov edx, 2 // 6bd203 | imul edx, edx, 3 // 0fb745f0 | movzx eax, word ptr [ebp - 0x10] // 8b4de4 | mov ecx, dword ptr [ebp - 0x1c] // 0fb71411 | movzx edx, word ptr [ecx + edx] // 0bd0 | or edx, eax $sequence_3 = { 894584 837d840a 7344 837d8c24 7c0b 8b4d80 83c101 } // n = 7, score = 100 // 894584 | mov dword ptr [ebp - 0x7c], eax // 837d840a | cmp dword ptr [ebp - 0x7c], 0xa // 7344 | jae 0x46 // 837d8c24 | cmp dword ptr [ebp - 0x74], 0x24 // 7c0b | jl 0xd // 8b4d80 | mov ecx, dword ptr [ebp - 0x80] // 83c101 | add ecx, 1 $sequence_4 = { f3ab 59 894df8 8b45f8 83785000 7446 } // n = 6, score = 100 // f3ab | rep stosd dword ptr es:[edi], eax // 59 | pop ecx // 894df8 | mov dword ptr [ebp - 8], ecx // 8b45f8 | mov eax, dword ptr [ebp - 8] // 83785000 | cmp dword ptr [eax + 0x50], 0 // 7446 | je 0x48 $sequence_5 = { 8b08 8b5104 83ea60 8b45ec 8b08 8b4104 8b4dec } // n = 7, score = 100 // 8b08 | mov ecx, dword ptr [eax] // 8b5104 | mov edx, dword ptr [ecx + 4] // 83ea60 | sub edx, 0x60 // 8b45ec | mov eax, dword ptr [ebp - 0x14] // 8b08 | mov ecx, dword ptr [eax] // 8b4104 | mov eax, dword ptr [ecx + 4] // 8b4dec | mov ecx, dword ptr [ebp - 0x14] $sequence_6 = { 8bcd 50 8d15c4ba4700 e8???????? 58 } // n = 5, score = 100 // 8bcd | mov ecx, ebp // 50 | push eax // 8d15c4ba4700 | lea edx, [0x47bac4] // e8???????? | // 58 | pop eax $sequence_7 = { 50 e8???????? 83c404 83c001 8b4d08 8901 837d0c00 } // n = 7, score = 100 // 50 | push eax // e8???????? | // 83c404 | add esp, 4 // 83c001 | add eax, 1 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 8901 | mov dword ptr [ecx], eax // 837d0c00 | cmp dword ptr [ebp + 0xc], 0 $sequence_8 = { c7410400000000 8d4de8 e8???????? 52 8bcd 50 8d1594034800 } // n = 7, score = 100 // c7410400000000 | mov dword ptr [ecx + 4], 0 // 8d4de8 | lea ecx, [ebp - 0x18] // e8???????? | // 52 | push edx // 8bcd | mov ecx, ebp // 50 | push eax // 8d1594034800 | lea edx, [0x480394] $sequence_9 = { 51 8b55f4 8b4248 50 8b4d08 e8???????? } // n = 6, score = 100 // 51 | push ecx // 8b55f4 | mov edx, dword ptr [ebp - 0xc] // 8b4248 | mov eax, dword ptr [edx + 0x48] // 50 | push eax // 8b4d08 | mov ecx, dword ptr [ebp + 8] // e8???????? | condition: 7 of them and filesize < 3126272 }
rule win_xfscashncr_w0 { meta: description = "Detects ATM Malware XFSCashNCR" author = "Frank Boldewin (@r3c0nst)" reference = "https://twitter.com/r3c0nst/status/1166773324548063232" date = "2019-08-28" hash1 = "d6dff67a6b4423b5721908bdcc668951f33b3c214e318051c96e8c158e8931c0" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.xfscashncr" malpedia_version = "20191004" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $Code1 = {50 8b 4d e8 8b 51 10 52 6a 00 68 2d 01 00 00 8b 45 e8 0f b7 48 1c 51 e8} // CDM Status $Code2 = {52 8d 45 d0 50 68 2e 01 00 00 8b 4d e8 0f b7 51 1c 52 e8} // Dispense $StatusMessage1 = "[+] Ingrese Denominacion ISO" nocase ascii $StatusMessage2 = "[+] Ingrese numero de billetes" nocase ascii $StatusMessage3 = "[!] FAIL.. dispensadores no encontrados" nocase ascii $StatusMessage4 = "[!] Unable continue, IMPOSIBLE abrir dispenser" nocase ascii $PDB = "C:\\Users\\cyttek\\Downloads\\xfs_cashXP\\Debug\\xfs_cash_ncr.pdb" nocase ascii $LogFile = "XfsLog.txt" nocase ascii condition: uint16(0) == 0x5A4D and filesize < 1500KB 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