ForgeNEX

Russian watering holes: iOS and Android flaws in the service of espionage

Kremlin-linked attackers use fake websites with malicious JavaScript to steal cookies and data from iOS and Android mobile devices. Key points for your SMB.

4 min read

In this article

Targeted attacks do not always start with a suspicious email or a strange attachment. Sometimes it is enough for an employee to open the wrong website from the company mobile phone. That is, in essence, what a team of researchers described this week: a group of attackers, assessed with "moderate to high" confidence as part of Russia's Foreign Intelligence Service, has been exploiting already-patched vulnerabilities in iOS and Android to try to compromise the phones of those who visited a series of websites.

The modus operandi is the classic watering hole: instead of going after the victim, the watering hole the victim frequents is compromised. Among the spoofed sites is one dedicated to the 250th anniversary of US independence, but the list of affected domains could number in the hundreds, and many of them are related to the conflict in Ukraine.

Illustrative detail: Hackers exploited iOS and Android flaws to infect phones

How the attack chain worked

The pattern described by the researchers is simple to summarize and difficult to detect at first glance. The user enters a legitimate website or a copy that looks very much like it. Malicious JavaScript is injected into the traffic that first profiles the device: it identifies whether it is an iPhone or Android, which browser it uses, which operating system version it runs. With that information, the attacker chooses the most appropriate final payload for that device.

The stated goal of those payloads was to steal browser cookies. In some cases, also Wi-Fi passwords and full mobile device data. Cookies are especially valuable because they allow hijacking already authenticated sessions without needing to know the password: the attacker bypasses the login and goes directly into the account.

The america250.org case illustrates the technique well. The attackers registered a similar domain, america250[.]holiday, and used it as a reverse proxy against the real site. The visitor saw the authentic content, but the intermediary added the malicious JavaScript along the way. That is, the fake website did not copy the content: it served it in real time from the legitimate one, which makes noticing the difference at first glance practically impossible.

Why this matters to an SMB

The first reaction of many IT teams will be to think that this is state espionage and that it has nothing to do with them. Wrong approach. The techniques described are not exclusive to state actors: the same scheme of reverse proxy, JavaScript injection and device profiling is within reach of any criminal group that wants to steal sessions from email, banking or corporate SaaS tools.

And the vector is the mobile phone, precisely the device that many SMBs manage worst. A salesperson who checks a website about grants or subsidies from their iPhone, an administrative worker who opens a link from their personal mobile to look up a supplier, an executive who checks email on a tablet without MDM. Any of those scenarios can end with a session cookie in someone else's hands.

It is worth remembering that the exploited flaws were already patched. That means the weak link was not the operating system, but the pending update. A phone months behind on patches is an open door, no matter how much the manufacturer has published the fix.

What we recommend doing right away

  1. Real inventory of mobile devices. You cannot protect what you do not know about. Make a list of phones and tablets with access to email, CRM or any corporate tool, distinguishing between corporate and personal devices with access (BYOD).
  2. Forced updates. Establish a clear policy: iOS and Android must be on the latest available version within a maximum of days, not months. If you use MDM, automate the check and block access to critical resources for devices that do not comply.
  3. Cookies and sessions under control. Reduce the lifetime of sessions in critical applications, require reauthentication for sensitive operations and check whether your providers allow active sessions to be invalidated remotely.
  4. DNS filtering and corporate browsing. Good DNS filtering on mobile, also outside the office, helps cut off spoofed domains before the JavaScript even runs.
  5. Mobile-specific training. The classic "don't click on strange links" is not enough when the link points to a website that looks legitimate. Teach how to verify domains, to distrust URLs with hyphens or strange extensions and not to reuse the personal phone to access critical systems without protection.

This episode fits a trend we have already discussed on the blog: the attack surface is moving toward the endpoint and toward the supply chain. We saw it with the unpatched Cacti 0-day and with the way AI agents are beginning to exploit vulnerabilities without human intervention. The lesson is the same: the window between the publication of a patch and its actual application is where the game is played.

The detail that should not be overlooked

The theft of Wi-Fi passwords and full device data in some cases points to a more ambitious goal than simply stealing an account: lateral movement. With the office Wi-Fi network password, an attacker can try to jump to other machines. With device data, they can refine subsequent social engineering campaigns.

For an SMB, this reinforces an idea we repeat often: mobile security is not a personal matter for the employee, it is part of the company's infrastructure. And as such, it must have policy, tools and budget.

Source: Ars Technica. Analysis and adaptation: ForgeNEX.

Keep reading

Call us WhatsApp