SYMBOLCOMMON_NAMEaka. SYNONYMS
win.spaceship (Back to overview)

SPACESHIP

Actor(s): APT 30


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-04FireEyeFireEye
@techreport{fireeye:201504:apt30:0129bf7, author = {FireEye}, title = {{APT30 AND THE MECHANICS OF A LONG-RUNNING CYBER ESPIONAGE OPERATION}}, date = {2015-04}, institution = {FireEye}, url = {https://www2.fireeye.com/rs/fireye/images/rpt-apt30.pdf}, language = {English}, urldate = {2020-01-07} } 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 APT 30
Yara Rules
[TLP:WHITE] win_spaceship_auto (20220411 | Detects win.spaceship.)
rule win_spaceship_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        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 = "20220405"
        malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a"
        malpedia_version = "20220411"
        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 = { a9ff030000 7401 46 8d442424 8d4c2448 50 51 }
            // n = 7, score = 100
            //   a9ff030000           | test                eax, 0x3ff
            //   7401                 | je                  3
            //   46                   | inc                 esi
            //   8d442424             | lea                 eax, dword ptr [esp + 0x24]
            //   8d4c2448             | lea                 ecx, dword ptr [esp + 0x48]
            //   50                   | push                eax
            //   51                   | push                ecx

        $sequence_1 = { 56 55 e8???????? 8b07 83c408 }
            // n = 5, score = 100
            //   56                   | push                esi
            //   55                   | push                ebp
            //   e8????????           |                     
            //   8b07                 | mov                 eax, dword ptr [edi]
            //   83c408               | add                 esp, 8

        $sequence_2 = { 51 68???????? 52 e8???????? 83c40c 85c0 0f848b000000 }
            // n = 7, score = 100
            //   51                   | push                ecx
            //   68????????           |                     
            //   52                   | push                edx
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   85c0                 | test                eax, eax
            //   0f848b000000         | je                  0x91

        $sequence_3 = { e8???????? 83c404 8b5c2418 8d4c242c 51 53 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8b5c2418             | mov                 ebx, dword ptr [esp + 0x18]
            //   8d4c242c             | lea                 ecx, dword ptr [esp + 0x2c]
            //   51                   | push                ecx
            //   53                   | push                ebx

        $sequence_4 = { 6800010000 51 e8???????? b801000000 8dbc2418010000 a3???????? }
            // n = 6, score = 100
            //   6800010000           | push                0x100
            //   51                   | push                ecx
            //   e8????????           |                     
            //   b801000000           | mov                 eax, 1
            //   8dbc2418010000       | lea                 edi, dword ptr [esp + 0x118]
            //   a3????????           |                     

        $sequence_5 = { 50 8d8c2488010000 56 51 }
            // n = 4, score = 100
            //   50                   | push                eax
            //   8d8c2488010000       | lea                 ecx, dword ptr [esp + 0x188]
            //   56                   | push                esi
            //   51                   | push                ecx

        $sequence_6 = { 50 68???????? e8???????? 68???????? e8???????? 8d4c2414 }
            // n = 6, score = 100
            //   50                   | push                eax
            //   68????????           |                     
            //   e8????????           |                     
            //   68????????           |                     
            //   e8????????           |                     
            //   8d4c2414             | lea                 ecx, dword ptr [esp + 0x14]

        $sequence_7 = { e8???????? 83c408 85c0 0f84bb000000 8d542408 6a5c 52 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   85c0                 | test                eax, eax
            //   0f84bb000000         | je                  0xc1
            //   8d542408             | lea                 edx, dword ptr [esp + 8]
            //   6a5c                 | push                0x5c
            //   52                   | push                edx

        $sequence_8 = { 8d4c241c 50 51 56 ff15???????? 57 }
            // n = 6, score = 100
            //   8d4c241c             | lea                 ecx, dword ptr [esp + 0x1c]
            //   50                   | push                eax
            //   51                   | push                ecx
            //   56                   | push                esi
            //   ff15????????         |                     
            //   57                   | push                edi

        $sequence_9 = { 3bc5 0f84fa020000 55 6a02 e8???????? 8bd8 83fbff }
            // n = 7, score = 100
            //   3bc5                 | cmp                 eax, ebp
            //   0f84fa020000         | je                  0x300
            //   55                   | push                ebp
            //   6a02                 | push                2
            //   e8????????           |                     
            //   8bd8                 | mov                 ebx, eax
            //   83fbff               | cmp                 ebx, -1

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