Microsoft Windows IE Vulnerability(CVE-2013-3893) attacks spotted in the Wild (September 26, 2013)

By

Dell Sonicwall Threats Research team has found live attacks exploiting Internet Explorer Vulnerability (CVE-2013-3893). Last week we reported this Vulnerability and proactively started detecting and blocking the attack attempts.

We found the same HTML as reported by FireEye but being served by a different url. This means that the same exploit is being served from multiple locations. Once the exploit is successful, it similarly downloads jpg file which is an exe “xor” with 0x95 as a key.
Please refer Sonicalert for detailed binary analysis.

image

The malicious html above contains a code-sequence exploiting the IE vulnerability. This code uses heap spray and ROP techniques to bypass ASLR and DEP.

image

Here it uses cookie to track the visit.

image

Now it checks if it is exploitable and chooses the target accordingly.

image

Uses unescape function to set up spray and ROP chain for specific targets which corresponds to the in-memory bytes below.

image

The following code-sequence is responsible for the vulnerability.

image

We saw following crash when we separated the ASLR and DEP evasion code.

image

Some excerpts below show how the ROP chain is constructed and how shellcode is used.

image

image

Here Payload is encoded with “xor 0x9f”

image

The jpg is downloaded as shown.

image

Xor with 0x95 and the file decoded

image

image

We have implemented following signatures to detect the attack.

  • IPS:7377 Windows IE Memory Corruption Vulnerability
  • IPS:7417 Windows IE Memory Corruption Vulnerability 2
  • SPY:4119 Malformed-File html.TL.274
  • GAV: 24181 Unruy.JPG (Trojan)
  • GAV: 24180 Unruy.JPX (Trojan)
Security News
The SonicWall Capture Labs Threat Research Team gathers, analyzes and vets cross-vector threat information from the SonicWall Capture Threat network, consisting of global devices and resources, including more than 1 million security sensors in nearly 200 countries and territories. The research team identifies, analyzes, and mitigates critical vulnerabilities and malware daily through in-depth research, which drives protection for all SonicWall customers. In addition to safeguarding networks globally, the research team supports the larger threat intelligence community by releasing weekly deep technical analyses of the most critical threats to small businesses, providing critical knowledge that defenders need to protect their networks.