SYMBOLCOMMON_NAMEaka. SYNONYMS
win.acridrain (Back to overview)

AcridRain

VTCollection    

AcridRain is a password stealer written in C/C++. This malware can steal credentials, cookies, credit cards from multiple browsers. It can also dump Telegram and Steam sessions, rob Filezilla recent connections, and more.

References
2018-08-28This is SecurityColdshell
A walk through the AcridRain Stealer
AcridRain
Yara Rules
[TLP:WHITE] win_acridrain_auto (20260504 | Detects win.acridrain.)
rule win_acridrain_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.acridrain."
        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.acridrain"
        malpedia_rule_date = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { ff37 e8???????? 83c40c 8945e4 85c0 7421 6a30 }
            // n = 7, score = 200
            //   ff37                 | push                dword ptr [edi]
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   85c0                 | test                eax, eax
            //   7421                 | je                  0x23
            //   6a30                 | push                0x30

        $sequence_1 = { ff8f00010000 8b8528ffffff 89b714010000 5f 5e 5b 8b4dfc }
            // n = 7, score = 200
            //   ff8f00010000         | dec                 dword ptr [edi + 0x100]
            //   8b8528ffffff         | mov                 eax, dword ptr [ebp - 0xd8]
            //   89b714010000         | mov                 dword ptr [edi + 0x114], esi
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]

        $sequence_2 = { ff248d20cb4800 ff742410 ff742410 ff7008 e8???????? 83c40c 5e }
            // n = 7, score = 200
            //   ff248d20cb4800       | jmp                 dword ptr [ecx*4 + 0x48cb20]
            //   ff742410             | push                dword ptr [esp + 0x10]
            //   ff742410             | push                dword ptr [esp + 0x10]
            //   ff7008               | push                dword ptr [eax + 8]
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   5e                   | pop                 esi

        $sequence_3 = { ff742434 8b4634 57 ff760c ff742424 ffd0 83c410 }
            // n = 7, score = 200
            //   ff742434             | push                dword ptr [esp + 0x34]
            //   8b4634               | mov                 eax, dword ptr [esi + 0x34]
            //   57                   | push                edi
            //   ff760c               | push                dword ptr [esi + 0xc]
            //   ff742424             | push                dword ptr [esp + 0x24]
            //   ffd0                 | call                eax
            //   83c410               | add                 esp, 0x10

        $sequence_4 = { ff75a4 ff7584 50 57 56 e8???????? 83c420 }
            // n = 7, score = 200
            //   ff75a4               | push                dword ptr [ebp - 0x5c]
            //   ff7584               | push                dword ptr [ebp - 0x7c]
            //   50                   | push                eax
            //   57                   | push                edi
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c420               | add                 esp, 0x20

        $sequence_5 = { ffd0 83c414 3bc7 7406 5f 33c0 5e }
            // n = 7, score = 200
            //   ffd0                 | call                eax
            //   83c414               | add                 esp, 0x14
            //   3bc7                 | cmp                 eax, edi
            //   7406                 | je                  8
            //   5f                   | pop                 edi
            //   33c0                 | xor                 eax, eax
            //   5e                   | pop                 esi

        $sequence_6 = { ffd0 8b8dccfdffff 8985d4fdffff 8a85affdffff 57 ffb5d0fdffff 884146 }
            // n = 7, score = 200
            //   ffd0                 | call                eax
            //   8b8dccfdffff         | mov                 ecx, dword ptr [ebp - 0x234]
            //   8985d4fdffff         | mov                 dword ptr [ebp - 0x22c], eax
            //   8a85affdffff         | mov                 al, byte ptr [ebp - 0x251]
            //   57                   | push                edi
            //   ffb5d0fdffff         | push                dword ptr [ebp - 0x230]
            //   884146               | mov                 byte ptr [ecx + 0x46], al

        $sequence_7 = { f6412210 0f85de000000 80792600 8b5724 8955e8 7569 f6c240 }
            // n = 7, score = 200
            //   f6412210             | test                byte ptr [ecx + 0x22], 0x10
            //   0f85de000000         | jne                 0xe4
            //   80792600             | cmp                 byte ptr [ecx + 0x26], 0
            //   8b5724               | mov                 edx, dword ptr [edi + 0x24]
            //   8955e8               | mov                 dword ptr [ebp - 0x18], edx
            //   7569                 | jne                 0x6b
            //   f6c240               | test                dl, 0x40

        $sequence_8 = { ff770c 53 e8???????? 8bf0 8d45f4 50 ff7710 }
            // n = 7, score = 200
            //   ff770c               | push                dword ptr [edi + 0xc]
            //   53                   | push                ebx
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   8d45f4               | lea                 eax, [ebp - 0xc]
            //   50                   | push                eax
            //   ff7710               | push                dword ptr [edi + 0x10]

        $sequence_9 = { 740c 50 e8???????? 8b45d8 83c404 8b5da4 f6431880 }
            // n = 7, score = 200
            //   740c                 | je                  0xe
            //   50                   | push                eax
            //   e8????????           |                     
            //   8b45d8               | mov                 eax, dword ptr [ebp - 0x28]
            //   83c404               | add                 esp, 4
            //   8b5da4               | mov                 ebx, dword ptr [ebp - 0x5c]
            //   f6431880             | test                byte ptr [ebx + 0x18], 0x80

    condition:
        7 of them and filesize < 2244608
}
[TLP:WHITE] win_acridrain_w0   (20180903 | Rule to detect AcridRain malware)
rule win_acridrain_w0 {
    meta:
        description = "Rule to detect AcridRain malware"
        author = "Stormshield"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.acridrain"
        malpedia_version = "20180903"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    strings:
        $mz = { 4d 5a }
        // old sample
        $old_amigo = "_________________________________AMIGO_________________________________" ascii wide
        $old_google_chrome = "_________________________________GOOGLE CHROME_________________________________" ascii wide
        $old_vivaldi = "_________________________________Vivaldi_________________________________" ascii wide
        $old_orbitum = "_________________________________Orbitum_________________________________" ascii wide
        $old_epic = "_________________________________Epic Privacy Browser_________________________________" ascii wide
        $old_cyberfox = "_________________________________Cyberfox_________________________________" ascii wide
        // new sample
        $new_epic_3 = "%s\\\\Epic Privacy Browser\\\\User Data\\\\Profile 3" ascii wide
        $new_epic_2 = "%s\\\\Epic Privacy Browser\\\\User Data\\\\Profile 2" ascii wide
        $new_epic_1 = "%s\\\\Epic Privacy Browser\\\\User Data\\\\Profile 1" ascii wide
        $new_spotnik_CC = "Sputnik_CC.txt" ascii wide
        $new_coccoc_cookies = "CocCoc_Cookies.txt" ascii wide
        $new_rambler = "rambler.txt" ascii wide
        //zip
        $zip_32_zip = "32.zip" ascii wide
        $zip_opana_zip = "opana.zip" ascii wide
        $zip_libs_zip = "Libs.zip" ascii wide
        //all
        $all_templogik = "templogik" ascii wide
        $all_templogim = "templogim" ascii wide
        $all_templogin = "templogin" ascii wide

    condition:
        ($mz at 0) and (3 of ($old_*) or 3 of ($new_*)) and (2 of ($zip_*)) and (2 of ($all_*))
}
Download all Yara Rules