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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        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 = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { ff15???????? 8bf8 395de4 720c 8b45d0 50 }
            // n = 6, score = 200
            //   ff15????????         |                     
            //   8bf8                 | mov                 edi, eax
            //   395de4               | cmp                 dword ptr [ebp - 0x1c], ebx
            //   720c                 | jb                  0xe
            //   8b45d0               | mov                 eax, dword ptr [ebp - 0x30]
            //   50                   | push                eax

        $sequence_1 = { 890b 893e 8b5610 895310 8b4614 894314 33c9 }
            // n = 7, score = 200
            //   890b                 | mov                 dword ptr [ebx], ecx
            //   893e                 | mov                 dword ptr [esi], edi
            //   8b5610               | mov                 edx, dword ptr [esi + 0x10]
            //   895310               | mov                 dword ptr [ebx + 0x10], edx
            //   8b4614               | mov                 eax, dword ptr [esi + 0x14]
            //   894314               | mov                 dword ptr [ebx + 0x14], eax
            //   33c9                 | xor                 ecx, ecx

        $sequence_2 = { 53 50 57 e8???????? 83c40c 03fb 897e04 }
            // n = 7, score = 200
            //   53                   | push                ebx
            //   50                   | push                eax
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   03fb                 | add                 edi, ebx
            //   897e04               | mov                 dword ptr [esi + 4], edi

        $sequence_3 = { 50 ffd3 8b4e28 51 ff15???????? c7462800000000 }
            // n = 6, score = 200
            //   50                   | push                eax
            //   ffd3                 | call                ebx
            //   8b4e28               | mov                 ecx, dword ptr [esi + 0x28]
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   c7462800000000       | mov                 dword ptr [esi + 0x28], 0

        $sequence_4 = { 8bf3 e8???????? 8b4b04 8b03 8b75f4 2bc1 03c6 }
            // n = 7, score = 200
            //   8bf3                 | mov                 esi, ebx
            //   e8????????           |                     
            //   8b4b04               | mov                 ecx, dword ptr [ebx + 4]
            //   8b03                 | mov                 eax, dword ptr [ebx]
            //   8b75f4               | mov                 esi, dword ptr [ebp - 0xc]
            //   2bc1                 | sub                 eax, ecx
            //   03c6                 | add                 eax, esi

        $sequence_5 = { 8b4510 894de4 8b4b48 8955dc 8b5344 894dcc }
            // n = 6, score = 200
            //   8b4510               | mov                 eax, dword ptr [ebp + 0x10]
            //   894de4               | mov                 dword ptr [ebp - 0x1c], ecx
            //   8b4b48               | mov                 ecx, dword ptr [ebx + 0x48]
            //   8955dc               | mov                 dword ptr [ebp - 0x24], edx
            //   8b5344               | mov                 edx, dword ptr [ebx + 0x44]
            //   894dcc               | mov                 dword ptr [ebp - 0x34], ecx

        $sequence_6 = { 83c404 898570fdffff 83c00c 898564fdffff 68???????? ff15???????? }
            // n = 6, score = 200
            //   83c404               | add                 esp, 4
            //   898570fdffff         | mov                 dword ptr [ebp - 0x290], eax
            //   83c00c               | add                 eax, 0xc
            //   898564fdffff         | mov                 dword ptr [ebp - 0x29c], eax
            //   68????????           |                     
            //   ff15????????         |                     

        $sequence_7 = { d1e8 8d1443 53 8db53cfeffff e8???????? 8bf8 8db550ffffff }
            // n = 7, score = 200
            //   d1e8                 | shr                 eax, 1
            //   8d1443               | lea                 edx, [ebx + eax*2]
            //   53                   | push                ebx
            //   8db53cfeffff         | lea                 esi, [ebp - 0x1c4]
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax
            //   8db550ffffff         | lea                 esi, [ebp - 0xb0]

        $sequence_8 = { c78524ffffff01010000 66899528ffffff 898534ffffff 898538ffffff }
            // n = 4, score = 200
            //   c78524ffffff01010000     | mov    dword ptr [ebp - 0xdc], 0x101
            //   66899528ffffff       | mov                 word ptr [ebp - 0xd8], dx
            //   898534ffffff         | mov                 dword ptr [ebp - 0xcc], eax
            //   898538ffffff         | mov                 dword ptr [ebp - 0xc8], eax

        $sequence_9 = { 3bfb 0f8684000000 57 899d8cfdffff e8???????? 50 89858cfdffff }
            // n = 7, score = 200
            //   3bfb                 | cmp                 edi, ebx
            //   0f8684000000         | jbe                 0x8a
            //   57                   | push                edi
            //   899d8cfdffff         | mov                 dword ptr [ebp - 0x274], ebx
            //   e8????????           |                     
            //   50                   | push                eax
            //   89858cfdffff         | mov                 dword ptr [ebp - 0x274], eax

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