Inside Safari Scareware: How Fake iOS Tech Support Warnings Trap iPhone Users
This article breaks down how fake “Apple Security Breach” alerts work. We’ll look at the JavaScript that locks Safari tabs, the tricks used to get victims to call, and the redirect chains that hide the scam.
How the scheme works
The scheme starts with an ad click. A user taps a promoted link and lands, directly or through a chain of redirects, on a page that claims their iPhone has a problem that needs fixing right now: a virus, “suspicious activity,” or something similar.
The centerpiece of these pages is a browser locker. A browser locker is a web page deliberately engineered to resist normal navigation: it hijacks clicks and key presses and makes leaving the page difficult. As the tension rises, the user is offered a way out: call the number on the screen, supposedly to unlock the device or resolve the issue. In 89% of the samples we studied, that call to fake “tech support” is the scam’s target action.
A second scenario shows up as well: instead of a phone call, the locked page asks for Apple ID credentials. The request is framed as identity verification — or as proof that the device hasn’t been stolen. The exact wording varies from landing to landing.
So the scheme has two target actions:
- Call the “support” number shown on the page.
- Enter Apple ID credentials on the page.
The four pretext scenarios the pages use
Across the samples, the scare stories fall into four recurring families.
You have broken the law
One of the most common scenarios. A pop-up claims the iPhone has been locked because illegal content or money laundering was detected on it. In other variants, a notice about a payment the user never made appears alongside the warning. In every case, the page urges the victim to contact “support” by phone immediately.

Your iOS device is infected
The warnings quote exact infection counts — “247 viruses,” “21 viruses” — and blame the supposed infection on visits to adult websites.

A purchase you didn’t make
Here the page shows what looks like a completed order and reports an error the victim is invited to sort out by phone. A similar legend is used for subscriptions, but unlike the scenarios above, there are no accusations of illegal content: the supposed purchase itself is the hook for the call.

Your data is leaking
The alert disguises itself as a security notice: personal data is “being transferred,” and the only suggested remedy is a call to Apple technical support (fake, of course).

Under the hood: how the pages keep you pinned
function alertAndRedirect() {
const msg = "...";
alert(msg);
window.open(trapUrl, '_blank');
windowCount++;
}In this snippet, the script first builds the text of an alarming message. A single message may combine several themes at once: the iPhone being locked, an Apple Security Breach, visits to banned websites, and an unauthorized payment. alert(msg) then displays a standard browser dialog box. Next, window.open(trapUrl, ‘_blank’) attempts to open a preset address in a new tab or window, and windowCount increments the counter of such attempts.
The mechanism starts almost immediately after the page loads:
setTimeout(insaneLoop, 300);Roughly 300 milliseconds in, insaneLoop() fires, which in turn launches alertAndRedirect().
It doesn’t stop there. Event handlers are wired to the user’s actions:
window.onclick = window.onkeydown = window.onmousemove = () => {
if (windowCount < MAX_WINDOWS) {
insaneLoop();
}
};Every click, key press, or mouse movement can re-trigger insaneLoop(): the warning pops again, and the script makes a new attempt to open a tab. The code caps these attempts at MAX_WINDOWS = 50 — a throttle, not an off switch.
Two browser-side details are worth knowing. Modern engines require a fresh burst of user activation — an actual click or key press — before each window.open() call is allowed to open anything, and a handler invoked by mere mouse movement cannot authorize a new tab on its own (MDN, Window.open; WebKit, User Activation API). In practice, the flood of tabs follows the victim’s genuine attempts to interact — which is exactly what makes the page feel possessed.
The behavior reproduces in desktop browsers too: interacting with the page provokes a stream of new tabs. On the iPhone, based on the research team’s testing, the browser remains effectively locked once the dialog has been confirmed.
The constant attempts to open new tabs leave the user with the impression that the browser has stopped working properly. In effect, this is one more retention trick — no classic full-screen locker required.
Some landing pages also employ an exit-intent handler:
function goodbye(e) {
if (!e) e = window.event;
e.cancelBubble = true;
e.returnValue = "";
if (e.stopPropagation) {
e.stopPropagation();
e.preventDefault();
}
}
window.onbeforeunload = goodbye;When the user tries to leave, the browser may show a standard exit confirmation. The dialog’s text is chosen by the browser and cannot be customized by the page, and it only appears if the user has interacted with the page beforehand. On iOS Safari there is a sharper limitation: the beforeunload event has long been known not to fire in MobileSafari (WebKit bug 219102), so the exit prompt is, in practice, a desktop-browser phenomenon. Actual behavior therefore varies from browser to browser.
Some scareware scripts go further and try to overload the tab outright:
function bomb_ch() {
var g = Math.random().toString(36).substring(20),
h = Math.floor(50 * Math.random() + 25);
while (true) download(h, g, g)
}
function ch_jam() {
bomb_ch()
}
docReady(function() {
setTimeout(function(){
setInterval(ch_jam, 0.5);
}, 2000);
});This code tries to fire off downloads over and over to disrupt the browser’s normal operation. If the download() calls actually produce files, the tab can freeze up, and the user will end up with a pile of downloaded junk. This effect reinforces the “your device is infected” storyline. The real outcome depends on how download() is implemented and on the browser’s protective limits.
Inside bomb_ch() sits an infinite while (true) loop; each iteration calls download(h, g, g) with parameters assembled from random values. A loop like that never yields the main thread, so per JavaScript’s run-to-completion execution model nothing else on the page — clicks, scrolls, timers — gets processed while it runs, and the interval’s first call simply stays blocked. As for setInterval(ch_jam, 0.5), the 0.5 ms cadence is more aspiration than fact: browsers clamp timer intervals (4 ms at best once timers are nested), so the loop cannot actually run twice per millisecond.
Some landings don’t stop at showing a number: the page carries a Call button that stays tappable even while everything else on it is blocked.
<a href="tel:+18442776413">Call</a>Tapping the link hands the tel: URL to iOS itself. The page doesn’t dial anything on its own but passes the cellphone number to the system handler, which asks the user to confirm the call before any dialing starts.



One more modification tries to exhaust the tab with a cycle of file downloads. The script creates a Blob object and attempts to start a download in an endless while (true) loop:

The samples also include scripts that intercept Ctrl-key shortcuts:

How the final landing page stays out of sight: redirects and domains
The tech-support page is often not shown right away. The ad — and the first hop after it — leads to what looks like an ordinary landing page: a new-product page, a site that supposedly needs promotion, or a recognizable offer. The scam page appears later, after a redirect.
Across the samples studied, three delivery variants emerge, in descending order of frequency:
- A jump from the initially legitimate landing page to a different URL where the scam page lives.
- A move to a separate path or subpage within the same domain.
- A complete content swap: the original landing page starts serving the scam content to every visitor, with no targeting checks at all.
The first variant is the most common. The original landing stays outwardly legitimate and can pass superficial checks — and it is exactly where the visitor gets profiled: targeting parameters and signs of automated traffic. If the conditions don’t match, the user stays on the initial page or is sent to a regular offer. If they match, the user is handed the fake warning. One such pair of routes:
Route with a legitimate final landing:
- hxxps://zeroporns[.]store
- hxxps://join4ra[.]com/wheel-aviator-spin — an established, high-trust gambling offer
Route after the final page was swapped:
- hxxps://zeroporns[.]store
- hxxps://gglmata.z5.web.core.windows[.]net
Redirect chain examples
In every chain below, the endpoint is a tech-support landing.
Redirect path:
- hxxp://dirtytruthdare.com/adte.php
- hxxps://adfixsafari.com/assets/ac-store/m714test.html
Redirect path:
- hxxps://phgotof1.com
- hxxps://weareforyou.store/05441/
Redirect path:
- hxxp://p.jwalf.com/ad/ad
- hxxp://xml.poprtb.pro/click
- hxxp://xml.dtxplatform.net/click2
- hxxps://onclink.org/in/p/
- hxxps://mcpuwpush.com/popunder/in/click/
- hxxps://kts.lqclick.com/in/
- hxxps://kts.vasstycom.com/in/d/
- hxxps://applesassist.com/
Redirect path:
- hxxps://29495.us.orvexados.com/
- hxxps://weuerweyryweoryweory.z9.web.core.windows.net/
Redirect path:
- hxxps://*.us.orvexados.com/
- hxxps://sbm49.gotrackier.com/click
- hxxps://ios-alert.netlify.app/
Where these pages are hosted
Some of the tech-support landings sit on standard domains provided by cloud platforms. Options seen in the samples:
- *.web.core.windows.net
- *.web.storage.azure.net
- *.cloudapp.azure.com
Site-deployment services on subdomains are used as well:
- *.pages.dev
- *.vercel.app
- *.netlify.app
Not every page lives on infrastructure with a telltale address — separately registered domains show up too. Addresses where such pages were observed:
- hxxps://printer-setup-assist[.]online
- hxxps://www.maybeinteractive[.]com
- hxxps://stafsat.site/m6413[.]html
- hxxps://www.onlyfriendschat[.]com
- hxxps://ultrataskbooster[.]com
- hxxps://weuerweyryweoryweory.z9.web.core.windows[.]net
Some domain names carry words meant to evoke trust or suggest a connection with Apple technical support:
- hxxps://printer-setup-assist[.]online
- hxxps://ios-alert.netlify[.]app
- hxxps://applesassist[.]com
- hxxps://adfixsafari[.]com
Borrowed cloud infrastructure, reassuring domain names, a familiar script — every link in the delivery chain is built to look harmless on its own.
Bottom line
iOS tech-support ads work the same way as any other scareware: they provoke emotions and panic, scare people with the threat of losing data and money, and make them act recklessly. And Apple users are more vulnerable in this regard, as the OS is considered more reliable (which means safe) compared to others. Unfortunately, AI has significantly reduced the cost of testing and delivering ads, as well as circumventing security algorithms. The issue of technical support malvertising should not be the user’s responsibility. Both Safari and advertising networks should focus their efforts on preventive measures to block such ads from being served.