SYMBOLCOMMON_NAMEaka. SYNONYMS
win.dairy (Back to overview)

Dairy

Actor(s): Comment Crew


There is no description at this point.

References
2018MandiantMandiant
@techreport{mandiant:2018:apt1:b76cc4d, author = {Mandiant}, title = {{APT1}}, date = {2018}, institution = {Mandiant}, url = {https://github.com/securitykitten/malware_references/blob/master/Appendix%20C%20(Digital)%20-%20The%20Malware%20Arsenal.pdf}, language = {English}, urldate = {2020-01-13} } APT1
Auriga Biscuit Bouncer Combos CookieBag Dairy GetMail GlooxMail Goggles Hacksfase Helauto Kurton ManItsMe MAPIget MiniASP NewsReels SeaSalt StarsyPound Sword TabMsgSQL Tarsip WebC2-AdSpace WebC2-Ausov WebC2-Bolid WebC2-Cson WebC2-DIV WebC2-GreenCat WebC2-Head WebC2-Kt3 WebC2-Qbp WebC2-Rave WebC2-Table WebC2-UGX WebC2-Yahoo
Yara Rules
[TLP:WHITE] win_dairy_auto (20230125 | Detects win.dairy.)
rule win_dairy_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.dairy."
        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.dairy"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 5b 81c48c050000 c3 668b15???????? }
            // n = 4, score = 100
            //   5b                   | pop                 ebx
            //   81c48c050000         | add                 esp, 0x58c
            //   c3                   | ret                 
            //   668b15????????       |                     

        $sequence_1 = { 7e08 3c41 7c7e 3c5a 7f7a }
            // n = 5, score = 100
            //   7e08                 | jle                 0xa
            //   3c41                 | cmp                 al, 0x41
            //   7c7e                 | jl                  0x80
            //   3c5a                 | cmp                 al, 0x5a
            //   7f7a                 | jg                  0x7c

        $sequence_2 = { 33f3 8b5c2414 03c6 8bf0 c1ee05 03f3 8bd8 }
            // n = 7, score = 100
            //   33f3                 | xor                 esi, ebx
            //   8b5c2414             | mov                 ebx, dword ptr [esp + 0x14]
            //   03c6                 | add                 eax, esi
            //   8bf0                 | mov                 esi, eax
            //   c1ee05               | shr                 esi, 5
            //   03f3                 | add                 esi, ebx
            //   8bd8                 | mov                 ebx, eax

        $sequence_3 = { e8???????? 895c2420 8b4d0c 8d442420 6a04 50 51 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   895c2420             | mov                 dword ptr [esp + 0x20], ebx
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   8d442420             | lea                 eax, [esp + 0x20]
            //   6a04                 | push                4
            //   50                   | push                eax
            //   51                   | push                ecx

        $sequence_4 = { 8b542464 51 52 e8???????? 83c408 895c246c e9???????? }
            // n = 7, score = 100
            //   8b542464             | mov                 edx, dword ptr [esp + 0x64]
            //   51                   | push                ecx
            //   52                   | push                edx
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   895c246c             | mov                 dword ptr [esp + 0x6c], ebx
            //   e9????????           |                     

        $sequence_5 = { 83c408 eb2f 8bb42438030000 8d842430010000 }
            // n = 4, score = 100
            //   83c408               | add                 esp, 8
            //   eb2f                 | jmp                 0x31
            //   8bb42438030000       | mov                 esi, dword ptr [esp + 0x338]
            //   8d842430010000       | lea                 eax, [esp + 0x130]

        $sequence_6 = { 52 ff5040 895c2428 81fe18030980 0f8495feffff }
            // n = 5, score = 100
            //   52                   | push                edx
            //   ff5040               | call                dword ptr [eax + 0x40]
            //   895c2428             | mov                 dword ptr [esp + 0x28], ebx
            //   81fe18030980         | cmp                 esi, 0x80090318
            //   0f8495feffff         | je                  0xfffffe9b

        $sequence_7 = { c644241169 c644241264 c64424133a c644241400 f2ae f7d1 2bf9 }
            // n = 7, score = 100
            //   c644241169           | mov                 byte ptr [esp + 0x11], 0x69
            //   c644241264           | mov                 byte ptr [esp + 0x12], 0x64
            //   c64424133a           | mov                 byte ptr [esp + 0x13], 0x3a
            //   c644241400           | mov                 byte ptr [esp + 0x14], 0
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   f7d1                 | not                 ecx
            //   2bf9                 | sub                 edi, ecx

        $sequence_8 = { 8b38 8bd1 c1e902 f3a5 8bca 68???????? 83e103 }
            // n = 7, score = 100
            //   8b38                 | mov                 edi, dword ptr [eax]
            //   8bd1                 | mov                 edx, ecx
            //   c1e902               | shr                 ecx, 2
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8bca                 | mov                 ecx, edx
            //   68????????           |                     
            //   83e103               | and                 ecx, 3

        $sequence_9 = { 894c2420 f3ab 8b8424401c0000 50 6a00 6810040000 ff15???????? }
            // n = 7, score = 100
            //   894c2420             | mov                 dword ptr [esp + 0x20], ecx
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   8b8424401c0000       | mov                 eax, dword ptr [esp + 0x1c40]
            //   50                   | push                eax
            //   6a00                 | push                0
            //   6810040000           | push                0x410
            //   ff15????????         |                     

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