SYMBOLCOMMON_NAMEaka. SYNONYMS
win.smac (Back to overview)

smac

aka: speccom
VTCollection    

There is no description at this point.

References
2020-01-01 ⋅ Secureworks ⋅ SecureWorks
BRONZE EXPRESS
9002 RAT CHINACHOPPER IsSpace NewCT PlugX smac APT26
2015-08-10 ⋅ shadowserver ⋅ Ben Koehl, Ned Moran
The Italian Connection: An analysis of exploit supply chains and digital quartermasters
smac APT20
Yara Rules
[TLP:WHITE] win_smac_auto (20260917 | Detects win.smac.)
rule win_smac_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.smac."
        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.smac"
        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 = { 8db570f4ffff e8???????? 83bdd8f4ffff08 8b85c4f4ffff 7306 }
            // n = 5, score = 200
            //   8db570f4ffff         | lea                 esi, [ebp - 0xb90]
            //   e8????????           |                     
            //   83bdd8f4ffff08       | cmp                 dword ptr [ebp - 0xb28], 8
            //   8b85c4f4ffff         | mov                 eax, dword ptr [ebp - 0xb3c]
            //   7306                 | jae                 8

        $sequence_1 = { c785f080ffff907e0000 ffd0 8bc8 33c0 }
            // n = 4, score = 200
            //   c785f080ffff907e0000     | mov    dword ptr [ebp - 0x7f10], 0x7e90
            //   ffd0                 | call                eax
            //   8bc8                 | mov                 ecx, eax
            //   33c0                 | xor                 eax, eax

        $sequence_2 = { 8d85c4feffff 50 ffd3 8d85d4feffff 50 ffd3 8d8504ffffff }
            // n = 7, score = 200
            //   8d85c4feffff         | lea                 eax, [ebp - 0x13c]
            //   50                   | push                eax
            //   ffd3                 | call                ebx
            //   8d85d4feffff         | lea                 eax, [ebp - 0x12c]
            //   50                   | push                eax
            //   ffd3                 | call                ebx
            //   8d8504ffffff         | lea                 eax, [ebp - 0xfc]

        $sequence_3 = { 6a5d 668945e4 58 668945e6 6a0d 58 668945e8 }
            // n = 7, score = 200
            //   6a5d                 | push                0x5d
            //   668945e4             | mov                 word ptr [ebp - 0x1c], ax
            //   58                   | pop                 eax
            //   668945e6             | mov                 word ptr [ebp - 0x1a], ax
            //   6a0d                 | push                0xd
            //   58                   | pop                 eax
            //   668945e8             | mov                 word ptr [ebp - 0x18], ax

        $sequence_4 = { 8b08 50 ff5108 c645fc1a 8b8540ffffff 3bc3 7406 }
            // n = 7, score = 200
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   50                   | push                eax
            //   ff5108               | call                dword ptr [ecx + 8]
            //   c645fc1a             | mov                 byte ptr [ebp - 4], 0x1a
            //   8b8540ffffff         | mov                 eax, dword ptr [ebp - 0xc0]
            //   3bc3                 | cmp                 eax, ebx
            //   7406                 | je                  8

        $sequence_5 = { 56 66898424c8040000 8d8424ca040000 53 50 e8???????? 8b35???????? }
            // n = 7, score = 200
            //   56                   | push                esi
            //   66898424c8040000     | mov                 word ptr [esp + 0x4c8], ax
            //   8d8424ca040000       | lea                 eax, [esp + 0x4ca]
            //   53                   | push                ebx
            //   50                   | push                eax
            //   e8????????           |                     
            //   8b35????????         |                     

        $sequence_6 = { 66898c2484020000 59 6a61 66898c2486020000 59 6a70 }
            // n = 6, score = 200
            //   66898c2484020000     | mov                 word ptr [esp + 0x284], cx
            //   59                   | pop                 ecx
            //   6a61                 | push                0x61
            //   66898c2486020000     | mov                 word ptr [esp + 0x286], cx
            //   59                   | pop                 ecx
            //   6a70                 | push                0x70

        $sequence_7 = { 56 e8???????? 59 8bce 8db534f0ffff e8???????? 6aff }
            // n = 7, score = 200
            //   56                   | push                esi
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   8bce                 | mov                 ecx, esi
            //   8db534f0ffff         | lea                 esi, [ebp - 0xfcc]
            //   e8????????           |                     
            //   6aff                 | push                -1

        $sequence_8 = { 6a72 5b 66899d46ffffff 6a61 }
            // n = 4, score = 200
            //   6a72                 | push                0x72
            //   5b                   | pop                 ebx
            //   66899d46ffffff       | mov                 word ptr [ebp - 0xba], bx
            //   6a61                 | push                0x61

        $sequence_9 = { 50 53 53 ffd6 8b4dec 8bc7 e8???????? }
            // n = 7, score = 200
            //   50                   | push                eax
            //   53                   | push                ebx
            //   53                   | push                ebx
            //   ffd6                 | call                esi
            //   8b4dec               | mov                 ecx, dword ptr [ebp - 0x14]
            //   8bc7                 | mov                 eax, edi
            //   e8????????           |                     

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