SYMBOLCOMMON_NAMEaka. SYNONYMS
win.smac (Back to overview)

smac

aka: speccom
VTCollection    

There is no description at this point.

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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        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 = "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 = { c745dcc5d94000 a1???????? 8d4dd8 33c1 8945e0 }
            // n = 5, score = 200
            //   c745dcc5d94000       | mov                 dword ptr [ebp - 0x24], 0x40d9c5
            //   a1????????           |                     
            //   8d4dd8               | lea                 ecx, [ebp - 0x28]
            //   33c1                 | xor                 eax, ecx
            //   8945e0               | mov                 dword ptr [ebp - 0x20], eax

        $sequence_1 = { 6a69 668975c8 8bf0 66894da2 668975ca 5e }
            // n = 6, score = 200
            //   6a69                 | push                0x69
            //   668975c8             | mov                 word ptr [ebp - 0x38], si
            //   8bf0                 | mov                 esi, eax
            //   66894da2             | mov                 word ptr [ebp - 0x5e], cx
            //   668975ca             | mov                 word ptr [ebp - 0x36], si
            //   5e                   | pop                 esi

        $sequence_2 = { 7303 8d45d4 53 8d4dd0 51 }
            // n = 5, score = 200
            //   7303                 | jae                 5
            //   8d45d4               | lea                 eax, [ebp - 0x2c]
            //   53                   | push                ebx
            //   8d4dd0               | lea                 ecx, [ebp - 0x30]
            //   51                   | push                ecx

        $sequence_3 = { 8d850cf9ffff 50 8d45c8 50 8d8504f7ffff 50 ffd7 }
            // n = 7, score = 200
            //   8d850cf9ffff         | lea                 eax, [ebp - 0x6f4]
            //   50                   | push                eax
            //   8d45c8               | lea                 eax, [ebp - 0x38]
            //   50                   | push                eax
            //   8d8504f7ffff         | lea                 eax, [ebp - 0x8fc]
            //   50                   | push                eax
            //   ffd7                 | call                edi

        $sequence_4 = { 8d9dd0feffff 8d8578feffff 50 8bc7 }
            // n = 4, score = 200
            //   8d9dd0feffff         | lea                 ebx, [ebp - 0x130]
            //   8d8578feffff         | lea                 eax, [ebp - 0x188]
            //   50                   | push                eax
            //   8bc7                 | mov                 eax, edi

        $sequence_5 = { 6a3c b8???????? e8???????? 807b5400 7462 8d45b8 68???????? }
            // n = 7, score = 200
            //   6a3c                 | push                0x3c
            //   b8????????           |                     
            //   e8????????           |                     
            //   807b5400             | cmp                 byte ptr [ebx + 0x54], 0
            //   7462                 | je                  0x64
            //   8d45b8               | lea                 eax, [ebp - 0x48]
            //   68????????           |                     

        $sequence_6 = { 8d4598 c645fc0d e8???????? 8d45d0 50 8d45b4 }
            // n = 6, score = 200
            //   8d4598               | lea                 eax, [ebp - 0x68]
            //   c645fc0d             | mov                 byte ptr [ebp - 4], 0xd
            //   e8????????           |                     
            //   8d45d0               | lea                 eax, [ebp - 0x30]
            //   50                   | push                eax
            //   8d45b4               | lea                 eax, [ebp - 0x4c]

        $sequence_7 = { 8d8564f4ffff 50 57 8d856cf4ffff 50 53 8d45d4 }
            // n = 7, score = 200
            //   8d8564f4ffff         | lea                 eax, [ebp - 0xb9c]
            //   50                   | push                eax
            //   57                   | push                edi
            //   8d856cf4ffff         | lea                 eax, [ebp - 0xb94]
            //   50                   | push                eax
            //   53                   | push                ebx
            //   8d45d4               | lea                 eax, [ebp - 0x2c]

        $sequence_8 = { ff15???????? 33c0 56 66898504f7ffff 8d8506f7ffff 53 50 }
            // n = 7, score = 200
            //   ff15????????         |                     
            //   33c0                 | xor                 eax, eax
            //   56                   | push                esi
            //   66898504f7ffff       | mov                 word ptr [ebp - 0x8fc], ax
            //   8d8506f7ffff         | lea                 eax, [ebp - 0x8fa]
            //   53                   | push                ebx
            //   50                   | push                eax

        $sequence_9 = { 6a01 33ff 8d75d0 e8???????? 8d8530f9ffff 50 ff15???????? }
            // n = 7, score = 200
            //   6a01                 | push                1
            //   33ff                 | xor                 edi, edi
            //   8d75d0               | lea                 esi, [ebp - 0x30]
            //   e8????????           |                     
            //   8d8530f9ffff         | lea                 eax, [ebp - 0x6d0]
            //   50                   | push                eax
            //   ff15????????         |                     

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