Urgent! Update your Mac again, right now…

Share on Twitter
Share on Google+
Share on LinkedIn
Share on Reddit
It’s only eight days since Apple’s latest and greatest macOS 10.13 release, better known as High Sierra.
But the first security update has already come out, and we suggest you apply it urgently.
The update is called High Sierra 10.13 Supplemental Update, detailed in the security advistory APPLE-SA-2017-10-05-1.
There are two bugs fixed; the facepalming one is described thus:
[BUG.] A local attacker may gain access to an encrypted APFS volume. If a [password] hint was set in Disk Utility when creating an APFS encrypted volume, the password was stored as the hint.
To explain.
APFS is short for Apple File System, Apple’s new way of organising hard disks that replaces the old (but still supported) HFS Plus, a 20-year-old filing system itself derived from Apple’s Hierarchical Filing System, or HFS, that dates back to the 1980s.
Sophos Home
Free home computer security software for all the family
Learn More
By some accounts, APFS was long overdue: HFS Plus dated from the early days of Mac OS, and wasn’t really designed for the Unix core that was introduced in OS X (now macOS).
For example, HFS Plus can’t deal with dates after 2040, and doesn’t allow multiple processes to access the filesystem at the same time, making it more sluggish and less future-proof than other widely-used filing systems such as NTFS on Windows and ext4 on Linux.
New drivers, new utilities
APFS was introduced in High Sierra, and is now Apple’s default and preferred filing system.
This means new drivers inside the operating system to support disks formatted with the new system, and new features in Apple’s disk management utilities to prepare APFS disk volumes for use.
There are two main disk management tools in macOS – the easy-to-use graphical tool Disk Utility, and the super-powerful but arcane command line program diskutil.
It turns out that the APFS support in the High Sierra version of Disk Utility has feet of clay, as we’ll show here.
We took a blank USB disk and created an APFS (Encrypted) volume on it.
Disk Utility prompted us for a password (twice) and an optional hint.
We entered keepthisSecret as the password and The hint should be shown as the hint.
Disk Utility created the encrypted volume and mounted it automatically.
We unplugged the USB disk and then plugged it back in, and macOS asked for the password.
We entered keepthisSecret and the disk was unlocked and mounted, showing that the password had been set as expected.
So far, so good, until we unplugged the device and plugged it back in:
Again, macOS asked for the password.
This time, we clicked the [Show hint] button before entering the password.
The password dialog revealed that keepthisSecret has been set as the hint as well as the password.

The text The hint should be shown had, it seemed, simply been thrown away.
In other words, if you set a password hint as suggested, anyone who stole your disk could “hack” the password simply by using Disk Utility’s [Show hint] button!
What to do?
If you haven’t created any new APFS encrypted volumes since upgrading to High Sierra, you are OK.
If you created an APFS encrypted volume but didn’t specify a hint, you are OK.
If you created an AFPS encrypted volume using diskutil you are OK (the bug is in Disk Utility, not the operating system itself).
If you upgraded to High Sierra from an earlier version of macOS, your disk will have been converted to APFS, but any hint you had before is left untouched (so far as we can tell), so you are OK.
Apply the APPLE-SA-2017-10-05-1 Supplemental Update as soon as you can.
By the way, you can blank out the password hint on any APFS volume, just in case, with the following diskutil command in a terminal window:
$ diskutil apfs hint /Volumes/[YOURNAME] -user disk -clear
Removing any hint from cryptographic user XXXXXXXX on APFS Volume diskYsZ
$
If there wasn’t a hint, no harm is done, but you’ll see an error message like this, so by repeating the above command you can verify that any hint you had was indeed scrubbed:
Error editing cryptographic user on APFS Volume:
你是否对关键系统的硬盘故障有所准备?或者重要数据的失去是否可能会让您破产?将它们备份起来,并且记住,如果您的硬件出现问题,它们可以恢复。系统很容易得到更换,但是数据往往并非如此。
Unable to set APFS crypto user passphrase hint (-69554)
Of course, if you had set a hint with Disk Utility, then for all you know someone who knew the [Show hint] trick might have seen your password, so you ought to change it.
You can update the passphrase on an APFS Encrypted volume quickly and easily as follows:
$ diskutil apfs changepassphrase /Volumes/[YOURNAME] -user disk
安泰科技控股子公司成立合资公司
Old passphrase for user XXXXXXXX: …………..
New passphrase: …………..
Repeat new passphrase: …………..
Changing passphrase for cryptographic user XXXXXXXX on APFS Volume diskYsZ
Passphrase changed successfully
$
A bad look for Apple, letting a buggy system utility like that into a production release…
…but a creditable response by Apple in getting a fix out quickly.
当退出电脑时,记得彻底退出,关闭或最小化浏览器,或输入一个新的地址并不能防止他人获取您的账号信息。

猜您喜欢

[社会]曙光中队:暂扣无牌三轮摩托车21辆
信息安全在线课程
网络安全法宣传推广视频 004《网络安全法》的突出亮点
俄安全局:部分叙利亚恐怖分子已会制造和使用化学武器
PLAYMOBIL BYFL
携带个人设备时代的数据安全