SYMBOLCOMMON_NAMEaka. SYNONYMS
win.eyservice (Back to overview)

EYService

Actor(s): Nazar

VTCollection    

EYService is the main part of the backdoor used by Nazar APT. This a passive backdoor that relies on, now discontinued, Packet Sniffer SDK (PSSDK) from Microolap.

References
2020-05-05 ⋅ Checkpoint ⋅ Check Point Research
Nazar: Spirits of the Past
EYService
2020-04-27 ⋅ MalwareLab.pl ⋅ Maciej Kotowicz
Quick look at Nazar's backdoor - Network Communication
EYService
2020-04-23 ⋅ MalwareLab.pl ⋅ Maciej Kotowicz
Quick look at Nazar backdoor - Capabilities
EYService
2020-04-22 ⋅ EpicTurla ⋅ Juan Andrés Guerrero-Saade
Nazar: A Lost Amulet
EYService Nazar
2018-03-01 ⋅ CrySyS Lab ⋅ Boldizsar Bencsath
Territorial Dispute – NSA’s perspective on APT landscape
9002 RAT Agent.BTZ DuQu EYService Flame FlowerShop Stuxnet Uroburos
Yara Rules
[TLP:WHITE] win_eyservice_auto (20260917 | Detects win.eyservice.)
rule win_eyservice_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.eyservice."
        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.eyservice"
        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 = { 51 89942486000000 8884248a000000 ffd6 6a06 8d54245c 68???????? }
            // n = 7, score = 100
            //   51                   | push                ecx
            //   89942486000000       | mov                 dword ptr [esp + 0x86], edx
            //   8884248a000000       | mov                 byte ptr [esp + 0x8a], al
            //   ffd6                 | call                esi
            //   6a06                 | push                6
            //   8d54245c             | lea                 edx, [esp + 0x5c]
            //   68????????           |                     

        $sequence_1 = { e8???????? 83c408 89460c 33c9 5e 668908 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   89460c               | mov                 dword ptr [esi + 0xc], eax
            //   33c9                 | xor                 ecx, ecx
            //   5e                   | pop                 esi
            //   668908               | mov                 word ptr [eax], cx

        $sequence_2 = { 3bee 742d 57 8d7c2424 b9007d0000 8bd5 e8???????? }
            // n = 7, score = 100
            //   3bee                 | cmp                 ebp, esi
            //   742d                 | je                  0x2f
            //   57                   | push                edi
            //   8d7c2424             | lea                 edi, [esp + 0x24]
            //   b9007d0000           | mov                 ecx, 0x7d00
            //   8bd5                 | mov                 edx, ebp
            //   e8????????           |                     

        $sequence_3 = { 8d5f08 ffd5 66898424aa000000 8b8424b8200000 50 ffd5 53 }
            // n = 7, score = 100
            //   8d5f08               | lea                 ebx, [edi + 8]
            //   ffd5                 | call                ebp
            //   66898424aa000000     | mov                 word ptr [esp + 0xaa], ax
            //   8b8424b8200000       | mov                 eax, dword ptr [esp + 0x20b8]
            //   50                   | push                eax
            //   ffd5                 | call                ebp
            //   53                   | push                ebx

        $sequence_4 = { 8d4c2444 51 8d54242c 52 6a00 68???????? }
            // n = 6, score = 100
            //   8d4c2444             | lea                 ecx, [esp + 0x44]
            //   51                   | push                ecx
            //   8d54242c             | lea                 edx, [esp + 0x2c]
            //   52                   | push                edx
            //   6a00                 | push                0
            //   68????????           |                     

        $sequence_5 = { 8bf1 837e0400 7509 e8???????? 85c0 754b 8b4604 }
            // n = 7, score = 100
            //   8bf1                 | mov                 esi, ecx
            //   837e0400             | cmp                 dword ptr [esi + 4], 0
            //   7509                 | jne                 0xb
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   754b                 | jne                 0x4d
            //   8b4604               | mov                 eax, dword ptr [esi + 4]

        $sequence_6 = { 6a00 c7401401000000 8b410c 50 83c110 }
            // n = 5, score = 100
            //   6a00                 | push                0
            //   c7401401000000       | mov                 dword ptr [eax + 0x14], 1
            //   8b410c               | mov                 eax, dword ptr [ecx + 0xc]
            //   50                   | push                eax
            //   83c110               | add                 ecx, 0x10

        $sequence_7 = { 6a00 6a00 6a00 8d542424 52 8d44244c 50 }
            // n = 7, score = 100
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   8d542424             | lea                 edx, [esp + 0x24]
            //   52                   | push                edx
            //   8d44244c             | lea                 eax, [esp + 0x4c]
            //   50                   | push                eax

        $sequence_8 = { 8bce e8???????? 8b4f10 2b4f0c c1f902 85c9 7706 }
            // n = 7, score = 100
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     
            //   8b4f10               | mov                 ecx, dword ptr [edi + 0x10]
            //   2b4f0c               | sub                 ecx, dword ptr [edi + 0xc]
            //   c1f902               | sar                 ecx, 2
            //   85c9                 | test                ecx, ecx
            //   7706                 | ja                  8

        $sequence_9 = { 8b742458 837e18ff 8b7c245c 89beb4000000 7519 }
            // n = 5, score = 100
            //   8b742458             | mov                 esi, dword ptr [esp + 0x58]
            //   837e18ff             | cmp                 dword ptr [esi + 0x18], -1
            //   8b7c245c             | mov                 edi, dword ptr [esp + 0x5c]
            //   89beb4000000         | mov                 dword ptr [esi + 0xb4], edi
            //   7519                 | jne                 0x1b

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