SYMBOLCOMMON_NAMEaka. SYNONYMS
win.trochilus_rat (Back to overview)

Trochilus RAT

Actor(s): APT31, GALLIUM, Stone Panda

VTCollection    

Trochilus is a C++ written RAT, which is available on GitHub.
GitHub Repo:
- https://github.com/m0n0ph1/malware-1/tree/master/Trochilus
- https://github.com/5loyd/trochilus

References
2022-09-15SymantecThreat Hunter Team
Webworm: Espionage Attackers Testing and Using Older Modified RATs
9002 RAT Ghost RAT Trochilus RAT
2022-09-13SymantecThreat Hunter Team
New Wave of Espionage Activity Targets Asian Governments
MimiKatz PlugX Quasar RAT ShadowPad Trochilus RAT
2022-04-27TrendmicroDaniel Lunghi, Jaromír Hořejší
Operation Gambling Puppet
reptile oRAT AsyncRAT Cobalt Strike DCRat Ghost RAT PlugX Quasar RAT Trochilus RAT Earth Berberoka
2021-01-15SwisscomMarkus Neis
Cracking a Soft Cell is Harder Than You Think
Ghost RAT MimiKatz PlugX Poison Ivy Trochilus RAT
2020-06-24Counter Threat Unit ResearchTeam
BRONZE VINEWOOD Targets Supply Chains
MimiKatz Trochilus RAT APT31
2020-06-03Trend MicroDaniel Lunghi
How to perform long term monitoring of careless threat actors
BBSRAT HyperBro Trochilus RAT
2020-02-18Trend MicroCedric Pernet, Daniel Lunghi, Jamz Yaneza, Kenney Lu
Uncovering DRBControl: Inside the Cyberespionage Campaign Targeting Gambling Operations
Cobalt Strike HyperBro PlugX Trochilus RAT
2020-01-01SecureworksSecureWorks
BRONZE VINEWOOD
MimiKatz Trochilus RAT APT31
2019-02-06Recorded FutureInsikt Group, Rapid7
APT10 Targeted Norwegian MSP and US Companies in Sustained Campaign
Trochilus RAT APT31 HURRICANE PANDA
2017-11-03Github (5loyd)5loyd
Trochilus
Trochilus RAT
2017-04-03JPCERT/CCShusei Tomonaga
RedLeaves - Malware Based on Open Source RAT
PlugX RedLeaves Trochilus RAT
2017-04-01PricewaterhouseCoopersPricewaterhouseCoopers
Operation Cloud Hopper: Technical Annex
ChChes PlugX Quasar RAT RedLeaves Trochilus RAT
2015-08-01Arbor NetworksASERT Team
Uncovering the Seven Pointed Dagger
9002 RAT EvilGrab PlugX Trochilus RAT APT9
Yara Rules
[TLP:WHITE] win_trochilus_rat_auto (20241030 | Detects win.trochilus_rat.)
rule win_trochilus_rat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2024-10-31"
        version = "1"
        description = "Detects win.trochilus_rat."
        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.trochilus_rat"
        malpedia_rule_date = "20241030"
        malpedia_hash = "26e26953c49c8efafbf72a38076855d578e0a2e4"
        malpedia_version = "20241030"
        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 = { bb00010000 e8???????? 85c0 7452 8bf0 eb2d 8b4d08 }
            // n = 7, score = 100
            //   bb00010000           | mov                 ebx, 0x100
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   7452                 | je                  0x54
            //   8bf0                 | mov                 esi, eax
            //   eb2d                 | jmp                 0x2f
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]

        $sequence_1 = { 0f84e0000000 399d2cffffff 0f84d4000000 57 56 68???????? 53 }
            // n = 7, score = 100
            //   0f84e0000000         | je                  0xe6
            //   399d2cffffff         | cmp                 dword ptr [ebp - 0xd4], ebx
            //   0f84d4000000         | je                  0xda
            //   57                   | push                edi
            //   56                   | push                esi
            //   68????????           |                     
            //   53                   | push                ebx

        $sequence_2 = { 8b01 8d55fc 52 ff7510 ff750c ff5030 6a00 }
            // n = 7, score = 100
            //   8b01                 | mov                 eax, dword ptr [ecx]
            //   8d55fc               | lea                 edx, [ebp - 4]
            //   52                   | push                edx
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   ff5030               | call                dword ptr [eax + 0x30]
            //   6a00                 | push                0

        $sequence_3 = { 8975e0 8db1f8190110 8975e4 eb2b 8a4601 84c0 7429 }
            // n = 7, score = 100
            //   8975e0               | mov                 dword ptr [ebp - 0x20], esi
            //   8db1f8190110         | lea                 esi, [ecx + 0x100119f8]
            //   8975e4               | mov                 dword ptr [ebp - 0x1c], esi
            //   eb2b                 | jmp                 0x2d
            //   8a4601               | mov                 al, byte ptr [esi + 1]
            //   84c0                 | test                al, al
            //   7429                 | je                  0x2b

        $sequence_4 = { e8???????? 89442410 85c0 0f849e000000 8bf8 8d4728 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   89442410             | mov                 dword ptr [esp + 0x10], eax
            //   85c0                 | test                eax, eax
            //   0f849e000000         | je                  0xa4
            //   8bf8                 | mov                 edi, eax
            //   8d4728               | lea                 eax, [edi + 0x28]

        $sequence_5 = { e8???????? c70009000000 e8???????? ebd5 8bc8 c1f905 8b0c8d409a8100 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   c70009000000         | mov                 dword ptr [eax], 9
            //   e8????????           |                     
            //   ebd5                 | jmp                 0xffffffd7
            //   8bc8                 | mov                 ecx, eax
            //   c1f905               | sar                 ecx, 5
            //   8b0c8d409a8100       | mov                 ecx, dword ptr [ecx*4 + 0x819a40]

        $sequence_6 = { 57 ff15???????? 33c0 5f 5d c20400 55 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   ff15????????         |                     
            //   33c0                 | xor                 eax, eax
            //   5f                   | pop                 edi
            //   5d                   | pop                 ebp
            //   c20400               | ret                 4
            //   55                   | push                ebp

        $sequence_7 = { 85c0 7414 53 ff15???????? 8b4dfc 8bc6 e8???????? }
            // n = 7, score = 100
            //   85c0                 | test                eax, eax
            //   7414                 | je                  0x16
            //   53                   | push                ebx
            //   ff15????????         |                     
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   8bc6                 | mov                 eax, esi
            //   e8????????           |                     

        $sequence_8 = { 83630400 832300 8b4508 894308 8b450c }
            // n = 5, score = 100
            //   83630400             | and                 dword ptr [ebx + 4], 0
            //   832300               | and                 dword ptr [ebx], 0
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   894308               | mov                 dword ptr [ebx + 8], eax
            //   8b450c               | mov                 eax, dword ptr [ebp + 0xc]

        $sequence_9 = { 8d8534ffffff 50 8d8d7cffffff e8???????? 397df0 764d 837df408 }
            // n = 7, score = 100
            //   8d8534ffffff         | lea                 eax, [ebp - 0xcc]
            //   50                   | push                eax
            //   8d8d7cffffff         | lea                 ecx, [ebp - 0x84]
            //   e8????????           |                     
            //   397df0               | cmp                 dword ptr [ebp - 0x10], edi
            //   764d                 | jbe                 0x4f
            //   837df408             | cmp                 dword ptr [ebp - 0xc], 8

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