Older Mac webcams can spy without activating warning light, researchers find

Researchers from Johns Hopkins University created an application that can disable the LED on first-generation iSight cameras while in use

Most webcams have a warning light that indicates when they're active, but it's possible for malware to disable this important privacy feature on older Mac computers, according to research from Johns Hopkins University (JHU) in Baltimore.

JHU Assistant Research Professor Stephen Checkoway and graduate student Matthew Brocker investigated the hardware design of the first-generation iSight webcam model installed in Apple's iMac and MacBook computers released before 2008 and found that its firmware could easily be modified to disable the indicator LED.

At the hardware level, the LED is directly attached to the webcam's image sensor, particularly its STANDBY pin. When the STANDBY signal is active the LED is off and when not active, the LED is on, the JHU researchers said in a recently released paper.

In order to disable the LED, the researchers had to find a way to activate STANDBY, but also configure the image sensor to ignore it because when STANDBY becomes active the image sensor output automatically gets disabled, so the webcam cannot be used to capture images.

To achieve this the researchers created a modified version of the iSight firmware and then reprogrammed the camera with it, using a method that involves sending vendor-specic USB device requests from the host OS. They found that this operation doesn't require root privileges and can be done from a process started by a regular user account.

The JHU researchers created a proof-of-concept application called iSeeYou that detects whether an iSight webcam is installed, reprograms it with the modified firmware and then allows the user to start the camera and disable the LED. When the iSeeYou application is stopped, the camera is reprogrammed with the original, unaltered firmware.

In addition to spying on users without them knowing, the ability to easily reprogram the iSight camera could also allow malware to escape from an operating system that runs inside a virtual machine, the researchers said.

To demonstrate, this they reprogrammed the camera from a guest OS running inside VirtualBox -- a virtual machine program -- to act as an Apple USB keyboard. This allowed them to send key presses that transferred the keyboard's ownership from the guest OS to the host OS and then executed shell commands on the host OS.

The JHU researchers didn't only document the iSight weakness, but also proposed defenses, both at the software and hardware levels, against attacks that might try to exploit it. They built a Mac OS X kernel extension called iSightDefender that blocks specific USB device requests that could be used to load rogue firmware from being sent to the camera.

This kernel extension raises the bar for attackers because they would need root access to bypass it. However, the most comprehensive defense would be to change the hardware design of the camera so that the LED cannot be disabled by software, the researchers said.

Several proposals on how that could be achieved, as well as recommendations on how to secure the firmware update process, are presented in the paper.

The researchers said they've sent the report and their proof-of-concept code to Apple, but they haven't been informed about any possible mitigation plans.

Apple did not immediately respond to a request for comment.

There's been a rise in recent years in the number of cases in which hackers spied on victims -- primarily women -- in their bedrooms and other private settings though their webcams.

One recent case of "sextortion" -- extortion using illegally obtained nude photographs of victims -- involved 19-year-old Cassidy Wolf, the winner of the 2013 Miss Teen USA title.

In September, the FBI arrested a 19-year-old man named Jared Abrahams from Temecula, California, on charges that he hacked into the social media accounts of several women, including Wolf, and took nude photographs of them by remotely controlling their webcams. He then allegedly contacted the victims and threatened to post the pictures on their social media profiles unless they sent him more nude photos and videos or did what he demanded for five minutes in Skype video chats.

Wolf said in media interviews that she had no idea someone was watching her through her webcam because the camera's light didn't go on.

There are hackers who bundle remote administration tools (RATs) that can record video and sound from webcams with malware, the JHU researchers said in their paper. Based on discussion threads on hacker forums many of these individuals, who are known as "ratters," are interested in the ability to disable the webcam LEDs, but do not think it is possible, they said.

This new research shows that it is possible, at least on some computers.

"In this paper, we have examined only a single generation of webcams produced by a single manufacturer," the researchers said. "In future work, we plan to expand the scope of our investigation to include newer Apple webcams (such as their most recent high-definition FaceTime cameras) as well as webcams installed in other popular laptop brands."

Security experts have advised users in the past to cover their webcams when not in use in order to avoid being spied on in case their computers get compromised.

Join the CSO newsletter!

Error: Please check your email address.

Tags intrusionAppleJohns Hopkins UniversitysecurityExploits / vulnerabilitiesmalwareprivacy

More about AppleBaltimoreFaceTimeFBISkype

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Lucian Constantin

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts