Actor(s): APT37
Malware family used to deliver follow up payloads, variants using Microsoft Graph API and Google Web Apps have been observed.
rule win_bluelight_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" 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 = "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 = { e8???????? 8d8d60f1ffff e8???????? 8d8dd0f0ffff c645fc0b e8???????? eb03 } // n = 7, score = 100 // e8???????? | // 8d8d60f1ffff | lea ecx, [ebp - 0xea0] // e8???????? | // 8d8dd0f0ffff | lea ecx, [ebp - 0xf30] // c645fc0b | mov byte ptr [ebp - 4], 0xb // e8???????? | // eb03 | jmp 5 $sequence_1 = { e8???????? 99 8bcb 52 50 e8???????? 8bf8 } // n = 7, score = 100 // e8???????? | // 99 | cdq // 8bcb | mov ecx, ebx // 52 | push edx // 50 | push eax // e8???????? | // 8bf8 | mov edi, eax $sequence_2 = { f7f1 894630 897b58 33c9 85ff 6a07 58 } // n = 7, score = 100 // f7f1 | div ecx // 894630 | mov dword ptr [esi + 0x30], eax // 897b58 | mov dword ptr [ebx + 0x58], edi // 33c9 | xor ecx, ecx // 85ff | test edi, edi // 6a07 | push 7 // 58 | pop eax $sequence_3 = { e9???????? 8b442424 8d7e04 8b542418 0d00010000 8b4c242c 50 } // n = 7, score = 100 // e9???????? | // 8b442424 | mov eax, dword ptr [esp + 0x24] // 8d7e04 | lea edi, [esi + 4] // 8b542418 | mov edx, dword ptr [esp + 0x18] // 0d00010000 | or eax, 0x100 // 8b4c242c | mov ecx, dword ptr [esp + 0x2c] // 50 | push eax $sequence_4 = { f744243804002000 7407 814b0800000400 33c0 e9???????? 55 8bec } // n = 7, score = 100 // f744243804002000 | test dword ptr [esp + 0x38], 0x200004 // 7407 | je 9 // 814b0800000400 | or dword ptr [ebx + 8], 0x40000 // 33c0 | xor eax, eax // e9???????? | // 55 | push ebp // 8bec | mov ebp, esp $sequence_5 = { e9???????? f6411808 75f3 8b4d08 0fb64626 394110 75e7 } // n = 7, score = 100 // e9???????? | // f6411808 | test byte ptr [ecx + 0x18], 8 // 75f3 | jne 0xfffffff5 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 0fb64626 | movzx eax, byte ptr [esi + 0x26] // 394110 | cmp dword ptr [ecx + 0x10], eax // 75e7 | jne 0xffffffe9 $sequence_6 = { 8b4b10 89410c 807b4900 750c 8b4310 8b400c 8a404d } // n = 7, score = 100 // 8b4b10 | mov ecx, dword ptr [ebx + 0x10] // 89410c | mov dword ptr [ecx + 0xc], eax // 807b4900 | cmp byte ptr [ebx + 0x49], 0 // 750c | jne 0xe // 8b4310 | mov eax, dword ptr [ebx + 0x10] // 8b400c | mov eax, dword ptr [eax + 0xc] // 8a404d | mov al, byte ptr [eax + 0x4d] $sequence_7 = { eb06 8b8d68ffffff 6a02 58 3bd0 7528 33c0 } // n = 7, score = 100 // eb06 | jmp 8 // 8b8d68ffffff | mov ecx, dword ptr [ebp - 0x98] // 6a02 | push 2 // 58 | pop eax // 3bd0 | cmp edx, eax // 7528 | jne 0x2a // 33c0 | xor eax, eax $sequence_8 = { eb01 46 8a06 24c0 3c80 74f7 85d2 } // n = 7, score = 100 // eb01 | jmp 3 // 46 | inc esi // 8a06 | mov al, byte ptr [esi] // 24c0 | and al, 0xc0 // 3c80 | cmp al, 0x80 // 74f7 | je 0xfffffff9 // 85d2 | test edx, edx $sequence_9 = { eb26 f7462400400000 7421 8b4620 85c0 741a 8b5010 } // n = 7, score = 100 // eb26 | jmp 0x28 // f7462400400000 | test dword ptr [esi + 0x24], 0x4000 // 7421 | je 0x23 // 8b4620 | mov eax, dword ptr [esi + 0x20] // 85c0 | test eax, eax // 741a | je 0x1c // 8b5010 | mov edx, dword ptr [eax + 0x10] condition: 7 of them and filesize < 2191360 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY