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-23AhnLabAhnLab
Full Discloser of Andariel, A Subgroup of Lazarus Threat Group
PhanDoor Rifdoor
Yara Rules
[TLP:WHITE] win_phandoor_auto (20260504 | Detects win.phandoor.)
rule win_phandoor_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        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 = "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 = { 8ad1 d1e9 33f6 57 }
            // n = 4, score = 800
            //   8ad1                 | mov                 dl, cl
            //   d1e9                 | shr                 ecx, 1
            //   33f6                 | xor                 esi, esi
            //   57                   | push                edi

        $sequence_1 = { 32d8 32da 8b550c 881c16 }
            // n = 4, score = 800
            //   32d8                 | xor                 bl, al
            //   32da                 | xor                 bl, dl
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   881c16               | mov                 byte ptr [esi + edx], bl

        $sequence_2 = { 837df000 750f 837dec00 7509 b801000000 8be5 }
            // n = 6, score = 800
            //   837df000             | cmp                 dword ptr [ebp - 0x10], 0
            //   750f                 | jne                 0x11
            //   837dec00             | cmp                 dword ptr [ebp - 0x14], 0
            //   7509                 | jne                 0xb
            //   b801000000           | mov                 eax, 1
            //   8be5                 | mov                 esp, ebp

        $sequence_3 = { eb74 8b96b0010000 8915???????? 8b86b4010000 a3???????? 8b8eb8010000 890d???????? }
            // n = 7, score = 800
            //   eb74                 | jmp                 0x76
            //   8b96b0010000         | mov                 edx, dword ptr [esi + 0x1b0]
            //   8915????????         |                     
            //   8b86b4010000         | mov                 eax, dword ptr [esi + 0x1b4]
            //   a3????????           |                     
            //   8b8eb8010000         | mov                 ecx, dword ptr [esi + 0x1b8]
            //   890d????????         |                     

        $sequence_4 = { 83f8ff 7525 50 ff15???????? 33c0 8b4df4 64890d00000000 }
            // n = 7, score = 800
            //   83f8ff               | cmp                 eax, -1
            //   7525                 | jne                 0x27
            //   50                   | push                eax
            //   ff15????????         |                     
            //   33c0                 | xor                 eax, eax
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]
            //   64890d00000000       | mov                 dword ptr fs:[0], ecx

        $sequence_5 = { e8???????? 8be5 5d c3 0fb70f bab70b0000 663bca }
            // n = 7, score = 800
            //   e8????????           |                     
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   0fb70f               | movzx               ecx, word ptr [edi]
            //   bab70b0000           | mov                 edx, 0xbb7
            //   663bca               | cmp                 cx, dx

        $sequence_6 = { 53 e8???????? 47 83c40c 83c302 3bbe90010000 }
            // n = 6, score = 800
            //   53                   | push                ebx
            //   e8????????           |                     
            //   47                   | inc                 edi
            //   83c40c               | add                 esp, 0xc
            //   83c302               | add                 ebx, 2
            //   3bbe90010000         | cmp                 edi, dword ptr [esi + 0x190]

        $sequence_7 = { c1e910 224df8 8955f0 8ad0 2255ff 32d9 }
            // n = 6, score = 800
            //   c1e910               | shr                 ecx, 0x10
            //   224df8               | and                 cl, byte ptr [ebp - 8]
            //   8955f0               | mov                 dword ptr [ebp - 0x10], edx
            //   8ad0                 | mov                 dl, al
            //   2255ff               | and                 dl, byte ptr [ebp - 1]
            //   32d9                 | xor                 bl, cl

        $sequence_8 = { 3acb 740e 50 ffd6 8a08 }
            // n = 5, score = 500
            //   3acb                 | cmp                 cl, bl
            //   740e                 | je                  0x10
            //   50                   | push                eax
            //   ffd6                 | call                esi
            //   8a08                 | mov                 cl, byte ptr [eax]

        $sequence_9 = { 741c 56 8b35???????? 3acb }
            // n = 4, score = 500
            //   741c                 | je                  0x1e
            //   56                   | push                esi
            //   8b35????????         |                     
            //   3acb                 | cmp                 cl, bl

        $sequence_10 = { 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_11 = { 741c 8b0d???????? 68???????? 51 }
            // n = 4, score = 500
            //   741c                 | je                  0x1e
            //   8b0d????????         |                     
            //   68????????           |                     
            //   51                   | push                ecx

        $sequence_12 = { 6a03 d1ea 8bc3 e8???????? }
            // n = 4, score = 500
            //   6a03                 | push                3
            //   d1ea                 | shr                 edx, 1
            //   8bc3                 | mov                 eax, ebx
            //   e8????????           |                     

        $sequence_13 = { 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_14 = { 6a03 c60700 ff15???????? 8bf0 f7de 1bf6 }
            // n = 6, score = 500
            //   6a03                 | push                3
            //   c60700               | mov                 byte ptr [edi], 0
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   f7de                 | neg                 esi
            //   1bf6                 | sbb                 esi, esi

        $sequence_15 = { 80f95c 7510 803830 750b c60300 50 }
            // n = 6, score = 500
            //   80f95c               | cmp                 cl, 0x5c
            //   7510                 | jne                 0x12
            //   803830               | cmp                 byte ptr [eax], 0x30
            //   750b                 | jne                 0xd
            //   c60300               | mov                 byte ptr [ebx], 0
            //   50                   | push                eax

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