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 (20210616 | Detects win.phoreal.)
rule win_phoreal_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-06-10"
        version = "1"
        description = "Detects win.phoreal."
        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.phoreal"
        malpedia_rule_date = "20210604"
        malpedia_hash = "be09d5d71e77373c0f538068be31a2ad4c69cfbd"
        malpedia_version = "20210616"
        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 = { 890d???????? 83f801 7507 a3???????? eb0a 83f802 7505 }
            // n = 7, score = 200
            //   890d????????         |                     
            //   83f801               | cmp                 eax, 1
            //   7507                 | jne                 9
            //   a3????????           |                     
            //   eb0a                 | jmp                 0xc
            //   83f802               | cmp                 eax, 2
            //   7505                 | jne                 7

        $sequence_1 = { 83f9ff 7471 833902 7522 8b4908 6a00 }
            // n = 6, score = 200
            //   83f9ff               | cmp                 ecx, -1
            //   7471                 | je                  0x73
            //   833902               | cmp                 dword ptr [ecx], 2
            //   7522                 | jne                 0x24
            //   8b4908               | mov                 ecx, dword ptr [ecx + 8]
            //   6a00                 | push                0

        $sequence_2 = { c78568ffffff8475f3c7 c7856cffffffd06fdae1 c78570ffffffb415e5e4 c78574ffffff8992f2a7 c78578ffffffaa9e9aee c7857cffffff89a5c199 c7458067cc6aaf }
            // n = 7, score = 200
            //   c78568ffffff8475f3c7     | mov    dword ptr [ebp - 0x98], 0xc7f37584
            //   c7856cffffffd06fdae1     | mov    dword ptr [ebp - 0x94], 0xe1da6fd0
            //   c78570ffffffb415e5e4     | mov    dword ptr [ebp - 0x90], 0xe4e515b4
            //   c78574ffffff8992f2a7     | mov    dword ptr [ebp - 0x8c], 0xa7f29289
            //   c78578ffffffaa9e9aee     | mov    dword ptr [ebp - 0x88], 0xee9a9eaa
            //   c7857cffffff89a5c199     | mov    dword ptr [ebp - 0x84], 0x99c1a589
            //   c7458067cc6aaf       | mov                 dword ptr [ebp - 0x80], 0xaf6acc67

        $sequence_3 = { 50 e8???????? 83c404 be10000000 3975e8 720c 8b4dd4 }
            // n = 7, score = 200
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   be10000000           | mov                 esi, 0x10
            //   3975e8               | cmp                 dword ptr [ebp - 0x18], esi
            //   720c                 | jb                  0xe
            //   8b4dd4               | mov                 ecx, dword ptr [ebp - 0x2c]

        $sequence_4 = { ffd7 895e18 8b4614 3bc3 740b }
            // n = 5, score = 200
            //   ffd7                 | call                edi
            //   895e18               | mov                 dword ptr [esi + 0x18], ebx
            //   8b4614               | mov                 eax, dword ptr [esi + 0x14]
            //   3bc3                 | cmp                 eax, ebx
            //   740b                 | je                  0xd

        $sequence_5 = { 51 56 e8???????? 8b4f04 ba23499204 2bd1 83fa01 }
            // n = 7, score = 200
            //   51                   | push                ecx
            //   56                   | push                esi
            //   e8????????           |                     
            //   8b4f04               | mov                 ecx, dword ptr [edi + 4]
            //   ba23499204           | mov                 edx, 0x4924923
            //   2bd1                 | sub                 edx, ecx
            //   83fa01               | cmp                 edx, 1

        $sequence_6 = { 83c40c 89b564ffffff 8b8564ffffff 8b8d68ffffff 2bc6 2bce }
            // n = 6, score = 200
            //   83c40c               | add                 esp, 0xc
            //   89b564ffffff         | mov                 dword ptr [ebp - 0x9c], esi
            //   8b8564ffffff         | mov                 eax, dword ptr [ebp - 0x9c]
            //   8b8d68ffffff         | mov                 ecx, dword ptr [ebp - 0x98]
            //   2bc6                 | sub                 eax, esi
            //   2bce                 | sub                 ecx, esi

        $sequence_7 = { 3bfb 7409 57 e8???????? 83c404 8b4df4 }
            // n = 6, score = 200
            //   3bfb                 | cmp                 edi, ebx
            //   7409                 | je                  0xb
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]

        $sequence_8 = { 8db550ffffff c645fc17 e8???????? 8db558feffff }
            // n = 4, score = 200
            //   8db550ffffff         | lea                 esi, dword ptr [ebp - 0xb0]
            //   c645fc17             | mov                 byte ptr [ebp - 4], 0x17
            //   e8????????           |                     
            //   8db558feffff         | lea                 esi, dword ptr [ebp - 0x1a8]

        $sequence_9 = { 83c40c 57 52 53 }
            // n = 4, score = 200
            //   83c40c               | add                 esp, 0xc
            //   57                   | push                edi
            //   52                   | push                edx
            //   53                   | push                ebx

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