Short answer: To remove a malicious configuration profile from an iPhone, open Settings, General, VPN and Device Management, tap the profile you do not recognise, and choose Remove Profile, entering your passcode to confirm. Before removing, note what it contains: profiles can install root certificates, VPN or DNS settings, web clips, email accounts or full device management (MDM). After removal, check Settings, General, About, Certificate Trust Settings for any leftover trusted certificates, review VPN settings and web clips on your home screen, and change passwords for accounts you used while the profile was installed. If the profile cannot be removed because the device is supervised by an organisation you do not belong to, contact the seller or Apple. Lockdown Mode blocks new profiles from being installed.
What a configuration profile is
A configuration profile is a file, usually ending in .mobileconfig, that changes iPhone settings in bulk. Companies and schools use profiles to set up Wi-Fi, email, VPNs and security rules on staff devices. Some legitimate consumer apps use them too, for example to install a beta version of iOS in the past, or to configure ad blocking through DNS. Profiles are powerful precisely because they can change settings that normally require several manual steps.

That power is why attackers want you to install one. iPhones will not install a profile silently: you must download it, then go to Settings, approve it and enter your passcode. Scammers therefore trick people into doing it, with messages such as “Install this profile to receive your parcel”, “Required to claim your prize”, “Install to watch this video” or “Your iPhone needs this security certificate”.
What a malicious profile can do
| Payload | What it changes | Risk |
|---|---|---|
| Root certificate | Adds a certificate authority your phone may trust | If enabled for full trust, allows interception of encrypted traffic on networks the attacker controls |
| VPN or proxy | Routes traffic through the attacker’s server | Monitoring browsing, redirecting sites, injecting ads |
| DNS settings | Uses an attacker-chosen DNS resolver | Redirecting domains to phishing pages, tracking visits |
| Web clip | Adds a home screen icon that opens a website | Fake app icons leading to phishing or gambling sites |
| Mail, calendar or account | Adds accounts or calendar subscriptions | Spam events and links, data collection |
| MDM enrolment | Lets a remote server manage the device | Installing apps, changing restrictions, locating or wiping the device depending on enrolment type |
A profile cannot read your messages or photos by itself, and MDM on a personally owned device that you enrolled yourself has more limited powers than on a supervised company device. But traffic interception, redirection and remote management are serious enough to remove the profile promptly.
Find the profile
Open Settings, General, VPN and Device Management. If the section only shows VPN with Not Connected and no other entries, no configuration profile is installed. Otherwise you will see one or more entries under Configuration Profile or Mobile Device Management.
Tap each entry. The screen shows the profile’s name, who signed it (or “Unverified”), and what it contains, such as Certificates, VPN Settings, DNS Settings or Web Clips. Tap More Details to see each item. Write down or screenshot what you see before removing anything; it helps you undo the changes and is useful if you report the scam.
Legitimate or not?
Profiles you probably want to keep include ones from your employer or school that IT asked you to install, carrier settings, and profiles from apps you deliberately set up and still use. Signs of a malicious profile:
- You do not remember installing it, or it came from a link in a text, pop-up or social media message.
- The name is vague (“Security Update”, “iOS Service”, “Delivery Certificate”) or imitates Apple.
- It is unverified or signed by an unknown organisation.
- It contains a root certificate plus a VPN or DNS setting.
- It enrolled the phone in device management run by a company you do not work for.
Remove the profile
- In Settings, General, VPN and Device Management, tap the profile.
- Tap Remove Profile (or Remove Management for MDM).
- Enter your device passcode and confirm.
- Restart the iPhone.
Removing a profile also removes the settings and certificates it installed. Removing an MDM enrolment removes apps and data that the management server installed.
If there is no Remove button, the profile may be marked as non-removable or require a removal password. On a device you own that was never part of an organisation, this is unusual and suspicious. Back up your data, then erase the iPhone with Settings, General, Transfer or Reset iPhone, Erase All Content and Settings, and set it up as new rather than restoring a full backup. If the phone was bought second-hand and is supervised or enrolled through Apple Business or School Manager by its previous owner’s organisation, erasing will not remove that enrolment; contact the seller or the organisation, and if necessary Apple Support.

Undo what the profile changed
Root certificates
Open Settings, General, About, Certificate Trust Settings. Any certificate listed under Enable full trust for root certificates with its switch turned on is trusted to vouch for websites. Turn off trust for any you do not recognise. Removing the profile normally removes its certificate, but this check confirms nothing remains. Our guide to certificate authority errors explains how certificate trust works.
VPN and DNS
Check Settings, General, VPN and Device Management, VPN for any configurations left behind and delete them. Under Settings, Wi-Fi, tap the info button next to your network and check Configure DNS and HTTP Proxy are set to Automatic and Off unless you changed them.
Web clips and calendars
Look for home screen icons that open websites rather than apps; press and hold, then Remove Bookmark or Delete. Check Settings, Apps, Calendar, Calendar Accounts for subscribed calendars you did not add. Our guide to iPhone calendar spam covers this in detail.
Safari and accounts
Clear Safari history and website data, and check Settings, Apps, Mail, Mail Accounts for added accounts.
Change passwords if traffic may have been intercepted
If the profile included a trusted root certificate together with a VPN, proxy or DNS setting, assume an attacker could have seen or altered traffic during the time it was installed. Change passwords for email, Apple Account, banking and other important accounts, starting with ones you signed in to while the profile was active. Use a different network, such as mobile data, and turn on two-factor authentication. Watch bank statements for unfamiliar transactions.
If you also see signs of account-level monitoring, such as unknown devices in your Apple Account device list, review our guides to iPhone spyware checks and iPhone stalkerware and Safety Check.
Prevent it happening again
- Never install a profile from a link in a message, pop-up or social media post. Legitimate parcel deliveries, prizes and videos never need one.
- Only install profiles your employer, school or a trusted app explicitly asks for, and remove them when you leave or stop using the service.
- When iOS shows “Profile Downloaded” and you did not intend it, ignore it. Downloaded profiles are not installed until you approve them in Settings, and unapproved downloads are discarded after a short time.
- For people at high risk of targeted attacks, Apple’s Lockdown Mode, in Settings, Privacy and Security, prevents configuration profiles from being installed and the device from being enrolled in MDM.
- Keep iOS updated.
Frequently asked questions
Can a profile install itself without my permission?
No. iOS requires you to approve the profile in Settings and enter your passcode. Malicious profiles rely on persuading you to do that.
Is it safe to keep my work MDM profile?
Yes, if your organisation asked you to install it. Ask IT what it can see; on personally enrolled devices, MDM access is more limited than on company-owned supervised devices.
I removed the profile but still see strange behaviour. What next?
Check certificate trust settings, VPN, DNS, calendars and web clips as described above. If problems continue, back up photos and documents, erase the iPhone and set it up as new.
Does removing a profile delete my data?
Removing a simple profile deletes only what it installed. Removing MDM deletes managed apps and data the organisation installed, but not your personal photos and messages.



