SYMBOLCOMMON_NAMEaka. SYNONYMS
win.shipshape (Back to overview)

SHIPSHAPE

Actor(s): APT 30


SHIPSHAPE is malware developed by APT30 that allows propagation and exfiltration of data over removable devices. APT30 may use this capability to exfiltrate data across air-gaps.

References
2015-04-15FireEyeFireEye
@techreport{fireeye:20150415:apt30:d09a09c, author = {FireEye}, title = {{APT30 and the Mechanics of a Long-Running Cyber Espionage Campaign}}, date = {2015-04-15}, institution = {FireEye}, url = {https://www.mandiant.com/sites/default/files/2021-09/rpt-apt30.pdf}, language = {English}, urldate = {2022-08-25} } APT30 and the Mechanics of a Long-Running Cyber Espionage Campaign
backspace FLASHFLOOD NETEAGLE SHIPSHAPE SPACESHIP APT30
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 APT30
Yara Rules
[TLP:WHITE] win_shipshape_auto (20221125 | Detects win.shipshape.)
rule win_shipshape_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-11-21"
        version = "1"
        description = "Detects win.shipshape."
        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.shipshape"
        malpedia_rule_date = "20221118"
        malpedia_hash = "e0702e2e6d1d00da65c8a29a4ebacd0a4c59e1af"
        malpedia_version = "20221125"
        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 = { 8b4004 89442418 a1???????? 03c5 2bd8 8d0419 89542420 }
            // n = 7, score = 100
            //   8b4004               | mov                 eax, dword ptr [eax + 4]
            //   89442418             | mov                 dword ptr [esp + 0x18], eax
            //   a1????????           |                     
            //   03c5                 | add                 eax, ebp
            //   2bd8                 | sub                 ebx, eax
            //   8d0419               | lea                 eax, [ecx + ebx]
            //   89542420             | mov                 dword ptr [esp + 0x20], edx

        $sequence_1 = { 57 53 6a03 57 6a01 6800000080 8d8590000000 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   53                   | push                ebx
            //   6a03                 | push                3
            //   57                   | push                edi
            //   6a01                 | push                1
            //   6800000080           | push                0x80000000
            //   8d8590000000         | lea                 eax, [ebp + 0x90]

        $sequence_2 = { ff15???????? 8bf0 e9???????? 5d 8b8c2450050000 5f }
            // n = 6, score = 100
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   e9????????           |                     
            //   5d                   | pop                 ebp
            //   8b8c2450050000       | mov                 ecx, dword ptr [esp + 0x550]
            //   5f                   | pop                 edi

        $sequence_3 = { 81ec40060000 a1???????? 33c4 8984243c060000 }
            // n = 4, score = 100
            //   81ec40060000         | sub                 esp, 0x640
            //   a1????????           |                     
            //   33c4                 | xor                 eax, esp
            //   8984243c060000       | mov                 dword ptr [esp + 0x63c], eax

        $sequence_4 = { 6a01 8d4c2454 51 55 ff15???????? 85c0 }
            // n = 6, score = 100
            //   6a01                 | push                1
            //   8d4c2454             | lea                 ecx, [esp + 0x54]
            //   51                   | push                ecx
            //   55                   | push                ebp
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax

        $sequence_5 = { 5b c20400 8bbc9f0c010000 8bc7 8d5002 668b08 83c002 }
            // n = 7, score = 100
            //   5b                   | pop                 ebx
            //   c20400               | ret                 4
            //   8bbc9f0c010000       | mov                 edi, dword ptr [edi + ebx*4 + 0x10c]
            //   8bc7                 | mov                 eax, edi
            //   8d5002               | lea                 edx, [eax + 2]
            //   668b08               | mov                 cx, word ptr [eax]
            //   83c002               | add                 eax, 2

        $sequence_6 = { 85c0 7404 33c0 59 c3 8b542410 8bc2 }
            // n = 7, score = 100
            //   85c0                 | test                eax, eax
            //   7404                 | je                  6
            //   33c0                 | xor                 eax, eax
            //   59                   | pop                 ecx
            //   c3                   | ret                 
            //   8b542410             | mov                 edx, dword ptr [esp + 0x10]
            //   8bc2                 | mov                 eax, edx

        $sequence_7 = { 5e 5f 5b c3 8d44240c 50 }
            // n = 6, score = 100
            //   5e                   | pop                 esi
            //   5f                   | pop                 edi
            //   5b                   | pop                 ebx
            //   c3                   | ret                 
            //   8d44240c             | lea                 eax, [esp + 0xc]
            //   50                   | push                eax

        $sequence_8 = { 50 ffd6 8b0d???????? 8b5104 52 ffd6 }
            // n = 6, score = 100
            //   50                   | push                eax
            //   ffd6                 | call                esi
            //   8b0d????????         |                     
            //   8b5104               | mov                 edx, dword ptr [ecx + 4]
            //   52                   | push                edx
            //   ffd6                 | call                esi

        $sequence_9 = { a1???????? 8b4c2418 3b08 0f858a000000 8b500c 895010 8b0d???????? }
            // n = 7, score = 100
            //   a1????????           |                     
            //   8b4c2418             | mov                 ecx, dword ptr [esp + 0x18]
            //   3b08                 | cmp                 ecx, dword ptr [eax]
            //   0f858a000000         | jne                 0x90
            //   8b500c               | mov                 edx, dword ptr [eax + 0xc]
            //   895010               | mov                 dword ptr [eax + 0x10], edx
            //   8b0d????????         |                     

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