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-15 ⋅ Symantec ⋅ Threat Hunter Team
Webworm: Espionage Attackers Testing and Using Older Modified RATs
9002 RAT Ghost RAT Trochilus RAT
2022-09-13 ⋅ Symantec ⋅ Threat Hunter Team
New Wave of Espionage Activity Targets Asian Governments
MimiKatz PlugX Quasar RAT ShadowPad Trochilus RAT
2022-04-27 ⋅ Trendmicro ⋅ Daniel 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-15 ⋅ Swisscom ⋅ Markus Neis
Cracking a Soft Cell is Harder Than You Think
Ghost RAT MimiKatz PlugX Poison Ivy Trochilus RAT
2020-06-24 ⋅ Counter Threat Unit ResearchTeam
BRONZE VINEWOOD Targets Supply Chains
MimiKatz Trochilus RAT APT31
2020-06-03 ⋅ Trend Micro ⋅ Daniel Lunghi
How to perform long term monitoring of careless threat actors
BBSRAT HyperBro Trochilus RAT
2020-02-18 ⋅ Trend Micro ⋅ Cedric Pernet, Daniel Lunghi, Jamz Yaneza, Kenney Lu
Uncovering DRBControl: Inside the Cyberespionage Campaign Targeting Gambling Operations
Cobalt Strike HyperBro PlugX Trochilus RAT Operation DRBControl
2020-01-01 ⋅ Secureworks ⋅ SecureWorks
BRONZE VINEWOOD
MimiKatz Trochilus RAT APT31
2019-02-06 ⋅ Recorded Future ⋅ Insikt Group, Rapid7
APT10 Targeted Norwegian MSP and US Companies in Sustained Campaign
Trochilus RAT APT31 HURRICANE PANDA
2017-11-03 ⋅ Github (5loyd) ⋅ 5loyd
Trochilus
Trochilus RAT
2017-04-03 ⋅ JPCERT/CC ⋅ Shusei Tomonaga
RedLeaves - Malware Based on Open Source RAT
PlugX RedLeaves Trochilus RAT
2017-04-01 ⋅ PricewaterhouseCoopers ⋅ PricewaterhouseCoopers
Operation Cloud Hopper: Technical Annex
ChChes PlugX Quasar RAT RedLeaves Trochilus RAT
2015-08-01 ⋅ Arbor Networks ⋅ ASERT Team
Uncovering the Seven Pointed Dagger
9002 RAT EvilGrab PlugX Trochilus RAT APT9
Yara Rules
[TLP:WHITE] win_trochilus_rat_auto (20260917 | Detects win.trochilus_rat.)
rule win_trochilus_rat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "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 = { 7907 48 0d00e0ffff 40 8b4d08 837c811800 7413 }
            // n = 7, score = 100
            //   7907                 | jns                 9
            //   48                   | dec                 eax
            //   0d00e0ffff           | or                  eax, 0xffffe000
            //   40                   | inc                 eax
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   837c811800           | cmp                 dword ptr [ecx + eax*4 + 0x18], 0
            //   7413                 | je                  0x15

        $sequence_1 = { 7475 8945e4 8945e8 53 8d45dc 50 ff7630 }
            // n = 7, score = 100
            //   7475                 | je                  0x77
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax
            //   53                   | push                ebx
            //   8d45dc               | lea                 eax, [ebp - 0x24]
            //   50                   | push                eax
            //   ff7630               | push                dword ptr [esi + 0x30]

        $sequence_2 = { 8d44303c 57 50 8b4304 03c1 50 e8???????? }
            // n = 7, score = 100
            //   8d44303c             | lea                 eax, [eax + esi + 0x3c]
            //   57                   | push                edi
            //   50                   | push                eax
            //   8b4304               | mov                 eax, dword ptr [ebx + 4]
            //   03c1                 | add                 eax, ecx
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_3 = { 85c0 7425 5e c3 e8???????? 85c0 }
            // n = 6, score = 100
            //   85c0                 | test                eax, eax
            //   7425                 | je                  0x27
            //   5e                   | pop                 esi
            //   c3                   | ret                 
            //   e8????????           |                     
            //   85c0                 | test                eax, eax

        $sequence_4 = { e8???????? c20800 6a18 b829c50010 e8???????? 8bf1 8d4608 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   c20800               | ret                 8
            //   6a18                 | push                0x18
            //   b829c50010           | mov                 eax, 0x1000c529
            //   e8????????           |                     
            //   8bf1                 | mov                 esi, ecx
            //   8d4608               | lea                 eax, [esi + 8]

        $sequence_5 = { 81ffb8150110 7407 57 e8???????? 59 c745fcfeffffff }
            // n = 6, score = 100
            //   81ffb8150110         | cmp                 edi, 0x100115b8
            //   7407                 | je                  9
            //   57                   | push                edi
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   c745fcfeffffff       | mov                 dword ptr [ebp - 4], 0xfffffffe

        $sequence_6 = { 8365d800 c745dc97af0010 a1???????? 8d4dd8 33c1 8945e0 8b4518 }
            // n = 7, score = 100
            //   8365d800             | and                 dword ptr [ebp - 0x28], 0
            //   c745dc97af0010       | mov                 dword ptr [ebp - 0x24], 0x1000af97
            //   a1????????           |                     
            //   8d4dd8               | lea                 ecx, [ebp - 0x28]
            //   33c1                 | xor                 eax, ecx
            //   8945e0               | mov                 dword ptr [ebp - 0x20], eax
            //   8b4518               | mov                 eax, dword ptr [ebp + 0x18]

        $sequence_7 = { 5e c3 85c0 7503 8d4204 8901 56 }
            // n = 7, score = 100
            //   5e                   | pop                 esi
            //   c3                   | ret                 
            //   85c0                 | test                eax, eax
            //   7503                 | jne                 5
            //   8d4204               | lea                 eax, [edx + 4]
            //   8901                 | mov                 dword ptr [ecx], eax
            //   56                   | push                esi

        $sequence_8 = { 8930 8b471c 8930 8b471c eb2b 83f803 750f }
            // n = 7, score = 100
            //   8930                 | mov                 dword ptr [eax], esi
            //   8b471c               | mov                 eax, dword ptr [edi + 0x1c]
            //   8930                 | mov                 dword ptr [eax], esi
            //   8b471c               | mov                 eax, dword ptr [edi + 0x1c]
            //   eb2b                 | jmp                 0x2d
            //   83f803               | cmp                 eax, 3
            //   750f                 | jne                 0x11

        $sequence_9 = { 7463 8b3d???????? 686a750010 ff35???????? ffd7 ffd0 a3???????? }
            // n = 7, score = 100
            //   7463                 | je                  0x65
            //   8b3d????????         |                     
            //   686a750010           | push                0x1000756a
            //   ff35????????         |                     
            //   ffd7                 | call                edi
            //   ffd0                 | call                eax
            //   a3????????           |                     

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