/! This is for educational purposes only, and should not be used for unauthorized access, tampering or accessed illegally without owner permission.
This page will help you to retrieve/extract the hash associated to an OSX account. We tried to enumerate all the OS X flavors available, but this article is still 'in beta' depending on the new OS X versions.
Once the hash is extracted, you can send it here and we will try to recover it.
The Unarchiver Password Cracker
RAR Extractor – The Unarchiver Pro Mac cracked version – WinRAR & Unzip & Open any file. RAR Extractor – The Unarchiver is a specialized application program which aims at Rar,Zip,Tar,7-zip,Gzip,Bzip2,XZ,Tar.gz,bz2,iso,pkg,swf,exe,jar,xip,dms and dozens of other compressed files, you can use it to extract archive files conveniently, double click to decompress, fast and safely. Part 1: Top 5 RAR Password Crackers. The Unarchiver is the one and only app you need to access various files on Mac. Kindly follow the instructions given below to open a RAR File on Mac using The Unarchiver App. Download “The Unarchiver” App from Apple Mac App Store. Install “The Unarchiver” App and Restart your Mac System.
The same as in 10.2 (Jaguar). See below.
OS X 10.1 (Puma)
The same as in 10.2 (Jaguar). See below.
Dump the hash :
This hash is created using the Unix DES Crypt(3) function, where the password is first truncated to 8 characters.
OS X 10.3 (Panther)
First find out a users' GUID:
Next take that GUID and dump the hash file
The first 64 characters are the NTLM hash (first 32 NT, next 32 LM) and the last 40 characters are the SHA1 hash.
You can obtain the GUID just as in 10.3 (Panther). See above.
After obtaining the GUID, you can dump the passwords just as in 10.5 (Leopard). See below.
OS X 10.5 (Leopard) + OS X 10.6 (Snow Leopard)
First find a users' GUID:
After getting the GUID you can dump various hashes. By default the only hash stored is the salted SHA1. If the user has turned on SMB file sharing then the NTLM hash will also be stored.
If you upgraded from 10.3->10.4->10.5 then the zero salted SHA1 is also stored.
Salted SHA1 (first 8 characters are the salt)
Zero-Salted SHA1 (first 8 characters are the salt and will always be all zeros)
NTLM (first 32 characters are NT, next 32 are LM)
Use this tutorial
OS X 10.8 (Mountain) & 10.9 (Mavericks) & 10.10 (Yosemite)
The shadow files are stored on the filesystem at /var/db/dslocal/nodes/Default/users/%user%.plist.
They are in plist format so you'll need to use the plutil command to view them or use the defaults command to extract/write specific keys if desired.
Only the root user has access to the files.
To view the contents of a shadow file for a user: To get the hash: Where %username% in the above example is the user you're looking for the hash for.
Finally the wanted hash starts with '$ml$' and length is 203 characters.
Few links to help you :
- http://lionsurf.wordpress.com/crack-user-password-in-os-x-mountain-lion/
- http://www.michaelfairley.co/blog/2014/05/18/how-to-extract-os-x-mavericks-password-hash-for-cracking-with-hashcat/
- script to automate the process (.app).
The hashes of the users are stored in: To get the hash: or directly through directory services:
Tool to automate these steps
Davegrohl tool created in early 2011 is a password hash extractor & companion tool to John the Ripper.
Sadly the development of this tool has been stopped (but could be forked..), the current status is :
Dave compiles fine on Yosemite and will happily (but very slowly) crack user passwords. Out of the box, OS X uses PBKDF2 to encrypt its user passwords which is very slow to crack for one machine. Turning on Windows (SMB) file sharing will disable this feature.