SYMBOLCOMMON_NAMEaka. SYNONYMS
win.phoreal (Back to overview)

PHOREAL

aka: Rizzo

Actor(s): APT32

VTCollection    

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-07 ⋅ Elastic ⋅ Andrew Pease, Cyril François, Daniel Stepanic, Derek Ditch, Github (@1337-42), Joe Desimone, Samir Bousseaden
PHOREAL Malware Targets the Southeast Asian Financial Sector
PHOREAL
2020-01-01 ⋅ Secureworks ⋅ SecureWorks
TIN WOODLAWN
Cobalt Strike KerrDown MimiKatz PHOREAL RatSnif Remy SOUNDBITE APT32
2018-11-02 ⋅ Cylance ⋅ Cylance
The SpyRATs of OceanLotus
KOMPROGO PHOREAL
Yara Rules
[TLP:WHITE] win_phoreal_auto (20260917 | Detects win.phoreal.)
rule win_phoreal_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 8975fc 56 51 c7852cfeffff01000000 888534feffff e8???????? 8d8554ffffff }
            // n = 7, score = 200
            //   8975fc               | mov                 dword ptr [ebp - 4], esi
            //   56                   | push                esi
            //   51                   | push                ecx
            //   c7852cfeffff01000000     | mov    dword ptr [ebp - 0x1d4], 1
            //   888534feffff         | mov                 byte ptr [ebp - 0x1cc], al
            //   e8????????           |                     
            //   8d8554ffffff         | lea                 eax, [ebp - 0xac]

        $sequence_1 = { 57 ff15???????? 8bf0 85f6 7526 8b0b 8b4304 }
            // n = 7, score = 200
            //   57                   | push                edi
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   85f6                 | test                esi, esi
            //   7526                 | jne                 0x28
            //   8b0b                 | mov                 ecx, dword ptr [ebx]
            //   8b4304               | mov                 eax, dword ptr [ebx + 4]

        $sequence_2 = { 33c0 8945e8 8945ec a1???????? 8d4de8 }
            // n = 5, score = 200
            //   33c0                 | xor                 eax, eax
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax
            //   8945ec               | mov                 dword ptr [ebp - 0x14], eax
            //   a1????????           |                     
            //   8d4de8               | lea                 ecx, [ebp - 0x18]

        $sequence_3 = { 68???????? ffd6 68???????? 391d???????? 7513 ff15???????? 68e8030000 }
            // n = 7, score = 200
            //   68????????           |                     
            //   ffd6                 | call                esi
            //   68????????           |                     
            //   391d????????         |                     
            //   7513                 | jne                 0x15
            //   ff15????????         |                     
            //   68e8030000           | push                0x3e8

        $sequence_4 = { 83ffff 7436 8da42400000000 8b4c2410 8b4304 }
            // n = 5, score = 200
            //   83ffff               | cmp                 edi, -1
            //   7436                 | je                  0x38
            //   8da42400000000       | lea                 esp, [esp]
            //   8b4c2410             | mov                 ecx, dword ptr [esp + 0x10]
            //   8b4304               | mov                 eax, dword ptr [ebx + 4]

        $sequence_5 = { 51 c7852cfeffff01000000 888534feffff e8???????? 8d8554ffffff 33d2 8d7e17 }
            // n = 7, score = 200
            //   51                   | push                ecx
            //   c7852cfeffff01000000     | mov    dword ptr [ebp - 0x1d4], 1
            //   888534feffff         | mov                 byte ptr [ebp - 0x1cc], al
            //   e8????????           |                     
            //   8d8554ffffff         | lea                 eax, [ebp - 0xac]
            //   33d2                 | xor                 edx, edx
            //   8d7e17               | lea                 edi, [esi + 0x17]

        $sequence_6 = { ff15???????? 8b561c 33db 53 52 ff15???????? }
            // n = 6, score = 200
            //   ff15????????         |                     
            //   8b561c               | mov                 edx, dword ptr [esi + 0x1c]
            //   33db                 | xor                 ebx, ebx
            //   53                   | push                ebx
            //   52                   | push                edx
            //   ff15????????         |                     

        $sequence_7 = { 8d4db0 51 8d7809 8db590feffff }
            // n = 4, score = 200
            //   8d4db0               | lea                 ecx, [ebp - 0x50]
            //   51                   | push                ecx
            //   8d7809               | lea                 edi, [eax + 9]
            //   8db590feffff         | lea                 esi, [ebp - 0x170]

        $sequence_8 = { 7552 56 6a04 8d55c8 }
            // n = 4, score = 200
            //   7552                 | jne                 0x54
            //   56                   | push                esi
            //   6a04                 | push                4
            //   8d55c8               | lea                 edx, [ebp - 0x38]

        $sequence_9 = { 8d3c9d00000000 8bd7 c1fa02 03d2 }
            // n = 4, score = 200
            //   8d3c9d00000000       | lea                 edi, [ebx*4]
            //   8bd7                 | mov                 edx, edi
            //   c1fa02               | sar                 edx, 2
            //   03d2                 | add                 edx, edx

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