SYMBOLCOMMON_NAMEaka. SYNONYMS
win.usbferry (Back to overview)

USBferry

Actor(s): Pirate Panda


There is no description at this point.

References
2021-12-01ESET ResearchAlexis Dorais-Joncas, Facundo Muñoz
@techreport{doraisjoncas:20211201:jumping:00bc8f5, author = {Alexis Dorais-Joncas and Facundo Muñoz}, title = {{Jumping the air gap: 15 years of nation‑state effort}}, date = {2021-12-01}, institution = {ESET Research}, url = {https://www.welivesecurity.com/wp-content/uploads/2021/12/eset_jumping_the_air_gap_wp.pdf}, language = {English}, urldate = {2021-12-17} } Jumping the air gap: 15 years of nation‑state effort
Agent.BTZ Fanny Flame Gauss PlugX Ramsay Retro Stuxnet USBCulprit USBferry
2020-05-12Trend MicroJoey Chen
@techreport{chen:20200512:tropic:a3285d0, author = {Joey Chen}, title = {{Tropic Trooper’s Back: USBferry Attack Targets Air-gapped Environments (Technical Brief)}}, date = {2020-05-12}, institution = {Trend Micro}, url = {https://documents.trendmicro.com/assets/Tech-Brief-Tropic-Trooper-s-Back-USBferry-Attack-Targets-Air-gapped-Environments.pdf}, language = {English}, urldate = {2020-05-14} } Tropic Trooper’s Back: USBferry Attack Targets Air-gapped Environments (Technical Brief)
USBferry
2020-05-12Trend MicroJoey Chen
@online{chen:20200512:tropic:8fff7a4, author = {Joey Chen}, title = {{Tropic Trooper’s Back: USBferry Attack Targets Air-gapped Environments}}, date = {2020-05-12}, organization = {Trend Micro}, url = {https://blog.trendmicro.com/trendlabs-security-intelligence/tropic-troopers-back-usbferry-attack-targets-air-gapped-environments/}, language = {English}, urldate = {2020-05-14} } Tropic Trooper’s Back: USBferry Attack Targets Air-gapped Environments
USBferry
Yara Rules
[TLP:WHITE] win_usbferry_auto (20230125 | Detects win.usbferry.)
rule win_usbferry_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        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 = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 56 57 33ff 57 6880000010 6a03 }
            // n = 6, score = 200
            //   56                   | push                esi
            //   57                   | push                edi
            //   33ff                 | xor                 edi, edi
            //   57                   | push                edi
            //   6880000010           | push                0x10000080
            //   6a03                 | push                3

        $sequence_1 = { 8b85a4f7ffff 50 ff15???????? b801000000 8b4dfc 33cd }
            // n = 6, score = 200
            //   8b85a4f7ffff         | mov                 eax, dword ptr [ebp - 0x85c]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   b801000000           | mov                 eax, 1
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   33cd                 | xor                 ecx, ebp

        $sequence_2 = { 8a4801 888da2f5ffff 838594f5ffff01 80bda2f5ffff00 75e1 }
            // n = 5, score = 200
            //   8a4801               | mov                 cl, byte ptr [eax + 1]
            //   888da2f5ffff         | mov                 byte ptr [ebp - 0xa5e], cl
            //   838594f5ffff01       | add                 dword ptr [ebp - 0xa6c], 1
            //   80bda2f5ffff00       | cmp                 byte ptr [ebp - 0xa5e], 0
            //   75e1                 | jne                 0xffffffe3

        $sequence_3 = { 8816 83c603 e9???????? 83c8ff eb05 }
            // n = 5, score = 200
            //   8816                 | mov                 byte ptr [esi], dl
            //   83c603               | add                 esi, 3
            //   e9????????           |                     
            //   83c8ff               | or                  eax, 0xffffffff
            //   eb05                 | jmp                 7

        $sequence_4 = { 6a00 6800000008 6a00 6a00 6a00 8d95f4f7ffff }
            // n = 6, score = 200
            //   6a00                 | push                0
            //   6800000008           | push                0x8000000
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   8d95f4f7ffff         | lea                 edx, [ebp - 0x80c]

        $sequence_5 = { e8???????? 83c40c 8d85c4e9ffff 50 a1???????? }
            // n = 5, score = 200
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8d85c4e9ffff         | lea                 eax, [ebp - 0x163c]
            //   50                   | push                eax
            //   a1????????           |                     

        $sequence_6 = { a1???????? 51 ff90a8000000 85c0 750c }
            // n = 5, score = 200
            //   a1????????           |                     
            //   51                   | push                ecx
            //   ff90a8000000         | call                dword ptr [eax + 0xa8]
            //   85c0                 | test                eax, eax
            //   750c                 | jne                 0xe

        $sequence_7 = { e8???????? 59 85c0 752e 6a09 59 }
            // n = 6, score = 200
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   85c0                 | test                eax, eax
            //   752e                 | jne                 0x30
            //   6a09                 | push                9
            //   59                   | pop                 ecx

        $sequence_8 = { f3a4 6a01 8d85a8faffff 50 e8???????? }
            // n = 5, score = 200
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   6a01                 | push                1
            //   8d85a8faffff         | lea                 eax, [ebp - 0x558]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_9 = { 8b4d14 51 6a00 8b5510 52 8b45e0 50 }
            // n = 7, score = 200
            //   8b4d14               | mov                 ecx, dword ptr [ebp + 0x14]
            //   51                   | push                ecx
            //   6a00                 | push                0
            //   8b5510               | mov                 edx, dword ptr [ebp + 0x10]
            //   52                   | push                edx
            //   8b45e0               | mov                 eax, dword ptr [ebp - 0x20]
            //   50                   | push                eax

        $sequence_10 = { 0f28c3 f20f11458c 53 56 8bf1 57 }
            // n = 6, score = 200
            //   0f28c3               | movaps              xmm0, xmm3
            //   f20f11458c           | movsd               qword ptr [ebp - 0x74], xmm0
            //   53                   | push                ebx
            //   56                   | push                esi
            //   8bf1                 | mov                 esi, ecx
            //   57                   | push                edi

        $sequence_11 = { 84db 0f94c0 83c00b eb43 }
            // n = 4, score = 200
            //   84db                 | test                bl, bl
            //   0f94c0               | sete                al
            //   83c00b               | add                 eax, 0xb
            //   eb43                 | jmp                 0x45

        $sequence_12 = { c645b96f c645ba73 c645bb6f c645bc66 c645bd74 c645be5c c645bf57 }
            // n = 7, score = 200
            //   c645b96f             | mov                 byte ptr [ebp - 0x47], 0x6f
            //   c645ba73             | mov                 byte ptr [ebp - 0x46], 0x73
            //   c645bb6f             | mov                 byte ptr [ebp - 0x45], 0x6f
            //   c645bc66             | mov                 byte ptr [ebp - 0x44], 0x66
            //   c645bd74             | mov                 byte ptr [ebp - 0x43], 0x74
            //   c645be5c             | mov                 byte ptr [ebp - 0x42], 0x5c
            //   c645bf57             | mov                 byte ptr [ebp - 0x41], 0x57

        $sequence_13 = { c785dcf7ffff01000000 33d2 8995a0f7ffff 8995a4f7ffff 8995a8f7ffff 8995acf7ffff }
            // n = 6, score = 200
            //   c785dcf7ffff01000000     | mov    dword ptr [ebp - 0x824], 1
            //   33d2                 | xor                 edx, edx
            //   8995a0f7ffff         | mov                 dword ptr [ebp - 0x860], edx
            //   8995a4f7ffff         | mov                 dword ptr [ebp - 0x85c], edx
            //   8995a8f7ffff         | mov                 dword ptr [ebp - 0x858], edx
            //   8995acf7ffff         | mov                 dword ptr [ebp - 0x854], edx

        $sequence_14 = { 42 46 83ef01 75f1 5f }
            // n = 5, score = 200
            //   42                   | inc                 edx
            //   46                   | inc                 esi
            //   83ef01               | sub                 edi, 1
            //   75f1                 | jne                 0xfffffff3
            //   5f                   | pop                 edi

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

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