Actor(s): Sandworm
There is no description at this point.
rule win_industroyer2_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.industroyer2." 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.industroyer2" 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 = { 7e1f 837dfc14 7319 8b4d08 8b11 } // n = 5, score = 100 // 7e1f | jle 0x21 // 837dfc14 | cmp dword ptr [ebp - 4], 0x14 // 7319 | jae 0x1b // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 8b11 | mov edx, dword ptr [ecx] $sequence_1 = { 740e 837d1000 7408 8b4d0c 3b4d14 7307 33c0 } // n = 7, score = 100 // 740e | je 0x10 // 837d1000 | cmp dword ptr [ebp + 0x10], 0 // 7408 | je 0xa // 8b4d0c | mov ecx, dword ptr [ebp + 0xc] // 3b4d14 | cmp ecx, dword ptr [ebp + 0x14] // 7307 | jae 9 // 33c0 | xor eax, eax $sequence_2 = { 8b4d10 898838000100 8b55fc 8a4514 888245000100 8b4dfc 8a5518 } // n = 7, score = 100 // 8b4d10 | mov ecx, dword ptr [ebp + 0x10] // 898838000100 | mov dword ptr [eax + 0x10038], ecx // 8b55fc | mov edx, dword ptr [ebp - 4] // 8a4514 | mov al, byte ptr [ebp + 0x14] // 888245000100 | mov byte ptr [edx + 0x10045], al // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 8a5518 | mov dl, byte ptr [ebp + 0x18] $sequence_3 = { 52 e8???????? 68e8030000 ff15???????? c745f000100000 6800000100 } // n = 6, score = 100 // 52 | push edx // e8???????? | // 68e8030000 | push 0x3e8 // ff15???????? | // c745f000100000 | mov dword ptr [ebp - 0x10], 0x1000 // 6800000100 | push 0x10000 $sequence_4 = { 8b4804 894de8 837d0c00 0f84a5010000 837d1000 0f8e9b010000 } // n = 6, score = 100 // 8b4804 | mov ecx, dword ptr [eax + 4] // 894de8 | mov dword ptr [ebp - 0x18], ecx // 837d0c00 | cmp dword ptr [ebp + 0xc], 0 // 0f84a5010000 | je 0x1ab // 837d1000 | cmp dword ptr [ebp + 0x10], 0 // 0f8e9b010000 | jle 0x1a1 $sequence_5 = { 0f8d42010000 8b4d08 8b9148010100 8b45f4 8b0c82 8b510c 3b55ec } // n = 7, score = 100 // 0f8d42010000 | jge 0x148 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 8b9148010100 | mov edx, dword ptr [ecx + 0x10148] // 8b45f4 | mov eax, dword ptr [ebp - 0xc] // 8b0c82 | mov ecx, dword ptr [edx + eax*4] // 8b510c | mov edx, dword ptr [ecx + 0xc] // 3b55ec | cmp edx, dword ptr [ebp - 0x14] $sequence_6 = { 7538 0fb64dff 85c9 7418 8b55f8 8b4204 0fb6480c } // n = 7, score = 100 // 7538 | jne 0x3a // 0fb64dff | movzx ecx, byte ptr [ebp - 1] // 85c9 | test ecx, ecx // 7418 | je 0x1a // 8b55f8 | mov edx, dword ptr [ebp - 8] // 8b4204 | mov eax, dword ptr [edx + 4] // 0fb6480c | movzx ecx, byte ptr [eax + 0xc] $sequence_7 = { e8???????? 50 ff15???????? 50 6850680000 8b5514 81c21d000100 } // n = 7, score = 100 // e8???????? | // 50 | push eax // ff15???????? | // 50 | push eax // 6850680000 | push 0x6850 // 8b5514 | mov edx, dword ptr [ebp + 0x14] // 81c21d000100 | add edx, 0x1001d $sequence_8 = { 8b4508 c6801b00010001 8b4d08 c7410400000000 } // n = 4, score = 100 // 8b4508 | mov eax, dword ptr [ebp + 8] // c6801b00010001 | mov byte ptr [eax + 0x1001b], 1 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // c7410400000000 | mov dword ptr [ecx + 4], 0 $sequence_9 = { 8b5508 8b45fc 8a4004 88040a b901000000 c1e100 8b5508 } // n = 7, score = 100 // 8b5508 | mov edx, dword ptr [ebp + 8] // 8b45fc | mov eax, dword ptr [ebp - 4] // 8a4004 | mov al, byte ptr [eax + 4] // 88040a | mov byte ptr [edx + ecx], al // b901000000 | mov ecx, 1 // c1e100 | shl ecx, 0 // 8b5508 | mov edx, dword ptr [ebp + 8] condition: 7 of them and filesize < 100352 }
// Created by Nozomi Networks Labs rule win_industroyer2_w0 { meta: author = "Nozomi Networks Labs" name = "Industroyer2" description = "Industroyer2 malware targeting power grid components." actor = "Sandworm" source="https://www.nozominetworks.com/downloads/US/Nozomi-Networks-WP-Industroyer2.pdf" hash = "D69665F56DDEF7AD4E71971F06432E59F1510A7194386E5F0E8926AEA7B88E00" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.industroyer2" malpedia_rule_date = "20220905" malpedia_hash = "6ec06c64bcfdbeda64eff021c766b4ce34542b71" malpedia_version = "20220905" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $s1 = "%02d:%lS" wide ascii $s2 = "PService_PPD.exe" wide ascii $s3 = "D:\\OIK\\DevCounter" wide ascii $s4 = "MSTR ->> SLV" fullword wide ascii $s5 = "MSTR <<- SLV" fullword wide ascii $s6 = "Current operation : %s" $s7 = "Switch value: %s" $s8 = "Unknown APDU format !!!" $s9 = "Length:%u bytes |" $s10 = "Sent=x%X | Received=x%X" $s11 = "ASDU:%u | OA:%u | IOA:%u |" $s12 = "Cause: %s (x%X) | Telegram type: %s (x%X)" condition: 5 of them }
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