Useful codes to find out if your phone has been hacked
Unstructured Supplementary Service Data (USSD) is a GSM (Global System for Mobile Communications) protocol. It is used to communicate with your mobile network operator via text messages. USSD codes are alphanumeric codes programmed to provide the sender with a certain response or information.
Here are some USSD codes that can help you determine if your phone has been hacked.
Code *#06# for IMEI check:
IMEI is an abbreviation that stands for International Mobile Equipment Identity. This is a 15-digit number unique to your phone. It doesn't contain any information about whether your phone has been hacked, but that doesn't mean it's not useful.
Your IMEI number is a code you can use to check where your phone is. Essentially, it helps you track your phone. To find your IMEI number, simply dial the code *#06#. If your phone's battery is removable, you might be able to find it there.