SYMBOLCOMMON_NAMEaka. SYNONYMS
win.sanny (Back to overview)

Sanny

VTCollection    

There is no description at this point.

References
2018-03-23FireEyeSudeep Singh, Yijie Sui
Sanny malware delivery method updated in recently observed attacks.
Sanny
2012-12-17Contagio DumpMila Parkour
Sample for Sanny / Win32.Daws in CVE-2012-0158 "ACEAN Regional Security Forum" targeting Russian companies
Sanny
Yara Rules
[TLP:WHITE] win_sanny_auto (20260504 | Detects win.sanny.)
rule win_sanny_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.sanny."
        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.sanny"
        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 = { ffd6 a3???????? 8b8b381f0000 68???????? 51 }
            // n = 5, score = 100
            //   ffd6                 | call                esi
            //   a3????????           |                     
            //   8b8b381f0000         | mov                 ecx, dword ptr [ebx + 0x1f38]
            //   68????????           |                     
            //   51                   | push                ecx

        $sequence_1 = { 51 e8???????? 8d54241c 8d842438020000 52 50 }
            // n = 6, score = 100
            //   51                   | push                ecx
            //   e8????????           |                     
            //   8d54241c             | lea                 edx, [esp + 0x1c]
            //   8d842438020000       | lea                 eax, [esp + 0x238]
            //   52                   | push                edx
            //   50                   | push                eax

        $sequence_2 = { 8bf9 8d8728040000 8a10 8a1e 8aca 3ad3 751e }
            // n = 7, score = 100
            //   8bf9                 | mov                 edi, ecx
            //   8d8728040000         | lea                 eax, [edi + 0x428]
            //   8a10                 | mov                 dl, byte ptr [eax]
            //   8a1e                 | mov                 bl, byte ptr [esi]
            //   8aca                 | mov                 cl, dl
            //   3ad3                 | cmp                 dl, bl
            //   751e                 | jne                 0x20

        $sequence_3 = { 8bf8 83ffff 753f ff15???????? }
            // n = 4, score = 100
            //   8bf8                 | mov                 edi, eax
            //   83ffff               | cmp                 edi, -1
            //   753f                 | jne                 0x41
            //   ff15????????         |                     

        $sequence_4 = { 89942480000000 880a 8b942480000000 8b4c2474 4a }
            // n = 5, score = 100
            //   89942480000000       | mov                 dword ptr [esp + 0x80], edx
            //   880a                 | mov                 byte ptr [edx], cl
            //   8b942480000000       | mov                 edx, dword ptr [esp + 0x80]
            //   8b4c2474             | mov                 ecx, dword ptr [esp + 0x74]
            //   4a                   | dec                 edx

        $sequence_5 = { 85c0 7502 32db 8bfe }
            // n = 4, score = 100
            //   85c0                 | test                eax, eax
            //   7502                 | jne                 4
            //   32db                 | xor                 bl, bl
            //   8bfe                 | mov                 edi, esi

        $sequence_6 = { 741b c705????????16000000 83c8ff eb7b c705????????0c000000 ebef 890d???????? }
            // n = 7, score = 100
            //   741b                 | je                  0x1d
            //   c705????????16000000     |     
            //   83c8ff               | or                  eax, 0xffffffff
            //   eb7b                 | jmp                 0x7d
            //   c705????????0c000000     |     
            //   ebef                 | jmp                 0xfffffff1
            //   890d????????         |                     

        $sequence_7 = { c1e612 33d6 25cccc3333 33d0 8bc1 8bf1 81e1cccc3333 }
            // n = 7, score = 100
            //   c1e612               | shl                 esi, 0x12
            //   33d6                 | xor                 edx, esi
            //   25cccc3333           | and                 eax, 0x3333cccc
            //   33d0                 | xor                 edx, eax
            //   8bc1                 | mov                 eax, ecx
            //   8bf1                 | mov                 esi, ecx
            //   81e1cccc3333         | and                 ecx, 0x3333cccc

        $sequence_8 = { ffd0 85c0 0f85d6000000 8d8618c50000 8bce 50 c78610c5000001000000 }
            // n = 7, score = 100
            //   ffd0                 | call                eax
            //   85c0                 | test                eax, eax
            //   0f85d6000000         | jne                 0xdc
            //   8d8618c50000         | lea                 eax, [esi + 0xc518]
            //   8bce                 | mov                 ecx, esi
            //   50                   | push                eax
            //   c78610c5000001000000     | mov    dword ptr [esi + 0xc510], 1

        $sequence_9 = { 41 3d???????? 7cf1 56 8bf1 c1e603 3b96b8634100 }
            // n = 7, score = 100
            //   41                   | inc                 ecx
            //   3d????????           |                     
            //   7cf1                 | jl                  0xfffffff3
            //   56                   | push                esi
            //   8bf1                 | mov                 esi, ecx
            //   c1e603               | shl                 esi, 3
            //   3b96b8634100         | cmp                 edx, dword ptr [esi + 0x4163b8]

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