Description
This module exploits a flaw in OSX 10.13 through 10.13.3 that discloses the passwords of encrypted APFS volumes.
In OSX a normal user can use the 'log' command to view the system logs. In OSX 10.13 to 10.13.2 when a user creates an encrypted APFS volume the password is visible in plaintext within these logs.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use post/osx/gather/apfs/encrypted_volume_passwdmsf undefined(encrypted_volume_passwd) > show actions ...actions...msf undefined(encrypted_volume_passwd) > set ACTION < action-name >msf undefined(encrypted_volume_passwd) > show options ...show and set options...msf undefined(encrypted_volume_passwd) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub