11 Codes to Check If Cell Phone is Hacked or Tapped

Abeerah Hashim  - Security Expert
Last updated: November 23, 2024
Read time: 13 minutes Disclosure
Share

Discover codes to check if someone has hacked or tapped your phone, learn how to identify breaches, and protect your data from cyber threats.

Are you wondering what to dial to see if your phone is hacked? Welcome. All carriers have a data forwarding feature that allows you to configure your phone to redirect calls, messages, and voicemail to a different number. Unfortunately, cybercriminals could exploit this, causing various security risks.

That is why these special codes (also known as USSD codes) for hacked mobile phones are essential. They can help you identify if and where your calls and voicemail are being forwarded, revealing signs of phone tampering or hacking. Rest assured, we’ll also provide the codes to stop it.

Read on to discover how to detect if your phone has been hacked and the best ways to stay safe.

Quick list of codes to see if your phone is being tracked or is hacked

  1. *#06#: To retrieve your phone’s IMEI code.
  2. *#61#: Check if your missed calls are forwarded to a different number.
  3. ##61#: To deactivate missed call redirection.
  4. *#62#: Check if your calls are redirected when your device is turned off or has no signal.
  5. ##62#: Disable call forwarding when your phone is off.
  6. *#21#: To check if your calls are being redirected.
  7. ##21#: To deactivate unconditional redirection settings.
  8. *#004#: Displays all the redirection settings on your phone.
  9. ##02#: To deactivate all conditional and unconditional redirecting settings.
  10. *2767*3855# or *#*#7780#*#*: To factory reset your phone (Android only).
  11. *#67#: To check for call forwarding number.

Pro tip: Anyone with some tech know-how today can hack a phone in only a few minutes. That means you’ll compromise your privacy within minutes if you do not remain cautious about your mobile security. Ensure your phone is equipped with a robust anti-malware and a VPN such as TotalAV to avoid future threats. To eliminate any existing threat, remember the following codes.

5 signs to know if your phone is hacked or tapped

11 Codes for Hacked Mobile Phones

Here are the signs to detect if your phone has been tampered with or infected with spyware:

  • Battery draining faster
  • Consistent sluggish performance
  • Unfamiliar logins
  • Abnormal storage use
  • Mystery apps you didn’t install
  • Suspicious calls or texts
  • A sudden surge in data usage
  • Annoying spammy pop-ups

If you’ve recently noticed two or more of these signs on your phone, you should investigate the issue immediately.

Understanding USSD codes: The easiest way to identify a hacker 

Unstructured Supplementary Service Data (USSD) is a global communication protocol that mobile phones use to interact with a network operator’s systems. A USSD code is a string of characters, typically starting with an asterisk (*) and ending with a (#), that facilitates network communication. These codes can vary by carrier, device, and even region.

USSD codes are helpful in addition to the basic functions, like changing your PIN or checking your balance. They can also redirect your calls and voicemail to a different number.

Moreover, USSD codes can help you see if your data is being forwarded or your phone is hacked. Thankfully, there are codes you can use to stop it.

Codes to check if your phone is tapped or hacked

A recent report by Deloitte reveals that 67% of smartphone users are apprehensive about the data security and privacy on their devices. So, whether or not your phone is hacked, it’s worth checking. It only takes a few seconds and doesn’t involve additional preparation.

How to use USSD codes to check if your phone is tapped

Here is a quick guide on using USSD numbers to see if your phone is hacked.

1. Open your phone dialer: Navigate to the ‘Phone’ app and find the dialer.

Open your phone dialer

2. Enter the code and tap call: Input the USSD code on the dialer and tap the call button to retrieve the required information.

Enter the code and tap call

3. Check the information you retrieved: A pop-up menu will display the requested information. For example, enter *#06# to get your phone’s IMEI number.

Check the information you retrieved

Codes to check if your phone is tapped or hacked and how to stop it – Detailed list

The following codes will help you check your phone forward settings and safeguard your privacy.

1. *#06# – To retrieve your phone’s IMEI code

You can dial *#06# to get your phone’s International Mobile Equipment Identifier (IMEI) number, a 15-digit unique identifier for every phone.

Note: IMEI code is crucial if you suspect your phone has been tapped or hacked. You’ll need it when contacting your carrier or filling out a police report.

Remember to keep the IMEI number private. A malicious actor can block your phone, making it unusable on any carrier.

Moreover, if a hacker obtains your IMEI number and SIM ICCID, they could clone your phone and intercept your SMS messages.


2. *#61# – To check if your missed calls are forwarded to a different number

All mobile phones have conditional and unconditional forwarding. Conditional call redirecting occurs when you meet certain conditions. For example, the condition might be not picking up a call. Malicious actors can intercept this feature by configuring your phone to forward calls to a different number.

You can dial *#61# to see if your missed calls are redirected to another number. You’ll see the number receiving your unanswered calls if the feature is enabled.

To check if your missed calls are forwarded to a different number

SMS call forwarding will also appear under the same menu. This feature works similarly to call forwarding but applies to SMS messages. It also poses a serious risk, as hackers could intercept crucial messages, such as verification codes for logging into your accounts.

If the number looks unfamiliar and you don’t recall configuring this call-forwarding feature, it clearly indicates that someone is intercepting your calls and messages.


3. ##61# – To deactivate missed call redirection

If you detect an unknown number is receiving your missed calls, just dial ##61# to disable the conditional call forwarding feature. To check if you’ve turned it off, dial *#61# again to check the settings. The interrogation message should indicate you’ve disabled the feature.


4. *#62# – To check if your calls are being redirected when your device is turned off or has no signal

This is another conditional redirection feature that only happens when your phone is completely turned off or doesn’t have signals to receive incoming calls.

To check if your calls are being redirected when your device is turned off or has no signal

The *#62# code will indicate whether this feature is activated. You’ll see the number receiving your missed calls if it’s active.


5. ##62# – To disable call forwarding when your phone is off

If your phone redirects missed calls when your phone is out of reach, dial ##62# to deactivate this feature.


6. *#21# – To check if your calls are being redirected

This USSD code indicates if unconditional forwarding is enabled on your phone. The menu is similar to the other examples above but applies to all calls.

To check if your calls are being redirected

Unconditional forwarding, or call diverting, is a detrimental type of hacking. Unlike call forwarding, call diverting redirects all your calls and messages. If this feature is active, you won’t be able to receive any calls on your phone.

Although call redirection allows you to receive calls before they move to the secondary number, call diversion sends them to a different number before reaching your phone.


7. ##21# – To deactivate unconditional redirection settings 

If you cannot receive calls or notice a call forwarding icon on your phone’s status bar, dial ##21# to disable all unconditional redirection settings.

This will enable you to start receiving calls and messages. You should also contact your provider to check if suspicious activities are associated with your SIM card.

While you might not be able to know the calls and messages you missed, you should change passwords to accounts associated with your phone number.


8. *#004# – Displays all the redirection settings on your phone

This is a useful USSD code for checking your device’s redirection settings. It will display a long list with data in your incoming calls, SMS messages, and voicemail, showing you if they are redirected and which number they go to.

It applies to conditional and unconditional forwarding, acting as a unified solution for the above USSD codes (*#61#, *#62#, and *#21#). If one or more of these codes don’t work, it should do the trick.


9. ##02# – To deactivate all conditional and unconditional forwarding settings 

This is a master code that handles all the work in one swipe. Just dial ##002# to deactivate your phone’s conditional and unconditional redirecting settings.

This code will enable you to remove all previously redirected messages and voicemails, protecting your data from hackers.


10. *2767*3855# or *#*#7780#*#* – To factory reset your phone (Android only)

If you’ve disabled your phone’s redirection settings but still suspect it’s been hacked, you can perform a factory reset to wipe it clean.

So, if you are worried about spyware and other viruses on your phone, dial *2767*3855# or *#*#7780#*#* to fully reset it. This will delete all the settings, data, and third-party apps (including hidden spyware installed to spy on your cell phone).

Besides, here are some alternative ways to factory reset your phone:

  • Go to Settings > Backup and reset > Factory data reset for Android.
  • For iOS, go to Settings > General > Reset iPhone.

11. *#67# – To check for call forwarding number

This code shows you the calls and messages sent to other numbers when you reject the call or on another line. Dial ##67# if it’s an unknown number.


Bonus: Other useful USSD codes

Many other USSD codes are useful for other purposes, some of which are listed below:

  • #31#: This code hides your phone number when making a call. To use it, dial #31# followed by the number you want to call.
  • *#*#4636#*#* or *#*#197328649#*#*: This code shows the device information, Wi-Fi details, and usage statistics (applies only to Android devices).
  • *3001#12345#: Activate the phone’s field mode and show information about local networks, signal strength, and cell towers.
  • *#*#1472365#*#*: Indicate your phone’s ability to locate and connect to GPS satellites (available only for Android devices).
  • *#*#34971539#*#*: Shows your phone’s camera factory information.
  • *#*#232338#*#*: Displays your phone’s Media Access Control (MAC) address when Wi-Fi connects.
  • *#*#4636#*#* or *#*#197328640#*#*: Provides your phone’s factory information, Wi-Fi details, and usage statistics.

Can an antivirus program protect my phone from being hacked?

Having a list of codes to see if your phone is hacked is good, but you, ideally, also need a security program on your device all the time. An antivirus is an essential security tool as it monitors your phone’s operating system and storage in real-time. If it detects a malicious application, it quarantines it to prevent further damage.

Additionally, an antivirus can prevent hacking through alerts. For example, you might receive an email with a malicious attachment that might install a keylogger on your phone. Thankfully, antivirus software will scan all the attachments and alert you if it detects anything suspicious. We tested dozens and have listed the top 3 options for you to consider.

1. TotalAV

TotalAV logo

Despite being a new player, it offers seamless Android, iOS, Windows, and macOS compatibility like any high-end antivirus provider.

Secure browsing Boasts a secure browsing feature
VPN Has a built-in VPN feature for extra protection
Password manager Offers a password manager
Ad blocker Built-in ad blocker
Firewall protection Robust technology to bypass firewall
Ransomware protection Has an effective ransomware protection
Malware protection Stealth protection against malware
Pros
  • Compatibility across multiple devices
  • Protects up to six devices simultaneously
  • Offers a free trial
Cons
  • Some features won’t work properly

TotalAV is a reputable antivirus program with an intuitive dashboard, making it a great choice for beginners. It also includes many customization features for advanced users.

The antivirus scanner is impressive, with almost flawless malware detection rates. During our tests, it caught 99% of all our malware samples, from ransomware to Trojans. Fortunately, the scanner had minimal impact on our system’s performance during operations.

TotalAV

TotalAV’s WebShield feature prevents you from visiting malicious websites. During our tests, it blocked the majority of harmful websites we tried to visit. It also offers Total Browser, a secure browser that blocks malicious ads and notifies you if the site you’re visiting has been involved in a data breach.

Moreover, TotalAV has a Smart Scan that streamlines routine maintenance by combining tasks into a single scan. This includes an antivirus scan, disk cleanup, and tracking cookie scan, saving you considerable time when running a scan.


2. Norton 360

Norton 360 logo

The antivirus has already gained immense fame for its robust security and an even more advanced plan.

Secure browsing Ensures safe browsing
VPN A by-default VPN
Password manager Offers a password manager
Ad blocker Block malicious ads with its functional ad blocker
Firewall protection Ensures reliable firewall protection
Ransomware protection Protects from ransomware
Malware protection Secures your device against malware
Email protection Comes with Email Protection features
Pros
  • Has a parental control feature
  • Provides webcam security
  • Offers a 30-day free trial
Cons
  • Slightly expensive

Norton 360 has indomitable virus and malware protection. It is a comprehensive security suite that works across all operating systems.

This antivirus software has a unique scanning engine powered by machine learning and heuristic analysis. This enables it to scan, detect, and remove the latest and most advanced types of malware. During our tests, it scored a 100% protection rating.

 Norton 360

Norton’s phishing protection is remarkable. Its browser extension blocks phishing sites, providing detailed information on each site it blocks. Moreover, the antivirus includes built-in online banking protection and a secure search engine with color-coded evaluations of your search results.

This antivirus also has a decent password manager that generates and stores strong passwords, eliminating the hassle of remembering them. However, it lacks a built-in TOTP authenticator and password sharing that most standalone services offer.


3. Webroot Antivirus

webroot antivirus logo

A cutting-edge antivirus program that provides optimum protection against online threats.

Secure browsing Secure your browsing with its dedicated feature
VPN Has a basic VPN option
Password manager A secure password manager
Ad blocker Blocks malicious ads effectively
Anti tracker Keeps your tracks anonymous with its anti tracking feature
Firewall protection Offers firewall protection
Ransomware protection Protection against ransomware
Malware protection Shields your device against malware
Pros
  • Blazing-fast virus scan
  • Simple and intuitive interface
  • Offers a 70-day free trial
Cons
  • Limited payment method

This is another impressive antivirus with highly advanced features. In particular, it uses real-time intelligence to monitor and analyze digital threats.

Additionally, it provides dual protection against online threats, preventing common online threats like ransomware and malware.

Webroot Antivirus

Webroot antivirus uses cloud-based solutions, which minimally impact your system performance. Moreover, its proactive approach to threat protection will protect your device from emerging threats like phishing attacks and spyware.

One feature that impressed us the most was the super-fast scans. It uses a lightning-fast scanning engine that combines files and folders to detect malicious files or activity.


How can a phone be hacked?

Here are the most common tactics cybercriminals use to hack phones:

  • Phishing: Fraudsters manipulate unsuspecting users into revealing personal information by exploiting their fear or curiosity. Popular phishing targets include online document and storage services, webmail, internet portals, and financial service sites.
  • Unsecured Wi-Fi networks: Hackers often exploit unsecured public Wi-Fi networks to target unsuspecting users, so be cautious when using them.
  • Tracking software: Some malware types, like stalkerware, can track you using GPS, messages, call logs, browser history, images, and more. Unfortunately, this malware can be concealed behind seemingly harmless apps.

Tips to stay safe from phone hacking

Here are some tips to keep your personal information and device safe:

  • Monitor your phone’s performance regularly and assess your device’s battery health. If it is losing charge abnormally, try one of the codes above to see if you’re being hacked.
  • Open the app list and check for suspicious apps you didn’t install. Mobile malware and spyware often disguise themselves as innocent-sounding apps like ‘Mobile Gallery.’
  • Avoid downloading apps from unknown sources, accessing malicious sites, or using public Wi-Fi networks. These are some of the common places hackers target unsuspecting users.
  • Never leave your phone unattended, especially in public, as installing spyware only takes a few minutes.

FAQs

Dial

#4636#

to check if your phone is hacked. The code will show your phone, battery, usage statistics, Wi-Fi, and battery information. Another alternative code for the same purpose is

#197328640#

.

Dial *#062# or *#21# to check if your calls are intercepted – diverted or redirected. Then dial ##002# to stop the redirections.

Yes, most of these codes work for iPhones.

Yes, almost all of these codes work on Android devices. Some of the codes are only for Android.

Share this article

About the Author

Abeerah Hashim

Abeerah Hashim

Security Expert
174 Posts

Abeerah is a passionate technology blogger and cybersecurity enthusiast. She yearns to know everything about the latest technology developments. Specifically, she’s crazy about the three C’s; computing, cybersecurity, and communication. When she is not writing, she’s reading about the tech world.

More from Abeerah Hashim

Comments

No comments.