Tuesday, November 12, 2024
HomeCyber AttackIcePeony Hackers Exploiting Public Web Servers To Inject Webshells

IcePeony Hackers Exploiting Public Web Servers To Inject Webshells

Published on

Malware protection

IcePeony, a China-nexus APT group, has been active since 2023, targeting India, Mauritius, and Vietnam by exploiting SQL injection vulnerabilities to compromise systems using webshells and backdoors, leveraging a custom IIS malware called IceCache.

The attackers accidentally exposed a server containing sensitive data, including a zsh_history file that revealed their detailed attack timeline and techniques.

They used aliases to simplify commands and access help information, such as “hPass” to access Mimikatz tutorials.

- Advertisement - SIEM as a Service
trial-and-error process
trial-and-error process

They used SQL injection and IceCache, compromised government websites, installed webshells, and exfiltrated sensitive domain user information.

They also employed tools like StaX, Diamorphine, craXcel, and WmiExec to expand their attack surface and maintain persistence.

Join ANY.RUN's FREE webinar on How to Improve Threat Investigations on Oct 23 - Register Here 

IcePeony’s StaX tool is a customized version of Stowaway. This high-performance proxy tool encrypts communication targets using Custom Base64 and AES for active mode, providing enhanced security for network traffic.

custom processing
custom processing

An attacker leveraged ProxyChains to execute malicious scripts “info.sh” and “linux_back.sh” on victim machines, which harvested system information, established persistence, and deployed a rootkit named Diamorphine. 

The IcePeony server hosted IceCache, malware targeting IIS servers used to attack the attack surface server. The related malware IceEvent, though not found in any logs, was likely used to compromise an offline computer.

IceCache details
IceCache details

IceCache, a Go-based ELF64 binary, is a malicious tool designed for intrusion operations. It is installed on IIS servers and offers various functionalities, such as command execution, file transfer, and proxy services. 

The malware’s developers have been actively improving its capabilities over time, as evidenced by the increasing number of commands and the evolution of its functionality.

IceEvent, a simple passive-mode backdoor, was discovered in India. It is installed as a service and executes commands through sockets and files. 

example of decoding the data during command execution
example of decoding the data during command execution

A and B were identified, with A focusing on reading files and executing processes and B on uploading and downloading files. All submissions were from India, highlighting the potential for domestic cyber threats.

The analysis by Nao_Sec reveals that IceEvent and IceCache share similar code, XOR keys, and command execution processes, suggesting a common developer and source code.

The malware’s communication data is easily decodable due to its reliance solely on XOR encryption.

Similarities
Similarities

The investigation revealed that IcePeony likely operates under a 996 working-hour system in the UTC+8 time zone.

Their consistent activity patterns, including extended workdays and limited weekends, suggest organized, professional operations rather than personal activities.

While code comments, malware origin, target selection, and infrastructure suggest IcePeony is a Chinese threat actor group likely state-sponsored, targeting governments and educational sectors in India, Mauritius, and Vietnam. 

IcePeony, a new Chinese cyber threat group, has been targeting Indian government websites since 2023. It uses SQL injection attacks to install web shells and steal credentials.

How to Choose an ultimate Managed SIEM solution for Your Security Team -> Download Free Guide (PDF)

Latest articles

10 Best DNS Management Tools – 2025

Best DNS Management Tools play a crucial role in efficiently managing domain names and...

Sweet Security Announces Availability of its Cloud Native Detection & Response Platform on the AWS Marketplace

Customers can now easily integrate Sweet’s runtime detection and response platform into their AWS...

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Tor Network Suffers IP Spoofing Attack Via Non-Exit Relays

In late October 2024, a coordinated IP spoofing attack targeted the Tor network, prompting...