SYMBOLCOMMON_NAMEaka. SYNONYMS
win.nymaim2 (Back to overview)

Nymaim2


There is no description at this point.

References
2018-04-29Johannes Bader
@online{bader:20180429:new:b8e7b59, author = {Johannes Bader}, title = {{The new Domain Generation Algorithm of Nymaim}}, date = {2018-04-29}, url = {https://johannesbader.ch/2018/04/the-new-domain-generation-algorithm-of-nymaim/}, language = {English}, urldate = {2020-01-07} } The new Domain Generation Algorithm of Nymaim
Nymaim2
Yara Rules
[TLP:WHITE] win_nymaim2_auto (20190204 | autogenerated rule brought to you by yara-signator)
rule win_nymaim2_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2019-11-26"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator 0.1a"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.nymaim2"
        malpedia_version = "20190204"
        malpedia_license = "CC BY-NC-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 / approach will be published in the near future 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 7505 a1???????? 50 8d4d0c e8???????? 8b7704 }
            // n = 7, score = 100
            //   85c0                 | test                eax, eax
            //   7505                 | jne                 7
            //   a1????????           |                     
            //   50                   | push                eax
            //   8d4d0c               | lea                 ecx, [ebp + 0xc]
            //   e8????????           |                     
            //   8b7704               | mov                 esi, dword ptr [edi + 4]

        $sequence_1 = { 50 ff15???????? 50 c645fc03 e8???????? 85c0 743b }
            // n = 7, score = 100
            //   50                   | push                eax
            //   ff15????????         |                     
            //   50                   | push                eax
            //   c645fc03             | mov                 byte ptr [ebp - 4], 3
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   743b                 | je                  0x3d

        $sequence_2 = { ff15???????? a1???????? 8bce ff30 8d45e4 6a00 50 }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   a1????????           |                     
            //   8bce                 | mov                 ecx, esi
            //   ff30                 | push                dword ptr [eax]
            //   8d45e4               | lea                 eax, [ebp - 0x1c]
            //   6a00                 | push                0
            //   50                   | push                eax

        $sequence_3 = { e8???????? 8d4de0 c645fc05 e8???????? 683c010000 8d4ddc e8???????? }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8d4de0               | lea                 ecx, [ebp - 0x20]
            //   c645fc05             | mov                 byte ptr [ebp - 4], 5
            //   e8????????           |                     
            //   683c010000           | push                0x13c
            //   8d4ddc               | lea                 ecx, [ebp - 0x24]
            //   e8????????           |                     

        $sequence_4 = { c645fc47 e8???????? 8bc8 c645fc49 e8???????? 50 }
            // n = 6, score = 100
            //   c645fc47             | mov                 byte ptr [ebp - 4], 0x47
            //   e8????????           |                     
            //   8bc8                 | mov                 ecx, eax
            //   c645fc49             | mov                 byte ptr [ebp - 4], 0x49
            //   e8????????           |                     
            //   50                   | push                eax

        $sequence_5 = { 57 6a01 807e1000 5b 0f843d030000 8b06 33d2 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   6a01                 | push                1
            //   807e1000             | cmp                 byte ptr [esi + 0x10], 0
            //   5b                   | pop                 ebx
            //   0f843d030000         | je                  0x343
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   33d2                 | xor                 edx, edx

        $sequence_6 = { ff15???????? 6a19 99 59 f7f9 8bc2 83c061 }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   6a19                 | push                0x19
            //   99                   | cdq                 
            //   59                   | pop                 ecx
            //   f7f9                 | idiv                ecx
            //   8bc2                 | mov                 eax, edx
            //   83c061               | add                 eax, 0x61

        $sequence_7 = { ff25???????? 8d8d40ffffff ff25???????? 8d4dc4 e9???????? 8d4dc8 e9???????? }
            // n = 7, score = 100
            //   ff25????????         |                     
            //   8d8d40ffffff         | lea                 ecx, [ebp - 0xc0]
            //   ff25????????         |                     
            //   8d4dc4               | lea                 ecx, [ebp - 0x3c]
            //   e9????????           |                     
            //   8d4dc8               | lea                 ecx, [ebp - 0x38]
            //   e9????????           |                     

        $sequence_8 = { 8d4de0 c645fc05 e8???????? 8d45e0 6850182702 50 c745e098a32602 }
            // n = 7, score = 100
            //   8d4de0               | lea                 ecx, [ebp - 0x20]
            //   c645fc05             | mov                 byte ptr [ebp - 4], 5
            //   e8????????           |                     
            //   8d45e0               | lea                 eax, [ebp - 0x20]
            //   6850182702           | push                0x2271850
            //   50                   | push                eax
            //   c745e098a32602       | mov                 dword ptr [ebp - 0x20], 0x226a398

        $sequence_9 = { 56 68883f2802 e8???????? 56 6834042802 e8???????? 56 }
            // n = 7, score = 100
            //   56                   | push                esi
            //   68883f2802           | push                0x2283f88
            //   e8????????           |                     
            //   56                   | push                esi
            //   6834042802           | push                0x2280434
            //   e8????????           |                     
            //   56                   | push                esi

    condition:
        7 of them
}
Download all Yara Rules