SYMBOLCOMMON_NAMEaka. SYNONYMS
win.sword (Back to overview)

Sword

Actor(s): Comment Crew

VTCollection    

There is no description at this point.

References
2018-01-01MandiantMandiant
APT1
Auriga Biscuit Bouncer Combos CookieBag Dairy GetMail GlooxMail Goggles Hacksfase Helauto Kurton ManItsMe MAPIget MiniASP NewsReels SeaSalt StarsyPound Sword TabMsgSQL Tarsip WebC2-AdSpace WebC2-Ausov WebC2-Bolid WebC2-Cson WebC2-DIV WebC2-GreenCat WebC2-Head WebC2-Kt3 WebC2-Qbp WebC2-Rave WebC2-Table WebC2-UGX WebC2-Yahoo
Yara Rules
[TLP:WHITE] win_sword_auto (20260504 | Detects win.sword.)
rule win_sword_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.sword."
        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.sword"
        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 = { 49 807c29ff22 7510 8bfd 83c9ff 33c0 f2ae }
            // n = 7, score = 100
            //   49                   | dec                 ecx
            //   807c29ff22           | cmp                 byte ptr [ecx + ebp - 1], 0x22
            //   7510                 | jne                 0x12
            //   8bfd                 | mov                 edi, ebp
            //   83c9ff               | or                  ecx, 0xffffffff
            //   33c0                 | xor                 eax, eax
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]

        $sequence_1 = { eb05 1bc0 83d8ff 3bc3 0f8403010000 8bfd 83c9ff }
            // n = 7, score = 100
            //   eb05                 | jmp                 7
            //   1bc0                 | sbb                 eax, eax
            //   83d8ff               | sbb                 eax, -1
            //   3bc3                 | cmp                 eax, ebx
            //   0f8403010000         | je                  0x109
            //   8bfd                 | mov                 edi, ebp
            //   83c9ff               | or                  ecx, 0xffffffff

        $sequence_2 = { 0f8480020000 8d4c2428 6a5c 51 e8???????? 8d542430 }
            // n = 6, score = 100
            //   0f8480020000         | je                  0x286
            //   8d4c2428             | lea                 ecx, [esp + 0x28]
            //   6a5c                 | push                0x5c
            //   51                   | push                ecx
            //   e8????????           |                     
            //   8d542430             | lea                 edx, [esp + 0x30]

        $sequence_3 = { 83ff03 7d22 8d4c2410 6a10 51 56 ffd3 }
            // n = 7, score = 100
            //   83ff03               | cmp                 edi, 3
            //   7d22                 | jge                 0x24
            //   8d4c2410             | lea                 ecx, [esp + 0x10]
            //   6a10                 | push                0x10
            //   51                   | push                ecx
            //   56                   | push                esi
            //   ffd3                 | call                ebx

        $sequence_4 = { 52 e8???????? 83c40c 85c0 0f856f050000 8a8c2496060000 }
            // n = 6, score = 100
            //   52                   | push                edx
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   85c0                 | test                eax, eax
            //   0f856f050000         | jne                 0x575
            //   8a8c2496060000       | mov                 cl, byte ptr [esp + 0x696]

        $sequence_5 = { 89842478010000 ff15???????? 8dbc2484020000 83c9ff }
            // n = 4, score = 100
            //   89842478010000       | mov                 dword ptr [esp + 0x178], eax
            //   ff15????????         |                     
            //   8dbc2484020000       | lea                 edi, [esp + 0x284]
            //   83c9ff               | or                  ecx, 0xffffffff

        $sequence_6 = { 83e103 f3a4 8d442428 6a5c 50 }
            // n = 5, score = 100
            //   83e103               | and                 ecx, 3
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   8d442428             | lea                 eax, [esp + 0x28]
            //   6a5c                 | push                0x5c
            //   50                   | push                eax

        $sequence_7 = { 8bf0 e8???????? 83c410 3bf0 7431 68???????? e8???????? }
            // n = 7, score = 100
            //   8bf0                 | mov                 esi, eax
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   3bf0                 | cmp                 esi, eax
            //   7431                 | je                  0x33
            //   68????????           |                     
            //   e8????????           |                     

        $sequence_8 = { 8dbc2494060000 83c9ff 33c0 f2ae f7d1 49 }
            // n = 6, score = 100
            //   8dbc2494060000       | lea                 edi, [esp + 0x694]
            //   83c9ff               | or                  ecx, 0xffffffff
            //   33c0                 | xor                 eax, eax
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   f7d1                 | not                 ecx
            //   49                   | dec                 ecx

        $sequence_9 = { 49 885c0c27 807c242822 7525 8d7c2429 }
            // n = 5, score = 100
            //   49                   | dec                 ecx
            //   885c0c27             | mov                 byte ptr [esp + ecx + 0x27], bl
            //   807c242822           | cmp                 byte ptr [esp + 0x28], 0x22
            //   7525                 | jne                 0x27
            //   8d7c2429             | lea                 edi, [esp + 0x29]

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