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
3:22 am, Jul 1, 2025
weather icon 22°C
L: 21° | H: 23°
scattered clouds
Humidity: 76 %
Pressure: 1014 mb
Wind: 2 mph
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 26%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 4:47 am
Sunset: 9:20 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
21° | 23°°C 0 mm 0% 11 mph 76 % 1015 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
19° | 24°°C 0.2 mm 20% 12 mph 76 % 1024 mb 0 mm/h
Thu Jul 03 10:00 pm
weather icon
14° | 26°°C 0 mm 0% 8 mph 52 % 1029 mb 0 mm/h
Fri Jul 04 10:00 pm
weather icon
16° | 29°°C 0 mm 0% 10 mph 48 % 1027 mb 0 mm/h
Sat Jul 05 10:00 pm
weather icon
17° | 22°°C 0.2 mm 20% 13 mph 81 % 1019 mb 0 mm/h
Today 4:00 am
weather icon
20° | 22°°C 0 mm 0% 2 mph 76 % 1014 mb 0 mm/h
Today 7:00 am
weather icon
22° | 22°°C 0 mm 0% 3 mph 72 % 1014 mb 0 mm/h
Today 10:00 am
weather icon
26° | 28°°C 0 mm 0% 2 mph 54 % 1014 mb 0 mm/h
Today 1:00 pm
weather icon
31° | 31°°C 0 mm 0% 7 mph 31 % 1013 mb 0 mm/h
Today 4:00 pm
weather icon
32° | 32°°C 0 mm 0% 9 mph 25 % 1012 mb 0 mm/h
Today 7:00 pm
weather icon
28° | 28°°C 0 mm 0% 11 mph 31 % 1013 mb 0 mm/h
Today 10:00 pm
weather icon
25° | 25°°C 0 mm 0% 8 mph 48 % 1015 mb 0 mm/h
Tomorrow 1:00 am
weather icon
22° | 22°°C 0 mm 0% 6 mph 65 % 1015 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€91,031.14
-1.20%
Ethereum(ETH)
€2,113.83
-0.76%
Tether(USDT)
€0.85
0.00%
XRP(XRP)
€1.89
1.47%
Solana(SOL)
€130.89
1.21%
USDC(USDC)
€0.85
0.00%
Dogecoin(DOGE)
€0.140152
-2.17%
Shiba Inu(SHIB)
€0.000009
-2.31%
Pepe(PEPE)
€0.000008
-3.81%
Scroll to Top