SYMBOLCOMMON_NAMEaka. SYNONYMS
win.fanny (Back to overview)

Fanny

aka: DEMENTIAWHEEL

Actor(s): Equation Group


There is no description at this point.

References
2020-09-28fmmresearch wordpressFacundo Muñoz
@online{muoz:20200928:emerald:07900c2, author = {Facundo Muñoz}, title = {{The Emerald Connection: EquationGroup collaboration with Stuxnet}}, date = {2020-09-28}, organization = {fmmresearch wordpress}, url = {https://fmmresearch.wordpress.com/2020/09/28/the-emerald-connection-equationgroup-collaboration-with-stuxnet/}, language = {English}, urldate = {2020-10-04} } The Emerald Connection: EquationGroup collaboration with Stuxnet
Fanny Stuxnet
2020-09-28fmmresearch wordpressFacundo Muñoz
@techreport{muoz:20200928:emerald:1e7fceb, author = {Facundo Muñoz}, title = {{The Emerald Connection: Equation Group collaboration with Stuxnet}}, date = {2020-09-28}, institution = {fmmresearch wordpress}, url = {https://fmmresearch.files.wordpress.com/2020/09/theemeraldconnectionreport_fmmr-2.pdf}, language = {English}, urldate = {2020-10-04} } The Emerald Connection: Equation Group collaboration with Stuxnet
Fanny Stuxnet
2020-08-27fmnagisa wordpressFacundo M
@online{m:20200827:revisiting:bac6d3b, author = {Facundo M}, title = {{Revisiting EquationGroup’s FANNY… or is it DEMENTIAWHEEL?}}, date = {2020-08-27}, organization = {fmnagisa wordpress}, url = {https://fmnagisa.wordpress.com/2020/08/27/revisiting-equationgroups-fanny-worm-or-dementiawheel/}, language = {English}, urldate = {2020-10-04} } Revisiting EquationGroup’s FANNY… or is it DEMENTIAWHEEL?
DoubleFantasy Fanny
2015-02-16Kaspersky LabsGReAT
@online{great:20150216:equation:7b95c72, author = {GReAT}, title = {{Equation: The Death Star of Malware Galaxy}}, date = {2015-02-16}, organization = {Kaspersky Labs}, url = {https://securelist.com/equation-the-death-star-of-malware-galaxy/68750/#_1}, language = {English}, urldate = {2019-12-20} } Equation: The Death Star of Malware Galaxy
Fanny
Yara Rules
[TLP:WHITE] win_fanny_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_fanny_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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.fanny"
        malpedia_rule_date = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { 897c2414 33db ff15???????? 8b44241c 48 0f8513010000 8b35???????? }
            // n = 7, score = 200
            //   897c2414             | mov                 dword ptr [esp + 0x14], edi
            //   33db                 | xor                 ebx, ebx
            //   ff15????????         |                     
            //   8b44241c             | mov                 eax, dword ptr [esp + 0x1c]
            //   48                   | dec                 eax
            //   0f8513010000         | jne                 0x119
            //   8b35????????         |                     

        $sequence_1 = { c60000 51 40 68???????? 50 e8???????? }
            // n = 6, score = 200
            //   c60000               | mov                 byte ptr [eax], 0
            //   51                   | push                ecx
            //   40                   | inc                 eax
            //   68????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_2 = { ffd7 fe45c6 8d45a8 50 6aff }
            // n = 5, score = 200
            //   ffd7                 | call                edi
            //   fe45c6               | inc                 byte ptr [ebp - 0x3a]
            //   8d45a8               | lea                 eax, [ebp - 0x58]
            //   50                   | push                eax
            //   6aff                 | push                -1

        $sequence_3 = { 0355c4 8955d4 ebd2 8b45c4 3b45d0 741f c745b800000000 }
            // n = 7, score = 200
            //   0355c4               | add                 edx, dword ptr [ebp - 0x3c]
            //   8955d4               | mov                 dword ptr [ebp - 0x2c], edx
            //   ebd2                 | jmp                 0xffffffd4
            //   8b45c4               | mov                 eax, dword ptr [ebp - 0x3c]
            //   3b45d0               | cmp                 eax, dword ptr [ebp - 0x30]
            //   741f                 | je                  0x21
            //   c745b800000000       | mov                 dword ptr [ebp - 0x48], 0

        $sequence_4 = { 894dfc 8b45fc 83780c00 7422 8b4dfc 83790400 }
            // n = 6, score = 200
            //   894dfc               | mov                 dword ptr [ebp - 4], ecx
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   83780c00             | cmp                 dword ptr [eax + 0xc], 0
            //   7422                 | je                  0x24
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   83790400             | cmp                 dword ptr [ecx + 4], 0

        $sequence_5 = { 8b1495b05a4000 33c2 41 4f 75dd 83ff20 8bf1 }
            // n = 7, score = 200
            //   8b1495b05a4000       | mov                 edx, dword ptr [edx*4 + 0x405ab0]
            //   33c2                 | xor                 eax, edx
            //   41                   | inc                 ecx
            //   4f                   | dec                 edi
            //   75dd                 | jne                 0xffffffdf
            //   83ff20               | cmp                 edi, 0x20
            //   8bf1                 | mov                 esi, ecx

        $sequence_6 = { 8b45fc 8901 8b7d0c 833f09 7316 }
            // n = 5, score = 200
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8901                 | mov                 dword ptr [ecx], eax
            //   8b7d0c               | mov                 edi, dword ptr [ebp + 0xc]
            //   833f09               | cmp                 dword ptr [edi], 9
            //   7316                 | jae                 0x18

        $sequence_7 = { 7444 8b4514 6a00 89450c 8d450c }
            // n = 5, score = 200
            //   7444                 | je                  0x46
            //   8b4514               | mov                 eax, dword ptr [ebp + 0x14]
            //   6a00                 | push                0
            //   89450c               | mov                 dword ptr [ebp + 0xc], eax
            //   8d450c               | lea                 eax, [ebp + 0xc]

        $sequence_8 = { 8bc8 83e103 f3a4 899590fbffff 899d94fbffff a1???????? 898598fbffff }
            // n = 7, score = 200
            //   8bc8                 | mov                 ecx, eax
            //   83e103               | and                 ecx, 3
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   899590fbffff         | mov                 dword ptr [ebp - 0x470], edx
            //   899d94fbffff         | mov                 dword ptr [ebp - 0x46c], ebx
            //   a1????????           |                     
            //   898598fbffff         | mov                 dword ptr [ebp - 0x468], eax

        $sequence_9 = { 8b56fc 33cb 8b1c85b0664000 33cb 33c0 33ca 33d2 }
            // n = 7, score = 200
            //   8b56fc               | mov                 edx, dword ptr [esi - 4]
            //   33cb                 | xor                 ecx, ebx
            //   8b1c85b0664000       | mov                 ebx, dword ptr [eax*4 + 0x4066b0]
            //   33cb                 | xor                 ecx, ebx
            //   33c0                 | xor                 eax, eax
            //   33ca                 | xor                 ecx, edx
            //   33d2                 | xor                 edx, edx

        $sequence_10 = { 7441 ff30 ff95b8fdffff 59 85c0 7434 8b4708 }
            // n = 7, score = 200
            //   7441                 | je                  0x43
            //   ff30                 | push                dword ptr [eax]
            //   ff95b8fdffff         | call                dword ptr [ebp - 0x248]
            //   59                   | pop                 ecx
            //   85c0                 | test                eax, eax
            //   7434                 | je                  0x36
            //   8b4708               | mov                 eax, dword ptr [edi + 8]

        $sequence_11 = { 2b4d08 894dc4 8b550c 0355c4 8955d4 ebd2 }
            // n = 6, score = 200
            //   2b4d08               | sub                 ecx, dword ptr [ebp + 8]
            //   894dc4               | mov                 dword ptr [ebp - 0x3c], ecx
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   0355c4               | add                 edx, dword ptr [ebp - 0x3c]
            //   8955d4               | mov                 dword ptr [ebp - 0x2c], edx
            //   ebd2                 | jmp                 0xffffffd4

        $sequence_12 = { 8bd8 85db 0f84b8000000 a0???????? 884310 8b4608 }
            // n = 6, score = 200
            //   8bd8                 | mov                 ebx, eax
            //   85db                 | test                ebx, ebx
            //   0f84b8000000         | je                  0xbe
            //   a0????????           |                     
            //   884310               | mov                 byte ptr [ebx + 0x10], al
            //   8b4608               | mov                 eax, dword ptr [esi + 8]

        $sequence_13 = { 8b4514 895df8 85c6 89450c 740c 0500020000 }
            // n = 6, score = 200
            //   8b4514               | mov                 eax, dword ptr [ebp + 0x14]
            //   895df8               | mov                 dword ptr [ebp - 8], ebx
            //   85c6                 | test                esi, eax
            //   89450c               | mov                 dword ptr [ebp + 0xc], eax
            //   740c                 | je                  0xe
            //   0500020000           | add                 eax, 0x200

        $sequence_14 = { 8b45fc 8b4d08 89480c b801000000 eb02 }
            // n = 5, score = 200
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   89480c               | mov                 dword ptr [eax + 0xc], ecx
            //   b801000000           | mov                 eax, 1
            //   eb02                 | jmp                 4

        $sequence_15 = { 8b442410 c7421878814000 c7031b000000 e9???????? 8b436c }
            // n = 5, score = 200
            //   8b442410             | mov                 eax, dword ptr [esp + 0x10]
            //   c7421878814000       | mov                 dword ptr [edx + 0x18], 0x408178
            //   c7031b000000         | mov                 dword ptr [ebx], 0x1b
            //   e9????????           |                     
            //   8b436c               | mov                 eax, dword ptr [ebx + 0x6c]

    condition:
        7 of them and filesize < 368640
}
Download all Yara Rules