SYMBOLCOMMON_NAMEaka. SYNONYMS
win.darkpulsar (Back to overview)

DarkPulsar

Actor(s): Equation Group


There is no description at this point.

References
2014-04-17Nettitude LabsNettitude Labs
@online{labs:20140417:quick:6a0fa31, author = {Nettitude Labs}, title = {{A quick analysis of the latest Shadow Brokers dump}}, date = {2014-04-17}, organization = {Nettitude Labs}, url = {https://labs.nettitude.com/blog/a-quick-analysis-of-the-latest-shadow-brokers-dump/}, language = {English}, urldate = {2019-12-19} } A quick analysis of the latest Shadow Brokers dump
DarkPulsar
Yara Rules
[TLP:WHITE] win_darkpulsar_auto (20230125 | Detects win.darkpulsar.)
rule win_darkpulsar_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.darkpulsar."
        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.darkpulsar"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { ff25???????? ff25???????? ff25???????? 33c0 40 c20c00 68???????? }
            // n = 7, score = 600
            //   ff25????????         |                     
            //   ff25????????         |                     
            //   ff25????????         |                     
            //   33c0                 | xor                 eax, eax
            //   40                   | inc                 eax
            //   c20c00               | ret                 0xc
            //   68????????           |                     

        $sequence_1 = { c20c00 68???????? 64ff3500000000 8b442410 896c2410 8d6c2410 }
            // n = 6, score = 600
            //   c20c00               | ret                 0xc
            //   68????????           |                     
            //   64ff3500000000       | push                dword ptr fs:[0]
            //   8b442410             | mov                 eax, dword ptr [esp + 0x10]
            //   896c2410             | mov                 dword ptr [esp + 0x10], ebp
            //   8d6c2410             | lea                 ebp, [esp + 0x10]

        $sequence_2 = { 3a01 1bc0 83e0fe 40 5f 5e }
            // n = 6, score = 400
            //   3a01                 | cmp                 al, byte ptr [ecx]
            //   1bc0                 | sbb                 eax, eax
            //   83e0fe               | and                 eax, 0xfffffffe
            //   40                   | inc                 eax
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi

        $sequence_3 = { 803f00 742e 47 ff450c 0fbe07 }
            // n = 5, score = 300
            //   803f00               | cmp                 byte ptr [edi], 0
            //   742e                 | je                  0x30
            //   47                   | inc                 edi
            //   ff450c               | inc                 dword ptr [ebp + 0xc]
            //   0fbe07               | movsx               eax, byte ptr [edi]

        $sequence_4 = { 8b35???????? 57 8b7d08 eb09 803f00 }
            // n = 5, score = 300
            //   8b35????????         |                     
            //   57                   | push                edi
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   eb09                 | jmp                 0xb
            //   803f00               | cmp                 byte ptr [edi], 0

        $sequence_5 = { 74e0 0fb607 8b4d0c 3a01 }
            // n = 4, score = 300
            //   74e0                 | je                  0xffffffe2
            //   0fb607               | movzx               eax, byte ptr [edi]
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   3a01                 | cmp                 al, byte ptr [ecx]

        $sequence_6 = { 50 ffd6 59 59 3bd8 74e0 }
            // n = 6, score = 300
            //   50                   | push                eax
            //   ffd6                 | call                esi
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   3bd8                 | cmp                 ebx, eax
            //   74e0                 | je                  0xffffffe2

        $sequence_7 = { ff450c 0fbe07 50 ffd6 }
            // n = 4, score = 300
            //   ff450c               | inc                 dword ptr [ebp + 0xc]
            //   0fbe07               | movsx               eax, byte ptr [edi]
            //   50                   | push                eax
            //   ffd6                 | call                esi

        $sequence_8 = { ff75f4 e8???????? 59 59 83f8ff }
            // n = 5, score = 200
            //   ff75f4               | push                dword ptr [ebp - 0xc]
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   83f8ff               | cmp                 eax, -1

        $sequence_9 = { 8d4601 6a01 50 ff15???????? 8bf8 }
            // n = 5, score = 200
            //   8d4601               | lea                 eax, [esi + 1]
            //   6a01                 | push                1
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8bf8                 | mov                 edi, eax

        $sequence_10 = { 33c9 83c410 83f8ff 0f95c1 49 }
            // n = 5, score = 200
            //   33c9                 | xor                 ecx, ecx
            //   83c410               | add                 esp, 0x10
            //   83f8ff               | cmp                 eax, -1
            //   0f95c1               | setne               cl
            //   49                   | dec                 ecx

        $sequence_11 = { 8945fc 8b450c 53 8b5d08 56 57 8945e8 }
            // n = 7, score = 200
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   8b450c               | mov                 eax, dword ptr [ebp + 0xc]
            //   53                   | push                ebx
            //   8b5d08               | mov                 ebx, dword ptr [ebp + 8]
            //   56                   | push                esi
            //   57                   | push                edi
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax

        $sequence_12 = { 33d2 c3 8bff 55 8bec b863736de0 394508 }
            // n = 7, score = 200
            //   33d2                 | xor                 edx, edx
            //   c3                   | ret                 
            //   8bff                 | mov                 edi, edi
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   b863736de0           | mov                 eax, 0xe06d7363
            //   394508               | cmp                 dword ptr [ebp + 8], eax

        $sequence_13 = { 8bc1 c3 8b442404 85c0 7501 c3 }
            // n = 6, score = 200
            //   8bc1                 | mov                 eax, ecx
            //   c3                   | ret                 
            //   8b442404             | mov                 eax, dword ptr [esp + 4]
            //   85c0                 | test                eax, eax
            //   7501                 | jne                 3
            //   c3                   | ret                 

        $sequence_14 = { 8d45cc 50 57 e8???????? 83c410 85c0 }
            // n = 6, score = 200
            //   8d45cc               | lea                 eax, [ebp - 0x34]
            //   50                   | push                eax
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   85c0                 | test                eax, eax

        $sequence_15 = { e8???????? ff7514 89460c e8???????? }
            // n = 4, score = 200
            //   e8????????           |                     
            //   ff7514               | push                dword ptr [ebp + 0x14]
            //   89460c               | mov                 dword ptr [esi + 0xc], eax
            //   e8????????           |                     

        $sequence_16 = { 5f 5e c3 8b442404 85c0 7503 }
            // n = 6, score = 200
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   c3                   | ret                 
            //   8b442404             | mov                 eax, dword ptr [esp + 4]
            //   85c0                 | test                eax, eax
            //   7503                 | jne                 5

        $sequence_17 = { 8b5d10 56 8b7508 33d2 }
            // n = 4, score = 200
            //   8b5d10               | mov                 ebx, dword ptr [ebp + 0x10]
            //   56                   | push                esi
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   33d2                 | xor                 edx, edx

        $sequence_18 = { 8bf0 46 56 ff15???????? 59 }
            // n = 5, score = 200
            //   8bf0                 | mov                 esi, eax
            //   46                   | inc                 esi
            //   56                   | push                esi
            //   ff15????????         |                     
            //   59                   | pop                 ecx

        $sequence_19 = { 50 ff7618 ff15???????? 59 59 85c0 }
            // n = 6, score = 200
            //   50                   | push                eax
            //   ff7618               | push                dword ptr [esi + 0x18]
            //   ff15????????         |                     
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   85c0                 | test                eax, eax

        $sequence_20 = { 33c0 eb03 83c8ff 5f 5e c3 56 }
            // n = 7, score = 200
            //   33c0                 | xor                 eax, eax
            //   eb03                 | jmp                 5
            //   83c8ff               | or                  eax, 0xffffffff
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   c3                   | ret                 
            //   56                   | push                esi

        $sequence_21 = { e8???????? 59 5e 83f8ff }
            // n = 4, score = 200
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   5e                   | pop                 esi
            //   83f8ff               | cmp                 eax, -1

        $sequence_22 = { 6a01 ff15???????? 8bf0 59 59 3bf7 }
            // n = 6, score = 200
            //   6a01                 | push                1
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   3bf7                 | cmp                 esi, edi

        $sequence_23 = { 8bd8 53 e8???????? 83c410 85c0 750c }
            // n = 6, score = 200
            //   8bd8                 | mov                 ebx, eax
            //   53                   | push                ebx
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   85c0                 | test                eax, eax
            //   750c                 | jne                 0xe

        $sequence_24 = { 56 e8???????? ff742414 50 }
            // n = 4, score = 200
            //   56                   | push                esi
            //   e8????????           |                     
            //   ff742414             | push                dword ptr [esp + 0x14]
            //   50                   | push                eax

        $sequence_25 = { ffd7 59 5f 5e c3 8b4c2404 }
            // n = 6, score = 200
            //   ffd7                 | call                edi
            //   59                   | pop                 ecx
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   c3                   | ret                 
            //   8b4c2404             | mov                 ecx, dword ptr [esp + 4]

        $sequence_26 = { 33d2 56 57 33c0 }
            // n = 4, score = 200
            //   33d2                 | xor                 edx, edx
            //   56                   | push                esi
            //   57                   | push                edi
            //   33c0                 | xor                 eax, eax

        $sequence_27 = { ff7608 ff36 e8???????? 8bf8 }
            // n = 4, score = 200
            //   ff7608               | push                dword ptr [esi + 8]
            //   ff36                 | push                dword ptr [esi]
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax

        $sequence_28 = { f7d8 59 1bc0 59 40 c3 e9???????? }
            // n = 7, score = 200
            //   f7d8                 | neg                 eax
            //   59                   | pop                 ecx
            //   1bc0                 | sbb                 eax, eax
            //   59                   | pop                 ecx
            //   40                   | inc                 eax
            //   c3                   | ret                 
            //   e9????????           |                     

        $sequence_29 = { 83c708 4e 83ff40 7ce8 5f 5e 8bd5 }
            // n = 7, score = 100
            //   83c708               | add                 edi, 8
            //   4e                   | dec                 esi
            //   83ff40               | cmp                 edi, 0x40
            //   7ce8                 | jl                  0xffffffea
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   8bd5                 | mov                 edx, ebp

        $sequence_30 = { 8985d8feffff ff15???????? 83f8ff 7446 8d85d8feffff 50 57 }
            // n = 7, score = 100
            //   8985d8feffff         | mov                 dword ptr [ebp - 0x128], eax
            //   ff15????????         |                     
            //   83f8ff               | cmp                 eax, -1
            //   7446                 | je                  0x48
            //   8d85d8feffff         | lea                 eax, [ebp - 0x128]
            //   50                   | push                eax
            //   57                   | push                edi

        $sequence_31 = { 00db 73e1 7511 3b742404 }
            // n = 4, score = 100
            //   00db                 | add                 bl, bl
            //   73e1                 | jae                 0xffffffe3
            //   7511                 | jne                 0x13
            //   3b742404             | cmp                 esi, dword ptr [esp + 4]

        $sequence_32 = { 00db 7313 75e1 3b742404 0f8318010000 }
            // n = 5, score = 100
            //   00db                 | add                 bl, bl
            //   7313                 | jae                 0x15
            //   75e1                 | jne                 0xffffffe3
            //   3b742404             | cmp                 esi, dword ptr [esp + 4]
            //   0f8318010000         | jae                 0x11e

        $sequence_33 = { 85c0 741b 8b4e74 8b561c 51 8b4df8 52 }
            // n = 7, score = 100
            //   85c0                 | test                eax, eax
            //   741b                 | je                  0x1d
            //   8b4e74               | mov                 ecx, dword ptr [esi + 0x74]
            //   8b561c               | mov                 edx, dword ptr [esi + 0x1c]
            //   51                   | push                ecx
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]
            //   52                   | push                edx

        $sequence_34 = { 33db 6803010000 898d64eeffff 898548eeffff }
            // n = 4, score = 100
            //   33db                 | xor                 ebx, ebx
            //   6803010000           | push                0x103
            //   898d64eeffff         | mov                 dword ptr [ebp - 0x119c], ecx
            //   898548eeffff         | mov                 dword ptr [ebp - 0x11b8], eax

        $sequence_35 = { 00db 7309 75f4 8a1e 46 10db }
            // n = 6, score = 100
            //   00db                 | add                 bl, bl
            //   7309                 | jae                 0xb
            //   75f4                 | jne                 0xfffffff6
            //   8a1e                 | mov                 bl, byte ptr [esi]
            //   46                   | inc                 esi
            //   10db                 | adc                 bl, bl

        $sequence_36 = { ff15???????? 8bf8 8b4610 57 }
            // n = 4, score = 100
            //   ff15????????         |                     
            //   8bf8                 | mov                 edi, eax
            //   8b4610               | mov                 eax, dword ptr [esi + 0x10]
            //   57                   | push                edi

        $sequence_37 = { 00db 7313 752f 3b742404 0f830b010000 }
            // n = 5, score = 100
            //   00db                 | add                 bl, bl
            //   7313                 | jae                 0x15
            //   752f                 | jne                 0x31
            //   3b742404             | cmp                 esi, dword ptr [esp + 4]
            //   0f830b010000         | jae                 0x111

        $sequence_38 = { 85f0 0f8497010000 83e202 895584 740a 837d9c00 0f8485010000 }
            // n = 7, score = 100
            //   85f0                 | test                eax, esi
            //   0f8497010000         | je                  0x19d
            //   83e202               | and                 edx, 2
            //   895584               | mov                 dword ptr [ebp - 0x7c], edx
            //   740a                 | je                  0xc
            //   837d9c00             | cmp                 dword ptr [ebp - 0x64], 0
            //   0f8485010000         | je                  0x18b

        $sequence_39 = { ff15???????? 83c40c 83f8ff 7517 }
            // n = 4, score = 100
            //   ff15????????         |                     
            //   83c40c               | add                 esp, 0xc
            //   83f8ff               | cmp                 eax, -1
            //   7517                 | jne                 0x19

        $sequence_40 = { e9???????? 8b4c2404 0fb601 0fb65101 }
            // n = 4, score = 100
            //   e9????????           |                     
            //   8b4c2404             | mov                 ecx, dword ptr [esp + 4]
            //   0fb601               | movzx               eax, byte ptr [ecx]
            //   0fb65101             | movzx               edx, byte ptr [ecx + 1]

        $sequence_41 = { e9???????? 8d45f4 52 50 }
            // n = 4, score = 100
            //   e9????????           |                     
            //   8d45f4               | lea                 eax, [ebp - 0xc]
            //   52                   | push                edx
            //   50                   | push                eax

        $sequence_42 = { ff7510 53 ffd6 53 }
            // n = 4, score = 100
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   53                   | push                ebx
            //   ffd6                 | call                esi
            //   53                   | push                ebx

        $sequence_43 = { a4 8b35???????? 6a01 ffd6 68f9000000 }
            // n = 5, score = 100
            //   a4                   | movsb               byte ptr es:[edi], byte ptr [esi]
            //   8b35????????         |                     
            //   6a01                 | push                1
            //   ffd6                 | call                esi
            //   68f9000000           | push                0xf9

        $sequence_44 = { 8d8d68eeffff 51 e8???????? 83c40c 85c0 7520 }
            // n = 6, score = 100
            //   8d8d68eeffff         | lea                 ecx, [ebp - 0x1198]
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   85c0                 | test                eax, eax
            //   7520                 | jne                 0x22

        $sequence_45 = { 8bec 83ec10 33c0 894dfc 8b4d0c }
            // n = 5, score = 100
            //   8bec                 | mov                 ebp, esp
            //   83ec10               | sub                 esp, 0x10
            //   33c0                 | xor                 eax, eax
            //   894dfc               | mov                 dword ptr [ebp - 4], ecx
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]

        $sequence_46 = { 740f 6800800000 53 ff15???????? 59 eb0f }
            // n = 6, score = 100
            //   740f                 | je                  0x11
            //   6800800000           | push                0x8000
            //   53                   | push                ebx
            //   ff15????????         |                     
            //   59                   | pop                 ecx
            //   eb0f                 | jmp                 0x11

        $sequence_47 = { e8???????? 8d45f4 50 e8???????? 8bca }
            // n = 5, score = 100
            //   e8????????           |                     
            //   8d45f4               | lea                 eax, [ebp - 0xc]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8bca                 | mov                 ecx, edx

        $sequence_48 = { 85c0 7549 68???????? 57 e8???????? 8d4df8 }
            // n = 6, score = 100
            //   85c0                 | test                eax, eax
            //   7549                 | jne                 0x4b
            //   68????????           |                     
            //   57                   | push                edi
            //   e8????????           |                     
            //   8d4df8               | lea                 ecx, [ebp - 8]

        $sequence_49 = { 83459010 394598 0f82f4feffff 5b }
            // n = 4, score = 100
            //   83459010             | add                 dword ptr [ebp - 0x70], 0x10
            //   394598               | cmp                 dword ptr [ebp - 0x68], eax
            //   0f82f4feffff         | jb                  0xfffffefa
            //   5b                   | pop                 ebx

        $sequence_50 = { 33c0 c3 668b442404 66c1c008 c3 e9???????? }
            // n = 6, score = 100
            //   33c0                 | xor                 eax, eax
            //   c3                   | ret                 
            //   668b442404           | mov                 ax, word ptr [esp + 4]
            //   66c1c008             | rol                 ax, 8
            //   c3                   | ret                 
            //   e9????????           |                     

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