WORM_PHORPIEX.YOP
Backdoor:Win32/Kirts.A (Microsoft) ; Trojan.Win32.Nisloder.dt (Kaspersky)
Windows
Threat Type: Worm
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
Dropped by other malware, Downloaded from the Internet
This Worm arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It modifies registry entries to disable various system services. This action prevents most of the system functions to be used.
It drops copies of itself into all the removable drives connected to an affected system. It drops copies of itself into network drives. It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.
However, as of this writing, the said sites are inaccessible.
TECHNICAL DETAILS
87,073 bytes
EXE
Nullsoft PiMP SFX
No
13 Dec 2017
Drops files, Downloads files, Steals information, Deletes files, Connects to URLs/IPs
Arrival Details
This Worm arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
Installation
This Worm adds the following folders:
- {removable or network drive}:\_
- %Windows%\M-505038403028403028485929287348745929273958292048430
- %User Temp%\ns{5-random characters}.tmp
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
It drops the following copies of itself into the affected system:
- {removable or network drive}:\_\DeviceConfigManager.exe
It drops the following copies of itself into the affected system and executes them:
- %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)
It drops the following files:
- {removable/network drive}:\.lnk -> Shortcut for DeviceConfigManager.vbs
- {removable/network drive}:\DeviceConfigManager.vbs -> Executes _\DeviceConfigManager.exe
- {removable/network drive}:\autorun.inf -> Automatically executes _\DeviceConfigManager.exe on plug-in
- {removable/network drive}:\_\DeviceConfigManager.exe
- %User Temp%\Cornetcy.cab -> Encrypted malicious code
- %User Temp%\ns{5-random character}.tmp\System.dll
- %User Temp%\{random filename}.bat -> deletes the original malware file and is deleted after execution
- %User Temp%\mogs.dll -> Decrypts the malicious code and injects it into itself
(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
It adds the following mutexes to ensure that only one of its copies runs at any one time:
- t1
Autostart Technique
This Worm adds the following registry entries to enable its automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Microsoft Windows Manager = %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Microsoft Windows Manager = %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe
Other System Modifications
This Worm modifies registry entries to disable the following system services:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsoft\Windows Defender
DisableAntiSpyWare = 1
(Note: The default value data of the said registry entry is 0.)
It creates the following registry entry(ies) to bypass Windows Firewall:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe = %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe:*:Enabled:Microsoft Windows Manager
Propagation
This Worm drops copies of itself into all the removable drives connected to an affected system.
It drops copies of itself into network drives.
It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.
The said .INF file contains the following strings:
{garbage strings}
[autorun]
{garbage strings}
icon=%SystemRoot%\system32\SHELL32.dll,4
{garbage strings}
open=_\DeviceConfigManager.exe
{garbage strings}
UseAutoPlay=1
{garbage strings}
Backdoor Routine
This Worm connects to the following URL(s) to send and receive commands from a remote malicious user:
- {BLOCKED}.{BLOCKED}.87.80:5050
- {BLOCKED}vienvaiebai.at
- {BLOCKED}vienvaiebai.be
- {BLOCKED}vienvaiebai.br
- {BLOCKED}vienvaiebai.com
- {BLOCKED}vienvaiebai.de
- {BLOCKED}vienvaiebai.es
- {BLOCKED}vienvaiebai.fr
- {BLOCKED}vienvaiebai.gr
- {BLOCKED}vienvaiebai.hu
- {BLOCKED}vienvaiebai.in
- {BLOCKED}vienvaiebai.info
- {BLOCKED}vienvaiebai.ir
- {BLOCKED}vienvaiebai.it
- {BLOCKED}vienvaiebai.kz
- {BLOCKED}vienvaiebai.lu
- {BLOCKED}vienvaiebai.md
- {BLOCKED}vienvaiebai.mobi
- {BLOCKED}vienvaiebai.name
- {BLOCKED}vienvaiebai.net
- {BLOCKED}vienvaiebai.nl
- {BLOCKED}vienvaiebai.org
- {BLOCKED}vienvaiebai.pl
- {BLOCKED}vienvaiebai.ro
- {BLOCKED}vienvaiebai.ru
- {BLOCKED}vienvaiebai.su
- {BLOCKED}vienvaiebai.ua
- {BLOCKED}vienvaiebai.ws
- {BLOCKED}boabobfaoua.at
- {BLOCKED}boabobfaoua.be
- {BLOCKED}boabobfaoua.br
- {BLOCKED}boabobfaoua.com
- {BLOCKED}boabobfaoua.de
- {BLOCKED}boabobfaoua.es
- {BLOCKED}boabobfaoua.fr
- {BLOCKED}boabobfaoua.gr
- {BLOCKED}boabobfaoua.hu
- {BLOCKED}boabobfaoua.in
- {BLOCKED}boabobfaoua.info
- {BLOCKED}boabobfaoua.ir
- {BLOCKED}boabobfaoua.it
- {BLOCKED}boabobfaoua.kz
- {BLOCKED}boabobfaoua.lu
- {BLOCKED}boabobfaoua.md
- {BLOCKED}boabobfaoua.mobi
- {BLOCKED}boabobfaoua.name
- {BLOCKED}boabobfaoua.net
- {BLOCKED}boabobfaoua.nl
- {BLOCKED}boabobfaoua.org
- {BLOCKED}boabobfaoua.pl
- {BLOCKED}boabobfaoua.ro
- {BLOCKED}boabobfaoua.ru
- {BLOCKED}boabobfaoua.su
- {BLOCKED}boabobfaoua.ua
- {BLOCKED}boabobfaoua.ws
- {BLOCKED}haioeoaiegj.at
- {BLOCKED}haioeoaiegj.be
- {BLOCKED}haioeoaiegj.br
- {BLOCKED}haioeoaiegj.com
- {BLOCKED}haioeoaiegj.de
- {BLOCKED}haioeoaiegj.es
- {BLOCKED}haioeoaiegj.fr
- {BLOCKED}haioeoaiegj.gr
- {BLOCKED}haioeoaiegj.hu
- {BLOCKED}haioeoaiegj.in
- {BLOCKED}haioeoaiegj.info
- {BLOCKED}haioeoaiegj.ir
- {BLOCKED}haioeoaiegj.it
- {BLOCKED}haioeoaiegj.kz
- {BLOCKED}haioeoaiegj.lu
- {BLOCKED}haioeoaiegj.md
- {BLOCKED}haioeoaiegj.mobi
- {BLOCKED}haioeoaiegj.name
- {BLOCKED}haioeoaiegj.net
- {BLOCKED}haioeoaiegj.nl
- {BLOCKED}haioeoaiegj.org
- {BLOCKED}haioeoaiegj.pl
- {BLOCKED}haioeoaiegj.ro
- {BLOCKED}haioeoaiegj.ru
- {BLOCKED}haioeoaiegj.su
- {BLOCKED}haioeoaiegj.ua
- {BLOCKED}haioeoaiegj.ws
- {BLOCKED}eogbuaeofua.at
- {BLOCKED}eogbuaeofua.be
- {BLOCKED}eogbuaeofua.br
- {BLOCKED}eogbuaeofua.com
- {BLOCKED}eogbuaeofua.de
- {BLOCKED}eogbuaeofua.es
- {BLOCKED}eogbuaeofua.fr
- {BLOCKED}eogbuaeofua.gr
- {BLOCKED}eogbuaeofua.hu
- {BLOCKED}eogbuaeofua.in
- {BLOCKED}eogbuaeofua.info
- {BLOCKED}eogbuaeofua.ir
- {BLOCKED}eogbuaeofua.it
- {BLOCKED}eogbuaeofua.kz
- {BLOCKED}eogbuaeofua.lu
- {BLOCKED}eogbuaeofua.md
- {BLOCKED}eogbuaeofua.mobi
- {BLOCKED}eogbuaeofua.name
- {BLOCKED}eogbuaeofua.net
- {BLOCKED}eogbuaeofua.nl
- {BLOCKED}eogbuaeofua.org
- {BLOCKED}eogbuaeofua.pl
- {BLOCKED}eogbuaeofua.ro
- {BLOCKED}eogbuaeofua.ru
- {BLOCKED}eogbuaeofua.su
- {BLOCKED}eogbuaeofua.ua
- {BLOCKED}eogbuaeofua.ws
- {BLOCKED}odbuebieibg.at
- {BLOCKED}odbuebieibg.be
- {BLOCKED}odbuebieibg.br
- {BLOCKED}odbuebieibg.com
- {BLOCKED}odbuebieibg.de
- {BLOCKED}odbuebieibg.es
- {BLOCKED}odbuebieibg.fr
- {BLOCKED}odbuebieibg.gr
- {BLOCKED}odbuebieibg.hu
- {BLOCKED}odbuebieibg.in
- {BLOCKED}odbuebieibg.info
- {BLOCKED}odbuebieibg.ir
- {BLOCKED}odbuebieibg.it
- {BLOCKED}odbuebieibg.kz
- {BLOCKED}odbuebieibg.lu
- {BLOCKED}odbuebieibg.md
- {BLOCKED}odbuebieibg.mobi
- {BLOCKED}odbuebieibg.name
- {BLOCKED}odbuebieibg.net
- {BLOCKED}odbuebieibg.nl
- {BLOCKED}odbuebieibg.org
- {BLOCKED}odbuebieibg.pl
- {BLOCKED}odbuebieibg.ro
- {BLOCKED}odbuebieibg.ru
- {BLOCKED}odbuebieibg.su
- {BLOCKED}odbuebieibg.ua
- {BLOCKED}odbuebieibg.ws
- {BLOCKED}hpnpnapcipa.at
- {BLOCKED}hpnpnapcipa.be
- {BLOCKED}hpnpnapcipa.br
- {BLOCKED}hpnpnapcipa.com
- {BLOCKED}hpnpnapcipa.de
- {BLOCKED}hpnpnapcipa.es
- {BLOCKED}hpnpnapcipa.fr
- {BLOCKED}hpnpnapcipa.gr
- {BLOCKED}hpnpnapcipa.hu
- {BLOCKED}hpnpnapcipa.in
- {BLOCKED}hpnpnapcipa.info
- {BLOCKED}hpnpnapcipa.ir
- {BLOCKED}hpnpnapcipa.it
- {BLOCKED}hpnpnapcipa.kz
- {BLOCKED}hpnpnapcipa.lu
- {BLOCKED}hpnpnapcipa.md
- {BLOCKED}hpnpnapcipa.mobi
- {BLOCKED}hpnpnapcipa.name
- {BLOCKED}hpnpnapcipa.net
- {BLOCKED}hpnpnapcipa.nl
- {BLOCKED}hpnpnapcipa.org
- {BLOCKED}hpnpnapcipa.pl
- {BLOCKED}hpnpnapcipa.ro
- {BLOCKED}hpnpnapcipa.ru
- {BLOCKED}hpnpnapcipa.su
- {BLOCKED}hpnpnapcipa.ua
- {BLOCKED}hpnpnapcipa.ws
- {BLOCKED}beogoaehgoi.at
- {BLOCKED}beogoaehgoi.be
- {BLOCKED}beogoaehgoi.br
- {BLOCKED}beogoaehgoi.com
- {BLOCKED}beogoaehgoi.de
- {BLOCKED}beogoaehgoi.es
- {BLOCKED}beogoaehgoi.fr
- {BLOCKED}beogoaehgoi.gr
- {BLOCKED}beogoaehgoi.hu
- {BLOCKED}beogoaehgoi.in
- {BLOCKED}beogoaehgoi.info
- {BLOCKED}beogoaehgoi.ir
- {BLOCKED}beogoaehgoi.it
- {BLOCKED}beogoaehgoi.kz
- {BLOCKED}beogoaehgoi.lu
- {BLOCKED}beogoaehgoi.md
- {BLOCKED}beogoaehgoi.mobi
- {BLOCKED}beogoaehgoi.name
- {BLOCKED}beogoaehgoi.net
- {BLOCKED}beogoaehgoi.nl
- {BLOCKED}beogoaehgoi.org
- {BLOCKED}beogoaehgoi.pl
- {BLOCKED}beogoaehgoi.ro
- {BLOCKED}beogoaehgoi.ru
- {BLOCKED}beogoaehgoi.su
- {BLOCKED}beogoaehgoi.ua
- {BLOCKED}beogoaehgoi.ws
- {BLOCKED}oeaboeubfuo.at
- {BLOCKED}oeaboeubfuo.be
- {BLOCKED}oeaboeubfuo.br
- {BLOCKED}oeaboeubfuo.com
- {BLOCKED}oeaboeubfuo.de
- {BLOCKED}oeaboeubfuo.es
- {BLOCKED}oeaboeubfuo.fr
- {BLOCKED}oeaboeubfuo.gr
- {BLOCKED}oeaboeubfuo.hu
- {BLOCKED}oeaboeubfuo.in
- {BLOCKED}oeaboeubfuo.info
- {BLOCKED}oeaboeubfuo.ir
- {BLOCKED}oeaboeubfuo.it
- {BLOCKED}oeaboeubfuo.kz
- {BLOCKED}oeaboeubfuo.lu
- {BLOCKED}oeaboeubfuo.md
- {BLOCKED}oeaboeubfuo.mobi
- {BLOCKED}oeaboeubfuo.name
- {BLOCKED}oeaboeubfuo.net
- {BLOCKED}oeaboeubfuo.nl
- {BLOCKED}oeaboeubfuo.org
- {BLOCKED}oeaboeubfuo.pl
- {BLOCKED}oeaboeubfuo.ro
- {BLOCKED}oeaboeubfuo.ru
- {BLOCKED}oeaboeubfuo.su
- {BLOCKED}oeaboeubfuo.ua
- {BLOCKED}oeaboeubfuo.ws
- {BLOCKED}uhgsorhugih.at
- {BLOCKED}uhgsorhugih.be
- {BLOCKED}uhgsorhugih.br
- {BLOCKED}uhgsorhugih.com
- {BLOCKED}uhgsorhugih.de
- {BLOCKED}uhgsorhugih.es
- {BLOCKED}uhgsorhugih.fr
- {BLOCKED}uhgsorhugih.gr
- {BLOCKED}uhgsorhugih.hu
- {BLOCKED}uhgsorhugih.in
- {BLOCKED}uhgsorhugih.info
- {BLOCKED}uhgsorhugih.ir
- {BLOCKED}uhgsorhugih.it
- {BLOCKED}uhgsorhugih.kz
- {BLOCKED}uhgsorhugih.lu
- {BLOCKED}uhgsorhugih.md
- {BLOCKED}uhgsorhugih.mobi
- {BLOCKED}uhgsorhugih.name
- {BLOCKED}uhgsorhugih.net
- {BLOCKED}uhgsorhugih.nl
- {BLOCKED}uhgsorhugih.org
- {BLOCKED}uhgsorhugih.pl
- {BLOCKED}uhgsorhugih.ro
- {BLOCKED}uhgsorhugih.ru
- {BLOCKED}uhgsorhugih.su
- {BLOCKED}uhgsorhugih.ua
- {BLOCKED}uhgsorhugih.ws
- {BLOCKED}biiegiiciib.at
- {BLOCKED}biiegiiciib.be
- {BLOCKED}biiegiiciib.br
- {BLOCKED}biiegiiciib.com
- {BLOCKED}biiegiiciib.de
- {BLOCKED}biiegiiciib.es
- {BLOCKED}biiegiiciib.fr
- {BLOCKED}biiegiiciib.gr
- {BLOCKED}biiegiiciib.hu
- {BLOCKED}biiegiiciib.in
- {BLOCKED}biiegiiciib.info
- {BLOCKED}biiegiiciib.ir
- {BLOCKED}biiegiiciib.it
- {BLOCKED}biiegiiciib.kz
- {BLOCKED}biiegiiciib.lu
- {BLOCKED}biiegiiciib.md
- {BLOCKED}biiegiiciib.mobi
- {BLOCKED}biiegiiciib.name
- {BLOCKED}biiegiiciib.net
- {BLOCKED}biiegiiciib.nl
- {BLOCKED}biiegiiciib.org
- {BLOCKED}biiegiiciib.pl
- {BLOCKED}biiegiiciib.ro
- {BLOCKED}biiegiiciib.ru
- {BLOCKED}biiegiiciib.su
- {BLOCKED}biiegiiciib.ua
- {BLOCKED}biiegiiciib.ws
However, as of this writing, the said sites are inaccessible.
It accesses a remote Internet Relay Chat (IRC) server where it receives the following commands from a remote malicious user:
- Download and execute files
- Join another IRC server
- Uninstall itself
Other Details
This Worm does the following:
- Checks the following strings in the Device Driver information to identify if it is running in a Virtual Environment:
- qemu
- virtual
- vmware
- xen
- It moves all files and folders in the removable or network drive inside the created {removable or network drive}:\_ folder.
- It can modify the data in the clipboard.
- It deletes files on the removable or network drives if it contains the following file extension:
- .vbs (Except for DeviceConfigManager.vbs)
- .bat
- .js
- .scr
- .com
- .jse
- .cmd
- .pif
- .jar
- .dll
- It replaces any copied Cryptocurrency wallet address in the clipboard with the following hard-coded address
- {BLOCKED}7abe2708037fc1acdca83b37466a299
- {BLOCKED}fStF1HrVXaZ1eE3X4ntnbsx
- {BLOCKED}NGQ71kWhnYoDRffsDZy7m1HUU7MRU4nUMXAHNFBEJhkTZV9HdaL4gfuNBxLPc3BeMkLGaPbF5vWtANQm7QWX9mxQh4goy76E
- {BLOCKED}Hcu7qmjoVpRaQY2a3kAMXGGpG
- {BLOCKED}mXzwZtL5ua5HYFHKxFz3HFcNi8
- {BLOCKED}U9w9Scyan47L2YhKiVqhpXxH
- {BLOCKED}S5tMx1WKAVeT2KUcFWaWueywoz
- {BLOCKED}bDTsV6k37TneN2Svi4e1PXF
- {BLOCKED}XtYFYPDpVAmYr5qM4u6UECk
- {BLOCKED}zR8UQSnTzaAWsBHHQFxoB9jp
- {BLOCKED}uJDf3A2YkvwQvfMPwfZDZRC
- {BLOCKED}cSAuE26vUiYhkew1aVs
- {BLOCKED}k7LnqgNmg6XRy9hnULTiN
SOLUTION
9.850
14.392.01
19 Jul 2018
14.393.00
20 Jul 2018
Step 1
Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.
Step 2
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 3
Identify and terminate files detected as WORM_PHORPIEX.YOP
- Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
- If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
- If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.
Step 4
Delete this registry value
Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
- %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe = %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe:*:Enabled:Microsoft Windows Manager
- %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe = %Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe:*:Enabled:Microsoft Windows Manager
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Microsoft Windows Manager = "%Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe"
- Microsoft Windows Manager = "%Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe"
- In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Microsoft Windows Manager = "%Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe"
- Microsoft Windows Manager = "%Windows%\M-505038403028403028485929287348745929273958292048430\winmgr.exe"
Step 5
Restore these modified registry values
Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
- From: DisableAntiSpyWare = 1
To: Start = "0"
- From: DisableAntiSpyWare = 1
Step 6
Search and delete this folder
- %Windows%\M-505038403028403028485929287348745929273958292048430
- %User Temp%\ns{5-random characters}.tmp
Step 7
Search and delete AUTORUN.INF files created by WORM_PHORPIEX.YOP that contain these strings
- {garbage strings}
- [autorun]
- {garbage strings}
- icon=%SystemRoot%\system32\SHELL32.dll,4
- {garbage strings}
- open=_\DeviceConfigManager.exe
- {garbage strings}
- UseAutoPlay=1
- {garbage strings}
Step 8
Search and delete these files
- {removable or network drive}:\.lnk
- {removable or network drive}:\DeviceConfigManager.vbs
- {removable or network drive}:\_\DeviceConfigManager.exe
- %User Temp%\Cornetcy.cab
- %User Temp%\mogs.dll
Step 9
Restart in normal mode and scan your computer with your Trend Micro product for files detected as WORM_PHORPIEX.YOP. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.
Did this description help? Tell us how we did.