SYMBOLCOMMON_NAMEaka. SYNONYMS
win.onionduke (Back to overview)

OnionDuke

Actor(s): APT 29


OnionDuke is a new sophisticated piece of malware distributed by threat actors through a malicious exit node on the Tor anonymity network appears to be related to the notorious MiniDuke, researchers at F-Secure discovered. According to experts, since at least February 2014, the threat actors have also distributed the threat through malicious versions of pirated software hosted on torrent websites.

References
2020-05-06F-Secure LabsMelissa Michael, Artturi Lehtiö
@online{michael:20200506:039:49d4744, author = {Melissa Michael and Artturi Lehtiö}, title = {{039| Deconstructing the Dukes: A Researcher’s Retrospective of APT29}}, date = {2020-05-06}, organization = {F-Secure Labs}, url = {https://blog.f-secure.com/podcast-dukes-apt29/}, language = {English}, urldate = {2020-07-06} } 039| Deconstructing the Dukes: A Researcher’s Retrospective of APT29
OnionDuke
2020-03-26VMWare Carbon BlackScott Knight
@online{knight:20200326:dukes:df85f94, author = {Scott Knight}, title = {{The Dukes of Moscow}}, date = {2020-03-26}, organization = {VMWare Carbon Black}, url = {https://www.carbonblack.com/2020/03/26/the-dukes-of-moscow/}, language = {English}, urldate = {2020-05-18} } The Dukes of Moscow
Cobalt Strike LiteDuke MiniDuke OnionDuke PolyglotDuke PowerDuke
2020SecureworksSecureWorks
@online{secureworks:2020:iron:59396c7, author = {SecureWorks}, title = {{IRON HEMLOCK}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/iron-hemlock}, language = {English}, urldate = {2020-05-23} } IRON HEMLOCK
FatDuke MiniDuke OnionDuke PolyglotDuke APT 29
2014-11-15Contagio DumpMila Parkour
@online{parkour:20141115:onionduke:6c548c4, author = {Mila Parkour}, title = {{OnionDuke samples}}, date = {2014-11-15}, organization = {Contagio Dump}, url = {http://contagiodump.blogspot.com/2014/11/onionduke-samples.html}, language = {English}, urldate = {2019-12-20} } OnionDuke samples
OnionDuke
2014-11-14F-SecureF-Secure Labs
@online{labs:20141114:onionduke:dc56d5c, author = {F-Secure Labs}, title = {{OnionDuke: APT Attacks Via the Tor Network}}, date = {2014-11-14}, organization = {F-Secure}, url = {https://www.f-secure.com/weblog/archives/00002764.html}, language = {English}, urldate = {2020-01-09} } OnionDuke: APT Attacks Via the Tor Network
OnionDuke
Yara Rules
[TLP:WHITE] win_onionduke_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_onionduke_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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.onionduke"
        malpedia_rule_date = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { 8b56e0 8957e0 8b56e4 8957e4 894ee0 }
            // n = 5, score = 200
            //   8b56e0               | mov                 edx, dword ptr [esi - 0x20]
            //   8957e0               | mov                 dword ptr [edi - 0x20], edx
            //   8b56e4               | mov                 edx, dword ptr [esi - 0x1c]
            //   8957e4               | mov                 dword ptr [edi - 0x1c], edx
            //   894ee0               | mov                 dword ptr [esi - 0x20], ecx

        $sequence_1 = { 8ac8 eb10 8d48bf 80f905 }
            // n = 4, score = 200
            //   8ac8                 | mov                 cl, al
            //   eb10                 | jmp                 0x12
            //   8d48bf               | lea                 ecx, [eax - 0x41]
            //   80f905               | cmp                 cl, 5

        $sequence_2 = { 8a00 33c9 3802 7506 41 }
            // n = 5, score = 200
            //   8a00                 | mov                 al, byte ptr [eax]
            //   33c9                 | xor                 ecx, ecx
            //   3802                 | cmp                 byte ptr [edx], al
            //   7506                 | jne                 8
            //   41                   | inc                 ecx

        $sequence_3 = { 41 84d2 75f9 2bcb 51 8d4dd4 }
            // n = 6, score = 200
            //   41                   | inc                 ecx
            //   84d2                 | test                dl, dl
            //   75f9                 | jne                 0xfffffffb
            //   2bcb                 | sub                 ecx, ebx
            //   51                   | push                ecx
            //   8d4dd4               | lea                 ecx, [ebp - 0x2c]

        $sequence_4 = { eb02 33c9 8d46ec 8d57ec 3bc2 7454 833e10 }
            // n = 7, score = 200
            //   eb02                 | jmp                 4
            //   33c9                 | xor                 ecx, ecx
            //   8d46ec               | lea                 eax, [esi - 0x14]
            //   8d57ec               | lea                 edx, [edi - 0x14]
            //   3bc2                 | cmp                 eax, edx
            //   7454                 | je                  0x56
            //   833e10               | cmp                 dword ptr [esi], 0x10

        $sequence_5 = { 8b4dd4 51 e8???????? 83c404 33c0 eb54 }
            // n = 6, score = 200
            //   8b4dd4               | mov                 ecx, dword ptr [ebp - 0x2c]
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   33c0                 | xor                 eax, eax
            //   eb54                 | jmp                 0x56

        $sequence_6 = { 8d4dd4 e8???????? 56 e8???????? 83c404 8b55e4 }
            // n = 6, score = 200
            //   8d4dd4               | lea                 ecx, [ebp - 0x2c]
            //   e8????????           |                     
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8b55e4               | mov                 edx, dword ptr [ebp - 0x1c]

        $sequence_7 = { 894608 894604 5e 5d c3 e9???????? }
            // n = 6, score = 200
            //   894608               | mov                 dword ptr [esi + 8], eax
            //   894604               | mov                 dword ptr [esi + 4], eax
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   e9????????           |                     

        $sequence_8 = { 41 84d2 75f9 2bcf 51 8d4dd4 }
            // n = 6, score = 200
            //   41                   | inc                 ecx
            //   84d2                 | test                dl, dl
            //   75f9                 | jne                 0xfffffffb
            //   2bcf                 | sub                 ecx, edi
            //   51                   | push                ecx
            //   8d4dd4               | lea                 ecx, [ebp - 0x2c]

        $sequence_9 = { 3975e8 7303 8d55d4 8bc8 8d9b00000000 }
            // n = 5, score = 200
            //   3975e8               | cmp                 dword ptr [ebp - 0x18], esi
            //   7303                 | jae                 5
            //   8d55d4               | lea                 edx, [ebp - 0x2c]
            //   8bc8                 | mov                 ecx, eax
            //   8d9b00000000         | lea                 ebx, [ebx]

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