SYMBOLCOMMON_NAMEaka. SYNONYMS
win.marap (Back to overview)

Marap


Marap is a downloader, named after its command and control (C&C) phone home parameter "param" spelled backwards. It is written in C and contains a few notable anti-analysis features.

References
2020-08-20CERT-FRCERT-FR
@techreport{certfr:20200820:development:d518522, author = {CERT-FR}, title = {{Development of the Activity of the TA505 Cybercriminal Group}}, date = {2020-08-20}, institution = {CERT-FR}, url = {https://www.cert.ssi.gouv.fr/uploads/CERTFR-2020-CTI-009.pdf}, language = {English}, urldate = {2020-08-28} } Development of the Activity of the TA505 Cybercriminal Group
AndroMut Bart Clop Dridex FlawedAmmyy FlawedGrace Get2 Locky Marap QuantLoader SDBbot ServHelper tRat TrickBot
2020-06-22CERT-FRCERT-FR
@techreport{certfr:20200622:volution:fba1cfa, author = {CERT-FR}, title = {{Évolution De Lactivité du Groupe Cybercriminel TA505}}, date = {2020-06-22}, institution = {CERT-FR}, url = {https://www.cert.ssi.gouv.fr/uploads/CERTFR-2020-CTI-006.pdf}, language = {French}, urldate = {2020-06-24} } Évolution De Lactivité du Groupe Cybercriminel TA505
Amadey AndroMut Bart Clop Dridex FlawedGrace Gandcrab Get2 GlobeImposter Jaff Locky Marap Philadephia Ransom QuantLoader Scarab Ransomware SDBbot ServHelper Silence tRat TrickBot
2018-08-16ProofpointProofpoint Staff
@online{staff:20180816:new:b372eeb, author = {Proofpoint Staff}, title = {{New modular downloaders fingerprint systems, prepare for more - Part 1: Marap}}, date = {2018-08-16}, organization = {Proofpoint}, url = {https://www.proofpoint.com/us/threat-insight/post/new-modular-downloaders-fingerprint-systems-prepare-more-part-1-marap}, language = {English}, urldate = {2019-12-20} } New modular downloaders fingerprint systems, prepare for more - Part 1: Marap
Marap
Yara Rules
[TLP:WHITE] win_marap_auto (20201014 | autogenerated rule brought to you by yara-signator)
rule win_marap_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-10-14"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.5.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.marap"
        malpedia_rule_date = "20201014"
        malpedia_hash = "a7e3bd57eaf12bf3ea29a863c041091ba3af9ac9"
        malpedia_version = "20201014"
        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 = { 3bf7 0f848d000000 8bc6 8d5002 }
            // n = 4, score = 100
            //   3bf7                 | cmp                 esi, edi
            //   0f848d000000         | je                  0x93
            //   8bc6                 | mov                 eax, esi
            //   8d5002               | lea                 edx, [eax + 2]

        $sequence_1 = { 8896e01d0000 5f b801000000 5b }
            // n = 4, score = 100
            //   8896e01d0000         | mov                 byte ptr [esi + 0x1de0], dl
            //   5f                   | pop                 edi
            //   b801000000           | mov                 eax, 1
            //   5b                   | pop                 ebx

        $sequence_2 = { 0f855c030000 8b85e4feffff 83f804 0f864d030000 83f80a 7515 8b95b8feffff }
            // n = 7, score = 100
            //   0f855c030000         | jne                 0x362
            //   8b85e4feffff         | mov                 eax, dword ptr [ebp - 0x11c]
            //   83f804               | cmp                 eax, 4
            //   0f864d030000         | jbe                 0x353
            //   83f80a               | cmp                 eax, 0xa
            //   7515                 | jne                 0x17
            //   8b95b8feffff         | mov                 edx, dword ptr [ebp - 0x148]

        $sequence_3 = { 56 8d3c8580320110 e8???????? 83e01f 59 }
            // n = 5, score = 100
            //   56                   | push                esi
            //   8d3c8580320110       | lea                 edi, [eax*4 + 0x10013280]
            //   e8????????           |                     
            //   83e01f               | and                 eax, 0x1f
            //   59                   | pop                 ecx

        $sequence_4 = { 8bfe e8???????? 6683bef214000000 750a }
            // n = 4, score = 100
            //   8bfe                 | mov                 edi, esi
            //   e8????????           |                     
            //   6683bef214000000     | cmp                 word ptr [esi + 0x14f2], 0
            //   750a                 | jne                 0xc

        $sequence_5 = { ff15???????? 66833f00 7511 b920000000 33d2 66890f 668996ce000000 }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   66833f00             | cmp                 word ptr [edi], 0
            //   7511                 | jne                 0x13
            //   b920000000           | mov                 ecx, 0x20
            //   33d2                 | xor                 edx, edx
            //   66890f               | mov                 word ptr [edi], cx
            //   668996ce000000       | mov                 word ptr [esi + 0xce], dx

        $sequence_6 = { 8bbda0fdffff 83c7fe 668b4702 83c702 6685c0 75f4 }
            // n = 6, score = 100
            //   8bbda0fdffff         | mov                 edi, dword ptr [ebp - 0x260]
            //   83c7fe               | add                 edi, -2
            //   668b4702             | mov                 ax, word ptr [edi + 2]
            //   83c702               | add                 edi, 2
            //   6685c0               | test                ax, ax
            //   75f4                 | jne                 0xfffffff6

        $sequence_7 = { 052c010000 8986e41d0000 68???????? 68???????? ffd7 }
            // n = 5, score = 100
            //   052c010000           | add                 eax, 0x12c
            //   8986e41d0000         | mov                 dword ptr [esi + 0x1de4], eax
            //   68????????           |                     
            //   68????????           |                     
            //   ffd7                 | call                edi

        $sequence_8 = { c745dc89920010 a1???????? 8d4dd8 33c1 }
            // n = 4, score = 100
            //   c745dc89920010       | mov                 dword ptr [ebp - 0x24], 0x10009289
            //   a1????????           |                     
            //   8d4dd8               | lea                 ecx, [ebp - 0x28]
            //   33c1                 | xor                 eax, ecx

        $sequence_9 = { 50 ffd3 85c0 740b 8d95b8feffff 52 ffd0 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   ffd3                 | call                ebx
            //   85c0                 | test                eax, eax
            //   740b                 | je                  0xd
            //   8d95b8feffff         | lea                 edx, [ebp - 0x148]
            //   52                   | push                edx
            //   ffd0                 | call                eax

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