SYMBOLCOMMON_NAMEaka. SYNONYMS
win.kasperagent (Back to overview)

KasperAgent


There is no description at this point.

References
2017-06-14ThreatConnectThreatConnect Research Team
@online{team:20170614:phantom:0078e23, author = {ThreatConnect Research Team}, title = {{Phantom of the Opaera: New KASPERAGENT Malware Campaign}}, date = {2017-06-14}, organization = {ThreatConnect}, url = {https://www.threatconnect.com/blog/kasperagent-malware-campaign/}, language = {English}, urldate = {2019-10-14} } Phantom of the Opaera: New KASPERAGENT Malware Campaign
KasperAgent AridViper
2017-04-05Palo Alto Networks Unit 42Tomer Bar, Tom Lancaster
@online{bar:20170405:targeted:feb4b54, author = {Tomer Bar and Tom Lancaster}, title = {{Targeted Attacks in the Middle East Using KASPERAGENT and MICROPSIA}}, date = {2017-04-05}, organization = {Palo Alto Networks Unit 42}, url = {http://researchcenter.paloaltonetworks.com/2017/04/unit42-targeted-attacks-middle-east-using-kasperagent-micropsia/}, language = {English}, urldate = {2019-12-20} } Targeted Attacks in the Middle East Using KASPERAGENT and MICROPSIA
KasperAgent Micropsia
Yara Rules
[TLP:WHITE] win_kasperagent_auto (20211008 | Detects win.kasperagent.)
rule win_kasperagent_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-10-07"
        version = "1"
        description = "Detects win.kasperagent."
        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.kasperagent"
        malpedia_rule_date = "20211007"
        malpedia_hash = "e5b790e0f888f252d49063a1251ca60ec2832535"
        malpedia_version = "20211008"
        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 = { 0f848a000000 56 8d4c2424 e8???????? 8b542424 }
            // n = 5, score = 200
            //   0f848a000000         | je                  0x90
            //   56                   | push                esi
            //   8d4c2424             | lea                 ecx, dword ptr [esp + 0x24]
            //   e8????????           |                     
            //   8b542424             | mov                 edx, dword ptr [esp + 0x24]

        $sequence_1 = { 8b4c2414 8b01 3b70f8 7fa9 8970f4 8b01 }
            // n = 6, score = 200
            //   8b4c2414             | mov                 ecx, dword ptr [esp + 0x14]
            //   8b01                 | mov                 eax, dword ptr [ecx]
            //   3b70f8               | cmp                 esi, dword ptr [eax - 8]
            //   7fa9                 | jg                  0xffffffab
            //   8970f4               | mov                 dword ptr [eax - 0xc], esi
            //   8b01                 | mov                 eax, dword ptr [ecx]

        $sequence_2 = { 7e66 668b4c2418 66390c78 7535 }
            // n = 4, score = 200
            //   7e66                 | jle                 0x68
            //   668b4c2418           | mov                 cx, word ptr [esp + 0x18]
            //   66390c78             | cmp                 word ptr [eax + edi*2], cx
            //   7535                 | jne                 0x37

        $sequence_3 = { 3bc7 752a 3bf7 7426 8b06 3bc7 }
            // n = 6, score = 200
            //   3bc7                 | cmp                 eax, edi
            //   752a                 | jne                 0x2c
            //   3bf7                 | cmp                 esi, edi
            //   7426                 | je                  0x28
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   3bc7                 | cmp                 eax, edi

        $sequence_4 = { 7e52 8b07 8b50f8 83e810 b901000000 2b480c }
            // n = 6, score = 200
            //   7e52                 | jle                 0x54
            //   8b07                 | mov                 eax, dword ptr [edi]
            //   8b50f8               | mov                 edx, dword ptr [eax - 8]
            //   83e810               | sub                 eax, 0x10
            //   b901000000           | mov                 ecx, 1
            //   2b480c               | sub                 ecx, dword ptr [eax + 0xc]

        $sequence_5 = { 750a 5d 33c0 5b 83c414 }
            // n = 5, score = 200
            //   750a                 | jne                 0xc
            //   5d                   | pop                 ebp
            //   33c0                 | xor                 eax, eax
            //   5b                   | pop                 ebx
            //   83c414               | add                 esp, 0x14

        $sequence_6 = { c645fc00 8b45cc 83c0f0 8d480c 8bd6 f00fc111 4a }
            // n = 7, score = 200
            //   c645fc00             | mov                 byte ptr [ebp - 4], 0
            //   8b45cc               | mov                 eax, dword ptr [ebp - 0x34]
            //   83c0f0               | add                 eax, -0x10
            //   8d480c               | lea                 ecx, dword ptr [eax + 0xc]
            //   8bd6                 | mov                 edx, esi
            //   f00fc111             | lock xadd           dword ptr [ecx], edx
            //   4a                   | dec                 edx

        $sequence_7 = { ffd0 8d4db0 8975fc e8???????? 32c0 }
            // n = 5, score = 200
            //   ffd0                 | call                eax
            //   8d4db0               | lea                 ecx, dword ptr [ebp - 0x50]
            //   8975fc               | mov                 dword ptr [ebp - 4], esi
            //   e8????????           |                     
            //   32c0                 | xor                 al, al

        $sequence_8 = { 663b54243a 7516 668b460c 663b44243c 750b b801000000 5f }
            // n = 7, score = 200
            //   663b54243a           | cmp                 dx, word ptr [esp + 0x3a]
            //   7516                 | jne                 0x18
            //   668b460c             | mov                 ax, word ptr [esi + 0xc]
            //   663b44243c           | cmp                 ax, word ptr [esp + 0x3c]
            //   750b                 | jne                 0xd
            //   b801000000           | mov                 eax, 1
            //   5f                   | pop                 edi

        $sequence_9 = { 5d c21000 8bff 55 8bec ff7510 8b4d08 }
            // n = 7, score = 200
            //   5d                   | pop                 ebp
            //   c21000               | ret                 0x10
            //   8bff                 | mov                 edi, edi
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]

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