SYMBOLCOMMON_NAMEaka. SYNONYMS
win.phoreal (Back to overview)

PHOREAL

aka: Rizzo

Actor(s): APT32


Phoreal is a very simple backdoor that is capable of creating a reverse shell, performing simple file I/O and top-level window enumeration. It communicates to a list of four preconfigured C2 servers via ICMP on port 53

References
2020SecureworksSecureWorks
@online{secureworks:2020:tin:ccd6795, author = {SecureWorks}, title = {{TIN WOODLAWN}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/tin-woodlawn}, language = {English}, urldate = {2020-05-23} } TIN WOODLAWN
Cobalt Strike KerrDown MimiKatz PHOREAL RatSnif Remy SOUNDBITE APT32
2018-11-02CylanceCylance
@techreport{cylance:20181102:spyrats:67888b3, author = {Cylance}, title = {{The SpyRATs of OceanLotus}}, date = {2018-11-02}, institution = {Cylance}, url = {https://www.cylance.com/content/dam/cylance-web/en-us/resources/knowledge-center/resource-library/reports/SpyRATsofOceanLotusMalwareWhitePaper.pdf}, language = {English}, urldate = {2020-01-10} } The SpyRATs of OceanLotus
KOMPROGO PHOREAL
Yara Rules
[TLP:WHITE] win_phoreal_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_phoreal_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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.phoreal"
        malpedia_rule_date = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { 51 8d0416 50 8bcf e8???????? 83c40c 85c0 }
            // n = 7, score = 200
            //   51                   | push                ecx
            //   8d0416               | lea                 eax, [esi + edx]
            //   50                   | push                eax
            //   8bcf                 | mov                 ecx, edi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   85c0                 | test                eax, eax

        $sequence_1 = { c745ac00000000 66894d9c 3975e8 720c 8b55d4 52 e8???????? }
            // n = 7, score = 200
            //   c745ac00000000       | mov                 dword ptr [ebp - 0x54], 0
            //   66894d9c             | mov                 word ptr [ebp - 0x64], cx
            //   3975e8               | cmp                 dword ptr [ebp - 0x18], esi
            //   720c                 | jb                  0xe
            //   8b55d4               | mov                 edx, dword ptr [ebp - 0x2c]
            //   52                   | push                edx
            //   e8????????           |                     

        $sequence_2 = { 8b1d???????? 8b4510 8b4d0c 50 8b4508 56 8d140f }
            // n = 7, score = 200
            //   8b1d????????         |                     
            //   8b4510               | mov                 eax, dword ptr [ebp + 0x10]
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   50                   | push                eax
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   56                   | push                esi
            //   8d140f               | lea                 edx, [edi + ecx]

        $sequence_3 = { 8965f0 8bf1 8b7d08 8b07 8b4804 8b4c3938 33db }
            // n = 7, score = 200
            //   8965f0               | mov                 dword ptr [ebp - 0x10], esp
            //   8bf1                 | mov                 esi, ecx
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   8b07                 | mov                 eax, dword ptr [edi]
            //   8b4804               | mov                 ecx, dword ptr [eax + 4]
            //   8b4c3938             | mov                 ecx, dword ptr [ecx + edi + 0x38]
            //   33db                 | xor                 ebx, ebx

        $sequence_4 = { 83c8ff 89857cffffff 898570ffffff 33c0 6a40 898558ffffff 89855cffffff }
            // n = 7, score = 200
            //   83c8ff               | or                  eax, 0xffffffff
            //   89857cffffff         | mov                 dword ptr [ebp - 0x84], eax
            //   898570ffffff         | mov                 dword ptr [ebp - 0x90], eax
            //   33c0                 | xor                 eax, eax
            //   6a40                 | push                0x40
            //   898558ffffff         | mov                 dword ptr [ebp - 0xa8], eax
            //   89855cffffff         | mov                 dword ptr [ebp - 0xa4], eax

        $sequence_5 = { ff15???????? e9???????? be01000000 89b550ffffff e8???????? 8d4586 56 }
            // n = 7, score = 200
            //   ff15????????         |                     
            //   e9????????           |                     
            //   be01000000           | mov                 esi, 1
            //   89b550ffffff         | mov                 dword ptr [ebp - 0xb0], esi
            //   e8????????           |                     
            //   8d4586               | lea                 eax, [ebp - 0x7a]
            //   56                   | push                esi

        $sequence_6 = { 6a00 50 895350 c7434002000000 e8???????? 8b7c2424 }
            // n = 6, score = 200
            //   6a00                 | push                0
            //   50                   | push                eax
            //   895350               | mov                 dword ptr [ebx + 0x50], edx
            //   c7434002000000       | mov                 dword ptr [ebx + 0x40], 2
            //   e8????????           |                     
            //   8b7c2424             | mov                 edi, dword ptr [esp + 0x24]

        $sequence_7 = { 6a35 50 894589 89458d 894591 894595 894599 }
            // n = 7, score = 200
            //   6a35                 | push                0x35
            //   50                   | push                eax
            //   894589               | mov                 dword ptr [ebp - 0x77], eax
            //   89458d               | mov                 dword ptr [ebp - 0x73], eax
            //   894591               | mov                 dword ptr [ebp - 0x6f], eax
            //   894595               | mov                 dword ptr [ebp - 0x6b], eax
            //   894599               | mov                 dword ptr [ebp - 0x67], eax

        $sequence_8 = { 40 8945e8 03c0 03c0 833c0100 0f8507ffffff }
            // n = 6, score = 200
            //   40                   | inc                 eax
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax
            //   03c0                 | add                 eax, eax
            //   03c0                 | add                 eax, eax
            //   833c0100             | cmp                 dword ptr [ecx + eax], 0
            //   0f8507ffffff         | jne                 0xffffff0d

        $sequence_9 = { 0f84ab000000 8b4d24 2bc3 8b5d8c }
            // n = 4, score = 200
            //   0f84ab000000         | je                  0xb1
            //   8b4d24               | mov                 ecx, dword ptr [ebp + 0x24]
            //   2bc3                 | sub                 eax, ebx
            //   8b5d8c               | mov                 ebx, dword ptr [ebp - 0x74]

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