SYMBOLCOMMON_NAMEaka. SYNONYMS
win.rawdoor (Back to overview)

RAWDOOR

Actor(s): APT31

VTCollection    

There is no description at this point.

References
2024-04-16 ⋅ HarfangLab ⋅ HarfangLab CTR
Analysis of the APT31 Indictment
RAWDOOR APT31
Yara Rules
[TLP:WHITE] win_rawdoor_auto (20260917 | Detects win.rawdoor.)
rule win_rawdoor_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.rawdoor."
        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.rawdoor"
        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 = { 448d4810 c744244c02000000 4889442420 ff15???????? 85c0 }
            // n = 5, score = 600
            //   448d4810             | add                 ecx, ebx
            //   c744244c02000000     | dec                 ecx
            //   4889442420           | arpl                cx, bx
            //   ff15????????         |                     
            //   85c0                 | dec                 eax

        $sequence_1 = { 448d4740 897c2430 ff15???????? 448b442430 }
            // n = 4, score = 600
            //   448d4740             | inc                 esp
            //   897c2430             | mov                 dword ptr [esp + 0x48], ecx
            //   ff15????????         |                     
            //   448b442430           | inc                 esp

        $sequence_2 = { 448d4b02 448d430c 488d942480000000 488b4c2448 }
            // n = 4, score = 600
            //   448d4b02             | dec                 eax
            //   448d430c             | mov                 dword ptr [esp + 0x38], eax
            //   488d942480000000     | dec                 eax
            //   488b4c2448           | lea                 eax, [esp + 0x54]

        $sequence_3 = { 448d4801 4403cb 4963d9 488bcb }
            // n = 4, score = 600
            //   448d4801             | mov                 dword ptr [esp + 0x30], edi
            //   4403cb               | inc                 esp
            //   4963d9               | mov                 eax, dword ptr [esp + 0x30]
            //   488bcb               | dec                 esp

        $sequence_4 = { 448d6902 4403e8 eb05 be01000000 }
            // n = 4, score = 600
            //   448d6902             | mov                 dword ptr [esp + 0x38], eax
            //   4403e8               | dec                 eax
            //   eb05                 | lea                 eax, [esp + 0x54]
            //   be01000000           | inc                 esp

        $sequence_5 = { 440fb65c2479 89442468 894c2460 89542458 4489442450 44894c2448 448b4c2470 }
            // n = 7, score = 600
            //   440fb65c2479         | inc                 esp
            //   89442468             | movzx               ebx, byte ptr [esp + 0x79]
            //   894c2460             | mov                 dword ptr [esp + 0x68], eax
            //   89542458             | mov                 dword ptr [esp + 0x60], ecx
            //   4489442450           | mov                 dword ptr [esp + 0x58], edx
            //   44894c2448           | inc                 esp
            //   448b4c2470           | mov                 dword ptr [esp + 0x50], eax

        $sequence_6 = { 448d4a01 4889442438 488d442454 448d4230 }
            // n = 4, score = 600
            //   448d4a01             | inc                 esp
            //   4889442438           | add                 ecx, ebx
            //   488d442454           | dec                 ecx
            //   448d4230             | arpl                cx, bx

        $sequence_7 = { 448d4a01 4889442440 488d442450 448d4230 }
            // n = 4, score = 600
            //   448d4a01             | mov                 dword ptr [esp + 0x4c], 2
            //   4889442440           | dec                 eax
            //   488d442450           | mov                 dword ptr [esp + 0x20], eax
            //   448d4230             | test                eax, eax

        $sequence_8 = { 0100 0000 0001 0100 0001 }
            // n = 5, score = 400
            //   0100                 | inc                 esp
            //   0000                 | lea                 eax, [edi + 0x40]
            //   0001                 | mov                 dword ptr [esp + 0x30], edi
            //   0100                 | inc                 esp
            //   0001                 | mov                 eax, dword ptr [esp + 0x30]

        $sequence_9 = { 47 3c22 0f8572feffff 8b5df8 c60600 803f22 5e }
            // n = 7, score = 200
            //   47                   | dec                 eax
            //   3c22                 | mov                 dword ptr [esp + 0x38], eax
            //   0f8572feffff         | dec                 eax
            //   8b5df8               | lea                 eax, [esp + 0x54]
            //   c60600               | inc                 esp
            //   803f22               | lea                 eax, [edx + 0x30]
            //   5e                   | dec                 eax

        $sequence_10 = { 6a00 68???????? 6802000080 ff15???????? 85c0 7566 85ff }
            // n = 7, score = 200
            //   6a00                 | lea                 eax, [esp + 0x50]
            //   68????????           |                     
            //   6802000080           | inc                 esp
            //   ff15????????         |                     
            //   85c0                 | lea                 eax, [edx + 0x30]
            //   7566                 | dec                 eax
            //   85ff                 | mov                 dword ptr [esp + 0x38], eax

        $sequence_11 = { 898dacfdffff 8da42400000000 8a02 42 84c0 75f9 2bd1 }
            // n = 7, score = 200
            //   898dacfdffff         | dec                 eax
            //   8da42400000000       | mov                 dword ptr [esp + 0x40], eax
            //   8a02                 | dec                 eax
            //   42                   | lea                 eax, [esp + 0x50]
            //   84c0                 | inc                 esp
            //   75f9                 | lea                 eax, [edx + 0x30]
            //   2bd1                 | inc                 esp

        $sequence_12 = { 7403 c60000 68???????? 56 e8???????? 8bf0 83c408 }
            // n = 7, score = 200
            //   7403                 | mov                 dword ptr [esp + 0x38], eax
            //   c60000               | dec                 eax
            //   68????????           |                     
            //   56                   | lea                 eax, [esp + 0x54]
            //   e8????????           |                     
            //   8bf0                 | inc                 esp
            //   83c408               | lea                 eax, [edx + 0x30]

        $sequence_13 = { 85f6 7405 83feff 7510 ffd3 50 68???????? }
            // n = 7, score = 200
            //   85f6                 | dec                 eax
            //   7405                 | mov                 dword ptr [esp + 0x30], eax
            //   83feff               | dec                 eax
            //   7510                 | mov                 ecx, ebp
            //   ffd3                 | inc                 esp
            //   50                   | lea                 ecx, [edx + 1]
            //   68????????           |                     

        $sequence_14 = { 6afe 68???????? 68???????? 64a100000000 50 81ec3c010000 a1???????? }
            // n = 7, score = 200
            //   6afe                 | lea                 ecx, [edx + 1]
            //   68????????           |                     
            //   68????????           |                     
            //   64a100000000         | dec                 eax
            //   50                   | mov                 dword ptr [esp + 0x40], eax
            //   81ec3c010000         | dec                 eax
            //   a1????????           |                     

        $sequence_15 = { 50 56 52 ebcc 8d45e4 50 681f000200 }
            // n = 7, score = 200
            //   50                   | mov                 dword ptr [esp + 0x30], eax
            //   56                   | dec                 eax
            //   52                   | mov                 ecx, ebp
            //   ebcc                 | inc                 esp
            //   8d45e4               | mov                 dword ptr [esp + 0x28], edi
            //   50                   | inc                 esp
            //   681f000200           | lea                 ecx, [edx + 1]

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