SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bluelight (Back to overview)

BLUELIGHT

Actor(s): APT37

VTCollection    

Malware family used to deliver follow up payloads, variants using Microsoft Graph API and Google Web Apps have been observed.

References
2021-08-17Volatility LabsDamien Cash, Josh Grunzweig, Matthew Meltzer, Steven Adair, Thomas Lancaster
North Korean APT37 / InkySquid Infects Victims Using Browser Exploits
BLUELIGHT APT37
Yara Rules
[TLP:WHITE] win_bluelight_auto (20260504 | Detects win.bluelight.)
rule win_bluelight_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.bluelight."
        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.bluelight"
        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 = { 85c0 7511 8b459c 85c0 740a 8bd0 8d4d80 }
            // n = 7, score = 100
            //   85c0                 | test                eax, eax
            //   7511                 | jne                 0x13
            //   8b459c               | mov                 eax, dword ptr [ebp - 0x64]
            //   85c0                 | test                eax, eax
            //   740a                 | je                  0xc
            //   8bd0                 | mov                 edx, eax
            //   8d4d80               | lea                 ecx, [ebp - 0x80]

        $sequence_1 = { 85ff 740a 0fb64618 298708010000 5f c6461800 5e }
            // n = 7, score = 100
            //   85ff                 | test                edi, edi
            //   740a                 | je                  0xc
            //   0fb64618             | movzx               eax, byte ptr [esi + 0x18]
            //   298708010000         | sub                 dword ptr [edi + 0x108], eax
            //   5f                   | pop                 edi
            //   c6461800             | mov                 byte ptr [esi + 0x18], 0
            //   5e                   | pop                 esi

        $sequence_2 = { e8???????? e9???????? 85c0 0f8447040000 8a4d10 32c0 215dc4 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   e9????????           |                     
            //   85c0                 | test                eax, eax
            //   0f8447040000         | je                  0x44d
            //   8a4d10               | mov                 cl, byte ptr [ebp + 0x10]
            //   32c0                 | xor                 al, al
            //   215dc4               | and                 dword ptr [ebp - 0x3c], ebx

        $sequence_3 = { 8d4d94 e8???????? 85c0 0f84c1000000 68???????? 8d4ddc e8???????? }
            // n = 7, score = 100
            //   8d4d94               | lea                 ecx, [ebp - 0x6c]
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   0f84c1000000         | je                  0xc7
            //   68????????           |                     
            //   8d4ddc               | lea                 ecx, [ebp - 0x24]
            //   e8????????           |                     

        $sequence_4 = { 8d3c97 3bd8 7704 3bfe 7354 8bc2 8bfb }
            // n = 7, score = 100
            //   8d3c97               | lea                 edi, [edi + edx*4]
            //   3bd8                 | cmp                 ebx, eax
            //   7704                 | ja                  6
            //   3bfe                 | cmp                 edi, esi
            //   7354                 | jae                 0x56
            //   8bc2                 | mov                 eax, edx
            //   8bfb                 | mov                 edi, ebx

        $sequence_5 = { eb41 33c0 8bfb 6a06 59 f3ab 8b442418 }
            // n = 7, score = 100
            //   eb41                 | jmp                 0x43
            //   33c0                 | xor                 eax, eax
            //   8bfb                 | mov                 edi, ebx
            //   6a06                 | push                6
            //   59                   | pop                 ecx
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   8b442418             | mov                 eax, dword ptr [esp + 0x18]

        $sequence_6 = { e8???????? 8bf0 85f6 7575 8b4dd8 e9???????? b93e070100 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   85f6                 | test                esi, esi
            //   7575                 | jne                 0x77
            //   8b4dd8               | mov                 ecx, dword ptr [ebp - 0x28]
            //   e9????????           |                     
            //   b93e070100           | mov                 ecx, 0x1073e

        $sequence_7 = { 8b75f8 8d45ec 50 8b45e4 8bd6 85c0 50 }
            // n = 7, score = 100
            //   8b75f8               | mov                 esi, dword ptr [ebp - 8]
            //   8d45ec               | lea                 eax, [ebp - 0x14]
            //   50                   | push                eax
            //   8b45e4               | mov                 eax, dword ptr [ebp - 0x1c]
            //   8bd6                 | mov                 edx, esi
            //   85c0                 | test                eax, eax
            //   50                   | push                eax

        $sequence_8 = { c3 55 8bec 83ec2c 8365f000 33c0 2145e0 }
            // n = 7, score = 100
            //   c3                   | ret                 
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   83ec2c               | sub                 esp, 0x2c
            //   8365f000             | and                 dword ptr [ebp - 0x10], 0
            //   33c0                 | xor                 eax, eax
            //   2145e0               | and                 dword ptr [ebp - 0x20], eax

        $sequence_9 = { 8b8e24010000 85c9 0f8495020000 eb02 8b09 3939 75fa }
            // n = 7, score = 100
            //   8b8e24010000         | mov                 ecx, dword ptr [esi + 0x124]
            //   85c9                 | test                ecx, ecx
            //   0f8495020000         | je                  0x29b
            //   eb02                 | jmp                 4
            //   8b09                 | mov                 ecx, dword ptr [ecx]
            //   3939                 | cmp                 dword ptr [ecx], edi
            //   75fa                 | jne                 0xfffffffc

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