SYMBOLCOMMON_NAMEaka. SYNONYMS
win.selfmake (Back to overview)

SelfMake Loader

Actor(s): BlackTech

VTCollection    

There is no description at this point.

References
2022-09-29 ⋅ NTT ⋅ NTT Security Holdings Corporation
Report on APT Attacks by BlackTech
Bifrost PLEAD TSCookie Flagpro Gh0stTimes SelfMake Loader SPIDERPIG RAT
2022-01-13 ⋅ Twitter (@8th_grey_owl) ⋅ 8thGreyOwl
Tweet on SelfMake Loader
SelfMake Loader
Yara Rules
[TLP:WHITE] win_selfmake_auto (20260917 | Detects win.selfmake.)
rule win_selfmake_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.selfmake."
        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.selfmake"
        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 = { 8d44245c 80387f 0f844e010000 8bc2 }
            // n = 4, score = 400
            //   8d44245c             | lea                 eax, [esp + 0x5c]
            //   80387f               | cmp                 byte ptr [eax], 0x7f
            //   0f844e010000         | je                  0x154
            //   8bc2                 | mov                 eax, edx

        $sequence_1 = { 8bf8 0fbe44241c 56 50 55 e8???????? }
            // n = 6, score = 400
            //   8bf8                 | mov                 edi, eax
            //   0fbe44241c           | movsx               eax, byte ptr [esp + 0x1c]
            //   56                   | push                esi
            //   50                   | push                eax
            //   55                   | push                ebp
            //   e8????????           |                     

        $sequence_2 = { 83c408 8b550c 52 8d85a0f9ffff }
            // n = 4, score = 400
            //   83c408               | add                 esp, 8
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   52                   | push                edx
            //   8d85a0f9ffff         | lea                 eax, [ebp - 0x660]

        $sequence_3 = { 740a 8b16 8b02 6a01 8bce ffd0 8d742458 }
            // n = 7, score = 400
            //   740a                 | je                  0xc
            //   8b16                 | mov                 edx, dword ptr [esi]
            //   8b02                 | mov                 eax, dword ptr [edx]
            //   6a01                 | push                1
            //   8bce                 | mov                 ecx, esi
            //   ffd0                 | call                eax
            //   8d742458             | lea                 esi, [esp + 0x58]

        $sequence_4 = { c745fc???????? 8b55fc 8955fc 8b4510 50 8b4d0c }
            // n = 6, score = 400
            //   c745fc????????       |                     
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   8955fc               | mov                 dword ptr [ebp - 4], edx
            //   8b4510               | mov                 eax, dword ptr [ebp + 0x10]
            //   50                   | push                eax
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]

        $sequence_5 = { 8955f4 8b4510 50 8b4d0c 51 8d55f0 }
            // n = 6, score = 400
            //   8955f4               | mov                 dword ptr [ebp - 0xc], edx
            //   8b4510               | mov                 eax, dword ptr [ebp + 0x10]
            //   50                   | push                eax
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   51                   | push                ecx
            //   8d55f0               | lea                 edx, [ebp - 0x10]

        $sequence_6 = { 8bec 83ec0c 833d????????00 740a a1???????? e9???????? }
            // n = 6, score = 400
            //   8bec                 | mov                 ebp, esp
            //   83ec0c               | sub                 esp, 0xc
            //   833d????????00       |                     
            //   740a                 | je                  0xc
            //   a1????????           |                     
            //   e9????????           |                     

        $sequence_7 = { ff15???????? 5d c20400 8bff 55 8bec 81ec04010000 }
            // n = 7, score = 400
            //   ff15????????         |                     
            //   5d                   | pop                 ebp
            //   c20400               | ret                 4
            //   8bff                 | mov                 edi, edi
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   81ec04010000         | sub                 esp, 0x104

        $sequence_8 = { c745f000000000 8b4d08 034d14 894dec }
            // n = 4, score = 400
            //   c745f000000000       | mov                 dword ptr [ebp - 0x10], 0
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   034d14               | add                 ecx, dword ptr [ebp + 0x14]
            //   894dec               | mov                 dword ptr [ebp - 0x14], ecx

        $sequence_9 = { 8b4d08 034d14 894dec c745fc00000000 }
            // n = 4, score = 400
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   034d14               | add                 ecx, dword ptr [ebp + 0x14]
            //   894dec               | mov                 dword ptr [ebp - 0x14], ecx
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0

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