Skip to content
A macOS <= 10.14.3 Keychain exploit
Branch: master
Clone or download
Latest commit 30e7185 Jun 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
KeySteal.xcodeproj initial commit Jun 1, 2019
keystealClient args Jun 3, 2019
keystealDaemon initial commit Jun 1, 2019
.gitignore initial commit Jun 1, 2019
LICENSE.txt initial commit Jun 1, 2019
README.md Add line break after CVE Jun 3, 2019

README.md

KeySteal

KeySteal is a macOS <= 10.14.3 Keychain exploit that allows you to access passwords inside the Keychain without a user prompt. The vulnerability has been assigned CVE-2019-8526 number.
KeySteal consists of two parts:

  1. KeySteal Daemon: This is a daemon that exploits securityd to get a session that is allowed to access the Keychain without a password prompt.
  2. KeySteal Client: This is a library that can be injected into Apps. It will automatically apply a patch that forces the Security Framework to use the session of our keysteal daemon.

Building and Running

  1. Open the KeySteal Xcode Project
  2. Build the keystealDaemon and keystealClient
  3. Open the directory which contains the built daemon and client (right cick on keystealDaemon -> Open in Finder)
  4. Run dump-keychain.sh

TODO

Add a link to my talk about this vulnerability at Objective by the Sea

License

For most files, see LICENSE.txt.
The following files were taken (or generated) from Security-58286.220.15 and are under the Apple Public Source License:

  • handletypes.h
  • ss_types.h
  • ucsp_types.h
  • ucsp.hpp
  • ucspUser.cpp

A copy of the Apple Public Source License can be found here.

You can’t perform that action at this time.