SYMBOLCOMMON_NAMEaka. SYNONYMS
win.phandoor (Back to overview)

PhanDoor

Actor(s): Lazarus Group, Silent Chollima

VTCollection    

There is no description at this point.

References
2018-06-23 ⋅ AhnLab ⋅ AhnLab
Full Discloser of Andariel, A Subgroup of Lazarus Threat Group
PhanDoor Rifdoor
Yara Rules
[TLP:WHITE] win_phandoor_auto (20260917 | Detects win.phandoor.)
rule win_phandoor_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.phandoor."
        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.phandoor"
        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 = { a3???????? 7404 85c0 7507 c745f001000000 }
            // n = 5, score = 800
            //   a3????????           |                     
            //   7404                 | je                  6
            //   85c0                 | test                eax, eax
            //   7507                 | jne                 9
            //   c745f001000000       | mov                 dword ptr [ebp - 0x10], 1

        $sequence_1 = { 731d 8d4702 56 0fb7f9 }
            // n = 4, score = 800
            //   731d                 | jae                 0x1f
            //   8d4702               | lea                 eax, [edi + 2]
            //   56                   | push                esi
            //   0fb7f9               | movzx               edi, cx

        $sequence_2 = { 2255ff 32d9 c1e818 8d0c3f 33cf 32d3 }
            // n = 6, score = 800
            //   2255ff               | and                 dl, byte ptr [ebp - 1]
            //   32d9                 | xor                 bl, cl
            //   c1e818               | shr                 eax, 0x18
            //   8d0c3f               | lea                 ecx, [edi + edi]
            //   33cf                 | xor                 ecx, edi
            //   32d3                 | xor                 dl, bl

        $sequence_3 = { 68???????? 6a08 b834343434 b912121212 }
            // n = 4, score = 800
            //   68????????           |                     
            //   6a08                 | push                8
            //   b834343434           | mov                 eax, 0x34343434
            //   b912121212           | mov                 ecx, 0x12121212

        $sequence_4 = { 8d55fc 8bf0 52 56 8975f4 ff15???????? 3bf3 }
            // n = 7, score = 800
            //   8d55fc               | lea                 edx, [ebp - 4]
            //   8bf0                 | mov                 esi, eax
            //   52                   | push                edx
            //   56                   | push                esi
            //   8975f4               | mov                 dword ptr [ebp - 0xc], esi
            //   ff15????????         |                     
            //   3bf3                 | cmp                 esi, ebx

        $sequence_5 = { 3bfe 8b35???????? 0f8491050000 b9???????? e8???????? }
            // n = 5, score = 800
            //   3bfe                 | cmp                 edi, esi
            //   8b35????????         |                     
            //   0f8491050000         | je                  0x597
            //   b9????????           |                     
            //   e8????????           |                     

        $sequence_6 = { 881c16 8bd8 c1eb08 8bd1 895df8 8bd9 c1ea08 }
            // n = 7, score = 800
            //   881c16               | mov                 byte ptr [esi + edx], bl
            //   8bd8                 | mov                 ebx, eax
            //   c1eb08               | shr                 ebx, 8
            //   8bd1                 | mov                 edx, ecx
            //   895df8               | mov                 dword ptr [ebp - 8], ebx
            //   8bd9                 | mov                 ebx, ecx
            //   c1ea08               | shr                 edx, 8

        $sequence_7 = { 57 ffd6 833d????????00 a3???????? 0f8482000000 833d????????00 7479 }
            // n = 7, score = 800
            //   57                   | push                edi
            //   ffd6                 | call                esi
            //   833d????????00       |                     
            //   a3????????           |                     
            //   0f8482000000         | je                  0x88
            //   833d????????00       |                     
            //   7479                 | je                  0x7b

        $sequence_8 = { 741c 8b0d???????? 68???????? 51 c705????????04000000 }
            // n = 5, score = 500
            //   741c                 | je                  0x1e
            //   8b0d????????         |                     
            //   68????????           |                     
            //   51                   | push                ecx
            //   c705????????04000000     |     

        $sequence_9 = { 6a03 d1ea 8d85e8efffff e8???????? }
            // n = 4, score = 500
            //   6a03                 | push                3
            //   d1ea                 | shr                 edx, 1
            //   8d85e8efffff         | lea                 eax, [ebp - 0x1018]
            //   e8????????           |                     

        $sequence_10 = { 57 68???????? 50 c705????????03000000 ffd6 8b0d???????? 33ff }
            // n = 7, score = 500
            //   57                   | push                edi
            //   68????????           |                     
            //   50                   | push                eax
            //   c705????????03000000     |     
            //   ffd6                 | call                esi
            //   8b0d????????         |                     
            //   33ff                 | xor                 edi, edi

        $sequence_11 = { 6a03 d1ea 8bc3 e8???????? 8bc8 85c9 }
            // n = 6, score = 500
            //   6a03                 | push                3
            //   d1ea                 | shr                 edx, 1
            //   8bc3                 | mov                 eax, ebx
            //   e8????????           |                     
            //   8bc8                 | mov                 ecx, eax
            //   85c9                 | test                ecx, ecx

        $sequence_12 = { 83c404 8bf7 85ff 75e6 5f c7430800000000 }
            // n = 6, score = 500
            //   83c404               | add                 esp, 4
            //   8bf7                 | mov                 esi, edi
            //   85ff                 | test                edi, edi
            //   75e6                 | jne                 0xffffffe8
            //   5f                   | pop                 edi
            //   c7430800000000       | mov                 dword ptr [ebx + 8], 0

        $sequence_13 = { 3acb 740e 50 ffd6 }
            // n = 4, score = 500
            //   3acb                 | cmp                 cl, bl
            //   740e                 | je                  0x10
            //   50                   | push                eax
            //   ffd6                 | call                esi

        $sequence_14 = { 43 84c0 7409 8803 }
            // n = 4, score = 500
            //   43                   | inc                 ebx
            //   84c0                 | test                al, al
            //   7409                 | je                  0xb
            //   8803                 | mov                 byte ptr [ebx], al

        $sequence_15 = { 741c 56 8b35???????? 3acb 740e }
            // n = 5, score = 500
            //   741c                 | je                  0x1e
            //   56                   | push                esi
            //   8b35????????         |                     
            //   3acb                 | cmp                 cl, bl
            //   740e                 | je                  0x10

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