Cloak & Dagger is a newly-discovered Android exploit that lets hackers hide malicious activity
Researchers from Georgia Institute of Technology have released a full report on a new attack vector that affects Android up to version 7.1.2. The exploit, called Cloak & Dagger, uses Android’s design and screen behaviors against users, effectively hiding activity behind various app-generated interface elements that lets a hacker grab screen interactions and hide activity behind seemingly innocuous screens.
The team, Yanick Fratantonio, Chenxiong Qian, Simon Pak Ho Chung, and Wenke Lee, have created proof of concept users of the exploit including a bit of malware that draws an invisible grid over the Android screen that exactly mirrors – and can capture – the onscreen keyboard.
“The possible attacks include advanced clickjacking, unconstrained keystroke recording, stealthy phishing, the silent installation of a God-mode app (with all permissions enabled), and silent phone unlocking + arbitrary actions (while keeping the screen off),” wrote the researchers on a dedicated website. They discovered the exploit last August.
From the paper:
The exploit depends primarily on Android’s SYSTEM_ALERT_WINDOW (“draw on top”) and BIND_ACCESSIBILITY_SERVICE (“a11y”) to draw interactive elements over real apps. For example, in the image above, the team drew a reasonable facsimile of the Facebook password field over the real password field for the app. The user then typed in their real password into the seemingly real password field. However, when the Facebook app is closed you can see the remaining password field hanging in space.
The easiest way to disable this exploit in Android 7.1.2 is to turn off the “draw on top” permission in Settings>Apps>”Gear symbol”>Special access>Draw over other apps.
“All the attacks discussed by this work are still practical, even with latest version of Android (Android 7.1.2, with security patches of May 5th installed),” the researchers wrote. We will update this post with comment from Google and the team.