Analysis by: Anthony Joe Melgarejo

 PLATFORM:

Windows, Linux, Unix, Mac OSX

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

  TECHNICAL DETAILS

File Size: 24,060 bytes
File Type: Script
Memory Resident: No
Initial Samples Received Date: 02 Oct 2014
Payload: Compromises system security

Arrival Details

This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

NOTES:

Once installed in the compromised web server, remote attackers can access it via the Internet.

Upon access, it displays the following information about the infected machine:

  • Operating system
  • Processor
  • User Name
  • Group
  • PHP version and Safe mode status
  • System's current date and time
  • Hard Disk free space
  • Read/Write/Execute permissions to current directory
  • Enumerates drives

It has the following backdoor capabilities:

  • Display Server Security Information
  • File Manager - traverse and list all files and directories in all available drives
    • read, create, upload and execute files
    • copy, move, delete, compress and uncompress existing files
  • Console - list directories
    • find index.php in current directory
    • find config.php in current directory
    • show active connections
    • show running services
    • show user accounts
    • show computers in the network
    • show ARP Table
    • show IP configuration
  • Access database (MySQL and PostgreSql) *authentication required
  • Execute user-input PHP code
  • Bypass safe mode
  • String tools - encoders, decoders, hash, crypt, converters, etc.
    • search text in files
    • search hash in various sites
  • Brute force FTP, SQL, Postgresql using custom password dictionary
  • Launch remote shell to user-input host and port
  • Remove self

  SOLUTION

Minimum Scan Engine: 9.700
FIRST VSAPI PATTERN FILE: 11.186.03
FIRST VSAPI PATTERN DATE: 02 Oct 2014
VSAPI OPR PATTERN File: 11.187.00
VSAPI OPR PATTERN Date: 03 Oct 2014

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

Scan your computer with your Trend Micro product to delete files detected as PHP_BACKSHELL.Y. 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.