According to Mandiant, this is a tunneler, likely based on an open-source Socks4a proxy, that communicates using Azure cloud infrastructure.
rule win_lightrail_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.lightrail." 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.lightrail" 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 = { 4883ec20 488bd9 4c8d0dc8af0000 33c9 4c8d05b7af0000 488d15b8af0000 e8???????? } // n = 7, score = 100 // 4883ec20 | nop // 488bd9 | dec eax // 4c8d0dc8af0000 | lea ebx, [0x11dc2] // 33c9 | dec eax // 4c8d05b7af0000 | lea esi, [0x10813] // 488d15b8af0000 | dec ecx // e8???????? | $sequence_1 = { 0f85b5000000 b931ad0231 e8???????? 4885c0 } // n = 4, score = 100 // 0f85b5000000 | je 0xe6 // b931ad0231 | mov edx, 0x3025da0 // e8???????? | // 4885c0 | mov ecx, 0xd34c7039 $sequence_2 = { 488bce ff9398020000 8bc7 488b4d50 4833cc } // n = 5, score = 100 // 488bce | lea eax, [0x1470f] // ff9398020000 | dec ebx // 8bc7 | dec eax // 488b4d50 | lea ecx, [ebx + ebx*4] // 4833cc | jmp 0x11ff $sequence_3 = { 4889442430 4533d2 4c8d1de3ef0000 4d85c9 488d3d3b2f0000 488bc2 4c8bfa } // n = 7, score = 100 // 4889442430 | lea eax, [eax + 8] // 4533d2 | cmp ecx, dword ptr [edx] // 4c8d1de3ef0000 | je 0x24b // 4d85c9 | inc eax // 488d3d3b2f0000 | dec esp // 488bc2 | lea ecx, [0x8f74] // 4c8bfa | subsd xmm1, xmm2 $sequence_4 = { 0f87cf000000 8b8c86b89a0000 4803ce ffe1 660f73f901 660f73d901 e9???????? } // n = 7, score = 100 // 0f87cf000000 | lea esi, [0x10d1c] // 8b8c86b89a0000 | dec ecx // 4803ce | lea ecx, [esi + 0x30] // ffe1 | inc ebp // 660f73f901 | xor eax, eax // 660f73d901 | mov edx, 0xfa0 // e9???????? | $sequence_5 = { c74424647a006900 4533c9 4889442450 4533c0 } // n = 4, score = 100 // c74424647a006900 | dec esp // 4533c9 | mov dword ptr [edi + eax*8 + 0x10], esi // 4889442450 | inc dword ptr [edi + 8] // 4533c0 | inc dword ptr [edi + 0x314] $sequence_6 = { 488bcd ff9770020000 85c0 7f23 488b13 488bcf } // n = 6, score = 100 // 488bcd | dec esp // ff9770020000 | lea ecx, [0xaf61] // 85c0 | mov ecx, 2 // 7f23 | dec esp // 488b13 | lea eax, [0xaf4d] // 488bcf | dec eax $sequence_7 = { 8d42ff 41894008 4963c1 498bca 4d899cc018030000 4d899cc0e80a0000 } // n = 6, score = 100 // 8d42ff | movzx edx, byte ptr [ecx] // 41894008 | test dl, dl // 4963c1 | je 0x726 // 498bca | nop dword ptr [eax] // 4d899cc018030000 | inc ecx // 4d899cc0e80a0000 | movzx eax, al $sequence_8 = { b906000000 4c8d05d77d0000 e8???????? 488bd3 } // n = 4, score = 100 // b906000000 | dec esp // 4c8d05d77d0000 | lea edi, [0xffffbeb3] // e8???????? | // 488bd3 | dec ecx $sequence_9 = { 488bd7 4c8d0533e10000 83e23f 488bcf 48c1f906 488d14d2 } // n = 6, score = 100 // 488bd7 | mov edi, eax // 4c8d0533e10000 | test eax, eax // 83e23f | je 0x956 // 488bcf | dec esp // 48c1f906 | lea ebp, [0x1209e] // 488d14d2 | inc esp condition: 7 of them and filesize < 249856 }
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