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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        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 = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 8b7604 f7de 1bf6 8d4d9c f7d6 e8???????? 23758c }
            // n = 7, score = 200
            //   8b7604               | mov                 esi, dword ptr [esi + 4]
            //   f7de                 | neg                 esi
            //   1bf6                 | sbb                 esi, esi
            //   8d4d9c               | lea                 ecx, [ebp - 0x64]
            //   f7d6                 | not                 esi
            //   e8????????           |                     
            //   23758c               | and                 esi, dword ptr [ebp - 0x74]

        $sequence_1 = { 8b0d???????? e8???????? 8b15???????? 52 e8???????? 8b1d???????? 83c404 }
            // n = 7, score = 200
            //   8b0d????????         |                     
            //   e8????????           |                     
            //   8b15????????         |                     
            //   52                   | push                edx
            //   e8????????           |                     
            //   8b1d????????         |                     
            //   83c404               | add                 esp, 4

        $sequence_2 = { 51 894708 8b3d???????? 50 ffd7 c745dc00000000 }
            // n = 6, score = 200
            //   51                   | push                ecx
            //   894708               | mov                 dword ptr [edi + 8], eax
            //   8b3d????????         |                     
            //   50                   | push                eax
            //   ffd7                 | call                edi
            //   c745dc00000000       | mov                 dword ptr [ebp - 0x24], 0

        $sequence_3 = { c20400 6a02 50 52 8b5108 52 ff15???????? }
            // n = 7, score = 200
            //   c20400               | ret                 4
            //   6a02                 | push                2
            //   50                   | push                eax
            //   52                   | push                edx
            //   8b5108               | mov                 edx, dword ptr [ecx + 8]
            //   52                   | push                edx
            //   ff15????????         |                     

        $sequence_4 = { 8b54245c 51 8b4c245c 52 8b542458 51 48 }
            // n = 7, score = 200
            //   8b54245c             | mov                 edx, dword ptr [esp + 0x5c]
            //   51                   | push                ecx
            //   8b4c245c             | mov                 ecx, dword ptr [esp + 0x5c]
            //   52                   | push                edx
            //   8b542458             | mov                 edx, dword ptr [esp + 0x58]
            //   51                   | push                ecx
            //   48                   | dec                 eax

        $sequence_5 = { 8d8c24e8000000 e8???????? 4e 83fe01 0f868e000000 83c31c }
            // n = 6, score = 200
            //   8d8c24e8000000       | lea                 ecx, [esp + 0xe8]
            //   e8????????           |                     
            //   4e                   | dec                 esi
            //   83fe01               | cmp                 esi, 1
            //   0f868e000000         | jbe                 0x94
            //   83c31c               | add                 ebx, 0x1c

        $sequence_6 = { 8b5de0 895e0c 8945d4 8b4610 8955dc 8b55e4 895610 }
            // n = 7, score = 200
            //   8b5de0               | mov                 ebx, dword ptr [ebp - 0x20]
            //   895e0c               | mov                 dword ptr [esi + 0xc], ebx
            //   8945d4               | mov                 dword ptr [ebp - 0x2c], eax
            //   8b4610               | mov                 eax, dword ptr [esi + 0x10]
            //   8955dc               | mov                 dword ptr [ebp - 0x24], edx
            //   8b55e4               | mov                 edx, dword ptr [ebp - 0x1c]
            //   895610               | mov                 dword ptr [esi + 0x10], edx

        $sequence_7 = { e8???????? 8d956cffffff 8d8d50ffffff e8???????? }
            // n = 4, score = 200
            //   e8????????           |                     
            //   8d956cffffff         | lea                 edx, [ebp - 0x94]
            //   8d8d50ffffff         | lea                 ecx, [ebp - 0xb0]
            //   e8????????           |                     

        $sequence_8 = { 0fb68ddcfeffff 8b95d4feffff 0fb685e0feffff 880a 8b8dd0feffff 8a55ec 8801 }
            // n = 7, score = 200
            //   0fb68ddcfeffff       | movzx               ecx, byte ptr [ebp - 0x124]
            //   8b95d4feffff         | mov                 edx, dword ptr [ebp - 0x12c]
            //   0fb685e0feffff       | movzx               eax, byte ptr [ebp - 0x120]
            //   880a                 | mov                 byte ptr [edx], cl
            //   8b8dd0feffff         | mov                 ecx, dword ptr [ebp - 0x130]
            //   8a55ec               | mov                 dl, byte ptr [ebp - 0x14]
            //   8801                 | mov                 byte ptr [ecx], al

        $sequence_9 = { c645fc1b e8???????? 8db5ccfdffff c645fc19 e8???????? }
            // n = 5, score = 200
            //   c645fc1b             | mov                 byte ptr [ebp - 4], 0x1b
            //   e8????????           |                     
            //   8db5ccfdffff         | lea                 esi, [ebp - 0x234]
            //   c645fc19             | mov                 byte ptr [ebp - 4], 0x19
            //   e8????????           |                     

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