win.qadars (Back to overview)

Qadars


There is no description at this point.

References
https://info.phishlabs.com/blog/dissecting-the-qadars-banking-trojan
https://www.johannesbader.ch/2016/04/the-dga-of-qadars/
https://securityintelligence.com/an-analysis-of-the-qadars-trojan/
https://securityintelligence.com/meanwhile-britain-qadars-v3-hardens-evasion-targets-18-uk-banks/
https://www.welivesecurity.com/2013/12/18/qadars-a-banking-trojan-with-the-netherlands-in-its-sights/
https://pages.phishlabs.com/rs/130-BFB-942/images/Qadars%20-%20Final.pdf
Yara Rules
[TLP:WHITE] win_qadars_auto (20190620 | autogenerated rule brought to you by yara-signator)
rule win_qadars_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2019-07-05"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator 0.2a"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.qadars"
        malpedia_version = "20190620"
        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 / approach 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 = { c745f000000000 8945f4 8945f8 8945fc 85f6 }
            // n = 5, score = 700
            //   c745f000000000       | mov                 dword ptr [ebp - 0x10], 0
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   85f6                 | test                esi, esi

        $sequence_1 = { 8bf8 eb?? 33ff 6a10 895f08 e8???????? }
            // n = 6, score = 700
            //   8bf8                 | mov                 edi, eax
            //   eb??                 |                     
            //   33ff                 | xor                 edi, edi
            //   6a10                 | push                0x10
            //   895f08               | mov                 dword ptr [edi + 8], ebx
            //   e8????????           |                     

        $sequence_2 = { 8b4208 8945e0 3bc3 76?? 8bc3 895de0 }
            // n = 6, score = 700
            //   8b4208               | mov                 eax, dword ptr [edx + 8]
            //   8945e0               | mov                 dword ptr [ebp - 0x20], eax
            //   3bc3                 | cmp                 eax, ebx
            //   76??                 |                     
            //   8bc3                 | mov                 eax, ebx
            //   895de0               | mov                 dword ptr [ebp - 0x20], ebx

        $sequence_3 = { 89450c 8b45c8 8945f8 8b45c4 83780c00 74?? }
            // n = 6, score = 700
            //   89450c               | mov                 dword ptr [ebp + 0xc], eax
            //   8b45c8               | mov                 eax, dword ptr [ebp - 0x38]
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8b45c4               | mov                 eax, dword ptr [ebp - 0x3c]
            //   83780c00             | cmp                 dword ptr [eax + 0xc], 0
            //   74??                 |                     

        $sequence_4 = { ff470c 8b45ac 8b5604 897ddc 8955e0 }
            // n = 5, score = 700
            //   ff470c               | inc                 dword ptr [edi + 0xc]
            //   8b45ac               | mov                 eax, dword ptr [ebp - 0x54]
            //   8b5604               | mov                 edx, dword ptr [esi + 4]
            //   897ddc               | mov                 dword ptr [ebp - 0x24], edi
            //   8955e0               | mov                 dword ptr [ebp - 0x20], edx

        $sequence_5 = { 74?? 83e840 74?? b801000000 5d c3 8b4508 }
            // n = 7, score = 700
            //   74??                 |                     
            //   83e840               | sub                 eax, 0x40
            //   74??                 |                     
            //   b801000000           | mov                 eax, 1
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]

        $sequence_6 = { 53 eb?? 8b55fc 8b4508 }
            // n = 4, score = 700
            //   53                   | push                ebx
            //   eb??                 |                     
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]

        $sequence_7 = { 897df4 0f95c0 fec8 24e0 0440 3c20 75?? }
            // n = 7, score = 700
            //   897df4               | mov                 dword ptr [ebp - 0xc], edi
            //   0f95c0               | setne               al
            //   fec8                 | dec                 al
            //   24e0                 | and                 al, 0xe0
            //   0440                 | add                 al, 0x40
            //   3c20                 | cmp                 al, 0x20
            //   75??                 |                     

        $sequence_8 = { 6a00 8d4df4 51 6a04 8d55f8 52 }
            // n = 6, score = 600
            //   6a00                 | push                0
            //   8d4df4               | lea                 ecx, [ebp - 0xc]
            //   51                   | push                ecx
            //   6a04                 | push                4
            //   8d55f8               | lea                 edx, [ebp - 8]
            //   52                   | push                edx

        $sequence_9 = { 6a00 8d4df4 51 6a04 8d55f8 }
            // n = 5, score = 600
            //   6a00                 | push                0
            //   8d4df4               | lea                 ecx, [ebp - 0xc]
            //   51                   | push                ecx
            //   6a04                 | push                4
            //   8d55f8               | lea                 edx, [ebp - 8]

        $sequence_10 = { 51 8b55f0 52 ff15???????? 83c40c }
            // n = 5, score = 300
            //   51                   | push                ecx
            //   8b55f0               | mov                 edx, dword ptr [ebp - 0x10]
            //   52                   | push                edx
            //   ff15????????         |                     
            //   83c40c               | add                 esp, 0xc

        $sequence_11 = { 52 ff15???????? 83c408 a3???????? }
            // n = 4, score = 300
            //   52                   | push                edx
            //   ff15????????         |                     
            //   83c408               | add                 esp, 8
            //   a3????????           |                     

        $sequence_12 = { 6a01 8b55fc 52 ff15???????? 83c408 }
            // n = 5, score = 300
            //   6a01                 | push                1
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   52                   | push                edx
            //   ff15????????         |                     
            //   83c408               | add                 esp, 8

        $sequence_13 = { 83c40c 6805010000 8d8df8feffff 51 }
            // n = 4, score = 300
            //   83c40c               | add                 esp, 0xc
            //   6805010000           | push                0x105
            //   8d8df8feffff         | lea                 ecx, [ebp - 0x108]
            //   51                   | push                ecx

        $sequence_14 = { 6a01 6a08 ff15???????? 83c408 }
            // n = 4, score = 300
            //   6a01                 | push                1
            //   6a08                 | push                8
            //   ff15????????         |                     
            //   83c408               | add                 esp, 8

        $sequence_15 = { 6a10 8d4dcc 51 e8???????? 83c418 8945f0 8d55e8 }
            // n = 7, score = 100
            //   6a10                 | push                0x10
            //   8d4dcc               | lea                 ecx, [ebp - 0x34]
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c418               | add                 esp, 0x18
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   8d55e8               | lea                 edx, [ebp - 0x18]

    condition:
        7 of them
}
Download all Yara Rules