Ransomware used by threat actor group DEV-0530, attributed by MSTIC to North Korean origin.
rule win_sienna_purple_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.sienna_purple." 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.sienna_purple" malpedia_rule_date = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { a1???????? 33c5 8945fc 803d????????00 8bc1 53 56 } // n = 7, score = 100 // a1???????? | // 33c5 | xor eax, ebp // 8945fc | mov dword ptr [ebp - 4], eax // 803d????????00 | // 8bc1 | mov eax, ecx // 53 | push ebx // 56 | push esi $sequence_1 = { 8d8de0feffff c645fc01 e8???????? c685d7feffff01 e9???????? 8d4dc8 c645fc02 } // n = 7, score = 100 // 8d8de0feffff | lea ecx, [ebp - 0x120] // c645fc01 | mov byte ptr [ebp - 4], 1 // e8???????? | // c685d7feffff01 | mov byte ptr [ebp - 0x129], 1 // e9???????? | // 8d4dc8 | lea ecx, [ebp - 0x38] // c645fc02 | mov byte ptr [ebp - 4], 2 $sequence_2 = { e9???????? 8d8df8fdffff e9???????? 8d8d54ffffff e9???????? 8d8de0feffff e9???????? } // n = 7, score = 100 // e9???????? | // 8d8df8fdffff | lea ecx, [ebp - 0x208] // e9???????? | // 8d8d54ffffff | lea ecx, [ebp - 0xac] // e9???????? | // 8d8de0feffff | lea ecx, [ebp - 0x120] // e9???????? | $sequence_3 = { b001 5e 5d c3 3d17040000 7557 833d????????00 } // n = 7, score = 100 // b001 | mov al, 1 // 5e | pop esi // 5d | pop ebp // c3 | ret // 3d17040000 | cmp eax, 0x417 // 7557 | jne 0x59 // 833d????????00 | $sequence_4 = { e8???????? 83c404 894640 85c0 7514 8b4d08 68???????? } // n = 7, score = 100 // e8???????? | // 83c404 | add esp, 4 // 894640 | mov dword ptr [esi + 0x40], eax // 85c0 | test eax, eax // 7514 | jne 0x16 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 68???????? | $sequence_5 = { c745fc00000000 e8???????? 8b8dd4feffff 8d85d8feffff 56 50 6a16 } // n = 7, score = 100 // c745fc00000000 | mov dword ptr [ebp - 4], 0 // e8???????? | // 8b8dd4feffff | mov ecx, dword ptr [ebp - 0x12c] // 8d85d8feffff | lea eax, [ebp - 0x128] // 56 | push esi // 50 | push eax // 6a16 | push 0x16 $sequence_6 = { c1e008 c78524ffffff00000000 8a0f 888d22ffffff 0fb6c9 0bc1 8b8d14ffffff } // n = 7, score = 100 // c1e008 | shl eax, 8 // c78524ffffff00000000 | mov dword ptr [ebp - 0xdc], 0 // 8a0f | mov cl, byte ptr [edi] // 888d22ffffff | mov byte ptr [ebp - 0xde], cl // 0fb6c9 | movzx ecx, cl // 0bc1 | or eax, ecx // 8b8d14ffffff | mov ecx, dword ptr [ebp - 0xec] $sequence_7 = { c645fc07 e8???????? 8d8dd8feffff c645fc06 e8???????? 8d8dc4feffff c645fc00 } // n = 7, score = 100 // c645fc07 | mov byte ptr [ebp - 4], 7 // e8???????? | // 8d8dd8feffff | lea ecx, [ebp - 0x128] // c645fc06 | mov byte ptr [ebp - 4], 6 // e8???????? | // 8d8dc4feffff | lea ecx, [ebp - 0x13c] // c645fc00 | mov byte ptr [ebp - 4], 0 $sequence_8 = { e8???????? 6a74 8d85c0feffff 6a00 50 e8???????? 83c40c } // n = 7, score = 100 // e8???????? | // 6a74 | push 0x74 // 8d85c0feffff | lea eax, [ebp - 0x140] // 6a00 | push 0 // 50 | push eax // e8???????? | // 83c40c | add esp, 0xc $sequence_9 = { 85d2 75ef 8b4914 85c9 7414 81c198000000 e8???????? } // n = 7, score = 100 // 85d2 | test edx, edx // 75ef | jne 0xfffffff1 // 8b4914 | mov ecx, dword ptr [ecx + 0x14] // 85c9 | test ecx, ecx // 7414 | je 0x16 // 81c198000000 | add ecx, 0x98 // e8???????? | condition: 7 of them and filesize < 2930688 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY