SYMBOLCOMMON_NAMEaka. SYNONYMS
win.dispenserxfs (Back to overview)

DispenserXFS

VTCollection    

There is no description at this point.

References
2019-02-28Twitter (@cyb3rops)Florian Roth
Tweet on YARA and DispenserXFS
DispenserXFS
Yara Rules
[TLP:WHITE] win_dispenserxfs_auto (20230808 | Detects win.dispenserxfs.)
rule win_dispenserxfs_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-12-06"
        version = "1"
        description = "Detects win.dispenserxfs."
        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.dispenserxfs"
        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 = { 8975c0 8975c4 8b35???????? 57 c745b430000000 c745b803000000 }
            // n = 6, score = 200
            //   8975c0               | mov                 dword ptr [ebp - 0x40], esi
            //   8975c4               | mov                 dword ptr [ebp - 0x3c], esi
            //   8b35????????         |                     
            //   57                   | push                edi
            //   c745b430000000       | mov                 dword ptr [ebp - 0x4c], 0x30
            //   c745b803000000       | mov                 dword ptr [ebp - 0x48], 3

        $sequence_1 = { 68???????? e8???????? c7042410270000 ff15???????? 6a00 }
            // n = 5, score = 200
            //   68????????           |                     
            //   e8????????           |                     
            //   c7042410270000       | mov                 dword ptr [esp], 0x2710
            //   ff15????????         |                     
            //   6a00                 | push                0

        $sequence_2 = { 6a02 ff15???????? 8bf0 83feff 74ef 8d85d4fdffff c785d4fdffff2c020000 }
            // n = 7, score = 200
            //   6a02                 | push                2
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   83feff               | cmp                 esi, -1
            //   74ef                 | je                  0xfffffff1
            //   8d85d4fdffff         | lea                 eax, [ebp - 0x22c]
            //   c785d4fdffff2c020000     | mov    dword ptr [ebp - 0x22c], 0x22c

        $sequence_3 = { 7c08 8d50ec e8???????? 57 ff15???????? }
            // n = 5, score = 200
            //   7c08                 | jl                  0xa
            //   8d50ec               | lea                 edx, [eax - 0x14]
            //   e8????????           |                     
            //   57                   | push                edi
            //   ff15????????         |                     

        $sequence_4 = { 7451 33c9 33c0 8bd9 663b422e 731f 8b4230 }
            // n = 7, score = 200
            //   7451                 | je                  0x53
            //   33c9                 | xor                 ecx, ecx
            //   33c0                 | xor                 eax, eax
            //   8bd9                 | mov                 ebx, ecx
            //   663b422e             | cmp                 ax, word ptr [edx + 0x2e]
            //   731f                 | jae                 0x21
            //   8b4230               | mov                 eax, dword ptr [edx + 0x30]

        $sequence_5 = { 50 ffd6 53 6a03 58 50 8d8555ffffff }
            // n = 7, score = 200
            //   50                   | push                eax
            //   ffd6                 | call                esi
            //   53                   | push                ebx
            //   6a03                 | push                3
            //   58                   | pop                 eax
            //   50                   | push                eax
            //   8d8555ffffff         | lea                 eax, [ebp - 0xab]

        $sequence_6 = { 898de0feffff 89b5e4feffff 89b5e8feffff 89b5ecfeffff 89b5f0feffff 66899df6feffff }
            // n = 6, score = 200
            //   898de0feffff         | mov                 dword ptr [ebp - 0x120], ecx
            //   89b5e4feffff         | mov                 dword ptr [ebp - 0x11c], esi
            //   89b5e8feffff         | mov                 dword ptr [ebp - 0x118], esi
            //   89b5ecfeffff         | mov                 dword ptr [ebp - 0x114], esi
            //   89b5f0feffff         | mov                 dword ptr [ebp - 0x110], esi
            //   66899df6feffff       | mov                 word ptr [ebp - 0x10a], bx

        $sequence_7 = { 8945f0 0f823cffffff 8b4df4 8b45e4 }
            // n = 4, score = 200
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   0f823cffffff         | jb                  0xffffff42
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]
            //   8b45e4               | mov                 eax, dword ptr [ebp - 0x1c]

        $sequence_8 = { 8bcf e8???????? 8d8548feffff 8bd3 50 8bcf }
            // n = 6, score = 200
            //   8bcf                 | mov                 ecx, edi
            //   e8????????           |                     
            //   8d8548feffff         | lea                 eax, [ebp - 0x1b8]
            //   8bd3                 | mov                 edx, ebx
            //   50                   | push                eax
            //   8bcf                 | mov                 ecx, edi

        $sequence_9 = { 8d55c4 83c414 8bf2 8a02 42 }
            // n = 5, score = 200
            //   8d55c4               | lea                 edx, [ebp - 0x3c]
            //   83c414               | add                 esp, 0x14
            //   8bf2                 | mov                 esi, edx
            //   8a02                 | mov                 al, byte ptr [edx]
            //   42                   | inc                 edx

    condition:
        7 of them and filesize < 114688
}
[TLP:WHITE] win_dispenserxfs_w0   (20190307 | Detects ATM Malware DispenserXFS)
import "pe"

rule win_dispenserxfs_w0 {
    meta:
        description = "Detects ATM Malware DispenserXFS"
        author = "@Xylit0l @r3c0nst / Modified by Florian Roth"
        reference = "https://twitter.com/r3c0nst/status/1100775857306652673"
        date = "2019/02/27"
        score = 80
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.dispenserxfs"
        malpedia_version = "20190307"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    strings:
        $xc1 = { 68 FF FF 00 00 68 60 EA 00 00 6A 10 }
        $s1 = "\\dispenserXFS.pdb" ascii wide
        $s3 = "C:\\xfsasdf.txt" fullword ascii
        $s4 = "Injected mxsfs killer into %d." fullword ascii
        $s5 = "Waiting for freeze msxfs processes..." fullword ascii

    condition:
        1 of them or pe.imphash() == "617e037ae26d1931818db0790fb44bfe"
}
Download all Yara Rules