SYMBOLCOMMON_NAMEaka. SYNONYMS
win.usbferry (Back to overview)

USBferry

Actor(s): Pirate Panda

VTCollection    

There is no description at this point.

References
2021-12-01 ⋅ ESET Research ⋅ Alexis Dorais-Joncas, Facundo Muñoz
Jumping the air gap: 15 years of nation‑state effort
Agent.BTZ Fanny Flame Gauss PlugX Ramsay Retro Stuxnet USBCulprit USBferry
2020-05-12 ⋅ Trend Micro ⋅ Joey Chen
Tropic Trooper’s Back: USBferry Attack Targets Air-gapped Environments
USBferry
2020-05-12 ⋅ Trend Micro ⋅ Joey Chen
Tropic Trooper’s Back: USBferry Attack Targets Air-gapped Environments (Technical Brief)
USBferry
Yara Rules
[TLP:WHITE] win_usbferry_auto (20260917 | Detects win.usbferry.)
rule win_usbferry_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.usbferry."
        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.usbferry"
        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 = { 68ff030000 6a00 8d8da5f5ffff 51 }
            // n = 4, score = 200
            //   68ff030000           | push                0x3ff
            //   6a00                 | push                0
            //   8d8da5f5ffff         | lea                 ecx, [ebp - 0xa5b]
            //   51                   | push                ecx

        $sequence_1 = { 84c0 75f9 8d45e9 2bf8 }
            // n = 4, score = 200
            //   84c0                 | test                al, al
            //   75f9                 | jne                 0xfffffffb
            //   8d45e9               | lea                 eax, [ebp - 0x17]
            //   2bf8                 | sub                 edi, eax

        $sequence_2 = { 6a03 ba???????? 8938 e8???????? 59 85c0 752e }
            // n = 7, score = 200
            //   6a03                 | push                3
            //   ba????????           |                     
            //   8938                 | mov                 dword ptr [eax], edi
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   85c0                 | test                eax, eax
            //   752e                 | jne                 0x30

        $sequence_3 = { 77f5 897dfc 660f2fca 720e f20f59cd 47 }
            // n = 6, score = 200
            //   77f5                 | ja                  0xfffffff7
            //   897dfc               | mov                 dword ptr [ebp - 4], edi
            //   660f2fca             | comisd              xmm1, xmm2
            //   720e                 | jb                  0x10
            //   f20f59cd             | mulsd               xmm1, xmm5
            //   47                   | inc                 edi

        $sequence_4 = { 8d85f8fbffff 50 a1???????? ff5024 }
            // n = 4, score = 200
            //   8d85f8fbffff         | lea                 eax, [ebp - 0x408]
            //   50                   | push                eax
            //   a1????????           |                     
            //   ff5024               | call                dword ptr [eax + 0x24]

        $sequence_5 = { c685a9faffff61 c685aafaffff73 c685abfaffff6b c685acfaffff6b c685adfaffff69 c685aefaffff6c }
            // n = 6, score = 200
            //   c685a9faffff61       | mov                 byte ptr [ebp - 0x557], 0x61
            //   c685aafaffff73       | mov                 byte ptr [ebp - 0x556], 0x73
            //   c685abfaffff6b       | mov                 byte ptr [ebp - 0x555], 0x6b
            //   c685acfaffff6b       | mov                 byte ptr [ebp - 0x554], 0x6b
            //   c685adfaffff69       | mov                 byte ptr [ebp - 0x553], 0x69
            //   c685aefaffff6c       | mov                 byte ptr [ebp - 0x552], 0x6c

        $sequence_6 = { 89857cf5ffff 899578f5ffff 8d8da8faffff 83c1ff }
            // n = 4, score = 200
            //   89857cf5ffff         | mov                 dword ptr [ebp - 0xa84], eax
            //   899578f5ffff         | mov                 dword ptr [ebp - 0xa88], edx
            //   8d8da8faffff         | lea                 ecx, [ebp - 0x558]
            //   83c1ff               | add                 ecx, -1

        $sequence_7 = { 80bda3f5ffff00 75e2 8b859cf5ffff 2b858cf5ffff }
            // n = 4, score = 200
            //   80bda3f5ffff00       | cmp                 byte ptr [ebp - 0xa5d], 0
            //   75e2                 | jne                 0xffffffe4
            //   8b859cf5ffff         | mov                 eax, dword ptr [ebp - 0xa64]
            //   2b858cf5ffff         | sub                 eax, dword ptr [ebp - 0xa74]

        $sequence_8 = { 89467c 85ff 742a 3807 7426 }
            // n = 5, score = 200
            //   89467c               | mov                 dword ptr [esi + 0x7c], eax
            //   85ff                 | test                edi, edi
            //   742a                 | je                  0x2c
            //   3807                 | cmp                 byte ptr [edi], al
            //   7426                 | je                  0x28

        $sequence_9 = { 837d1404 7547 6a04 8d4d1c 51 }
            // n = 5, score = 200
            //   837d1404             | cmp                 dword ptr [ebp + 0x14], 4
            //   7547                 | jne                 0x49
            //   6a04                 | push                4
            //   8d4d1c               | lea                 ecx, [ebp + 0x1c]
            //   51                   | push                ecx

        $sequence_10 = { 57 e8???????? 8b54241c 83c40c 03fe 33f6 }
            // n = 6, score = 200
            //   57                   | push                edi
            //   e8????????           |                     
            //   8b54241c             | mov                 edx, dword ptr [esp + 0x1c]
            //   83c40c               | add                 esp, 0xc
            //   03fe                 | add                 edi, esi
            //   33f6                 | xor                 esi, esi

        $sequence_11 = { c645b872 c645b96f c645ba73 c645bb6f }
            // n = 4, score = 200
            //   c645b872             | mov                 byte ptr [ebp - 0x48], 0x72
            //   c645b96f             | mov                 byte ptr [ebp - 0x47], 0x6f
            //   c645ba73             | mov                 byte ptr [ebp - 0x46], 0x73
            //   c645bb6f             | mov                 byte ptr [ebp - 0x45], 0x6f

        $sequence_12 = { c645f664 c645f720 c645f82f c645f963 c645fa20 c645fb00 }
            // n = 6, score = 200
            //   c645f664             | mov                 byte ptr [ebp - 0xa], 0x64
            //   c645f720             | mov                 byte ptr [ebp - 9], 0x20
            //   c645f82f             | mov                 byte ptr [ebp - 8], 0x2f
            //   c645f963             | mov                 byte ptr [ebp - 7], 0x63
            //   c645fa20             | mov                 byte ptr [ebp - 6], 0x20
            //   c645fb00             | mov                 byte ptr [ebp - 5], 0

        $sequence_13 = { ff7110 8b9188000000 898184000000 8b09 }
            // n = 4, score = 200
            //   ff7110               | push                dword ptr [ecx + 0x10]
            //   8b9188000000         | mov                 edx, dword ptr [ecx + 0x88]
            //   898184000000         | mov                 dword ptr [ecx + 0x84], eax
            //   8b09                 | mov                 ecx, dword ptr [ecx]

        $sequence_14 = { 7413 83f910 7505 83ef02 eb06 }
            // n = 5, score = 200
            //   7413                 | je                  0x15
            //   83f910               | cmp                 ecx, 0x10
            //   7505                 | jne                 7
            //   83ef02               | sub                 edi, 2
            //   eb06                 | jmp                 8

        $sequence_15 = { 8b4de0 51 ff15???????? c745c000000000 6afe 8d55f0 }
            // n = 6, score = 200
            //   8b4de0               | mov                 ecx, dword ptr [ebp - 0x20]
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   c745c000000000       | mov                 dword ptr [ebp - 0x40], 0
            //   6afe                 | push                -2
            //   8d55f0               | lea                 edx, [ebp - 0x10]

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