SYMBOLCOMMON_NAMEaka. SYNONYMS
win.darktequila (Back to overview)

DarkTequila

VTCollection    

Dark Tequila is a complex malicious campaign targeting Mexican users, with the primary purpose of stealing financial information, as well as login credentials to popular websites that range from code versioning repositories to public file storage accounts and domain registrars.

References
2018-08-21 ⋅ Kaspersky Labs ⋅ GReAT
Dark Tequila Añejo
DarkTequila
Yara Rules
[TLP:WHITE] win_darktequila_auto (20260917 | Detects win.darktequila.)
rule win_darktequila_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.darktequila."
        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.darktequila"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { e8???????? 83c410 8bf3 e8???????? 8b45f8 8b4dfc }
            // n = 6, score = 200
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   8bf3                 | mov                 esi, ebx
            //   e8????????           |                     
            //   8b45f8               | mov                 eax, dword ptr [ebp - 8]
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]

        $sequence_1 = { b803000000 e8???????? 6a0b 50 e8???????? 8b4310 }
            // n = 6, score = 200
            //   b803000000           | mov                 eax, 3
            //   e8????????           |                     
            //   6a0b                 | push                0xb
            //   50                   | push                eax
            //   e8????????           |                     
            //   8b4310               | mov                 eax, dword ptr [ebx + 0x10]

        $sequence_2 = { 03c8 51 e8???????? 83c410 897b08 5f }
            // n = 6, score = 200
            //   03c8                 | add                 ecx, eax
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   897b08               | mov                 dword ptr [ebx + 8], edi
            //   5f                   | pop                 edi

        $sequence_3 = { 8b4d08 8b15???????? 8901 8913 8be5 }
            // n = 5, score = 200
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   8b15????????         |                     
            //   8901                 | mov                 dword ptr [ecx], eax
            //   8913                 | mov                 dword ptr [ebx], edx
            //   8be5                 | mov                 esp, ebp

        $sequence_4 = { 33db 57 bf01000000 3bc3 7465 8b4e04 3bcb }
            // n = 7, score = 200
            //   33db                 | xor                 ebx, ebx
            //   57                   | push                edi
            //   bf01000000           | mov                 edi, 1
            //   3bc3                 | cmp                 eax, ebx
            //   7465                 | je                  0x67
            //   8b4e04               | mov                 ecx, dword ptr [esi + 4]
            //   3bcb                 | cmp                 ecx, ebx

        $sequence_5 = { 0f85c7000000 8945fc b809000000 c705????????01000000 }
            // n = 4, score = 200
            //   0f85c7000000         | jne                 0xcd
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   b809000000           | mov                 eax, 9
            //   c705????????01000000     |     

        $sequence_6 = { 7408 48 7527 8d4301 5b }
            // n = 5, score = 200
            //   7408                 | je                  0xa
            //   48                   | dec                 eax
            //   7527                 | jne                 0x29
            //   8d4301               | lea                 eax, [ebx + 1]
            //   5b                   | pop                 ebx

        $sequence_7 = { 8d9b00000000 c60000 40 49 75f9 c7420800000000 c7420c00000000 }
            // n = 7, score = 200
            //   8d9b00000000         | lea                 ebx, [ebx]
            //   c60000               | mov                 byte ptr [eax], 0
            //   40                   | inc                 eax
            //   49                   | dec                 ecx
            //   75f9                 | jne                 0xfffffffb
            //   c7420800000000       | mov                 dword ptr [edx + 8], 0
            //   c7420c00000000       | mov                 dword ptr [edx + 0xc], 0

        $sequence_8 = { 51 52 57 50 894df8 e8???????? 83c410 }
            // n = 7, score = 200
            //   51                   | push                ecx
            //   52                   | push                edx
            //   57                   | push                edi
            //   50                   | push                eax
            //   894df8               | mov                 dword ptr [ebp - 8], ecx
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10

        $sequence_9 = { 8b0e 33c0 81f900000080 7348 2bd0 7425 }
            // n = 6, score = 200
            //   8b0e                 | mov                 ecx, dword ptr [esi]
            //   33c0                 | xor                 eax, eax
            //   81f900000080         | cmp                 ecx, 0x80000000
            //   7348                 | jae                 0x4a
            //   2bd0                 | sub                 edx, eax
            //   7425                 | je                  0x27

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