SYMBOLCOMMON_NAMEaka. SYNONYMS
win.taintedscribe (Back to overview)

TAINTEDSCRIBE


There is no description at this point.

References
2020-06-23ReversingLabsKarlo Zanki
@online{zanki:20200623:hidden:807b898, author = {Karlo Zanki}, title = {{Hidden Cobra - from a shed skin to the viper’s nest}}, date = {2020-06-23}, organization = {ReversingLabs}, url = {https://blog.reversinglabs.com/blog/hidden-cobra}, language = {English}, urldate = {2020-06-23} } Hidden Cobra - from a shed skin to the viper’s nest
Bankshot PEBBLEDASH TAINTEDSCRIBE
2020-05-12US-CERTUS-CERT
@online{uscert:20200512:mar102888342v1:fd6fe4c, author = {US-CERT}, title = {{MAR-10288834-2.v1 – North Korean Trojan: TAINTEDSCRIBE}}, date = {2020-05-12}, organization = {US-CERT}, url = {https://www.us-cert.gov/ncas/analysis-reports/ar20-133b}, language = {English}, urldate = {2020-05-13} } MAR-10288834-2.v1 – North Korean Trojan: TAINTEDSCRIBE
TAINTEDSCRIBE
Yara Rules
[TLP:WHITE] win_taintedscribe_auto (20230407 | Detects win.taintedscribe.)
rule win_taintedscribe_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-03-28"
        version = "1"
        description = "Detects win.taintedscribe."
        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.taintedscribe"
        malpedia_rule_date = "20230328"
        malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d"
        malpedia_version = "20230407"
        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 = { d3e0 83c40c 098658af0100 8d0419 89865caf0100 83f810 7e76 }
            // n = 7, score = 500
            //   d3e0                 | shl                 eax, cl
            //   83c40c               | add                 esp, 0xc
            //   098658af0100         | or                  dword ptr [esi + 0x1af58], eax
            //   8d0419               | lea                 eax, [ecx + ebx]
            //   89865caf0100         | mov                 dword ptr [esi + 0x1af5c], eax
            //   83f810               | cmp                 eax, 0x10
            //   7e76                 | jle                 0x78

        $sequence_1 = { c6461401 5f 895e08 5e 33c0 5b 5d }
            // n = 7, score = 500
            //   c6461401             | mov                 byte ptr [esi + 0x14], 1
            //   5f                   | pop                 edi
            //   895e08               | mov                 dword ptr [esi + 8], ebx
            //   5e                   | pop                 esi
            //   33c0                 | xor                 eax, eax
            //   5b                   | pop                 ebx
            //   5d                   | pop                 ebp

        $sequence_2 = { 33c0 56 8bf1 8b4d0c 89465c 895664 }
            // n = 6, score = 500
            //   33c0                 | xor                 eax, eax
            //   56                   | push                esi
            //   8bf1                 | mov                 esi, ecx
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   89465c               | mov                 dword ptr [esi + 0x5c], eax
            //   895664               | mov                 dword ptr [esi + 0x64], edx

        $sequence_3 = { 895e10 899ea4af0600 8bc6 5e }
            // n = 4, score = 500
            //   895e10               | mov                 dword ptr [esi + 0x10], ebx
            //   899ea4af0600         | mov                 dword ptr [esi + 0x6afa4], ebx
            //   8bc6                 | mov                 eax, esi
            //   5e                   | pop                 esi

        $sequence_4 = { 894e68 89466c 3bd0 0f8483000000 3bc8 }
            // n = 5, score = 500
            //   894e68               | mov                 dword ptr [esi + 0x68], ecx
            //   89466c               | mov                 dword ptr [esi + 0x6c], eax
            //   3bd0                 | cmp                 edx, eax
            //   0f8483000000         | je                  0x89
            //   3bc8                 | cmp                 ecx, eax

        $sequence_5 = { 8bc2 d3e0 83c40c 098658af0100 8d0419 89865caf0100 83f810 }
            // n = 7, score = 500
            //   8bc2                 | mov                 eax, edx
            //   d3e0                 | shl                 eax, cl
            //   83c40c               | add                 esp, 0xc
            //   098658af0100         | or                  dword ptr [esi + 0x1af58], eax
            //   8d0419               | lea                 eax, [ecx + ebx]
            //   89865caf0100         | mov                 dword ptr [esi + 0x1af5c], eax
            //   83f810               | cmp                 eax, 0x10

        $sequence_6 = { 42 83fa1c 7cbb 81ff00010000 0f94c1 0fb6c1 68???????? }
            // n = 7, score = 500
            //   42                   | inc                 edx
            //   83fa1c               | cmp                 edx, 0x1c
            //   7cbb                 | jl                  0xffffffbd
            //   81ff00010000         | cmp                 edi, 0x100
            //   0f94c1               | sete                cl
            //   0fb6c1               | movzx               eax, cl
            //   68????????           |                     

        $sequence_7 = { 894328 5e 33c0 5b }
            // n = 4, score = 500
            //   894328               | mov                 dword ptr [ebx + 0x28], eax
            //   5e                   | pop                 esi
            //   33c0                 | xor                 eax, eax
            //   5b                   | pop                 ebx

        $sequence_8 = { 83c40c 098658af0100 8d0419 89865caf0100 83f810 }
            // n = 5, score = 500
            //   83c40c               | add                 esp, 0xc
            //   098658af0100         | or                  dword ptr [esi + 0x1af58], eax
            //   8d0419               | lea                 eax, [ecx + ebx]
            //   89865caf0100         | mov                 dword ptr [esi + 0x1af5c], eax
            //   83f810               | cmp                 eax, 0x10

        $sequence_9 = { 8b45d0 50 51 89530c e8???????? 83c418 894310 }
            // n = 7, score = 500
            //   8b45d0               | mov                 eax, dword ptr [ebp - 0x30]
            //   50                   | push                eax
            //   51                   | push                ecx
            //   89530c               | mov                 dword ptr [ebx + 0xc], edx
            //   e8????????           |                     
            //   83c418               | add                 esp, 0x18
            //   894310               | mov                 dword ptr [ebx + 0x10], eax

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