SYMBOLCOMMON_NAMEaka. SYNONYMS
win.iispy (Back to overview)

IISpy

aka: BadIIS

There is no description at this point.

References
2021-08-09ESET ResearchZuzana Hromcová
@online{hromcov:20210809:iispy:c0b6ad3, author = {Zuzana Hromcová}, title = {{IISpy: A complex server‑side backdoor with anti‑forensic features}}, date = {2021-08-09}, organization = {ESET Research}, url = {https://www.welivesecurity.com/2021/08/09/iispy-complex-server-side-backdoor-antiforensic-features/}, language = {English}, urldate = {2021-09-19} } IISpy: A complex server‑side backdoor with anti‑forensic features
IISpy JuicyPotato
Yara Rules
[TLP:WHITE] win_iispy_auto (20230407 | Detects win.iispy.)
rule win_iispy_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-03-28"
        version = "1"
        description = "Detects win.iispy."
        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.iispy"
        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 = { 837f1800 0f85b0000000 56 e8???????? 837f1800 0f85a0000000 8b0e }
            // n = 7, score = 100
            //   837f1800             | cmp                 dword ptr [edi + 0x18], 0
            //   0f85b0000000         | jne                 0xb6
            //   56                   | push                esi
            //   e8????????           |                     
            //   837f1800             | cmp                 dword ptr [edi + 0x18], 0
            //   0f85a0000000         | jne                 0xa6
            //   8b0e                 | mov                 ecx, dword ptr [esi]

        $sequence_1 = { bacefbffff 8bc7 8955bc 8bce 8975b8 0fa4c101 }
            // n = 6, score = 100
            //   bacefbffff           | mov                 edx, 0xfffffbce
            //   8bc7                 | mov                 eax, edi
            //   8955bc               | mov                 dword ptr [ebp - 0x44], edx
            //   8bce                 | mov                 ecx, esi
            //   8975b8               | mov                 dword ptr [ebp - 0x48], esi
            //   0fa4c101             | shld                ecx, eax, 1

        $sequence_2 = { 53 56 57 8bf9 8bda 8b37 8b4610 }
            // n = 7, score = 100
            //   53                   | push                ebx
            //   56                   | push                esi
            //   57                   | push                edi
            //   8bf9                 | mov                 edi, ecx
            //   8bda                 | mov                 ebx, edx
            //   8b37                 | mov                 esi, dword ptr [edi]
            //   8b4610               | mov                 eax, dword ptr [esi + 0x10]

        $sequence_3 = { 7d10 6a0a 8bce e8???????? 8b4e0c 894c2408 8d410a }
            // n = 7, score = 100
            //   7d10                 | jge                 0x12
            //   6a0a                 | push                0xa
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     
            //   8b4e0c               | mov                 ecx, dword ptr [esi + 0xc]
            //   894c2408             | mov                 dword ptr [esp + 8], ecx
            //   8d410a               | lea                 eax, [ecx + 0xa]

        $sequence_4 = { a1???????? ffd0 8b75c0 8bf8 85ff 0f8ee4040000 0fb7ff }
            // n = 7, score = 100
            //   a1????????           |                     
            //   ffd0                 | call                eax
            //   8b75c0               | mov                 esi, dword ptr [ebp - 0x40]
            //   8bf8                 | mov                 edi, eax
            //   85ff                 | test                edi, edi
            //   0f8ee4040000         | jle                 0x4ea
            //   0fb7ff               | movzx               edi, di

        $sequence_5 = { 8bc2 c1e805 8945e8 6bc064 2bc8 81fb7e8d0300 7219 }
            // n = 7, score = 100
            //   8bc2                 | mov                 eax, edx
            //   c1e805               | shr                 eax, 5
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax
            //   6bc064               | imul                eax, eax, 0x64
            //   2bc8                 | sub                 ecx, eax
            //   81fb7e8d0300         | cmp                 ebx, 0x38d7e
            //   7219                 | jb                  0x1b

        $sequence_6 = { 8b4dec 8bc1 c1e810 0fb6c0 8b75f8 333485b0610210 8bc1 }
            // n = 7, score = 100
            //   8b4dec               | mov                 ecx, dword ptr [ebp - 0x14]
            //   8bc1                 | mov                 eax, ecx
            //   c1e810               | shr                 eax, 0x10
            //   0fb6c0               | movzx               eax, al
            //   8b75f8               | mov                 esi, dword ptr [ebp - 8]
            //   333485b0610210       | xor                 esi, dword ptr [eax*4 + 0x100261b0]
            //   8bc1                 | mov                 eax, ecx

        $sequence_7 = { 0f1f00 0fb74e0e 83f904 756b 8b07 }
            // n = 5, score = 100
            //   0f1f00               | nop                 dword ptr [eax]
            //   0fb74e0e             | movzx               ecx, word ptr [esi + 0xe]
            //   83f904               | cmp                 ecx, 4
            //   756b                 | jne                 0x6d
            //   8b07                 | mov                 eax, dword ptr [edi]

        $sequence_8 = { 8bc8 85c9 7411 b805040000 890e 6689460e 8b459c }
            // n = 7, score = 100
            //   8bc8                 | mov                 ecx, eax
            //   85c9                 | test                ecx, ecx
            //   7411                 | je                  0x13
            //   b805040000           | mov                 eax, 0x405
            //   890e                 | mov                 dword ptr [esi], ecx
            //   6689460e             | mov                 word ptr [esi + 0xe], ax
            //   8b459c               | mov                 eax, dword ptr [ebp - 0x64]

        $sequence_9 = { 0f8599000000 53 ff7508 8d4101 8b4df8 8902 e8???????? }
            // n = 7, score = 100
            //   0f8599000000         | jne                 0x9f
            //   53                   | push                ebx
            //   ff7508               | push                dword ptr [ebp + 8]
            //   8d4101               | lea                 eax, [ecx + 1]
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]
            //   8902                 | mov                 dword ptr [edx], eax
            //   e8????????           |                     

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