News for hackers. Stuff that matters.
Re:Is macOS’s new XProtect behavioural security preparing to... by mschuster91 on Monday September 04, 2023 @09:55AM (#37380507)
The bastion rulesets won't impact your macOS app, unless you're attempting to do something that only malware or otherwise sketchy software would do.
Re:Is macOS’s new XProtect behavioural security preparing to... by diogenes4 on Monday September 04, 2023 @10:04AM (#37380580)
Surely it would be easier to simply disable internet access until the user enables it. Bonus points if you can control what it talks to at the IP stack and DNS level. Something i've wanted for decades at this point.... yea, little snitch does this, but it's not built in and belongs on my phone as well.

Preventing an app from accessing browser data feels like an approach to make people feel safe while providing no meaningful protections from most malware behavior.

Re:Is macOS’s new XProtect behavioural security preparing to... by mschuster91 on Monday September 04, 2023 @10:33AM (#37380852)
> Preventing an app from accessing browser data feels like an approach to make people feel safe while providing no meaningful protections from most malware behavior.

Depends on the threat model. Yes, protecting browser data does not help if the attacker gained entry into the system by exploiting a vulnerability in the browser. But it helps against all other entry points: USB sticks laced with malware (common threat against companies), malware that came as part of an email attachment or by dodgy warez, an attacker that's already in the network (either because they're laterally moving or because the victim is in a scenario like a public wifi) and exploits some vulnerability in network-enabled software...

Classic defense in depth here, it massively raises the bar for attackers because to steal Chrome user sessions or passwords, you now need a code execution avenue but also a kernel-level or at least sandbox exploit to bypass Bastion.

Re:Is macOS’s new XProtect behavioural security preparing to... by diogenes4 on Monday September 04, 2023 @02:01PM (#37383143)
> Classic defense in depth here, it massively raises the bar for attackers because to steal Chrome user sessions or passwords, you now need a code execution avenue but also a kernel-level or at least sandbox exploit to bypass Bastion.

Sure, but this is a very arbitrary threat model to prioritize that doesn't seem to affect people. What about ads? Tracking? Apps sending fingerprinting home? That seems like a more obvious place to start.

Re:Is macOS’s new XProtect behavioural security preparing to... by duskwuff on Monday September 04, 2023 @04:13PM (#37384506)
> Sure, but this is a very arbitrary threat model to prioritize that doesn't seem to affect people.

Malware exfiltrating users' browser sessions and passwords is a "very arbitrary threat model" that "doesn't seem to affect people"???

Re:Is macOS’s new XProtect behavioural security preparing to... by diogenes4 on Monday September 04, 2023 @07:03PM (#37386014)
Yes
Re:Is macOS’s new XProtect behavioural security preparing to... by mschuster91 on Monday September 04, 2023 @06:28PM (#37385734)
> Sure, but this is a very arbitrary threat model to prioritize that doesn't seem to affect people.

Credential stealer malware is abundant, it's often enough how attackers gain initial access to a company's internal network - grab the credentials off of Chrome, Firefox or one of the other popular password manager apps, and you're bound to find a set of credentials there. Now all you need is some piece of software that's reachable from the Internet and lacks 2FA (which applies to a shocking lot of legacy software), and you got some sort of persistent access to the network.

And in ye early days of cryptocurrencies, before hardware vaults became the norm among crypto enthusiasts, a fair amount of people got their wallets drained by targeted cookie (=session) stealers.

> What about ads? Tracking? Apps sending fingerprinting home?

That is bad, but not "someone can drain your bank account or take over your social media accounts to spam" bad.

Re:Is macOS’s new XProtect behavioural security preparing to... by diogenes4 on Monday September 04, 2023 @07:02PM (#37386012)
I disagree; i think the proliferation of ads is a type of malware that has far more detrimental effects on society than credit card theft (which, incidentally, wouldn't be a problem if the industry bothered to protect their cards with basic authentication on use, which they refuse to)
Re:Is macOS’s new XProtect behavioural security preparing to... by greggsy on Monday September 04, 2023 @10:33AM (#37380849)
I recently attempted to trace exactly which app is making a particular DNS SOA query. I can confidently say that there are very few applications in the *nix space that do proper DNS reporting at all, and Little Snitch seems to be the only one that would map the actual app. I found no working solution to match a query to a pid in Linux.

This tells me that either people rarely need to do this, or that it’s very hard to do in userland.

Re:Is macOS’s new XProtect behavioural security preparing to... by judge2020 on Monday September 04, 2023 @10:50AM (#37381021)
Disabling internet access only prevents exfiltration. Ransomware, for instance, wouldn't need to access the internet at all if it used hard-coded public keys to encrypt content.
Re:Is macOS’s new XProtect behavioural security preparing to... by diogenes4 on Monday September 04, 2023 @07:58PM (#37386364)
Presumably exfiltration would work for most people, no? It is quite unusual to have physical access to a computer, and if you do generally all bets are off.
Re:Is macOS’s new XProtect behavioural security preparing to... by judge2020 on Monday September 04, 2023 @10:07PM (#37387080)
This is just the hypothetical situation where ransomware is a static binary that doesn't care about any data exfiltration - it just encrypts files in-place with a pre-defined public key. So no exfiltration, physical or over the internet, is required.
Re:Is macOS’s new XProtect behavioural security preparing to... by diogenes4 on Tuesday September 05, 2023 @10:28AM (#37392151)
Ah, i see your point.
Re:Is macOS’s new XProtect behavioural security preparing to... by davidmurdoch on Monday September 04, 2023 @10:38AM (#37380889)
Hopefully that's true. If Apple misclassifies some benign action an app makes I have a feeling it'll be nigh-impossible for users to continue using the app, and I always worry that automated negative consequences my come to my Apple developer account.