Mobile

With Android P Google Plans To Prevent Cellphone Spying Through Your Camera and Microphone

Android P, is expected to include a neat feature that prevents apps running in the background from spying on you through the camera or microphone on your cell phone.

Do you cover the lens on your webcam to prevent someone from spying on you? You should, and it seems like every security vendor has a branded piece of plastic to take care of that for you — just ask.

Unfortunately, it isn’t as easy to cover the camera on your phone. You use it for many functions that aren’t video conferencing and it is constantly in and out of your pocket or bag. Anything you stick on the camera lens is unlikely to stay for long. Like most mobile security requirements, we are reliant on software and fortunately, Google is stepping up. The next version of the mobile OS, Android P, is expected to include a neat feature that prevents apps running in the background from spying on you through the camera or microphone on your cell phone.

In 2014, one of the surprising revelations from Edward Snowden was the NSA’s ability to spy on targets through cellphone microphones and cameras. By 2017, cellphone specific malware like ChrysaorLipizzan and SonicSpy provide the same capability to hackers. There are even “legitimate” applications marketed to concerned parents and partners who feel the need to keep tabs on their family members. The techniques and capabilities are now so commonplace, it isn’t just the paranoid that should be concerned — everyone who is cares about their privacy should consider the threats that exist in their cellphones.

Most often, the malicious software makes its way onto a cellphone under the guise of something the user actually wants. For example, one enterprising hacker started with the popular Telegram messaging application, added the SonicSpy malware and then distributed messaging software under a variety of different names. Users enjoyed the benefits of the messaging software they downloaded, unaware that it was also spying on everything they did. When installing the application, Android pops up a warning about the app requesting access to your camera microphone, contacts, etc. but this seems acceptable for a messaging application. The insidious part is that even if you think you have closed the messaging app, it is still running in the background — spying on you through the camera and microphone. This is the trick that Android P is going to resolve.

The folks at xdadevelopers who scrutinize all changes to Android Open Source Project (AOSP) code were the first ones to identify the changes and determine the impact as summarized in this blog post. When an application is installed on Android it is assigned an unchanging User ID (UID) which Android leverages the new privacy changes.

Kyle Wiggers explains, “In Android P, when the camera service detects that a UID is “idle”—that is to say, when the device is in the idle Doze state and background apps’ access to CPU and network-intensive services is restricted—Android will generate an error and close access to the camera. Subsequent camera requests from the inactive UID will immediately generate an error.”

In other words, your phone will tell you when an app you didn’t realize was running tries to access the camera. There are likely to be cases where you want to allow an app in the background to access camera and microphone resources on your phone, but you should be able to make the determination yourself, with a complete understanding of what is happening. The upcoming changes in Android P will help you take back your privacy.

An official release date for Android P has not been announced, although it is usually available as a preview for developers around the time of the Google I/O conference which is scheduled for May this year. Hopefully, we will see how well the proposed changes will work in the real world.

About the author:  Steve Biswanger has over 20 years experience in Information Security consulting, and is a frequent speaker on risk, ICS and IoT topics. He is currently Director of Information Security for Encana, a North American oil & gas company and sits on the Board of Directors for the (ISC)2 Alberta Chapter.
[adrotate banner=”9″] [adrotate banner=”12″]

Pierluigi Paganini

(Security Affairs – Android P, mobile)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Experts warn of an ongoing malware campaign targeting WP-Automatic plugin

A critical vulnerability in the WordPress Automatic plugin is being exploited to inject backdoors and…

6 hours ago

Cryptocurrencies and cybercrime: A critical intermingling

As cryptocurrencies have grown in popularity, there has also been growing concern about cybercrime involvement…

8 hours ago

Kaiser Permanente data breach may have impacted 13.4 million patients

Healthcare service provider Kaiser Permanente disclosed a security breach that may impact 13.4 million individuals…

9 hours ago

Over 1,400 CrushFTP internet-facing servers vulnerable to CVE-2024-4040 bug

Over 1,400 CrushFTP internet-facing servers are vulnerable to attacks exploiting recently disclosed CVE-2024-4040 vulnerability. Over…

11 hours ago

Sweden’s liquor supply severely impacted by ransomware attack on logistics company

A ransomware attack on a Swedish logistics company Skanlog severely impacted the country's liquor supply. …

13 hours ago

CISA adds Cisco ASA and FTD and CrushFTP VFS flaws to its Known Exploited Vulnerabilities catalog

CISA adds Cisco ASA and FTD and CrushFTP VFS vulnerabilities to its Known Exploited Vulnerabilities…

24 hours ago

This website uses cookies.