SYMBOLCOMMON_NAMEaka. SYNONYMS
win.spaceship (Back to overview)

SPACESHIP

Actor(s): APT 30

VTCollection    

SPACESHIP searches for files with a specified set of file extensions and copies them to
a removable drive. FireEye believes that SHIPSHAPE is used to copy SPACESHIP to a removable drive,
which could be used to infect another victim computer, including an air-gapped computer. SPACESHIP is
then used to steal documents from the air-gapped system, copying them to a removable drive inserted
into the SPACESHIP-infected system

References
2015-04-15 ⋅ FireEye ⋅ FireEye
APT30 and the Mechanics of a Long-Running Cyber Espionage Campaign
backspace FLASHFLOOD NETEAGLE SHIPSHAPE SPACESHIP APT30
2015-04-01 ⋅ FireEye ⋅ FireEye
APT30 AND THE MECHANICS OF A LONG-RUNNING CYBER ESPIONAGE OPERATION
BACKBEND backspace CREAMSICLE FLASHFLOOD GEMCUTTER MILKMAID Naikon NETEAGLE ORANGEADE SHIPSHAPE SPACESHIP SslMM Sys10 WinMM xsPlus APT30
Yara Rules
[TLP:WHITE] win_spaceship_auto (20260917 | Detects win.spaceship.)
rule win_spaceship_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.spaceship."
        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.spaceship"
        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 = { 85c0 7c37 80bc244801000042 7e2d }
            // n = 4, score = 100
            //   85c0                 | test                eax, eax
            //   7c37                 | jl                  0x39
            //   80bc244801000042     | cmp                 byte ptr [esp + 0x148], 0x42
            //   7e2d                 | jle                 0x2f

        $sequence_1 = { 8bf0 c1f905 83e61f 8d3c8d00ec4100 c1e603 8b0f f644310401 }
            // n = 7, score = 100
            //   8bf0                 | mov                 esi, eax
            //   c1f905               | sar                 ecx, 5
            //   83e61f               | and                 esi, 0x1f
            //   8d3c8d00ec4100       | lea                 edi, [ecx*4 + 0x41ec00]
            //   c1e603               | shl                 esi, 3
            //   8b0f                 | mov                 ecx, dword ptr [edi]
            //   f644310401           | test                byte ptr [ecx + esi + 4], 1

        $sequence_2 = { 0f842d010000 8b55f0 8b45f4 2b0495284c4100 }
            // n = 4, score = 100
            //   0f842d010000         | je                  0x133
            //   8b55f0               | mov                 edx, dword ptr [ebp - 0x10]
            //   8b45f4               | mov                 eax, dword ptr [ebp - 0xc]
            //   2b0495284c4100       | sub                 eax, dword ptr [edx*4 + 0x414c28]

        $sequence_3 = { f3a5 8bc8 23cd f3a4 5f 5e 5d }
            // n = 7, score = 100
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8bc8                 | mov                 ecx, eax
            //   23cd                 | and                 ecx, ebp
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp

        $sequence_4 = { 50 6800020000 ff15???????? 85c0 7454 8a442404 84c0 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   6800020000           | push                0x200
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7454                 | je                  0x56
            //   8a442404             | mov                 al, byte ptr [esp + 4]
            //   84c0                 | test                al, al

        $sequence_5 = { 7e20 56 8b74240c 8a0431 02c1 }
            // n = 5, score = 100
            //   7e20                 | jle                 0x22
            //   56                   | push                esi
            //   8b74240c             | mov                 esi, dword ptr [esp + 0xc]
            //   8a0431               | mov                 al, byte ptr [ecx + esi]
            //   02c1                 | add                 al, cl

        $sequence_6 = { 52 8d7801 c60000 e8???????? 83c408 85c0 0f849e000000 }
            // n = 7, score = 100
            //   52                   | push                edx
            //   8d7801               | lea                 edi, [eax + 1]
            //   c60000               | mov                 byte ptr [eax], 0
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   85c0                 | test                eax, eax
            //   0f849e000000         | je                  0xa4

        $sequence_7 = { ff15???????? 0c06 50 8d842410020000 }
            // n = 4, score = 100
            //   ff15????????         |                     
            //   0c06                 | or                  al, 6
            //   50                   | push                eax
            //   8d842410020000       | lea                 eax, [esp + 0x210]

        $sequence_8 = { 53 ff542428 8d8c2454020000 51 e8???????? }
            // n = 5, score = 100
            //   53                   | push                ebx
            //   ff542428             | call                dword ptr [esp + 0x28]
            //   8d8c2454020000       | lea                 ecx, [esp + 0x254]
            //   51                   | push                ecx
            //   e8????????           |                     

        $sequence_9 = { 33c0 8d9c24e4000000 f2ae f7d1 2bf9 8bf7 }
            // n = 6, score = 100
            //   33c0                 | xor                 eax, eax
            //   8d9c24e4000000       | lea                 ebx, [esp + 0xe4]
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   f7d1                 | not                 ecx
            //   2bf9                 | sub                 edi, ecx
            //   8bf7                 | mov                 esi, edi

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