• Trend Micro
  • About TrendLabs Security Intelligence Blog
Search:
  • Home
  • Categories
    • Ransomware
    • Vulnerabilities
    • Exploits
    • Targeted Attacks
    • Deep Web
    • Mobile
    • Internet of Things
    • Malware
    • Bad Sites
    • Spam
    • Botnets
    • Social
    • Open source
Home   »   Vulnerabilities   »   A Look at the OpenType Font Manager Vulnerability from the Hacking Team Leak

A Look at the OpenType Font Manager Vulnerability from the Hacking Team Leak

  • Posted on:July 7, 2015 at 12:44 pm
  • Posted in:Vulnerabilities
  • Author:
    Jack Tang (Threats Analyst)
7

Earlier this week, the Italian company known as Hacking Team experienced a breach, with more than 400GB of confidential company data made available to the public. The company was known for selling what it described as tools used to lawfully intercept communications that could be used by governments and law enforcement agencies. The company has stated they do not do business with oppressive countries.

Much of the leaked information covered Hacking Team’s business practices, which seemingly contradict their official statements on who they sell their products to. However, the leak also included the tools provided by the company to carry out attacks, including several exploits targeting Adobe Flash Player and Windows Kernel.

Since we have already discussed one of the Adobe Flash Player vulnerabilities, I decided to look into the Windows Kernel vulnerability. The vulnerability exists in the OpenType manager module (ATMFD.dll), which is provided by Adobe. The DLL is run in the kernel mode. An attacker can exploit the vulnerability to perform privilege escalation which can bypass the sandbox mitigation mechanism.

Looking into the vulnerability

The vulnerability‘s root cause is simple. When the application calls for some GDI API (e.g., GDI32!NamedEscape), it can specify which font driver can be used in the font processing. ATMFD.dll is one of the font drivers. While the module processes the font data, there exists a buffer underflow, which is caused by a signed number extending.

I have simplified the vulnerability below:


Figure 1. Simplified vulnerability code

In line 5, the code is signed extending.  If i is 0x8000, then index will be 0xffff8000.  The check in line 6 will be successful, because index has a very small value (negative value) from the signed number view. In line 8, index*2+6 will become a negative value, so buffer_base[index*2+6] will point to a position which is in front of the buffer_base.

The font buffer’s content can be prepared by an attacker, so that the vulnerability can be used to write controlled content to the position which is front of the input buffer.

Additional information about this leak and the other exploits can also be found in our entry, Unpatched Flash Player Flaw, More POCs Found in Hacking Team Leak. We will update this entry should any information be made available.

Timeline of posts related to the Hacking Team

DATE UPDATE
July 5 The Italian company Hacking Team was hacked, with more than 400GB of confidential company data made available to the public.
July 7

Three exploits – two for Flash Player and one for the Windows kernel—were initially found in the information dump. One of these [CVE-2015-5119] was a Flash zero-day.

The Windows kernel vulnerability (CVE-2015-2387) existed in the open type font manager module (ATMFD.dll) and can be exploited to bypass the sandbox mitigation mechanism.

The Flash zero-day exploit (CVE-2015-5119) was added into the Angler Exploit Kit and Nuclear Exploit Pack. It was also used in limited attacks in Korea and Japan.

July 11 Two new Flash zero-day vulnerabilities, CVE-2015-5122 and CVE-2015-5123, were found in the hacking team dump.
July 13 Further analysis of the hacking team dump revealed that the company used UEFI BIOS rootkit to keep their Remote Control System (RCS) agent installed in their targets’ systems.
July 14 A new zero-day vulnerability (CVE-2015-2425) was found in Internet Explorer.
July 16 On the mobile front, a fake news app designed to bypass Google Play was discovered.
July 20 A new zero-day vulnerability (CVE-2015-2426) was found in Windows, which Microsoft fixed in an out-of-band patch.
July 21 Analysis of the RCSAndroid spying tool revealed that Hacking Team can listen to calls and roots devices to get in.
July 28 A recent campaign compromised Taiwan and Hong Kong sites to deliver Flash exploits related to Hacking Team.

 

Learn how to protect Enterprises, Small Businesses, and Home Users from ransomware:
ENTERPRISE »
SMALL BUSINESS»
HOME»
Tags: ExploitHacking TeamvulnerabilityWindowszero-day vulnerability

Featured Stories

  • Following the Trail of BlackTech’s Cyber Espionage Campaigns
  • Android Backdoor GhostCtrl can Silently Record Your Audio, Video, and More
  • Linux Users Urged to Update as a New Threat Exploits SambaCry
  • Erebus Resurfaces as Linux Ransomware
  • The Reigning King of IP Camera Botnets and its Challengers

Business Process Compromise

  • Attackers are starting to invest in long-term operations that target specific processes enterprises rely on. They scout for vulnerable practices, susceptible systems and operational loopholes that they can leverage or abuse. To learn more, read our Security 101: Business Process Compromise.

Business Email Compromise

  • How can a sophisticated email scam cause more than $5.3 billion in damages to businesses around the world?
    See the numbers behind BEC

Latest Ransomware Posts

  • WannaCry Ransomware Sold in the Middle Eastern and North African Underground
  • Locky Ransomware Pushed Alongside FakeGlobe in Upgraded Spam Campaigns
  • Android Mobile Ransomware: Bigger, Badder, Better?
  • Cerber Ransomware Evolves Again, Now Steals From Bitcoin Wallets
  • New WannaCry-Mimicking SLocker Abuses QQ Services

Recent Posts

  • Microsoft’s October Patch Tuesday Fixes 62 Vulnerabilities, including an Office Zero-Day
  • WannaCry Ransomware Sold in the Middle Eastern and North African Underground
  • Dnsmasq: A Reality Check and Remediation Practices
  • SYSCON Backdoor Uses FTP as a C&C Channel
  • Business Process Compromise and the Underground’s Economy of Coupon Fraud

Ransomware 101

  • This infographic shows how ransomware has evolved, how big the problem has become, and ways to avoid being a ransomware victim.
    Check the infographic

Popular Posts

  • iXintpwn/YJSNPI Abuses iOS’s Config Profile, can Crash Devices
  • ZNIU: First Android Malware to Exploit Dirty COW Vulnerability
  • Locky Ransomware Pushed Alongside FakeGlobe in Upgraded Spam Campaigns
  • BankBot Found on Google Play and Targets Ten New UAE Banking Apps
  • CVE-2017-5638: Apache Struts 2 Vulnerability Leads to Remote Code Execution

Latest Tweets

  • Google home mini speaker discovered eavesdropping on home user. Report: bit.ly/2g5ByM3
    about 4 hours ago
  • User data in #mobile devices is a primary target of cybercriminals. How to practice mobile safety:… twitter.com/i/web/status/9…
    about 10 hours ago
  • #Hacktivist groups also use the Middle Eastern and North African #underground to recruit members:… twitter.com/i/web/status/9…
    about 18 hours ago

Stay Updated

  • Home and Home Office
  • |
  • For Business
  • |
  • Security Intelligence
  • |
  • About Trend Micro
  • Asia Pacific Region (APAC): Australia / New Zealand, 中国, 日本, 대한민국, 台灣
  • Latin America Region (LAR): Brasil, México
  • North America Region (NABU): United States, Canada
  • Europe, Middle East, & Africa Region (EMEA): France, Deutschland / Österreich / Schweiz, Italia, Россия, España, United Kingdom / Ireland
  • Privacy Statement
  • Legal Policies
  • Copyright © Trend Micro Incorporated. All rights reserved.