OS X 10.11 El Capitanには新しいセキュリティ機能「rootless」が追加されており、カーネルレベルでrootユーザーにもアクセス制限がかけられている様です。詳細は以下から。

El-Capitan-Rootless-Hero

rootlessとは?

 先月末 9to5Macが「OS X 10.11 El CapitanとiOS 9には新しいセキュリティ機能"rootless"がカーネルレベルで搭載され、管理者レベル(root)でもアクセス制限がかかりマルウェアからの脅威を防いでくれます」という趣旨のリーク情報を報じました、

Rootless
Sources within Apple are particularly enthusiastic about a new security system called Rootless, which is being described internally as a “huge,” kernel-level feature for both OS X and iOS. To prevent malware, increase the safety of extensions, and preserve the security of sensitive data, Rootless will prevent even administrative-level users from being able to access certain protected files on Apple devices. Sources say that Rootless will be a heavy blow to the jailbreak community on iOS, though it can supposedly be disabled on OS X. Even with this Rootless feature coming to OS X, sources say that the standard Finder-based file system is not going away this year.
[iOS 9 & OS X 10.11 to bring ‘quality’ focus, smaller apps, Rootless security, legacy iPhone/iPad support - 9to5Mac]

 この"rootless"は実際に存在した様で、MacBookのEFI脆弱性を発見したセキュリティ研究者のPedro Vilaca(@osxreverser)さんによるとEl Capitanには新しい"rootless.plist"が追加されており、


複数の開発者がrootユーザーになっても

  • /usr
  • /sbin
  • /System

などに新しいディレクトリやファイルを作ろうとすると”Operation not permitted"と拒否されてしまうと報告しています。

新常識:(El Capitanでは)rootユーザーであっても自分のFinderのデバッガーが出来ない

対処法

 rootlessは一般的なユーザーやマルウェア対策には有効かもしれませんが、/usrディレクトリ以下を使用する開発者などは迷惑しているようで、AppleがOS X 10.10 YosemiteでTrimやGPUドライバなどのkext変更にも制限を掛けた時[1, 2]と同様にnvramコマンドを使用しこの制限を解除する方法が発見されています。


確認してみた

 rootlessの制限を解除するには以下の1行を打ち込んでroot(管理者)パスワードを入力、その後Macの再起動を行うだけで、

El-Capitan-rootless-flag-0
sudo nvram boot-args=“rootless=0”

 rootユーザーのアクセス制限が解除されます。ただ、Trimの時と同様にOS Xのアップデートでこの制限が元に戻ってしまい不具合が生じる場合があるので注意して下さい。

el-capitan-rootless-before-after

関連リンク:

共有する
フォローする


トラックバックURL:http://trackback.blogsys.jp/livedoor/applechinfo/45140708