Rapid7 Vulnerability & Exploit Database

OSX Gather Autologin Password as Root

Back to Search

OSX Gather Autologin Password as Root

Created
05/30/2018

Description

This module will steal the plaintext password of any user on the machine with autologin enabled. Root access is required. When a user has autologin enabled (System Preferences -> Accounts), OSX stores their password with an XOR encoding in /private/etc/kcpassword.

Author(s)

  • joev <joev@metasploit.com>

Platform

OSX

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;