SYMBOLCOMMON_NAMEaka. SYNONYMS
win.anchormtea (Back to overview)

AnchorMTea

Actor(s): Lazarus Group

VTCollection    

Recon/Loader malware attributed to Lazarus, disguised as Notepad++ shell extension.

References
2022-01-31 ⋅ Cyber Geeks ⋅ Vlad Pasca
A Detailed Analysis Of Lazarus APT Malware Disguised As Notepad++ Shell Extension
AnchorMTea
2021-12-01 ⋅ ⋅ ThreatBook ⋅ ThreatBook
The Lazarus Group suspected of expanding its arsenal? The hackers target aviation industry and researchers
AnchorMTea
Yara Rules
[TLP:WHITE] win_anchormtea_auto (20260917 | Detects win.anchormtea.)
rule win_anchormtea_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.anchormtea."
        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.anchormtea"
        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 = { e9???????? f7d8 1bc0 83e002 }
            // n = 4, score = 200
            //   e9????????           |                     
            //   f7d8                 | neg                 eax
            //   1bc0                 | sbb                 eax, eax
            //   83e002               | and                 eax, 2

        $sequence_1 = { 4c8bc3 488bd7 488908 488bc8 }
            // n = 4, score = 100
            //   4c8bc3               | inc                 ecx
            //   488bd7               | mov                 eax, 0x104
            //   488908               | dec                 ecx
            //   488bc8               | mov                 ecx, esi

        $sequence_2 = { c745ec68006f00 c745f061006d00 c745f469002e00 668945f8 668b01 83c102 }
            // n = 6, score = 100
            //   c745ec68006f00       | sbb                 eax, eax
            //   c745f061006d00       | and                 eax, 2
            //   c745f469002e00       | movzx               esi, byte ptr [eax*4 + 0x100221df]
            //   668945f8             | mov                 edi, ecx
            //   668b01               | mov                 dword ptr [ebp - 0x750], eax
            //   83c102               | shl                 edi, 2

        $sequence_3 = { 6bc938 8b048540a20210 f644082801 7406 8b440818 5d }
            // n = 6, score = 100
            //   6bc938               | mov                 ecx, esi
            //   8b048540a20210       | mov                 ecx, ebx
            //   f644082801           | lea                 edx, [ecx + 2]
            //   7406                 | mov                 eax, esi
            //   8b440818             | shr                 eax, 0x1f
            //   5d                   | lea                 eax, [eax + ecx*2]

        $sequence_4 = { 0fb63485df210210 8bf9 8985b0f8ffff c1e702 57 8d0431 }
            // n = 6, score = 100
            //   0fb63485df210210     | inc                 ecx
            //   8bf9                 | mov                 eax, dword ptr [edi + eax*8 + 0x25f60]
            //   8985b0f8ffff         | jmp                 0xf
            //   c1e702               | dec                 esp
            //   57                   | mov                 esp, eax
            //   8d0431               | dec                 eax

        $sequence_5 = { 488d15ed1a0200 488d4c2420 ff15???????? 488d542420 48c7c100000080 ff15???????? }
            // n = 6, score = 100
            //   488d15ed1a0200       | dec                 eax
            //   488d4c2420           | lea                 edx, [0x21aed]
            //   ff15????????         |                     
            //   488d542420           | dec                 eax
            //   48c7c100000080       | lea                 ecx, [esp + 0x20]
            //   ff15????????         |                     

        $sequence_6 = { 8bc6 c1e81f 8d0448 8b0c852c510210 8d45f8 50 }
            // n = 6, score = 100
            //   8bc6                 | test                eax, eax
            //   c1e81f               | je                  0x25b
            //   8d0448               | dec                 esp
            //   8b0c852c510210       | lea                 ebp, [0x17716]
            //   8d45f8               | inc                 esp
            //   50                   | mov                 esi, ebx

        $sequence_7 = { ff75c4 51 8bce e8???????? 8bcb 8d5102 }
            // n = 6, score = 100
            //   ff75c4               | mov                 dword ptr [esp + 0x60], eax
            //   51                   | dec                 eax
            //   8bce                 | test                eax, eax
            //   e8????????           |                     
            //   8bcb                 | je                  0x10
            //   8d5102               | mov                 edi, eax

        $sequence_8 = { 0f85c0150000 8d0d40430210 ba1b000000 e8???????? }
            // n = 4, score = 100
            //   0f85c0150000         | dec                 ecx
            //   8d0d40430210         | mov                 eax, ebp
            //   ba1b000000           | neg                 eax
            //   e8????????           |                     

        $sequence_9 = { 0f84db040000 ff33 ff15???????? 85c0 0f84cb040000 }
            // n = 5, score = 100
            //   0f84db040000         | push                edi
            //   ff33                 | lea                 eax, [ecx + esi]
            //   ff15????????         |                     
            //   85c0                 | push                dword ptr [ebp - 0x3c]
            //   0f84cb040000         | push                ecx

        $sequence_10 = { e8???????? 4c8d05b0970200 ba00040000 488d4c2440 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   4c8d05b0970200       | mov                 dword ptr [esp + 0x20], eax
            //   ba00040000           | dec                 eax
            //   488d4c2440           | mov                 ecx, dword ptr [esp + 0x78]

        $sequence_11 = { 7419 33d2 41b804010000 498bce e8???????? }
            // n = 5, score = 100
            //   7419                 | dec                 eax
            //   33d2                 | lea                 edx, [esp + 0x20]
            //   41b804010000         | dec                 eax
            //   498bce               | mov                 ecx, 0x80000000
            //   e8????????           |                     

        $sequence_12 = { 4898 4803c0 418b84c7605f0200 eb02 }
            // n = 4, score = 100
            //   4898                 | dec                 esp
            //   4803c0               | mov                 eax, ebx
            //   418b84c7605f0200     | dec                 eax
            //   eb02                 | mov                 edx, edi

        $sequence_13 = { 89442420 ff15???????? 488b4c2478 ff15???????? }
            // n = 4, score = 100
            //   89442420             | je                  0x1b
            //   ff15????????         |                     
            //   488b4c2478           | xor                 edx, edx
            //   ff15????????         |                     

        $sequence_14 = { ff15???????? 4c8be0 4889442460 4885c0 740e }
            // n = 5, score = 100
            //   ff15????????         |                     
            //   4c8be0               | dec                 eax
            //   4889442460           | mov                 dword ptr [eax], ecx
            //   4885c0               | dec                 eax
            //   740e                 | mov                 ecx, eax

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