Hackers use PHP exploit to backdoor Windows systems with new malware

Share:

Unknown attackers have deployed a newly discovered backdoor dubbed Msupedge on a university’s Windows systems in Taiwan, likely by exploiting a recently patched PHP remote code execution vulnerability (CVE-2024-4577).

CVE-2024-4577 is a critical PHP-CGI argument injection flaw patched in June that impacts PHP installations running on Windows systems with PHP running in CGI mode. It allows unauthenticated attackers to execute arbitrary code and leads to complete system compromise following successful exploitation.

The threat actors dropped the malware as two dynamic link libraries (weblog.dll and wmiclnt.dll), the former loaded by the httpd.exe Apache process.

Msupedge’s most noteworthy feature is the use of DNS traffic to communicate with the command-and-control (C&C) server. While many threat groups have adopted this technique in the past, it’s not commonly observed in the wild.

It leverages DNS tunneling (a feature implemented based on the open-source dnscat2 tool), which allows data to be encapsulated within DNS queries and responses to receive commands from its C&C server.

The attackers can use Msupedge to execute various commands, which are triggered based on the third octet of the resolved IP address of the C&C server. The backdoor also supports multiple commands, including creating processes, downloading files, and managing temporary files.

PHP RCE flaw exploitation

Symantec’s Threat Hunter Team, which investigated the incident and spotted the new malware, believes the attackers gained access to the compromised systems after exploiting the CVE-2024-4577 vulnerability.

This security flaw bypasses protections implemented by the PHP team for CVE-2012-1823, which was exploited in malware attacks years after its remediation to target Linux and Windows servers with RubyMiner malware.

“The initial intrusion was likely through the exploit of a recently patched PHP vulnerability (CVE-2024-4577),” said Symantec’s Threat Hunter Team.

“Symantec has seen multiple threat actors scanning for vulnerable systems in recent weeks. To date, we have found no evidence allowing us to attribute this threat and the motive behind the attack remains unknown.”

A day after the PHP maintainers released CVE-2024-4577 patches, WatchTowr Labs released proof-of-concept (PoC) exploit code. The same day, the Shadowserver Foundation reported observing exploitation attempts on their honeypots.

Less than 48 hours after patches were released, the TellYouThePass ransomware gang also started exploiting the vulnerability to deploy webshells and encrypt victims’ systems.

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
1:17 am, Jan 23, 2025
weather icon 2°C
L: 1° | H: 3°
overcast clouds
Humidity: 90 %
Pressure: 1004 mb
Wind: 6 mph SW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 85%
Rain Chance: 0%
Visibility: 7 km
Sunrise: 7:51 am
Sunset: 4:33 pm
DailyHourly
Daily ForecastHourly Forecast
Today 9:00 pm
weather icon
1° | 3°°C 1 mm 100% 19 mph 89 % 1005 mb 0 mm/h
Tomorrow 9:00 pm
weather icon
5° | 11°°C 1 mm 100% 24 mph 91 % 1003 mb 0 mm/h
Sat Jan 25 9:00 pm
weather icon
2° | 5°°C 0.25 mm 25% 6 mph 93 % 1011 mb 0.26 mm/h
Sun Jan 26 9:00 pm
weather icon
1° | 7°°C 1 mm 100% 15 mph 95 % 1010 mb 0 mm/h
Mon Jan 27 9:00 pm
weather icon
6° | 9°°C 1 mm 100% 27 mph 89 % 993 mb 0 mm/h
Today 3:00 am
weather icon
2° | 3°°C 0 mm 0% 5 mph 89 % 1004 mb 0 mm/h
Today 6:00 am
weather icon
2° | 3°°C 0 mm 0% 7 mph 88 % 1005 mb 0 mm/h
Today 9:00 am
weather icon
4° | 4°°C 0 mm 0% 8 mph 85 % 1004 mb 0 mm/h
Today 12:00 pm
weather icon
8° | 8°°C 1 mm 100% 18 mph 83 % 1000 mb 0 mm/h
Today 3:00 pm
weather icon
7° | 7°°C 1 mm 100% 19 mph 71 % 999 mb 0 mm/h
Today 6:00 pm
weather icon
6° | 6°°C 0.8 mm 80% 15 mph 72 % 1003 mb 0 mm/h
Today 9:00 pm
weather icon
5° | 5°°C 0 mm 0% 10 mph 77 % 1004 mb 0 mm/h
Tomorrow 12:00 am
weather icon
6° | 6°°C 0 mm 0% 12 mph 79 % 1002 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€99,104.46
-2.56%
Ethereum(ETH)
€3,120.68
-2.89%
XRP(XRP)
€3.04
-0.86%
Tether(USDT)
€0.96
-0.05%
Solana(SOL)
€245.59
1.14%
Dogecoin(DOGE)
€0.345393
-2.93%
USDC(USDC)
€0.96
0.00%
Shiba Inu(SHIB)
€0.000019
-3.66%
Pepe(PEPE)
€0.000014
-5.67%
Peanut the Squirrel(PNUT)
€0.346133
-3.53%
Scroll to Top