LevelBlue Completes Acquisition of Cybereason. Learn more

LevelBlue Completes Acquisition of Cybereason. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Manage Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings

One might think that vulnerabilities in ActiveX controls are a thing of the past, but we continue to find evidence that they have not. Just this year, dozens of vulnerabilities have been discovered. In some cases an ActiveX exploit is more attractive to an attacker for targeting specific users of certain software or a company that uses certain business applications.

A few weeks ago, we encountered such an example: an unknown vulnerability in an ActiveX control exploited in the wild. It was DaumGame ActiveX, a control required for playing a web game by Daum Communications on their website. Below, I outline the vulnerability and how one particular attacker exploited it.

DaumGame ActiveX (CLSID: 16B6A027-2732-4028-9303-EFE3E95EF766) versions 1.1.0.4 and 1.1.0.5 by Daum Communications include method "IconCreate," which is designed to support icon processing. This method is vulnerable to a classic buffer overflow. Here is the exploit code we discovered in the wild (CVE-2013-7246):

10680_945c1264-a330-4c38-b29a-457141156577
DaumGame ActiveX exploit from the wild

The method, which accepts printable characters, suffers from a buffer overflow vulnerability that leads to an SEH overwrite. A common technique for exploiting SEH involves overwriting the SE handler pointer with a memory address that points to assembly instructions (pop, pop, ret). This technique gives the attacker control over the pointer to the next SE handler and results in remote code execution. This sample, however, uses a less accurate technique to exploit this vulnerability resulting in the wasting of unneeded memory and slowing down the exploitation. Although it probably spared the attacker time in not having to deal with SafeSEH protections.

The attacker sprayed the memory with NOPs and shellcode and then overflowed the stack to overwrite the SEH pointer with an attacker controlled heap address ("0x05050505"). This address was already filled with NOPs and shellcode, which leads to remote code execution.

We reported the vulnerability to vendor Daum Communications, and they fixed the issue and released a patched version 1.1.0.6. We also published an advisory that contains further details on this vulnerability (CVE-2013-7246).

Trustwave's Secure Web Gateway blocked this attack out-of-the-box using its generic protection engine and did so without any additional updates. We have, however, released Security Update 161 to include additional protection against this particular zero-day exploit using the Malware Entrapment Engine.

ABOUT LEVELBLUE

LevelBlue 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