Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More
Get access to immediate incident response assistance.
Get access to immediate incident response assistance.
Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More
Our web honeypots picked up some exploit attempts for CVE-2014-6287 which is a command execution vulnerability in the Rejetto HTTP File Server (aks HFS or HttpFileServer) product. Here is PoC vulnerability details from PacketStorm:
One of our web honeypot systems located in Berlin, Germany received an attack from a system in China:
Here is a screenshot from the ModSecurity audit log entry for the attack:
The yellow highlighted section shows the Null Byte character being used to initiate the Windows OS command execution payload. The blue highlighted section is the payload of the attack which is using Microsoft VBScripting.
Here is what the VBScript code looks like once it is urldecoded and beautified for readability:
Here is a breakdown of what this attack script is doing:
I checked the file hash and found that there are details from a previous upload on the Malwr site:
Fortunately, AV detection rates seem pretty good:
In digging a bit deeper, it appears that this program is also known as "Iptables/Iptablex" and is a DDoS botnet tool as outlined in this presentation from Avast:
The first step in preventing these types of exploits is to ensure that your software is up to date on patches. You can download the HFS software updates with the patches here.
If you want to check your systems to see if your FHS version is vulnerable, you can also use this Metasploit module.
As we showed from the honeypot alert, using a WAF can help to prevent 0-day exploits such as this one by generically identifying attack payloads that have:
The full attack chain sequence will work only if exploited web servers are able to initiate OUTBOUND connections to malware repository sites. Organizations should implement egress firewall rules that prevent web servers from initiating outbound connections (except perhaps to authorized locations).
Trustwave is a globally recognized cybersecurity leader that reduces cyber risk and fortifies organizations against disruptive and damaging cyber threats. Our comprehensive offensive and defensive cybersecurity portfolio detects what others cannot, responds with greater speed and effectiveness, optimizes client investment, and improves security resilience. Learn more about us.
Copyright © 2024 Trustwave Holdings, Inc. All rights reserved.