12 Codes to Check If a Phone is Hacked

Posted in /  

12 Codes to Check If a Phone is Hacked

Saumya Rastogi
Last updated on November 22, 2022

    Isn’t it dreadful to know your smartphone has been hacked or someone else is tracking it? But how to know whether your smartphone is hacked? Is there any code to check if a phone is hacked? Yes, there are certain essential codes that help you know that your smartphone is hacked.

    Humans have become increasingly dependent on smartphones, as they are capable of performing various activities with ease. Along with basic activities, like communicating and storing private data, smartphones help people to do other activities, like online shopping, transferring payments to others, and many others. They have made human life more convenient than ever before.

    According to Statista , 981 million people across the globe own smartphones. Also, the number is expected to grow to 1,530 million by 2040.

    The benefits of owning a smartphone come with one major disadvantage, i.e., it may be prone to attacks and fraud. As technology is evolving, so is the rate of cyberattacks. Hackers or threat imports are always looking for new techniques to place their attacks and be successful in stealing data or causing harm to individuals and organizations.

    According to the survey of RSA Security , 60% of the total cyberattacks worldwide are initiated on mobile devices .

    We use third-party applications on smartphones for a variety of purposes. Some of these third-party applications may contain malware , which puts mobile phones at risk, allowing hackers to access private data stored in them.

    However, the tough part is how to determine whether your phone is hacked or hackers are targeting your smartphone. Fortunately, there are some codes to check if your smartphone is hacked or not. These codes are simple phone-tapping codes that provide you with information about your smartphone’s security.

    Continue reading this article to find out the essential codes to check if a phone is hacked.

    How to Identify if a Phone is Hacked?

    The following are some significant issues that you may notice with your smartphone and come to the conclusion that it is hacked or breached:

    • Significant Decrease in Battery Life: If you notice that your phone’s battery discharges quickly even when you don’t do any task, it is one of the signs that your phone might be hacked.
    • Mysterious Pop-Ups: Even if you use an adblocker on your smartphone and still receive mysterious pop-ups frequently, it is definitely a red flag indicating that someone is trying to steal your information. This is nothing but phishing .
    • High Data Usage: If your phone uses a high amount of data suddenly, there are chances that your smartphone may have malware in it. The reason behind this is that malicious software in your smartphone keeps track of your activity and uploads your data to the server, which is why your phone uses a high amount of data.
    • Sluggish Performance: If you experience your phone running slow or frequently crashing, it may be a sign of someone stealing your credentials. When a malicious software works in the background on your smartphone, it slows down your phone and causes it to reboot automatically.
    • Outgoing Calls or Texts that you Didn’t Send: When your phone gets hacked, hackers get access to everything on your phone. As a result, they may send texts or call people in your contact list.
    • Unusual Activity with any of your Accounts: If you notice any suspicious activity associated with any of your accounts linked with your smartphone, it is also possible that your phone is on the verge of being hacked.

    12 Codes to Check if a Phone is Hacked

    Before we proceed to actual codes, it is first important for you to know what these codes are called. Have you ever heard about USSD?

    If not, USSD is an acronym for Unstructured Supplementary Service Data. It is a communication protocol that the Global System for Mobile Communications (GSM) leverages to send and receive text messages to and from the mobile network operator.

    USSD is sometimes referred to as quick codes or feature codes. Basically, these are alphanumeric codes to provide you with some specific information when dialed from your phone.

    Now, the following are some useful USSD codes that let you determine whether your smartphone is hacked or not.

    1. Code: ??*#06# - IMEI Check

    Every 3GPP and iDEN mobile phone comes with a unique IMEI number. IMEI is an acronym for International Mobile Equipment Identity. It is a unique identifier that is usually printed inside a phone’s battery section. However, you can also get the IMEI number on the screen by dialing the *#06# code on your phone’s dial pad.

    Though the IMEI number does not provide you with information about your phone being hacked, it is useful to track or know where your phone is exactly. So, if you have lost your phone, you can track it using its IMEI number.

    But make sure you have your phone’s IMEI number. Simply dial the code *#06#, and you will get the IMEI number. Else, you can remove your phone’s battery and check it there. Many phones provide the IMEI number in their settings menu.

    2. Code: *#61# - If Someone Catches Unanswered Calls


    One of the ways hackers can steal your personal information while you communicate with others via a call is by forwarding your calls to another number. When you don't receive any kind of call notification and still your phone rings, it is an indication that you are a victim.

    To check your call forwarding settings, simply dial the code *#61#. If you find that your calls are forwarded to somebody else, you can turn off the call forwarding setting with the code ##61#.

    3. Code: *#62# - Redirection Code

    Redirection Code

    Besides call forwarding, another sign that your phone is hacked is that you may not receive any text messages or calls from your contact list, as hackers might have redirected all to them.

    To check where your calls are redirected to while your cell is off, dial the code *#62#. If you receive any number as a response, it is the one where your calls get redirected.

    4. Code: *#67# - Check Who Receives Your Unanswered Calls

    Check Who Receives Your Unanswered Calls 

    When you receive a call while talking to another person over the phone, or if you reject it, hackers basically redirect such calls to them. In such a scenario, simply dial the code *#67#. If you get any number (apart from yours) in response, that is the number your unanswered calls are redirected to. You can turn off this setting by dialing code ##67#.

    5. Code: *#004# - Check All Call Forwarding Information

    Check All Call Forwarding Information

    The code *#004# provides a complete picture of the conditional call forwarding. You will get to know who receives your calls and messages when you are out of the network area, busy on the other line, reject the call, or don’t answer the call.

    Instead, of using the above three code: *#61#, *#62#, and *#67#, you can simply use the code *#004#. When you want to reset your phone’s all call forwarding settings, use the code ##004#.

    6. Code: ##002# - The Catchall Code

    The Catchall Code

    This is an anti-diversion code that allows you to turn off all forms of redirection on your phone. It erases all forwarded calls, texts, and other data. When you want to use roaming, you can use this code because you do not worry about losing money when calls get automatically routed to your voicemail.

    7. Code: *#*#197328640#*#* - Utility Net Monitor Code

    The code *#*#197328640#*#* is a network packet analyzer that provides you with information about data your phone receives through messages, calls, etc. Also, this code helps you know the location from where your phone’s data was retrieved.

    When you enter this code, you get a menu. To find out where the hacker is located, you need to follow the below steps:

    • Dial the code *#*#197328640#*#*, and select the UMTS Cell Environment option from the menu.
    • Next, select the UMTS RR Information . Note down the cell ID number.
    • Press the back button to go back to the main menu. There, you need to select the MM Information option.
    • Next, choose Serving PLMN , and the screen will display the local area code to note down.
    • Finally, visit any net monitor website and enter your cell ID number and the local area code that you have noted in the above process. After that, you will come to know whether your phone has any unknown connection or not.

    Some Other Popular USSD Codes

    8. Code: *#*#1472365#*#*

    Using this code, you can check the strength of your phone’s GPS because hackers usually use it to track your location. It comes in handy when you lose your smartphone or it is stolen.

    9. Code: *#*#7780#*#*

    When your Android phone has a lot of bugs, malware, and many other issues that serve as obstacles in performance, a factory reset is an option that you are left with. This option sometimes proves to be very effective.

    Dialing the code *#*#7780#*#* will remove all your phone’s settings, data, and other information. So, before using this code, make sure to have a complete backup of the data stored in your cell.

    10. Code: *#*#34971539#*#

    When you use the code *#*#34971539#*#, you get information about the firmware of your phone’s camera. It helps you easily determine whether your phone has been manipulated or not.

    11. Code: *#*#232338#*#*

    When you dial this security code *#*#232338#*#*, you get the MAC address. Compare this MAC address with your phone’s network. If it matches, no worries. But if it does not, you need to pay attention to find out some possible issues.

    12. Code: *2767*3855#

    Earlier, we discussed the code for a factory reset. The code *2767*3855# is for a hard reset. It deletes everything on your device. However, make sure to back up everything that you have on your mobile device.

    How to Block Hackers from your Android and iOS Phone?

    The following are some essential tips that help you block hackers and spies from your Android and iOS mobile devices:

    • Use the Latest Version of Android or iOS

    Make sure to run the latest version of the operating system. This is because developers work on improving security by dealing with vulnerabilities that hackers could exploit to accomplish their goals. So, always ensure that you are using the latest version of your operating system.

    • Use a Secure Lock Password

    It is essential to use a strong lock password or pattern to keep your mobile device protected. When you have a strong lock password, even if your phone gets into the wrong hands, it would not be possible to open it and access information.

    Moreover, sometimes it is possible to guess the patterns as you swipe on your phone’s screen. So, it is always better to use a password that you need to enter manually. But make sure to use strong and unguessed passwords and not your name or birthdate.

    • Use a Security Application

    When you use a security application, it protects your mobile device from getting infected with malware. Also, it alerts you when there is tampering with your mobile device.

    There is a plethora of security applications for Android and iOS. Also, you can find many applications for free. Simply do a lot of research before using any security application, as security is of the utmost importance.

    • Avoid Using Public WiFis

    Public WiFis are generally not secured and are the prime targets for attacks. So, you must avoid using public WiFi unless it is very urgent.


    The security of your mobile device is paramount. So, it is always better to frequently check whether your mobile device is safe or not. Use all the aforementioned basic USSD codes to check if a phone is hacked or tapped or if is there someone who is keeping track of your phone activities. Also, you can inspect your phone’s behavior or any unusual activity to determine whether it is hacked or not.


    It is pretty difficult to determine that your mobile device is hacked. But, there are certain parameters through which you can figure out that your mobile device is hacked. These parameters include excessive battery drainage, mysterious pop-ups, sluggish performance, high data usage, suspicious activities, and outgoing calls and texts that you didn’t do.

    The best code to use is the Utility NetMonitor Code *#*#197328640#*#*. This code provides information about unknown connections and tracking.

    The code ##002# turns off all kinds of redirections on your phone. It is simply factory resetting your mobile device. Though it does not tell that your phone is hacked, it removes malware and infected software.

    There is no guaranteed approach to unhacking your phone. Still, you can follow certain steps. If you encounter any suspicious activity, make sure to change all PINs and passwords. Use an antivirus software to run the security scan. Also, you can factory reset your phone to delete all data.

    Leave a Comment on this Post