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
2022-03-07ElasticDaniel Stepanic, Derek Ditch, Joe Desimone, Cyril François, Github (@1337-42), Samir Bousseaden, Andrew Pease
@online{stepanic:20220307:phoreal:f982397, author = {Daniel Stepanic and Derek Ditch and Joe Desimone and Cyril François and Github (@1337-42) and Samir Bousseaden and Andrew Pease}, title = {{PHOREAL Malware Targets the Southeast Asian Financial Sector}}, date = {2022-03-07}, organization = {Elastic}, url = {https://elastic.github.io/security-research/intelligence/2022/03/02.phoreal-targets-southeast-asia-financial-sector/article/}, language = {English}, urldate = {2022-03-08} } PHOREAL Malware Targets the Southeast Asian Financial Sector
PHOREAL
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 (20221125 | Detects win.phoreal.)
rule win_phoreal_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-11-21"
        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 = "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 = { 8b01 8b5018 ffd2 8bd8 8bff 83fbff }
            // n = 6, score = 200
            //   8b01                 | mov                 eax, dword ptr [ecx]
            //   8b5018               | mov                 edx, dword ptr [eax + 0x18]
            //   ffd2                 | call                edx
            //   8bd8                 | mov                 ebx, eax
            //   8bff                 | mov                 edi, edi
            //   83fbff               | cmp                 ebx, -1

        $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 = { 8b36 6a00 8d45f4 50 53 56 8b75f0 }
            // n = 7, score = 200
            //   8b36                 | mov                 esi, dword ptr [esi]
            //   6a00                 | push                0
            //   8d45f4               | lea                 eax, [ebp - 0xc]
            //   50                   | push                eax
            //   53                   | push                ebx
            //   56                   | push                esi
            //   8b75f0               | mov                 esi, dword ptr [ebp - 0x10]

        $sequence_3 = { 85db 0f8415010000 8b4b0c 833900 c745e800000000 0f8402010000 33c0 }
            // n = 7, score = 200
            //   85db                 | test                ebx, ebx
            //   0f8415010000         | je                  0x11b
            //   8b4b0c               | mov                 ecx, dword ptr [ebx + 0xc]
            //   833900               | cmp                 dword ptr [ecx], 0
            //   c745e800000000       | mov                 dword ptr [ebp - 0x18], 0
            //   0f8402010000         | je                  0x108
            //   33c0                 | xor                 eax, eax

        $sequence_4 = { 8a03 3c7f 75d3 837de410 7208 8b45d0 8945b0 }
            // n = 7, score = 200
            //   8a03                 | mov                 al, byte ptr [ebx]
            //   3c7f                 | cmp                 al, 0x7f
            //   75d3                 | jne                 0xffffffd5
            //   837de410             | cmp                 dword ptr [ebp - 0x1c], 0x10
            //   7208                 | jb                  0xa
            //   8b45d0               | mov                 eax, dword ptr [ebp - 0x30]
            //   8945b0               | mov                 dword ptr [ebp - 0x50], eax

        $sequence_5 = { 51 ff15???????? 8b530c 52 ff15???????? eb12 6a02 }
            // n = 7, score = 200
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   8b530c               | mov                 edx, dword ptr [ebx + 0xc]
            //   52                   | push                edx
            //   ff15????????         |                     
            //   eb12                 | jmp                 0x14
            //   6a02                 | push                2

        $sequence_6 = { 8b8e88000000 51 e8???????? 83c404 33d2 89be9c000000 899e98000000 }
            // n = 7, score = 200
            //   8b8e88000000         | mov                 ecx, dword ptr [esi + 0x88]
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   33d2                 | xor                 edx, edx
            //   89be9c000000         | mov                 dword ptr [esi + 0x9c], edi
            //   899e98000000         | mov                 dword ptr [esi + 0x98], ebx

        $sequence_7 = { 0f8488030000 8d8df8feffff 51 ff15???????? 8b8570ffffff 33d2 8d4d08 }
            // n = 7, score = 200
            //   0f8488030000         | je                  0x38e
            //   8d8df8feffff         | lea                 ecx, [ebp - 0x108]
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   8b8570ffffff         | mov                 eax, dword ptr [ebp - 0x90]
            //   33d2                 | xor                 edx, edx
            //   8d4d08               | lea                 ecx, [ebp + 8]

        $sequence_8 = { 2bc2 c1f802 3dfeffff3f 0f871c010000 }
            // n = 4, score = 200
            //   2bc2                 | sub                 eax, edx
            //   c1f802               | sar                 eax, 2
            //   3dfeffff3f           | cmp                 eax, 0x3ffffffe
            //   0f871c010000         | ja                  0x122

        $sequence_9 = { c785e0fdffff07000000 899ddcfdffff 66898dccfdffff e8???????? 8bd6 3bfa }
            // n = 6, score = 200
            //   c785e0fdffff07000000     | mov    dword ptr [ebp - 0x220], 7
            //   899ddcfdffff         | mov                 dword ptr [ebp - 0x224], ebx
            //   66898dccfdffff       | mov                 word ptr [ebp - 0x234], cx
            //   e8????????           |                     
            //   8bd6                 | mov                 edx, esi
            //   3bfa                 | cmp                 edi, edx

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