SYMBOLCOMMON_NAMEaka. SYNONYMS
win.ransoc (Back to overview)

Ransoc


There is no description at this point.

References
2016-11-14ProofpointProofpoint Staff
@online{staff:20161114:ransoc:e6b2a9e, author = {Proofpoint Staff}, title = {{Ransoc Desktop Locking Ransomware Ransacks Local Files and Social Media Profiles}}, date = {2016-11-14}, organization = {Proofpoint}, url = {https://www.proofpoint.com/us/threat-insight/post/ransoc-desktop-locking-ransomware-ransacks-local-files-social-media-profiles}, language = {English}, urldate = {2019-12-20} } Ransoc Desktop Locking Ransomware Ransacks Local Files and Social Media Profiles
Ransoc
Yara Rules
[TLP:WHITE] win_ransoc_auto (20230715 | Detects win.ransoc.)
rule win_ransoc_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.ransoc."
        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.ransoc"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 56 8bf8 e8???????? 83c410 83ffff }
            // n = 5, score = 300
            //   56                   | push                esi
            //   8bf8                 | mov                 edi, eax
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   83ffff               | cmp                 edi, -1

        $sequence_1 = { 6a00 6817c00000 6a00 6a00 }
            // n = 4, score = 300
            //   6a00                 | push                0
            //   6817c00000           | push                0xc017
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_2 = { 838eb400000002 85c0 740c 8d9688000000 52 ffd0 }
            // n = 6, score = 300
            //   838eb400000002       | or                  dword ptr [esi + 0xb4], 2
            //   85c0                 | test                eax, eax
            //   740c                 | je                  0xe
            //   8d9688000000         | lea                 edx, [esi + 0x88]
            //   52                   | push                edx
            //   ffd0                 | call                eax

        $sequence_3 = { 7403 897a44 8b513c 897144 8b7238 89713c 3bf7 }
            // n = 7, score = 300
            //   7403                 | je                  5
            //   897a44               | mov                 dword ptr [edx + 0x44], edi
            //   8b513c               | mov                 edx, dword ptr [ecx + 0x3c]
            //   897144               | mov                 dword ptr [ecx + 0x44], esi
            //   8b7238               | mov                 esi, dword ptr [edx + 0x38]
            //   89713c               | mov                 dword ptr [ecx + 0x3c], esi
            //   3bf7                 | cmp                 esi, edi

        $sequence_4 = { 8bc7 e8???????? 8bc7 6a10 }
            // n = 4, score = 300
            //   8bc7                 | mov                 eax, edi
            //   e8????????           |                     
            //   8bc7                 | mov                 eax, edi
            //   6a10                 | push                0x10

        $sequence_5 = { c7402c20000000 c7400801000000 56 8d5010 8d7108 8932 }
            // n = 6, score = 300
            //   c7402c20000000       | mov                 dword ptr [eax + 0x2c], 0x20
            //   c7400801000000       | mov                 dword ptr [eax + 8], 1
            //   56                   | push                esi
            //   8d5010               | lea                 edx, [eax + 0x10]
            //   8d7108               | lea                 esi, [ecx + 8]
            //   8932                 | mov                 dword ptr [edx], esi

        $sequence_6 = { 25fffeffff 014e40 89462c 7518 }
            // n = 4, score = 300
            //   25fffeffff           | and                 eax, 0xfffffeff
            //   014e40               | add                 dword ptr [esi + 0x40], ecx
            //   89462c               | mov                 dword ptr [esi + 0x2c], eax
            //   7518                 | jne                 0x1a

        $sequence_7 = { 8b442438 8b4c2420 8b542424 8908 8b4c2428 5e }
            // n = 6, score = 300
            //   8b442438             | mov                 eax, dword ptr [esp + 0x38]
            //   8b4c2420             | mov                 ecx, dword ptr [esp + 0x20]
            //   8b542424             | mov                 edx, dword ptr [esp + 0x24]
            //   8908                 | mov                 dword ptr [eax], ecx
            //   8b4c2428             | mov                 ecx, dword ptr [esp + 0x28]
            //   5e                   | pop                 esi

        $sequence_8 = { 895140 8b4830 85c9 7406 8b5034 895134 }
            // n = 6, score = 300
            //   895140               | mov                 dword ptr [ecx + 0x40], edx
            //   8b4830               | mov                 ecx, dword ptr [eax + 0x30]
            //   85c9                 | test                ecx, ecx
            //   7406                 | je                  8
            //   8b5034               | mov                 edx, dword ptr [eax + 0x34]
            //   895134               | mov                 dword ptr [ecx + 0x34], edx

        $sequence_9 = { 83c618 56 e8???????? 83c40c 5e c3 }
            // n = 6, score = 300
            //   83c618               | add                 esi, 0x18
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   5e                   | pop                 esi
            //   c3                   | ret                 

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