Home / Ad Security / Inside Safari Scareware: How Fake iOS Tech Support Warnings Trap iPhone Users

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:

  1. Call the “support” number shown on the page.
  2. 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.

ios-techsupport-scam-example-fake-legal-claims
The “you have broken the law” family: lock-screens citing illegal content and money laundering, with an unpaid-invoice subtype.

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.

ios-techsupport-scam-example-fake-virus-alert
Fake security warnings quoting exact virus counts and citing adult-website visits.

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.

ios-techsupport-scam-example-fake-purchase-alert
Fake order confirmations and subscription charges, including a page styled to imitate Apple’s own storefront.

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).

ios-scareware-example-fake-data-breach-alert
Data-breach fake alert offering Apple “technical support” as the only solution.

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.



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.

how-malicious-scripts-invoke-fake-phone-calls-in-safary
Sample JavaScript that triggers the system call prompt.
html-markup-example
Sample HTML markup around the phone link.
markup-contains-a-phone-number
An alternative markup containing a phone number

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:

how-malicious-cycle-file-downloads-work
A sample script driving the cyclic file-download routine.

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

safari-scam-scripts-for-keyboard-interception-example
Sample interception of 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:

  1. A jump from the initially legitimate landing page to a different URL where the scam page lives.
  2. A move to a separate path or subpage within the same domain.
  3. 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.

Dan Vissner

Dan Vissner

Dan Vissner is an ad tech entrepreneur focused on advertising delivery, data analytics, and risk management. Dan has spent over 20 years in web advertising delivery and has contributed to the growth of display platforms, iGaming operators, and affiliate marketing companies throughout his career.

During his time in the industry, Dan has been particularly focused on the problematic areas at the intersection of competencies where businesses usually lose money: sales and marketing, product and marketing, infrastructure resilience, and product innovation. One important part of Dan's role is helping different teams in the company work closely by getting the numbers that they report together. This is especially important when the numbers in one department seem to be different from the risks that the other department holds.

Dan’s perspective on AI in ad tech goes beyond “add a new tool” or “learn to optimize costs” to creating new economic models. This is because AI changes how information is shared and how value is distributed.

Dan Vissner has become one of the founders of a closed community of data and policy researchers. They carry out research activities related to scam networks, data breaches, malvertising, and scareware. Once an instance of abuse has been exposed, their research serves as the basis to help the gambling, betting, online commerce, and affiliate marketing industries to determine what measures should be strengthened, what data has to be released, and which risks cannot be ignored in pricing.

Dan still advocates web advertising as a driver for advertisers who pay to display ads and publishers who get paid for serving audiences. He's worried about how AI is changing things, answering user questions without costing as much as a real website with real people. This puts pressure on the deal between advertisers and websites. Sophisticated content farms are getting a free ride, while real websites have to prove they’re real- not to people as such, but to the algorithms of search engines. And when search engines try to stop fake or abusive content, they often end up hurting real websites too.

At AdTechSurge, Dan Vissner writes about risks that have long been a staple of the display-advertising sector, namely: fraud, malware, data leaks, traffic quality, and rule implementation. He keeps an eye on AI to see its impact on delivery, discovery, or publisher economics. His aim is to describe the market from the viewpoint of those in their day-to-day work, including the harm caused by abuse and the rules set up mainly to address it.

"Web advertising has always been a pioneer, absorbing, testing, and reimagining technology along with others. Whether by means of popunders or with AI agents, we can say, for sure, that we are making the future everyday." ‍‍‍

View author page →