Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats

CVE-2018-8174 and Forcing Internet Explorer Exploits

A zero day exploit was discovered targeting trade agencies and other related organizations in China toward the end of April. The vulnerability is a Use-After-Free (UAF) memory corruption bug in the Microsoft VBScript engine. By taking advantage of the vulnerability, an exploit could download and execute any arbitrary code an attacker wants, e.g. Remote Code Execution (RCE). The vulnerability was issued CVE-2018-8174 and is also known as "Double Kill".

The fact that the attack was discovered as a zero day in the wild is obviously interesting, but the unique attack chain is also a twist on the typical attacks we see in this vein. In this case we have a vulnerability in the VBscript Engine in Internet Explorer that gets exploited by initially opening an Rich Text Format (RTF) document in MS Word.

The RTF document, presumably emailed to targets as part of a phishing attack, contains an OLE element that points to a link for data stored on a web site. The data is a malicious VBScript which exploits the RCE vulnerability.

So why use an RTF document at all? Why wouldn't the attackers simply email a link to the malicious script or embed the script directly in a document? The problem for the attackers is that while the exploit targets the VBScript engine in Internet Explorer, many people use a different web browser as their default application. Clicking on a link in an email would invoke that default browser instead of Internet Explorer and the exploit would fail.

By using an RTF file as a first stage, the document points to the remote VBscript using HTTP Content-Type "text/html". The default processor invoked to fetch this content is "mshtml.dll", which, as you might have guessed, is an engine behind Internet Explorer. This little trick forces Internet Explorer to process the VBScript no matter what browser you install or use by default.

Since many exploits target Internet Explorer directly, we often see malicious websites filtering out other web browsers that can't be exploited. This new technique to force content to load in Internet Explorer regardless of what your default browser may be will certainly expand the attack surface of potential victims. Expect to see this again in the future.

Microsoft issued a patch for CVE-2018-8174 on May 8th, so if you haven't updated your Windows systems, now would be a good time to do so.

Our analysis and research into this vulnerability has already been pushed to our security offerings and we stress that "Defense in Depth" is important to prevent these sorts of attacks. Trustwave customers will find protections against this exploit in the following security offerings:

Trustwave Secure Email Gateway (SEG) (KnownThreats update version 1013)
Trustwave Secure Web Gateway (SWG) (protected by default, out of the box policy)
Trustwave UTM (all supported versions, updates are automatic)

About the Author

Karl Sigler is Security Research Manager, SpiderLabs Threat Intelligence at Trustwave. Karl is a 20-year infosec veteran responsible for research and analysis of current vulnerabilities, malware and threat trends at Trustwave. Follow Karl on LinkedIn.

ABOUT TRUSTWAVE

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.

Latest Intelligence

Discover how our specialists can tailor a security program to fit the needs of
your organization.

Request a Demo