SYMBOLCOMMON_NAMEaka. SYNONYMS
win.roseam (Back to overview)

Roseam

aka: PisLoader

Actor(s): Wekby

VTCollection    

There is no description at this point.

References
2022-08-08BrandefenseBrandefense
Dynamite Panda APT Group
Roseam
2016-05-24Palo Alto Networks Unit 42Bryan Lee, Josh Grunzweig, Mike Scott
New Wekby Attacks Use DNS Requests As Command and Control Mechanism
Roseam
Yara Rules
[TLP:WHITE] win_roseam_auto (20260504 | Detects win.roseam.)
rule win_roseam_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.roseam."
        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.roseam"
        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 = { 8b51fc c3 a1???????? 85c0 }
            // n = 4, score = 100
            //   8b51fc               | mov                 edx, dword ptr [ecx - 4]
            //   c3                   | ret                 
            //   a1????????           |                     
            //   85c0                 | test                eax, eax

        $sequence_1 = { 40 894dfc 8945f8 68???????? 50 9c b80a000000 }
            // n = 7, score = 100
            //   40                   | inc                 eax
            //   894dfc               | mov                 dword ptr [ebp - 4], ecx
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   68????????           |                     
            //   50                   | push                eax
            //   9c                   | pushfd              
            //   b80a000000           | mov                 eax, 0xa

        $sequence_2 = { 33c0 8dbd19f7ffff c68518f7ffff00 f3ab 66ab aa }
            // n = 6, score = 100
            //   33c0                 | xor                 eax, eax
            //   8dbd19f7ffff         | lea                 edi, [ebp - 0x8e7]
            //   c68518f7ffff00       | mov                 byte ptr [ebp - 0x8e8], 0
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al

        $sequence_3 = { 50 e8???????? 83c414 50 68???????? 50 b822010000 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c414               | add                 esp, 0x14
            //   50                   | push                eax
            //   68????????           |                     
            //   50                   | push                eax
            //   b822010000           | mov                 eax, 0x122

        $sequence_4 = { e8???????? 0a00 0000 51 b914000000 e2fe 59 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   0a00                 | or                  al, byte ptr [eax]
            //   0000                 | add                 byte ptr [eax], al
            //   51                   | push                ecx
            //   b914000000           | mov                 ecx, 0x14
            //   e2fe                 | loop                0
            //   59                   | pop                 ecx

        $sequence_5 = { 50 8d85c8fdffff 51 50 52 }
            // n = 5, score = 100
            //   50                   | push                eax
            //   8d85c8fdffff         | lea                 eax, [ebp - 0x238]
            //   51                   | push                ecx
            //   50                   | push                eax
            //   52                   | push                edx

        $sequence_6 = { 64a300000000 5d 5d 9d 5d 8b4df8 51 }
            // n = 7, score = 100
            //   64a300000000         | mov                 dword ptr fs:[0], eax
            //   5d                   | pop                 ebp
            //   5d                   | pop                 ebp
            //   9d                   | popfd               
            //   5d                   | pop                 ebp
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]
            //   51                   | push                ecx

        $sequence_7 = { 889524f9ffff f3ab 66ab aa b9ff010000 }
            // n = 5, score = 100
            //   889524f9ffff         | mov                 byte ptr [ebp - 0x6dc], dl
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al
            //   b9ff010000           | mov                 ecx, 0x1ff

        $sequence_8 = { e8???????? 56 e8???????? 8b55d4 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   56                   | push                esi
            //   e8????????           |                     
            //   8b55d4               | mov                 edx, dword ptr [ebp - 0x2c]

        $sequence_9 = { 0fbe02 85c0 89450c 0f8e19010000 68???????? }
            // n = 5, score = 100
            //   0fbe02               | movsx               eax, byte ptr [edx]
            //   85c0                 | test                eax, eax
            //   89450c               | mov                 dword ptr [ebp + 0xc], eax
            //   0f8e19010000         | jle                 0x11f
            //   68????????           |                     

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