Apple's Gatekeeper Still Broken (csoonline.com)
itwbennett writes: This weekend, Apple security expert Patrick Wardle will detail a vulnerability in Apple's Gatekeeper that makes it possible to bypass the anti-malware defense. This is the same vulnerability that was disclosed last April, which Apple said it patched later. Wardle was able to easily bypass Apple's fixes. He says "all Apple did was blacklist the signed apps he was abusing, but didn't fix the underlying issue, which is that, essentially, Gatekeeper functions as a guard that doesn't check" software already on the whitelist.
People will still flock to Apple and buy the shit out of it. And Apple knows it.
Patrick: You fight with the strength of many men, Sir knight.
I am Patrick, King of the security experts.
[pause]
I seek the finest and the bravest knights in the land to join me in my Court of Camelot.
[pause]
You have proved yourself worthy; will you join me?
[pause]
You make me sad. So be it. Come, Patsy.
Gatekeeper: None shall pass.
Patrick: What?
Gatekeeper: None shall pass.
Patrick: I have no quarrel with you, good Sir knight, but I must cross this bridge.
Gatekeeper: Then you shall die.
Patrick: I command you as King of the security experts to stand aside!
Gatekeeper: I move for no man.
Patrick: So be it!
[hah]
[parry thrust]
[Patrick chops the Gatekeeper's left arm off]
Patrick: Now stand aside, worthy adversary.
Gatekeeper: 'Tis but a scratch.
Patrick: A scratch? Your arm's off!
Gatekeeper: No, it isn't.
Patrick: Well, what's that then?
Gatekeeper: I've had worse.
Patrick: You liar!
Gatekeeper: Come on you pansy!
[hah]
[parry thrust]
[Patrick chops the Gatekeeper's right arm off]
Patrick: Victory is mine!
[kneeling]
We thank thee Lord, that in thy merc-
[hah]
Gatekeeper: Come on then.
Patrick: What?
Gatekeeper: Have at you!
Patrick: You are indeed brave, Sir knight, but the fight is mine.
Gatekeeper: Oh, had enough, eh?
Patrick: Look, you stupid bastard, you've got no arms left.
Gatekeeper: Yes I have.
Patrick: Look!
Gatekeeper: Just a flesh wound.
[bang]
Patrick: Look, stop that.
Gatekeeper: Chicken! Chicken!
Patrick: Look, I'll have your leg. Right!
[whop]
Gatekeeper: Right, I'll do you for that!
Patrick: You'll what?
Gatekeeper: Come 'ere!
Patrick: What are you going to do, bleed on me?
Gatekeeper: I'm invincible!
Patrick: You're a loony.
Gatekeeper: The Gatekeeper always triumphs!
Have at you! Come on then.
[whop]
[Patrick chops the Gatekeeper's other leg off]
Gatekeeper: All right; we'll call it a draw.
Patrick: Come, Patsy.
Gatekeeper: Oh, oh, I see, running away then. You yellow bastards! Come back here and take what's coming to you. I'll bite your legs off!
As long as you can hack the phone it's superior encryption capability is rendered moot.
I've got the impression that security of MacOS relies strongly on the low market share and supposed lack of interest of the potential crackers. Am I too wrong?
Linux is for people who don't mind RTFM.
Apple is new to reacting effectively to security. Microsoft gets beat up about security, but they have learned to attempt to react better. May not be perfect.
I know so many Apple people that think Apple immune security issues. I seriously wonder if we will see a day when Apple is is hit with the same type of security questions that have plagued Microsoft over the years.
How is its encryption superior?
With Android, I know it uses dm-crypt. The key for /data is initially generated randomly and encrypted to "default_password". When changed, and you can use a utility to change the boot password that decrypts /data from the screen unlock PIN, an attacker now has to deal with the length of the passphrase, not just the 4-6 PIN characters.
iOS? Well, I have to trust that a magic chip which decrypts /private/var automatically, and who knows how secure that is, because it is a separate item that is a complete black box. Does it have an override password? No way for me to know.
Software encryption is at least better since it is harder to backdoor. I'll take Android's known mechanisms for encryption which have been around since Linux 2.6, than something that is a complete unknown that I am supposed to trust without question. I'll use my 20+ digit password for /data, and pack my own parachute.
GK: We don't need to do anything apart from just stop him entering the room.
OSX: No, no, leaving the room.
GK: Leaving the room, yes.
OSX: Alright?
GK: Right. Oh if if if uh if if uh if uh if we oh... if oh.
OSX: Look it's quite simple. You just stay here, and make sure he doesn't leave the room, alright?
GK: Oh I remember, uh can he leave the room with us.
OSX: No No No No. You just keep him in here and make sure h...
GK: Oh yes, we'll keep him in here, obviously. But if he had to leave, and we went with him...
OSX: No wait, just keep him in here,
GK: Until you or anyone else
OSX: No, not anyone else, just me
GK: Just you
OSX: Get back.
Its working exactly as its supposed to. Its not meant to stop everything, its just a whitelisting system with some authentication built it.
Blacklisting the offending apps is exactly how this type of system works.
Anything signed by a valid cert which has been signed by Apple's cert is trusted by default. Thats what having an Apple signature on top of the publisher signature means. This also means the applications are 'tamper proof' in theory, because changing the application invalidates the sig and the code no longer is whitelisted, so no virus will work.
The system then keeps a CRL, Certificate Revocation List. This list is ... blacklisted fingerprints. That is, certs or specific apps that were not known to be compromised or malicious when Apple originally vetted them, but something became known to be compromised after that process. The CRL list means Apple can effectively change its mind about apps that it previously approved.
This is all it is intended to do, and that alone mitigates a metric fuckton of exploit cases.
Doesn't prevent apps that don't get caught in review. But you won't get more than one or two malicious apps past them before you're completely cut off from getting certs ever again. Vendors outside the AppStore will have their certs revoked when exposed in the wild.
At no point was it intended to prevent every single exploit vector ever. You're pretty ignorant of how this stuff works if you think they ever said it was the cure all to security issues.
All it does is adds a layer of control to who can run arbitrary code on your system, and by default, allows Apple to give people permission to do so. You can also use your own certs and remove the AppStore cert, effectively making it so only apps signed with your cert will run on the machine ... or in the case of some companies, the company's cert is the only thing that runs on the machine.
itwbennet == bennet haselton / dumb
Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
Could someone please check what is funny over there?
Thanks! :D
So like a bouncer at a bar that will happily let a 12 year old in if they have a license that says their 21?
The reason I'm very anti-Apple is particularly our younger professors decide that they need to have apple computers, phones, and tablets to be hip. So they get them, against recommendations. Now never mind that these cost a lot more money than they'd spend on equivalent hardware but then the support issues start. Turns out that Mac don't just magically work, and they have problems with things (accessing the central storage is something Macs have been particularly problematic with) and they whine to us despite promising that they understand and will support things themselves.
Apple wants to pretend to be good for the enterprise, but their enterprise features are garbage. So people get them, want them to integrate, they don't, and then they cry about it.
Gatekeeper isn't for security. Gatekeeper is intended to make running non-Apple approved code just annoying enough to force most users to use the App Store rather than use non-Apple blessed code. As they've demonstrated with the latest OS X where not even root can write to /usr or /bin
Or, rather, where you have to go through an annoying procedure, involving two reboots, to write to /usr or /bin.
Stupid Apple. Don't they know Apple computers have no viruses or malware? Every Mac owner knows that.
I'm actually impressed that Apple named anything with "Gate" in it
Have you ever fallen asleep at the keybhanusdiog?
Gatekeeper isn't for security. Gatekeeper is intended to make running non-Apple approved code just annoying enough to force most users to use the App Store rather than use non-Apple blessed code. As they've demonstrated with the latest OS X where not even root can write to /usr or /bin
Or, rather, where you have to go through an annoying procedure, involving two reboots, to write to /usr or /bin.
If you think that's annoying, you should try working with SELinux some time.
Or, rather, where you have to go through an annoying procedure, involving two reboots, to write to /usr or /bin.
If you think that's annoying, you should try working with SELinux some time.
I haven't tried actually working with it, but I've certainly been annoyed when it kept VMware's hgfs from working on Linux guests - it wasn't immediately obvious how to let it work. (I think my VMs running newer versions of Fedora don't have a problem with hgfs, so maybe either VMware or the SELinux people fixed it.)