# Cellphone surveillance

Cellphone surveillance (also known as cellphone spying) may involve tracking, bugging, monitoring, eavesdropping, and recording conversations and text messages on mobile phones. It also encompasses the monitoring of people's movements, which can be tracked using mobile phone signals when phones are turned on.

## Mass cellphone surveillance
### Stingray devices

StingRay devices are a technology that mimics a cellphone tower, causing nearby cellphones to connect and pass data through them instead of legitimate towers. This process is invisible to the end-user and allows the device operator full access to any communicated data. They are also capable of capturing information from phones of bystanders. This technology is a form of man-in-the-middle attack.
StingRays are used by law enforcement agencies to track people's movements, and intercept and record conversations, names, phone numbers and text messages from mobile phones. Their use entails the monitoring and collection of data from all mobile phones within a target area. Law enforcement agencies in Northern California that have purchased StingRay devices include the Oakland Police Department, San Francisco Police Department, Sacramento County Sheriff's Department, San Jose Police Department and Fremont Police Department. The Fremont Police Department's use of a StingRay device is in a partnership with the Oakland Police Department and Alameda County District Attorney's Office.
End-to-end encryption such as Signal protects message and call traffic against StingRay devices using cryptographic strategies.

### Dirtbox (DRT box)

Dirtbox is a technology similar to Stingrays that are usually mounted on aerial vehicles that can mimic cell sites and also jam signals. The device uses an IMSI-catcher and is claimed to be able to bypass cryptographic encryption by getting IMSI numbers and ESNs (electronic serial numbers).

### Tower dumps

A tower dump is the sharing of identifying information by a cell tower operator, which can be used to identify where a given individual was at a certain time. As mobile phone users move, their devices will connect to nearby cell towers in order to maintain a strong signal even while the phone is not actively in use. These towers record identifying information about cellphones connected to them which then can be used to track individuals.
In most of the United States, police can get many kinds of cellphone data without obtaining a warrant. Law-enforcement records show police can use initial data from a tower dump to ask for another court order for more information, including addresses, billing records and logs of calls, texts and locations.

## Targeted surveillance
### Software vulnerabilities

Cellphone bugs can be created by disabling the ringing feature on a mobile phone, allowing a caller to call a phone to access its microphone and listening. One example of this was the group FaceTime bug. This bug enables people to eavesdrop on conversations without calls being answered by the recipient.
In the United States, the FBI has used "roving bugs", which entails the activation of microphones on mobile phones to the monitoring of conversations.

### Cellphone spying software

Cellphone spying software is a type of cellphone bugging, tracking, and monitoring software that is surreptitiously installed on mobile phones. This software can enable conversations to be heard and recorded from phones upon which it is installed. Cellphone spying software can be downloaded onto cellphones. Cellphone spying software enables the monitoring or stalking of a target cellphone from a remote location with some of the following techniques:
* Allowing remote observation of the target cellphone position in real-time on a map
* Remotely enabling microphones to capture and forward conversations. Microphones can be activated during a call or when the phone is on standby for capturing conversations near the cellphone.
* Receiving remote alerts and/or text messages each time somebody dials a number on the cellphone
* Remotely reading text messages and call logs
Cellphone spying software can enable microphones on mobile phones when phones are not being used, and can be installed by mobile providers.

### Bugging

Intentionally hiding a cell phone in a location is a bugging technique. Some hidden cellphone bugs rely on Wi-Fi hotspots, rather than cellular data, where the tracker rootkit software periodically "wakes up" and signs into a public Wi-Fi hotspot to upload tracker data onto a public internet server.This is also legal

### Lawful interception

Governments may sometimes legally monitor mobile phone communications - a procedure known as lawful interception.
In the United States, the government pays phone companies directly to record and collect cellular communications from specified individuals. U.S. law enforcement agencies can also legally track the movements of people from their mobile phone signals upon obtaining a court order to do so.
These invasive legal surveillance can cause a change in public behaviors directing our ways of communication away from technology based devices.

### Real-time location data

In 2018, United States cellphone carriers that sell customers' real-time location data - AT&T, Verizon, T-Mobile, and Sprint- publicly stated they would cease those data sales because the FCC found the companies had been negligent in protecting the personal privacy of their customers' data. Location aggregators, bounty hunters, and others including law enforcement agencies that did not obtain search warrants used that information. FCC Chairman Ajit Pai concluded that carriers had apparently violated federal law. However, in 2019, the carriers were continuing to sell real-time location data. In late February 2020, the FCC was seeking fines on the carriers in the case.

## Occurrences

In 2005, the prime minister of Greece was advised that his, over 100 dignitaries', and the mayor of Athens' mobile phones were bugged. Kostas Tsalikidis, a Vodafone-Panafon employee, was implicated in the matter as using his position as head of the company's network planning to assist in the bugging. Tsalikidis was found hanged in his apartment the day before the leaders were notified about the bugging, which was reported as "an apparent suicide."
Security holes within Signalling System No. 7 (SS7), called Common Channel Signalling System 7 (CCSS7) in the US and Common Channel Interoffice Signaling 7 (CCIS7) in the UK, were demonstrated at Chaos Communication Congress, Hamburg in 2014.
During the coronavirus pandemic Israel authorized its internal security service, Shin Bet, to use its access to historic cellphone metadata to engage in location tracking of COVID-19 carriers.

## Detection

Some indications of possible cellphone surveillance occurring may include a mobile phone waking up unexpectedly, using a lot of battery power when on idle or when not in use, hearing clicking or beeping sounds when conversations are occurring and the circuit board of the phone being warm despite the phone not being used. However, sophisticated surveillance methods can be completely invisible to the user and may be able to evade detection techniques currently employed by security researchers and ecosystem providers.

## Prevention

Preventive measures against cellphone surveillance include not losing or allowing strangers to use a mobile phone and the utilization of an access password. Another technique would be turning off the phone and then also removing the battery when not in use. Jamming devices or a Faraday cage may also work, the latter obviating removal of the battery
Another solution is a cellphone with a physical (electric) switch or isolated electronic switch that disconnects the microphone and the camera without bypass, meaning the switch can be operated by the user only - no software can connect it back.