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-06Medium mars0xMars
WannaHusky Malware Analysis w/ YARA + TTPs
WannaHusky
Yara Rules
[TLP:WHITE] win_wannahusky_auto (20260504 | Detects win.wannahusky.)
rule win_wannahusky_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        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 = "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 = { c7042400000000 89f1 89da e8???????? 89c3 a1???????? }
            // n = 6, score = 100
            //   c7042400000000       | mov                 dword ptr [esp], 0
            //   89f1                 | mov                 ecx, esi
            //   89da                 | mov                 edx, ebx
            //   e8????????           |                     
            //   89c3                 | mov                 ebx, eax
            //   a1????????           |                     

        $sequence_1 = { c605????????12 c705????????00000000 c705????????28b34100 c705????????00000000 c705????????04000000 }
            // n = 5, score = 100
            //   c605????????12       |                     
            //   c705????????00000000     |     
            //   c705????????28b34100     |     
            //   c705????????00000000     |     
            //   c705????????04000000     |     

        $sequence_2 = { c700???????? 89582c c74004???????? c74008???????? c7400c94cb4000 c74010ddcb4000 }
            // n = 6, score = 100
            //   c700????????         |                     
            //   89582c               | mov                 dword ptr [eax + 0x2c], ebx
            //   c74004????????       |                     
            //   c74008????????       |                     
            //   c7400c94cb4000       | mov                 dword ptr [eax + 0xc], 0x40cb94
            //   c74010ddcb4000       | mov                 dword ptr [eax + 0x10], 0x40cbdd

        $sequence_3 = { c605????????11 c705????????80bb4100 c705????????00000000 c605????????02 c705????????70b24100 c705????????04000000 c705????????04000000 }
            // n = 7, score = 100
            //   c605????????11       |                     
            //   c705????????80bb4100     |     
            //   c705????????00000000     |     
            //   c605????????02       |                     
            //   c705????????70b24100     |     
            //   c705????????04000000     |     
            //   c705????????04000000     |     

        $sequence_4 = { 89d7 f3a5 8d8d98fbffff 89442404 }
            // n = 4, score = 100
            //   89d7                 | mov                 edi, edx
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8d8d98fbffff         | lea                 ecx, [ebp - 0x468]
            //   89442404             | mov                 dword ptr [esp + 4], eax

        $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????????02000000 c605????????02 c705????????80b44100 c705????????a8b54100 c705????????04000000 c705????????04000000 c605????????16 }
            // n = 7, score = 100
            //   c705????????02000000     |     
            //   c605????????02       |                     
            //   c705????????80b44100     |     
            //   c705????????a8b54100     |     
            //   c705????????04000000     |     
            //   c705????????04000000     |     
            //   c605????????16       |                     

        $sequence_7 = { e8???????? ba01000000 8d8dfcfaffff 8985fcfaffff }
            // n = 4, score = 100
            //   e8????????           |                     
            //   ba01000000           | mov                 edx, 1
            //   8d8dfcfaffff         | lea                 ecx, [ebp - 0x504]
            //   8985fcfaffff         | mov                 dword ptr [ebp - 0x504], eax

        $sequence_8 = { c705????????f91d4100 c705????????0a000000 c605????????02 c705????????20b64100 }
            // n = 4, score = 100
            //   c705????????f91d4100     |     
            //   c705????????0a000000     |     
            //   c605????????02       |                     
            //   c705????????20b64100     |     

        $sequence_9 = { e8???????? 8b45e4 8945c4 837dc400 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   8b45e4               | mov                 eax, dword ptr [ebp - 0x1c]
            //   8945c4               | mov                 dword ptr [ebp - 0x3c], eax
            //   837dc400             | cmp                 dword ptr [ebp - 0x3c], 0

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