News for hackers. Stuff that matters.
Re:First Look: macOS Monterey Public Beta by quenix on Friday July 02, 2021 @02:42AM (#27708468)
Apart from questionable changes to the user interface, I don’t see how Apple have been “dumbing down” macOS in terms of usability so dramatically. Could you point to some concrete examples?
Re:First Look: macOS Monterey Public Beta by pkulak on Friday July 02, 2021 @03:08AM (#27708640)
Not being able to edit huge portions of the file system, even as root. Apps not having file system access at all until you grant it, and then it’s folder by folder. Those control panel plug-in things just stopped being supported at all, so good bye custom mouse drivers and such.
Re:First Look: macOS Monterey Public Beta by threeseed on Friday July 02, 2021 @03:16AM (#27708676)
What you call dumbing down I call incredibly useful security features.

Apps shouldn’t be able to read my entire hard drive unless I give it permission. And the core OS should be immutable.

Also not sure what you’re talking about. Custom mouse drivers of course still work.

Re:First Look: macOS Monterey Public Beta by drclau on Friday July 02, 2021 @04:53AM (#27709256)
I completely agree. In fact, many years ago, when FreeBSD was my main OS (including on notebook) I went as far as to isolate each app that used internet into its own custom-setup jail [0][1].

I had Firefox, Thunderbird, Pidgin and a few others running in complete isolation from the base system, and from each other. I even had a separate Firefox jail that was only allowed to get out via a Tor socks proxy to avoid leaks (more of an experiment than a necessity, to be fair).

Communication between jails was done via commonly mounted nullfs. I have also setup QoS via PF for each of them.

They were all running on the host’s Xorg, which was probably also the weakness of this setup.

It was a pretty sweet setup, but required quite a bit of effort to maintain, even tho I automated most of the stuff.

Now I use macOS, and I would like more control over what apps do what. I’m not particularly impressed with the direction of the UI (it also doesn’t bother me terribly), but I welcome the finer grained security control.

References:

[0]: https://en.wikipedia.org/wiki/FreeBSD_jail

[1]: https://www.freebsd.org/cgi/man.cgi?query=jail&sektion=8&for...

Re:First Look: macOS Monterey Public Beta by GekkePrutser on Friday July 02, 2021 @05:54AM (#27709655)
Eactly, I'm moving much more towards FreeBSD now because Apple is taking so much away from us power users. Its jails (and the ports collection) are amazing.

For one thing: I always require certificate logins on SSH. On Mac I used to simply change /etc/ssh/sshd_config to this effect, but since Catalina macOS reverts this with every update. Clearly they don't want me poking around in there :(

IMO if you offer SSH you should offer certificate-only access as well, either with a glitzy on/off button or with a config file change, whatever. But nope...

With Apple you get a lot of security for 'free', however you give up a lot of customisation in return, even in terms of security features.

Re:First Look: macOS Monterey Public Beta by asah on Friday July 02, 2021 @06:04AM (#27709702)
dumb q: can you change the path to this file?
Re:First Look: macOS Monterey Public Beta by GekkePrutser on Friday July 02, 2021 @06:45AM (#27709915)
Not really as sshd is compiled to look for it there.

You can override it with a commandline flag but that would mean changing the launchdaemon which is protected by SIP as far as I know. But I will have a look for that to doublecheck.

Re:First Look: macOS Monterey Public Beta by eecc on Friday July 02, 2021 @05:11AM (#27709401)
oh beauty! Perhaps you could share those scripts on a github?
Re:First Look: macOS Monterey Public Beta by drclau on Friday July 02, 2021 @05:58AM (#27709678)
Thanks :). If I'll find the time, I'll have to dig them up.

Or maybe I'll attempt to contribute the important parts to an established project, like ezjail [0][1], which seems to be quite competent at handling jails, but is specialized on running services.

Refs:

[0]: http://erdgeist.org/arts/software/ezjail/

[1]: https://www-legacy.freebsd.org/doc/en_US.ISO8859-1/books/han...

Re:First Look: macOS Monterey Public Beta by hvocode on Friday July 02, 2021 @05:40AM (#27709575)
Exactly. These are restrictions that have been viewed as favorable for security purposes for decades. It’s nice to see a mainstream OS actually implementing them.

The resistance to them seems to be largely due to lazy developers: it would be EASIER if the system let a developer do whatever they want with a “trust me, I’m smart” justification. But we can’t design for the occasional safe and smart developer: we need to design for the sloppy ones and the malicious ones. The smart and safe ones can find a way to work within the constraints. As for lazy and sloppy ones who can’t adapt to the constraints - adapt.

Re:First Look: macOS Monterey Public Beta by TheOtherHobbes on Friday July 02, 2021 @06:02AM (#27709695)
It would be more sensible to assume that "trust me, I'm smart" developers will eventually work out what they need to do - possibly after the third or fourth time they lose all their work to ransomware, but more realistically, by following the inevitable online tutorials which will appear.

OS security is generally a shit show anyway. I don't think it's bad to lock down the OS for most users, but it should still be possible for expert users to get expert access.

If there are security consequences, they should be trusted to learn how to deal with them.

Most will - and the rest will have bad experiences.

Re:First Look: macOS Monterey Public Beta by danaris on Friday July 02, 2021 @12:24PM (#27713573)
> OS security is generally a shit show anyway. I don't think it's bad to lock down the OS for most users, but it should still be possible for expert users to get expert access.

Last I checked, it still is—IIRC, you have to run some specific commands in Recovery Mode to disable the protections, but for "trust me, I'm smart" developers, that shouldn't be a problem.

Personally, I haven't seen any particular need to do that. I can count the number of times I've been blocked by SIP from doing things I wanted to do on one hand, and none of them were critical.

Re:First Look: macOS Monterey Public Beta by indymike on Friday July 02, 2021 @06:37AM (#27709875)
Usually its not about smart. Its about fixing something that is broken in the OS and SIP is blocking fixing it. A missing monitor geometry. Or an incompatibility in a default cone in. Getting rid of unwanted built in apps like News.app.
Re:First Look: macOS Monterey Public Beta by eecc on Friday July 02, 2021 @05:10AM (#27709392)
I agree... I'm looking forward to see on the desktop this capability model pioneered in mobile devices.

Unix file access permissions designed 50 years ago for multi-user shells are not adequate when dealing with potentially hostile applications accessing your data.

Today I'm more worried of a random App encrypting $HOME or hoovering up all my PII.

Re:First Look: macOS Monterey Public Beta by pjmlp on Friday July 02, 2021 @07:21AM (#27710096)
Windows, VMS and some mainframes/micros have had such capabilities based file systems for years, it was not pioneered in mobile devices.

Now if some people just give access to everything instead of using ACLs, that is another matter.

Re:First Look: macOS Monterey Public Beta by michaelmrose on Friday July 02, 2021 @05:25AM (#27709476)
Are you really any more secure after you make the initial mistake installing the app? It's not like an attacker is unaware of the security measures in place.
Re:First Look: macOS Monterey Public Beta by eecc on Friday July 02, 2021 @05:51AM (#27709627)
Well, I still lock the front door with the deadbolt at night although it won't stop a mob from breaking in, it's good enough to keep me reasonably safe against normal threats.

Also, actively circumvent protection devices is proof of malice and possibly even criminal intent (remember DMCA?) so I don't see your point.

Re:First Look: macOS Monterey Public Beta by solarkraft on Friday July 02, 2021 @08:48AM (#27710803)
Yes, because awareness does not automatically mean ability to circumvent.
Re:First Look: macOS Monterey Public Beta by foobiekr on Friday July 02, 2021 @12:55PM (#27713971)
Has there been any one year period in the last twenty years (NeXTSTEP for the first few years for MacOS) where there were not plentiful kernel exploits for Linux, MacOS, and Windows?

I don’t think so.

Re:First Look: macOS Monterey Public Beta by janfoeh on Friday July 02, 2021 @05:32AM (#27709527)
For me it's more the "no access even as root" issue that is highly problematic.

I've been trying unsuccessfully to childproof a Big Sur laptop for a 12 year old for some time now — disable access to some built-in apps etc. I have yet to figure out how, without resorting to disable SIP.

There is Screentime, but that's an unreliable joke which has caused us a massive amount of headaches on iOS due to unreliability, has very limited features and can only be protected by a 4-digit PIN.

Re:First Look: macOS Monterey Public Beta by aikinai on Friday July 02, 2021 @05:57AM (#27709675)
If you see no access even as root as problematic, why are you avoiding disabling SIP? That sounds like exactly what you want.
Re:First Look: macOS Monterey Public Beta by janfoeh on Friday July 02, 2021 @06:36AM (#27709874)
As a last resort, that is what I will do. But that would mean to fight the system, which is rarely a good thing in the long run. When it comes to system setup, I prefer to color inside the lines if at all possible.

"Configuring which programs a restricted user can run" is _such_ an elementary task for an OS that I cannot believe that recent macOS has no provisions for that. I _must_ be missing something.

Re:First Look: macOS Monterey Public Beta by mixmastamyk on Friday July 02, 2021 @05:51PM (#27717381)
It sure sounds nice, doesn't it?

Now how do I turn off the dozens of daemons that go everywhere on the internet without my control, uploading telemetry, etc? I've still not figured out how.

https://sneak.berlin/20210202/macos-11.2-network-privacy/

Re:First Look: macOS Monterey Public Beta by pkulak on Friday July 02, 2021 @10:27AM (#27711942)
Core OS? It’s stuff like the iMessage database. Mac OS ain’t Silverblue. :)

I’m not saying it’s bad. More security is great! My kids use MacOS. I’m grateful for it. I love iOS too. But it’s absolutely dumbing the OS down and making it less of a professional machine.

Re:First Look: macOS Monterey Public Beta by viraptor on Friday July 02, 2021 @04:40AM (#27709175)
It really depends on your usage. It can be a security feature for many contexts, but otherwise:

- docker - you need to be able to bind any folder

- IDE - you need to be able to edit basically anything

- office software beyond "I have some things in 'Documents'" - same

- python, ruby, any other interpreter - same

- brew, or any other package manager - same

etc. This simply doesn't work well for many developer workflows. I tried to use a dedicated app for per-app security control like that (can't remember the name anymore) - but for development it was a disaster. It just makes you click "allow" on a popup 10 times a day until you stop paying attention. Now, macos is not at that level yet, but the direction towards that is the complaint usually.

Re:First Look: macOS Monterey Public Beta by evgen on Friday July 02, 2021 @04:52AM (#27709242)
The problem is that your 'developer workflow' sounds like you are assuming a particular level of insecurity that is unwarranted. Learn about the principle of least authority and try to apply it to your workflows. None of the applications you mention need complete access to the filesystem and in every one of those cases the access could be easily limited to a few directories and you would probably never notice.
Re:First Look: macOS Monterey Public Beta by viraptor on Friday July 02, 2021 @05:28AM (#27709509)
Yes/no. The security policies as they are implemented today just aren't possible to effectively use by developers. I've got a project in progress which allows you to go into the context of a specific project as a selinux policy and then work on it that way. It's hard, it's a lot of work, and there are endless edge cases. This is not me giving up, it's actually hard to build a system where you both enforce realistic restrictions and don't end up going "yeah, whatever, I've got enough of those permission questions" after a week.

Consider: An interpreter needs to run homebrew which installs new app, but the same interpreter running a script for your project should not read anything apart from those project files. Same interpreter needs to update local packages via bundle and git, but a random script you run shouldn't be able to access your ssh key via git commands. This is basically impossible to achieve without large compromises outside of selinux right now.

Re:First Look: macOS Monterey Public Beta by fauigerzigerk on Friday July 02, 2021 @06:47AM (#27709925)
>Learn about the principle of least authority and try to apply it to your workflows

So how would you apply this principle to the python interpreter or to a program that gets compiled to a new executable many times during development?

I like the idea of granting folder permissions to regular third party apps I install and use. I always wanted that and I'm glad Apple is moving in this direction with the Mac.

But contrary to regular apps, language runtimes and software under development do not have a specific purpose. The whole point of software development is to create and test arbitrary code. It is pointless to grant privileges to code that changes in arbitrary ways with every keystroke.

During development, privileges have to be granted to the developer account, not to any particular software artifact. I generally think that granting privileges to software and granting privileges to people each has its legitimate place. One isn't generally better or worse than the other.

Re:First Look: macOS Monterey Public Beta by kristiandupont on Friday July 02, 2021 @06:08AM (#27709727)
Why would you want Docker to be able to bind any folder? Or even edit "anything" in your IDE? Don't you have a /projects folder somewhere?

..and, office?! Do you keep spreadsheets in system folders?

Re:First Look: macOS Monterey Public Beta by viraptor on Friday July 02, 2021 @07:29AM (#27710142)
Docker bind to a project folder (common for development) allows the image to take over the shell. Taking over the shell allows taking over the package manager. That allows taking over the system.

I keep spreadsheets in project folders. Allowing full writes to a project folder allows taking over the shell. See above.

Folder-level permissions are not sufficient. Sorry, I shortened it too much, but basically - there's almost no practical difference between allowing writes to a dev project folder and allowing writes everywhere. (It would stop some really trivial attempts) Your actual system folders are safe of course... but who cares about those really?

Re:First Look: macOS Monterey Public Beta by ToFab123 on Friday July 02, 2021 @04:23AM (#27709078)
> Apps not having file system access at all until you grant it, and then it’s folder by folder.

This is actually a feature I wish Windows had. On Windows you can enable "protected folders" and mark folders as protected. Applications cannot access those folders until you grant it.

On Windows when granting an app permission to a protected folder you grant it access to all of your protected folders.

You cannot grant a specific application access to a specific folder only eg. grant VLC access to your video folder only but will have to grant VLC permission to all your protected folders. In the default configuration this includes all your personal documents.

I wish Microsoft would make the protected folder feature just as granular as I can hear it is an a mac.

Re:First Look: macOS Monterey Public Beta by pjmlp on Friday July 02, 2021 @07:27AM (#27710134)
I am not that deep into it, but I think it is possible, but only via Active Directory application policies.
Re:First Look: macOS Monterey Public Beta by Bondi_Blue on Friday July 02, 2021 @03:29AM (#27708740)
If you’re referring to Gatekeeper, that was introduced long before even Mojave. Likewise the third party kernel extension lock down was also a security move. The former can be disabled in recovery mode and you can add exceptions to the latter. Apple usually allows power users to work around their security features. Besides the introduction of new bugs, most changes in recent years have been cosmetic and the unification features are bloat at worst, for users that don’t want them.
Re:First Look: macOS Monterey Public Beta by salamandersauce on Friday July 02, 2021 @03:04PM (#27715469)
There's other little changes. You used to be able to install and use GDB and debug stuff without doing anything. Now you need to dick around with certificates and code signing to get it to work. I never could despite following different sets of instructions to the letter multiple times because of some bug. I gave up and switched to the built in lldb as that worked at least. I think in Catalina or Big Sur they made another change, hardened runtimes, so now if I need to upgrade R I have to install it like it's 1985 and extract a tarball in root. It's shit. Every single version they seem to do something where I need to waste time tracking down some workaround to deal with "security".

I'm tired of granting every other app accessibility permissions for reasons I'm not even sure of, tired of having to grant access to my documents. It's just endless hassle and I don't feel like I'm actually safer. Every new version seems to bring something like this.

Re:First Look: macOS Monterey Public Beta by grishka on Friday July 02, 2021 @09:05AM (#27710981)
> Not being able to edit huge portions of the file system, even as root.

The important part is that system integrity protection can be disabled.

Re:First Look: macOS Monterey Public Beta by flohofwoe on Friday July 02, 2021 @05:09AM (#27709383)
Some examples I noticed (haven't look at Monterey yet though), most of those changes make sense on a small portrait display with touch interaction (e.g. iPhone), but not on a notebook display in landscape orientation (most of those fall under "questionable changes to the user interface", but I still think it's important to point them out, because IMHO they don't make sense on a notebook-style computer):

- scroll bars have been removed (but they can be enabled again), not sure when this happened, Catalina maybe?

- Ok/Cancel style dialog boxes are vertically stacked (since Big Sur)

- the completely intuitive "Save As..." action has been replaced with "Duplicate" (at least in Apple tools), no idea what's the reasoning behind this is TBH, this wouldn't make sense on iPhones either

- more vertical space wasted for window chrome since Big Sur, especially in the Finder

- "Natural Scrolling" (can also still be reversed thankfully)

- ...and probably a few more subtle changes which I don't care much about

Re:First Look: macOS Monterey Public Beta by rprwhite on Friday July 02, 2021 @06:12AM (#27709746)
I feel these are preferences, that you don’t like - which is perfectly valid. Except “Save As…”, it’s not intuitive. The wording implies renaming the existing file. The actual action is more accurately worded “Save a copy as…”, or more succinctly “Duplicate”.
Re:First Look: macOS Monterey Public Beta by vosper on Friday July 02, 2021 @05:11AM (#27709395)
How is any of that “dumbing down”?
Re:First Look: macOS Monterey Public Beta by flohofwoe on Friday July 02, 2021 @05:19AM (#27709443)
Well, apparently those changes are made to appease iOS users so they don't feel lost on Macs. I just can assume that Apple thinks this user group is too dumb to adapt to a different user interface philosophy? Don't know :)
Re:First Look: macOS Monterey Public Beta by pwinnski on Friday July 02, 2021 @10:30AM (#27711987)
So you assume these changes are made to "appease" a group of people you've decided is stupid, or that Apple thinks they're stupid?

I am a long-time Unix user, hardly an iOS user at risk of feeling lost on Macs, and while I have immediately turned back on my scroll bars, I was delighted by "natural scrolling," and I love that "Duplicate" makes it more clear that my documents are being auto-saved, as they should be.

These things aren't "dumbing down," they're just changes from the way things used to be. Some are better, some are worse, and both of those are opinions. I think labeling them as "dumbing down" and sneering dismissively at people who use iOS is unseemly, speaking of opinions.

Re:First Look: macOS Monterey Public Beta by monkey_monkey on Friday July 02, 2021 @06:03AM (#27709701)
OK, so none of those things are dumbing down, they're just decisions you don't agree with.
Re:First Look: macOS Monterey Public Beta by serf on Friday July 02, 2021 @07:03AM (#27710005)
unless we formally define 'dumbing down', I think that's just opinion.

Just to take one example, scroll bars were turned optional with default off -- a simpler UX that's in favor of less visible user interactions for the sake of reducing user complexity is usually considered dumbing down.

Now, in Apple Land, far behind the Reality Distortion Field, they may refer to the reduction of user interaction options as 'beautification' -- but everyone else usually just calls it 'simplification', which is often (diminutively, perhaps) referred to as 'dumbing down'.

(in reply to "scrollbars only disappear without a mouse" , so what? That's still a reduction in user-visible information -- do touch users somehow not need to be told that an active view can be scrolled by anything other than visual gestures and cues? It's a nice pipe-dream, indicative design, but there isn't any design standard that suggests that may be or even could be the case.)

tl;dr : when a user loses visible indications, and loses possible interactions, it's not uncommon to phrase the state as being 'dumbed down'.

Re:First Look: macOS Monterey Public Beta by solarkraft on Friday July 02, 2021 @09:06AM (#27710989)
Maybe everything went wrong when they put a GUI on top of Unix. Maybe that's where the dumbing down started.

But seriously: What you call "dumbing down" I'd mostly rather call "making peoples' lives easier".

Re:First Look: macOS Monterey Public Beta by JKCalhoun on Friday July 02, 2021 @12:08PM (#27713332)
OP said the changes didn't make sense on a landscape notebook/desktop.
Re:First Look: macOS Monterey Public Beta by tremon on Friday July 02, 2021 @05:43AM (#27709585)
"Save As..." action has been replaced with "Duplicate" (at least in Apple tools), no idea what's the reasoning behind this is

If I had to guess, it's because Apple wants to remind you they already have your data in their cloud, so saving anything locally is creating a duplicate.

Re:First Look: macOS Monterey Public Beta by GekkePrutser on Friday July 02, 2021 @05:52AM (#27709634)
Scroll bars only disappear if you don't have a mouse plugged in (or connected over BT).

But yeah the waste of more vertical space in Big Sur was really surprising to me, considering Apple also tries to minimise it in other apps like Safari. Weird.

Re:First Look: macOS Monterey Public Beta by solarkraft on Friday July 02, 2021 @09:02AM (#27710950)
Relatively new macOS user here.

> scroll bars have been removed

Awesome! Less clutter. I only care about my position in a list or its length when I actually scroll.

> Ok/Cancel style dialog boxes are vertically stacked

Looks sightly weird, but it enlarges click targets and makes a crucial dialog easier to see and use. I guess that makes sense.

> more vertical space wasted for window chrome

I generally like the new style, but yeah, they went over board here 1/3 or 1/4 less height would be about optimal.

> Natural Scrolling

Why would you move your finger against the direction in which you're scrolling?

I do have it disabled on my mouse, so I can more easily flick it to navigate down pages.

Re:First Look: macOS Monterey Public Beta by JKCalhoun on Friday July 02, 2021 @12:07PM (#27713310)
> Awesome! Less clutter. I only care about my position in a list or its length when I actually scroll.

Sort of. When the the scroll bar (thumb) is the thing that you want to grab in order to scroll though — where is it?

Re:First Look: macOS Monterey Public Beta by flohofwoe on Friday July 02, 2021 @12:52PM (#27713937)
> Why would you move your finger against the direction in which you're scrolling?

Because I'm scrolling *down* to reveal new content towards the bottom of the screen. Why should I move my finger "up" if I want to scroll "down" ;)

For touch screens it makes sense, no doubt, but for touchpad and mouse it's debatable. It's clearly a personal preference though, I just hope they never remove the settings option.

Re:First Look: macOS Monterey Public Beta by salamandersauce on Friday July 02, 2021 @03:11PM (#27715544)
> Awesome! Less clutter. I only care about my position in a list or its length when I actually scroll.

Except when you don't realize there is more content to be scrolled in any direction including left and right because there is zero indication.

> Why would you move your finger against the direction in which you're scrolling?

It makes absolutely no sense with a scroll wheel and yet, by default it's on for them.

Re:First Look: macOS Monterey Public Beta by robertoandred on Friday July 02, 2021 @07:27PM (#27718079)
Hidden scrollbars and the Duplicate option are ten years old.
Re:First Look: macOS Monterey Public Beta by s_dev on Friday July 02, 2021 @11:05AM (#27712447)
Kernel Extensions are gone -- regular users would never care about this sort of thing but you can't use products like Little Snitch properly on Big Sur and onwards. Kexts were also used for making Hackintoshes -- again not something normal Apple users would care for. mac OS is simply becoming less versatile and more locked down.
Re:First Look: macOS Monterey Public Beta by watersb on Friday July 02, 2021 @07:19PM (#27718032)
?? Little Snitch works fine for me on macOS BS on my M1 MacBook Pro.

Does it fail to work properly on Intel Macs? All of my x86 Macs are far too old to try Big Sur.

EDIT: Oh, I see -- first-party Apple apps can stream unlimited data, tracking your activity. Egads...

https://sneak.berlin/20210202/macos-11.2-network-privacy/

Re:First Look: macOS Monterey Public Beta by Wowfunhappy on Friday July 02, 2021 @02:14PM (#27714847)
Well, Hackintosh users at least definitely don't care whether Apple is signing third party kexts, because they were never signing Hackintosh kexts anyway. The ability to load kexts in general is still used extensively by Apple and isn't going away any time soon. (Hackintosh's days are numbered anyway due to Apple Silicon.)
Re:First Look: macOS Monterey Public Beta by pjmlp on Saturday July 03, 2021 @04:55AM (#27720290)
They not gone, rather replaced by user space solutions, improving overall OS stability.
Re:First Look: macOS Monterey Public Beta by robertoandred on Friday July 02, 2021 @07:19PM (#27718033)
Kernel extensions going away doesn’t mean their functionality is going away.
Re:First Look: macOS Monterey Public Beta by matwood on Friday July 02, 2021 @07:57AM (#27710323)
Even the changes to the UI are following current design trends in general. More space, bigger elements, and removing what can be removed for simplicity. See the upcoming Android 12. For years the industry moved towards more and more information density, and is now moving back. Whether macOS is a good implementation of this trend can be debated.
Re:First Look: macOS Monterey Public Beta by panta on Friday July 02, 2021 @09:34AM (#27711307)
A random example: desktop Spaces has been arbitrarily limited to a single row of max 9 desktops (with Lion I believe). Before you could arrange the desktops in a matrix (up to 16 desktops IIRC). Also the removal of RSS support, X11, emacs.
Re:First Look: macOS Monterey Public Beta by pantulis on Friday July 02, 2021 @04:28AM (#27709096)
I think the lament has some justificiation if you remember Mac OSX as the de-facto developer dream workstation circa 2009. As a consumer platform desktop macOS will be great, for a non-apple developer workload... not so sure.