SYMBOLCOMMON_NAMEaka. SYNONYMS
win.rdat (Back to overview)

RDAT

aka: GREYSTUFF

Actor(s): OilRig

VTCollection    

There is no description at this point.

References
2025-06-05ESET ResearchESET Research
BladedFeline: Whispering in the dark
Hawking RDAT Spereal Veaty BladedFeline
2022-07-18Palo Alto Networks Unit 42Unit 42
Evasive Serpens
TwoFace ISMAgent ISMDoor OopsIE RDAT OilRig
2020-09-15CrowdStrikeCrowdStrike Overwatch Team
Nowhere to Hide - 2020 Threat Hunting Report
NedDnLoader RDAT TRACER KITTEN
2020-07-22Palo Alto Networks Unit 42Robert Falcone
OilRig Targets Middle Eastern Telecommunications Organization and Adds Novel C2 Channel with Steganography to Its Inventory
RDAT OilRig
Yara Rules
[TLP:WHITE] win_rdat_auto (20260504 | Detects win.rdat.)
rule win_rdat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.rdat."
        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.rdat"
        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 = { 85c0 740b b9e8030000 ff15???????? }
            // n = 4, score = 300
            //   85c0                 | dec                 esp
            //   740b                 | mov                 eax, ebx
            //   b9e8030000           | dec                 esp
            //   ff15????????         |                     

        $sequence_1 = { 0f8d89000000 496398b8000000 498b80b0000000 3bd3 }
            // n = 4, score = 300
            //   0f8d89000000         | dec                 eax
            //   496398b8000000       | mov                 eax, dword ptr [edx + 0xb0]
            //   498b80b0000000       | inc                 esp
            //   3bd3                 | cmp                 eax, dword ptr [edx + 0xb8]

        $sequence_2 = { 48634e04 488b4608 8b1488 eb07 }
            // n = 4, score = 300
            //   48634e04             | inc                 ebp
            //   488b4608             | test                esi, esi
            //   8b1488               | jle                 0x4a
            //   eb07                 | inc                 ebp

        $sequence_3 = { 4883c504 453bc4 7358 e9???????? }
            // n = 4, score = 300
            //   4883c504             | xor                 ecx, ecx
            //   453bc4               | dec                 ecx
            //   7358                 | arpl                si, si
            //   e9????????           |                     

        $sequence_4 = { 4c8bc3 4c0f42c7 4d85c0 7504 8bc6 eb05 }
            // n = 6, score = 300
            //   4c8bc3               | dec                 dword ptr [ebx + 0xd4]
            //   4c0f42c7             | dec                 eax
            //   4d85c0               | arpl                word ptr [esi + 4], cx
            //   7504                 | dec                 eax
            //   8bc6                 | mov                 eax, dword ptr [esi + 8]
            //   eb05                 | mov                 edx, dword ptr [eax + ecx*4]

        $sequence_5 = { 4883ec40 48c740d8feffffff 48895808 48897020 498bf8 488bda 488bf1 }
            // n = 7, score = 300
            //   4883ec40             | dec                 eax
            //   48c740d8feffffff     | sub                 esp, 0x40
            //   48895808             | dec                 eax
            //   48897020             | mov                 dword ptr [eax - 0x28], 0xfffffffe
            //   498bf8               | dec                 eax
            //   488bda               | mov                 dword ptr [eax + 8], ebx
            //   488bf1               | dec                 eax

        $sequence_6 = { 4533c9 4963f6 4585f6 7e45 }
            // n = 4, score = 300
            //   4533c9               | jl                  0x2e
            //   4963f6               | inc                 esp
            //   4585f6               | sub                 eax, dword ptr [edx + 0xb8]
            //   7e45                 | dec                 eax

        $sequence_7 = { 75f7 4883791810 488b7910 7203 488b09 483bfb }
            // n = 6, score = 300
            //   75f7                 | dec                 ebp
            //   4883791810           | mov                 eax, dword ptr [eax + 8]
            //   488b7910             | dec                 eax
            //   7203                 | arpl                word ptr [esi + 0x68], cx
            //   488b09               | dec                 esp
            //   483bfb               | mov                 eax, dword ptr [eax + ecx*8 - 8]

        $sequence_8 = { 4883cbff 6690 48ffc3 4038341a 75f7 4883791810 488b7910 }
            // n = 7, score = 300
            //   4883cbff             | jne                 0x55
            //   6690                 | dec                 eax
            //   48ffc3               | add                 ebp, 4
            //   4038341a             | inc                 ebp
            //   75f7                 | cmp                 eax, esp
            //   4883791810           | jae                 0x5a
            //   488b7910             | test                byte ptr [edx + 0x14], 3

        $sequence_9 = { 48634e68 4c8b44c8f8 7816 8d4a01 }
            // n = 4, score = 300
            //   48634e68             | mov                 eax, dword ptr [eax + 0xb0]
            //   4c8b44c8f8           | cmp                 edx, ebx
            //   7816                 | jl                  0x23
            //   8d4a01               | dec                 eax

        $sequence_10 = { 7203 488b09 483bfb 4c8bc3 4c0f42c7 4d85c0 }
            // n = 6, score = 300
            //   7203                 | arpl                word ptr [esi + 4], cx
            //   488b09               | dec                 eax
            //   483bfb               | mov                 eax, dword ptr [esi + 8]
            //   4c8bc3               | mov                 edx, dword ptr [eax + ecx*4]
            //   4c0f42c7             | jmp                 0xc
            //   4d85c0               | mov                 edx, dword ptr [ebx + eax*4 + 0xbc]

        $sequence_11 = { 4885c0 751e 483bfb 7313 83c8ff 488b5c2430 }
            // n = 6, score = 300
            //   4885c0               | mov                 eax, ebx
            //   751e                 | dec                 esp
            //   483bfb               | cmovb               eax, edi
            //   7313                 | dec                 ebp
            //   83c8ff               | test                eax, eax
            //   488b5c2430           | jne                 0x10

        $sequence_12 = { 0f859e000000 8b4920 8d81e0fa6ce6 83f802 760c 81f900409901 0f8584000000 }
            // n = 7, score = 300
            //   0f859e000000         | mov                 dword ptr [eax + 0x20], esi
            //   8b4920               | dec                 ecx
            //   8d81e0fa6ce6         | mov                 edi, eax
            //   83f802               | dec                 eax
            //   760c                 | mov                 ebx, edx
            //   81f900409901         | dec                 eax
            //   0f8584000000         | mov                 esi, ecx

        $sequence_13 = { eb05 e8???????? 4898 4885c0 751e 483bfb }
            // n = 6, score = 300
            //   eb05                 | jne                 0x55
            //   e8????????           |                     
            //   4898                 | test                byte ptr [esi + 0x14], 1
            //   4885c0               | dec                 eax
            //   751e                 | arpl                word ptr [esi + 4], cx
            //   483bfb               | dec                 eax

        $sequence_14 = { 0f8d83000000 488b82b0000000 443b82b8000000 7c25 }
            // n = 4, score = 300
            //   0f8d83000000         | jne                 0xa4
            //   488b82b0000000       | mov                 ecx, dword ptr [ecx + 0x20]
            //   443b82b8000000       | lea                 eax, [ecx - 0x19930520]
            //   7c25                 | cmp                 eax, 2

        $sequence_15 = { c3 48833d????????00 488d058d330100 740f }
            // n = 4, score = 100
            //   c3                   | mov                 edi, dword ptr [ecx + 0x10]
            //   48833d????????00     |                     
            //   488d058d330100       | jne                 0xfffffff9
            //   740f                 | dec                 eax

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