Hacker News new | ask | show | jobs
Targeted attack on our management with the Triangulation Trojan (usa.kaspersky.com)
197 points by madmanweb 1114 days ago
12 comments

From the article

> We believe that the main reason for this incident is the proprietary nature of iOS. This operating system is a “black box”, in which spyware like Triangulation can hide for years. Detecting and analyzing such threats is made all the more difficult by Apple’s monopoly of research tools – making it a perfect haven for spyware. In other words, as I’ve often said, users are given the illusion of security associated with the complete opacity of the system. What actually happens in iOS is unknown to cybersecurity experts, and the absence of news about attacks in no way indicates their being impossible – as we’ve just seen.

Shatters Apple's argument that all of these hurdles are better for security. I wonder if testimony like this could affect any of their antitrust lawsuits or right to repair lobbying.
Not "shatters", as while it is a valid counter, it doesn't tell you the relative strengths and weaknesses of the two approaches, only that Apple isn't perfect which should already have been assumed.

A stronger counter to Apple's argument is the relative pricing of exploits… but the story I'm remembering is old enough that I don't want to just assume it's still true, even though it's near the top of my search results:

https://www.wired.com/story/android-zero-day-more-than-ios-z...

Pricing in the exploit market is value based, not cost based.

You can sell an iOS exploit for more because the people you're targeting with it are generally wealthier.

> You can sell an iOS exploit for more

If you could sell it for more, but it seems you can't sell it for more.

This implies a large supply of zero-days competing with each other on price.

I reject this, but the thought makes me smile.
You can see that it's still the case (for Android exploits to be priced higher than Apply).

https://zerodium.com/program.html

It doesn't really shatter anything does it? People here are going to understand that there are trade-offs to every decision made.

I suspect iOS is not worse than the more open Android simply because senior management at Kaspersky are using iPhones. If anybody is choosing their platform with security in mind, it has to be them and they are going with iOS.

Previous nation-state level hacking on iPhones used exploits available on the (grey?) market. https://blog.google/threat-analysis-group/italian-spyware-ve...
And on that same page it says the Android version didn’t even require an exploit. The sneakiest thing that was required on Android was to write the word “Samsung” on the app icon so that users would click it.

Near the end, they say:

> This campaign is a good reminder that attackers do not always use exploits to achieve the permissions they need.

It reads more like an excuse than the actual reason.

Endpoint protection solutions can be installed in iOS devices. The device could also be wiped clean, eliminating the malware.

The latter should not be much of an issue in any serious organization. If any executive keeps critical data in a phone, that is already an issue.

The former is a hassle, but I have had to use locked down iPhones before, and the tradeoffs are still better than facing an intrusion.

The vulnerability and the vector could also have been present in a different form in Android devices.

All in all, I don't think this is the response Kaspersky should have come forward with.

> Endpoint protection solutions can be installed in iOS devices.

How does "endpoint protection solution" protect from 0-day exploits? I guess it can do that only in marketing materials, not in reality.

It could definitely help detect exfiltration, for instance.

This malware was running and spreading for years. It is actually surprising that it took a security company like Kaspersky so long to detect it.

I'm very happy Kaspersky has. And that their released a tool they believe can detect past and present infection with the Triangulation Trojan.

I've not idea to what extent it's possible to have a durable trojan on iOS (probably only the makers of such trojans do know).

It's absurd to say a company should not blow the whistle on a sophisticated attack when that companys job is just that!

> It's absurd to say a company should not blow the whistle on a sophisticated attack when that companys job is just that!

They should definitely do it.

They should also acknowledge that they did a shoddy job. They let the malware run unchecked for several years. It is clear that the safeguards they had in place did not work, not for protection, but especially for detection.

Instead, they chose to boost the image of their own products and bash a third party vendor with a questionable reasoning.

Apple's marketing might have a different stance but engineers on their security team don't really consider these to be security features.
> Shatters Apple's argument that all of these hurdles are better for security.

Sorry I don't buy that this "shatters" anything besides peoples misguided assumptions that anything can be perfectly secure without being fully disconnected.

Apple's iOS 16 supports iphone 8 which was released in 2017, 5 years ago. Apple's iOs 15 supported iphone 6 which was released in 2015, 7 years ago.

> Samsung’s previous promise to provide three years of upgrades and ensures millions of Galaxy users have access to the latest features for security, productivity, visual experience and more, for as long as they own their device.

https://news.samsung.com/us/samsung-galaxy-os-upgrade-one-ui...

They only _just_ changed to 4 years, last year.

> Samsung will now provide up to five years of security updates to help protect select Galaxy devices

They do mention 5 years of updates but only for _select_ galaxy devices (presumably the top of the line).

---

I am assuming anyone rooting/flashing is taking way more risks and security concerns into their own hands. But in length of support/security updates alone apple is winning.

I also wonder how long it actually takes a vulnerability patch (let's say for a zero day) to get out on android and then through OEM security updates. (I haven't been android in too long to know this.) Apple actually just released a way for them to do this and have already used it once, they call it "Rapid Security Responses" (which you can switch off although idk why you would).

https://support.apple.com/en-us/HT204204

Is Apple making that argument?
It doesn't shatter anything except Kaspersky's good judgement. If this is true the real question is:

Why are Kaspersky's management using iPhones?

Because they were deceived by Apple's quality promises?

If Apple really wanted to improve security (instead of just producing marketing claims about it) they would provide anyone with debugging symbols, root privileges and anything else needed for research and debugging.

> Because they were deceived by Apple's quality promises?

The point being, with Kaspersky as security experts, it really does call into question their judgement and expertise.

It's entirely rational to have believed iPhone to be more secure in the past, now believe Android is more secure, and yet remain on iPhone:

  1. At some point, weigh probabilities of exploits
  2. Update Bayesian priors as new evidence arrives
  3. Even if the initial decision currently appears incorrect, there needs to be a high enough difference in probability to justify switching, because in switching, you're still exposed to any persistent exploitation via the old exploits plus new exploits on the new platform
Switching back and forth the instant your Bayesian prior swings over/under 50% for Android being more secure than iPhone is a terrible strategy. (Also, you need to risk-weight your various exploit probabilities... security is a multidimensional quantity, so collapsing to a scalar is at least context-/threat-model-dependent.)
Why are top management at Kaspersky using iPhones, presumably they knew iPhones were a “black box” and a security risk.
I guess everyone at Kaspersky knew the risk of an attack was non-zero given their industry profile. Their SIEM finally caught it, albeit it is arguable if the detection was timely and as others in the thread have pointed out, their MDM should have detected the upgrade failures or version issues. We will probably hear about it in the detailed paper/presentation later.

Their rant on the closed nature of the ios ecosystem is more around Apple's hold on the research tools. That is what I took from the statement, among other things.

What should they be using instead?
Eh, of course they did. It almost almost sounds like a honeypot, even. I think there is more to this than they're saying for now.
Why are they running iMessage? That’s the real vector here.
Actually, Apple should consider making iMessage open source.

Given it is such a popular attack vector, it probably benefits the ios ecosystem to take the benefit of open source scrutiny. There are other messaging apps like Signal, WhatsApp, Telegram etc., So, it is not like a copycat would suddenly emerge and threaten Apple's position. Apple hold the keys to the app store anyway and can review any potential copycat (supposedly malicious one) and prevent it from being released.

I don't think you can disable iMessage.
You can and this is trivially verifiable.
Right you can turn off getting any messages entirely and deregister your phone from their network. I believe what I was remembering was you can't swap out the primary SMS receiving app like you can on Android. Unless something changed. Not everyone like's to live in a security bubble w/o phone access, even the security minded.
I have it disabled. One of the first things I do on a new install.
Why are they using iOS if they feel that way about it?

Also: iOS 16 is not vulnerable and it was released on September 12, 2022 - why are those phones out of date for so long?

That one of the bigger security companies seemingly didn't have MDM screaming bloody murder or outright blocking authentication for an endpoint this out of date is more than a little concerning.

Props to their SIEM for detecting it in the end, but this seems like it could've been detected and remediated a few weeks in (assuming it didn't also have the ability to spoof the iOS version).

That's why I believe this is a made up article for selling their security product.
From the comments section on Securelist page on Operation Triangulation https://securelist.com/operation-triangulation/109842/

<extract>

> SECURELIST

> Posted on June 2, 2023. 11:10 am

> Hi Bil!

> We identified that the latest version of iOS that was targeted by Triangulation is 15.7. However, given the sophistication of the cyberespionage campaign and the complexity of analysis of iOS platform, we can’t guarantee that other versions of iOS are not affected.

</extract>

Does an OS upgrade remove this malware though? Maybe it doesn't and it's why so many phones were infected.
The article says:

>An indirect indication of the presence of Triangulation on the device is the disabling of the ability to update iOS.

So I assume that the malware stops working when iOS is updated. This highlights the tremendous importance of keeping software up to date.

> the disabling of the ability to update iOS.

This is done by the malware.

Indeed, the identified fix involves a factory reset and upgrading iOS to prevent the malware from taking over again.

That provides a simple explanation for why the phones are running such an old version: because they've been infected and unable to be updated for that entire time.

I guess execs at security firms are no better than average people when it comes to noticing that their phones never got the various new features (end emojis!) from the last year of OS updates.
Latest update from Kaspersky.

> June 02 2023 Update: triangle_check utility

> We have developed and made freely available the triangle_check utility, that can detect indicators of compromise in an Apple device backup. Detailed instructions on how to use it under different OSs (Windows, Linux and macOS), as well as how to create a device backup can be found in a post on Securelist. [1]

[1]: https://securelist.com/find-the-triangulation-utility/109867...

Does Kapersky release its products under open source license nowadays?
Wasn't whataboutism forbidden on HN?
And it's not RMS who said it :-)
From the linked technical report:

The oldest traces of infection that we discovered happened in 2019. As of the time of writing in June 2023, the attack is ongoing, and the most recent version of the devices successfully targeted is iOS 15.7.

Thread from yesterday:

https://news.ycombinator.com/item?id=36154455

“Clickless” iOS exploits infect Kaspersky iPhones with never-before-seen malware - 26 comments

Several people submitted this, but it gets swept off the HN front page by loyal Apple fans flagging it.
I was surprised at how low it was on the front page, and how quickly it disappeared. But I never saw a "flagged" indicator on it. I thought that flagged posts typically had these indicators — is this not the case?
"An indirect indication of the presence of Triangulation on the device is the disabling of the ability to update iOS"

My guess would be that they didn't find out thanks to their monitoring solution, but because some senior manager shouted pretty loudly at someone to get their iPhone to update, asap! :)

Or maybe the monitoring solution noticed the LACK of update checks from iOS devices.
Noticed a lack of updates after 6 months. The whole thing doesn't exactly speak to extreme infosec competence at Kaspersky labs in my opinion.
/Overworked blue teamer rant

We're just bloody tired okay?!? Every fing weekend every fking day it's a new 0day and exploit and attack surface.

And then the new patch breaks production or the new edr throws up a storm because someone had the audacity to run psexec or some other bullcrap

/Overworked blue teamer rant

Kaspersky was spying on international citizens for over a decade, providing data for both the FSB and GRU.

...and now they're complaining about counter surveillance by the FBI?

You make it sound like big tech companies never cooperate with the law enforcement. I bet CIA and FBI have their hand so far up Zuck’s ass it’s almost like Minority Report at this point.
Of course it is like this. We live in the golden age of cyberwars.

But you as a founder decide whose values of the surrounding society you align your company with.

In an autocratic nation these controls are kind of absolutist in nature, whereas in democracies you have at least some sense of oversight.

Given the mechanics of the game, where you reside your company tells a lot about who you're friends with.

These days on a larger scale there's basically NATO, SCO, UAE, Israel and the African Union as alliances (setting aside (former) British colonies).

Companies have to cooperate with either of those, otherwise they would not be allowed to exist.

> These days on a larger scale there's basically NATO, SCO, UAE, Israel and the African Union as alliances (setting aside (former) British colonies).

Which one's the good one?

Only Siths deal in absolutes.

Among that list, NATO is by far the preferred option.

I'm not even sure which SCO is under discussion here, the unix one, Pakistan's "Special Communications Organization", the Shanghai Cooperation Organisation, or if Scotland is up to something surprising, or if it's one of several "State Controller's Office" and "Special Counsel's Office" in the USA…
I mean, unless you live in Middle East and one day they say you have WMD and they destroy your whole country. If you live in the EU or the US - then yes.
> whereas in democracies you have at least some sense of oversight

Can you give some examples of oversight ?

None of those things except NATO is an actual alliance.
How is disclosing an Apple security issue "complaining"?
It’s the polemics. Complaining is a matter of presentation, not content.

Plenty of security disclosures are matter of fact and not loaded with opinion and innuendo.

Do you have any sources for this? I'm interested in reading more about it after seeing a lot of allegations. I don't recall ever seeing anything concrete.
Literally one google search gave me this.[1] You could have saved a lot of time writing "Kaspersky FSB GRU" in google than writing this comment to someone to cite their sources.

[1]https://www.bloomberg.com/news/articles/2017-07-11/kaspersky...

Yeah sorry, I should have been more specific. I was looking for evidence that:

> Kaspersky was spying on international citizens for over a decade, providing data for both the FSB and GRU.

You linked a news article that states:

> The U.S. government hasn’t identified any evidence connecting Kaspersky Lab to Russia’s spy agencies

Maybe more evidence will be uncovered by the (alleged) targeted attack against Kaspersky though.

I'm interested in the technology created to perform these activities more than the politics surrounding it. How they do it, not why.

Could you quote a paragraph from that article that supports the claim

> Kaspersky was spying on international citizens for over a decade, providing data for both the FSB and GRU.

I read it through twice and aside from implication the strongest assertion was that Bloomberg had seen emails that confirmed Kaspersky had worked with the FSB to supply anti-DDOS systems that included counter measures (the ability to hack and disrupt hackers attacking systems) which wasn't denied by Kaspersky who maintained they do similar work with many governments and their 3-letter-agencies.

There's apparently an entire wiki on the subject and again it's mostly speculation, misunderstanding (ie, in the NSA case), or as you said misrepresenting what was essentially a pretty innocuous defensive gov contract by an infosec company.

https://en.wikipedia.org/wiki/Kaspersky_bans_and_allegations...

It makes sense for western governments to be wary of using it but going beyond that is just speculation at this point.

> users are given the illusion of security associated with the complete opacity of the system. What actually happens in iOS is unknown to cybersecurity experts, and the absence of news about attacks in no way indicates their being impossible

For this to change the community needs to create the needed tools. I don't think Apple will ever help you with something that can potentially make them look bad.

tl;dr - malicious state and private threat actors can at any time completely take over your iphone (root access) with an invisible iMessage without you having a practical chance to detect it besides scanning your iphone backup
Should add that this can only occur if you haven't updated your phone in over a year.
They said it can infect iOS 15.7. I just looked and it appears 15.7.1 was released 10/27/22. And the malware apparently quietly blocks OS updates and can survive full hardware resets.

If you were fully updated to the latest iOS last October and got infected, it would keep you infected. They also said they found the malware has been deployed in the wild since at least 2019 and this is the first discovery o. f it. And it appears to be a fully remote, stealth infection against all iPhones.

I'm no expert on security (or iOS) but it sounds pretty much like worst case to me.

Or if you were infected over a year ago by malware that blocks and doesn't notify you of updates.
God knows what other government spywayre us already available and in use and that can do more than this.

Only the top of the iceberg is being visible to public if not less.

It still blows my mind that this is not a known fact by most people for as long as phones have existed? Or maybe it is?
how is this generally possible? In my simplified understanding, a text message is a hunk of data, but I know it's more complex than that.... it must be able to connect to all kinds of services and trigger all kinds of code running, right? Can't it be sanity checked sufficiently?
Even if it would be a simple text message (which its not for iphone), it triggers a text parser at minimum. That parser can have carious bugs in it, ie if parser checks phone contacts to highlight phone number in text as a known contact, identifies some weblink etc.

To sum it up to have it as fancy as possible to users it checks various things and needs permissions for that. Enough 0days in the chain and you can do whatever you need.

This is the problem of closed systems, you have to trust manufacturer 100%, there is no independent audit possible. And if you ever did any serious code before, you know by heart that any code has bugs, in the code, in platform/VM it runs, apis etc.

Apparently, it uses iMessage's proprietary messaging format, not standard text messages. I don't use iOS but my understanding is users can't replace iMessage with another messaging app.
> my understanding is users can't replace iMessage with another messaging app.

To be precise there is one "Messaging" app, that automagically uses iMessage (blue bubbles) instead of SMS (green bubbles) whenever possible. One can turn off iMessage in the settings, which will probably lead to your iPhone rejecting iMessages, making other iPhones only send SMS to you and also make your iPhone only send SMS. Whether that toggle prevents receiving and processing of malicious, invisible iMessages is an entirely different question.

Adjacent topic but i have a friend who told me buying a refurbished iPhone from a local shop was a bad idea from a security perspective.

Is this true? I thought a hard reset and secure enclave etc. was enough? Can you put "stuff" in it that survives to a new user?

Theoretically yes. However, the chance of you encountering a second hand device with such an implant is relatively low I'd say.

I guess if you buy it off journalists or activists the chance would be higher but still relatively unlikely. But as with anything, consider if it suits your threat model and act accordingly.

Exploits that survive a full wipe are almost unheard of on iOS.
hardware modifications definitely can. A few years ago I've read ([0] - the article is in russian but google translate does its job) about hardware bugs installed in iphones - with a mic and an own SIM card, everything is powered from the phone's battery.

[0] https://service-iphone.ru/blog/proslushka-v-iphone-teper-bez...

How does one “ draws a yellow triangle in the device’s memory.”?
The phrase "in the device's memory" refers to off-screen rendering: https://www.quora.com/What-is-the-use-of-offscreen-rendering
Is this an AD for their SIEM product?
> What actually happens in iOS is unknown to cybersecurity experts

Sounds like a skill issue to me. I'll eat my words if they were genuinely infected with something that lingered in such a way that it persisted past a reboot and completely broke all updates, but I would be very surprised if this was the case.

Why would an actor with a reliable zero-click need to persist past a reboot? That appears to be the claim in the article, update blocking plus on-demand reinfection.
Didn’t read the article, because on my oldish phone the cookie options defaulted to disallowing necessary cookies and allowing all others. I’m fairly confident this is a bug
Aand I just reloaded and it bounced around between cookie modal and nothing before letting me in without further interaction