SYMBOLCOMMON_NAMEaka. SYNONYMS
win.sword (Back to overview)

Sword

Actor(s): Comment Crew


There is no description at this point.

References
2018MandiantMandiant
@techreport{mandiant:2018:apt1:b76cc4d, author = {Mandiant}, title = {{APT1}}, date = {2018}, institution = {Mandiant}, url = {https://github.com/securitykitten/malware_references/blob/master/Appendix%20C%20(Digital)%20-%20The%20Malware%20Arsenal.pdf}, language = {English}, urldate = {2020-01-13} } 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 (20201023 | autogenerated rule brought to you by yara-signator)
rule win_sword_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.sword"
        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 = { 7578 8d942484020000 6a5c 52 }
            // n = 4, score = 100
            //   7578                 | jne                 0x7a
            //   8d942484020000       | lea                 edx, [esp + 0x284]
            //   6a5c                 | push                0x5c
            //   52                   | push                edx

        $sequence_1 = { 8dbc2478010000 83c9ff 33c0 83c408 f2ae 8b8424d80f0000 }
            // n = 6, score = 100
            //   8dbc2478010000       | lea                 edi, [esp + 0x178]
            //   83c9ff               | or                  ecx, 0xffffffff
            //   33c0                 | xor                 eax, eax
            //   83c408               | add                 esp, 8
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   8b8424d80f0000       | mov                 eax, dword ptr [esp + 0xfd8]

        $sequence_2 = { 50 8d54241c 51 52 ff15???????? 85c0 0f8488090000 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   8d54241c             | lea                 edx, [esp + 0x1c]
            //   51                   | push                ecx
            //   52                   | push                edx
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   0f8488090000         | je                  0x98e

        $sequence_3 = { 8d842470010000 68???????? 50 e8???????? 8dbc2478010000 83c9ff 33c0 }
            // n = 7, score = 100
            //   8d842470010000       | lea                 eax, [esp + 0x170]
            //   68????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     
            //   8dbc2478010000       | lea                 edi, [esp + 0x178]
            //   83c9ff               | or                  ecx, 0xffffffff
            //   33c0                 | xor                 eax, eax

        $sequence_4 = { 6a10 51 56 ffd3 83f8ff 750a }
            // n = 6, score = 100
            //   6a10                 | push                0x10
            //   51                   | push                ecx
            //   56                   | push                esi
            //   ffd3                 | call                ebx
            //   83f8ff               | cmp                 eax, -1
            //   750a                 | jne                 0xc

        $sequence_5 = { 77c8 bf???????? 83c9ff 33c0 f2ae f7d1 }
            // n = 6, score = 100
            //   77c8                 | ja                  0xffffffca
            //   bf????????           |                     
            //   83c9ff               | or                  ecx, 0xffffffff
            //   33c0                 | xor                 eax, eax
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   f7d1                 | not                 ecx

        $sequence_6 = { 0bc9 0f8495000000 8b7508 8b7d0c 8d05a49e4000 83780800 7543 }
            // n = 7, score = 100
            //   0bc9                 | or                  ecx, ecx
            //   0f8495000000         | je                  0x9b
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   8b7d0c               | mov                 edi, dword ptr [ebp + 0xc]
            //   8d05a49e4000         | lea                 eax, [0x409ea4]
            //   83780800             | cmp                 dword ptr [eax + 8], 0
            //   7543                 | jne                 0x45

        $sequence_7 = { 668b11 f6c201 7416 8088????????10 8a9405ecfdffff 8890e09e4000 }
            // n = 6, score = 100
            //   668b11               | mov                 dx, word ptr [ecx]
            //   f6c201               | test                dl, 1
            //   7416                 | je                  0x18
            //   8088????????10       |                     
            //   8a9405ecfdffff       | mov                 dl, byte ptr [ebp + eax - 0x214]
            //   8890e09e4000         | mov                 byte ptr [eax + 0x409ee0], dl

        $sequence_8 = { 8d842470010000 50 ff15???????? 50 e8???????? }
            // n = 5, score = 100
            //   8d842470010000       | lea                 eax, [esp + 0x170]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_9 = { f7d1 49 83f903 77c8 bf???????? }
            // n = 5, score = 100
            //   f7d1                 | not                 ecx
            //   49                   | dec                 ecx
            //   83f903               | cmp                 ecx, 3
            //   77c8                 | ja                  0xffffffca
            //   bf????????           |                     

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