SYMBOLCOMMON_NAMEaka. SYNONYMS
win.wannahusky (Back to overview)

WannaHusky

VTCollection    

According to Mars, WannaHusky is a Nim-compiled ransomware malware sample, created for demonstration purposes and provided as part of the Practical Malware Analysis & Triage course provided by HuskyHacks.

References
2022-04-06 ⋅ Medium mars0x ⋅ Mars
WannaHusky Malware Analysis w/ YARA + TTPs
WannaHusky
Yara Rules
[TLP:WHITE] win_wannahusky_auto (20260917 | Detects win.wannahusky.)
rule win_wannahusky_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.wannahusky."
        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.wannahusky"
        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 = { c705????????d11d4100 c705????????60b54100 c605????????01 c705????????20000000 c705????????c0464200 c705????????de1d4100 }
            // n = 6, score = 100
            //   c705????????d11d4100     |     
            //   c705????????60b54100     |     
            //   c605????????01       |                     
            //   c705????????20000000     |     
            //   c705????????c0464200     |     
            //   c705????????de1d4100     |     

        $sequence_1 = { c705????????00000000 c705????????04000000 c705????????04000000 66c705????????1903 c605????????01 c705????????10000000 c705????????00464200 }
            // n = 7, score = 100
            //   c705????????00000000     |     
            //   c705????????04000000     |     
            //   c705????????04000000     |     
            //   66c705????????1903     |     
            //   c605????????01       |                     
            //   c705????????10000000     |     
            //   c705????????00464200     |     

        $sequence_2 = { 66c705????????1903 c605????????01 c705????????0c000000 c705????????40464200 c705????????061d4100 c705????????20b44100 }
            // n = 6, score = 100
            //   66c705????????1903     |     
            //   c605????????01       |                     
            //   c705????????0c000000     |     
            //   c705????????40464200     |     
            //   c705????????061d4100     |     
            //   c705????????20b44100     |     

        $sequence_3 = { ba???????? e8???????? c7042401000000 e8???????? 890c8540bc4100 }
            // n = 5, score = 100
            //   ba????????           |                     
            //   e8????????           |                     
            //   c7042401000000       | mov                 dword ptr [esp], 1
            //   e8????????           |                     
            //   890c8540bc4100       | mov                 dword ptr [eax*4 + 0x41bc40], ecx

        $sequence_4 = { e8???????? 84c0 7405 e8???????? 8b45d4 8945bc 85db }
            // n = 7, score = 100
            //   e8????????           |                     
            //   84c0                 | test                al, al
            //   7405                 | je                  7
            //   e8????????           |                     
            //   8b45d4               | mov                 eax, dword ptr [ebp - 0x2c]
            //   8945bc               | mov                 dword ptr [ebp - 0x44], eax
            //   85db                 | test                ebx, ebx

        $sequence_5 = { c705????????0c1e4100 c705????????f0b54100 c705????????04000000 c705????????04000000 }
            // n = 4, score = 100
            //   c705????????0c1e4100     |     
            //   c705????????f0b54100     |     
            //   c705????????04000000     |     
            //   c705????????04000000     |     

        $sequence_6 = { c705????????a8b54100 c705????????04000000 c705????????04000000 c605????????16 c705????????a0474200 }
            // n = 5, score = 100
            //   c705????????a8b54100     |     
            //   c705????????04000000     |     
            //   c705????????04000000     |     
            //   c605????????16       |                     
            //   c705????????a0474200     |     

        $sequence_7 = { 8d8500fbffff 57 89d7 f3a5 }
            // n = 4, score = 100
            //   8d8500fbffff         | lea                 eax, [ebp - 0x500]
            //   57                   | push                edi
            //   89d7                 | mov                 edi, edx
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]

        $sequence_8 = { 8b4db8 ba01000000 0fb63c01 8d4dd0 c1e708 e8???????? 84c0 }
            // n = 7, score = 100
            //   8b4db8               | mov                 ecx, dword ptr [ebp - 0x48]
            //   ba01000000           | mov                 edx, 1
            //   0fb63c01             | movzx               edi, byte ptr [ecx + eax]
            //   8d4dd0               | lea                 ecx, [ebp - 0x30]
            //   c1e708               | shl                 edi, 8
            //   e8????????           |                     
            //   84c0                 | test                al, al

        $sequence_9 = { c705????????b0b14100 c705????????04000000 c705????????04000000 c605????????16 c705????????a02b4200 c705????????8b4b4000 c705????????00000000 }
            // n = 7, score = 100
            //   c705????????b0b14100     |     
            //   c705????????04000000     |     
            //   c705????????04000000     |     
            //   c605????????16       |                     
            //   c705????????a02b4200     |     
            //   c705????????8b4b4000     |     
            //   c705????????00000000     |     

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