PHP_WEBSHELL.PZA
Trojan.PHP.Agent.np (Kaspersky)
Windows and NixOS
![](/vinfo/imgFiles/legend.jpg)
Threat Type: Backdoor
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
This backdoor may be hosted on a website and run when a user accesses the said website.
It executes commands from a remote malicious user, effectively compromising the affected system.
It retrieves specific information from the affected system.
This is the Trend Micro detection for files that contain a malicious script.
TECHNICAL DETAILS
161,487 bytes
Script
No
14 Jan 2016
Compromises system security, Connects to URLs/IPs, Steals information
Arrival Details
This backdoor may be hosted on a website and run when a user accesses the said website.
Backdoor Routine
This backdoor executes the following commands from a remote malicious user:
- Execute cmd commands
- Execute Files
- Delete File
- Upload File
- Download File
- Edit File
- View File
- Rename File
- Change File Permission
- Create File
- Create Directories
- Enable Safe mode
- Delete itself
- Terminate itself
Information Theft
This backdoor retrieves the following information from the affected system:
- Computer Name
- User Name
- Group Name
- PHP Version
- Computer Mode (Safe Mode on or off)
- IP address
- Server IP address
- Hard Drive Total Space
- Hard Drive Free Space
- Operating System
- Downloader being used
- Disabled Functions
- PHP Configuration
- Disk Drives present
- Servers present
- Display information located on symlink file (For Linux)
- If the following servers are turned on:
- cURL
- MySQL
- MSSQL
- PostgreSQL
- Oracle
- Directories of the following (For Linux):
- Open_basedir
- Safe_mode_exec_dir
- Safe_mode_include_dir
- Complete file directory for all disk drives including:
- File Name
- File size
- Last modified date
- Number of Owners/Group
- File Permissions
- The following System Information:
- Host Name
- OS Name
- OS Version
- OS Manufacturer
- OS Configuration
- OS Build Type
- Registered Owner
- Registered Organization
- Product ID
- Original Install Date
- System Boot Time
- System Manufacturer
- System Model
- System Type
- Processor(s)
- BIOS Version
- Windows Directory
- System Directory
- Boot Device
- System Locale
- Input Locale
- Time Zone
- Total Physical Memory
- Available Physical Memory
- Virtual Memory Max Size
- Virtual Memory Available
- Virtual Memory In Use
- Page File Location(s)
- Domain
- Logon Server
- Hotfix(s)
- Network Card(s)
- Running Windows Services in infected machine
- User accounts in infected machine
- ARP Table of the infected machine
- IP Configuration of the infected machine
Other Details
This is the Trend Micro detection for files that contain a malicious script.
It does the following:
- It checks if it's running in Windows or NixOS
- May execute an obfuscated PERL script that is used for back connection
- It requires certain parameters such as ip and port
- Checks if it's running in Windows or NixOS
- Requires certain parameters such as ip and port
SOLUTION
9.800
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
Close all opened browser windows
Step 3
Scan your computer with your Trend Micro product to delete files detected as PHP_WEBSHELL.PZA. 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.