Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update path in osx_enum to fix keychain download #14006

Merged
merged 1 commit into from
Aug 18, 2020

Conversation

5tevebaker
Copy link
Contributor

Looks like an anchoring "/" has always been missing for the keychain download in enum_osx to function.

Looks like an anchoring "/" has always been missing for the keychain download in enum_osx to function.
@cdelafuente-r7
Copy link
Contributor

Thanks for fixing this. It's all good to me and I will land it shortly.

This has been tested against OS X v10.15.6, keychain is correctly downloaded:

msf6 post(osx/gather/enum_osx) > options

Module options (post/osx/gather/enum_osx):

   Name     Current Setting  Required  Description
   ----     ---------------  --------  -----------
   SESSION  1                yes       The session to run this module on.

msf6 post(osx/gather/enum_osx) > run

[!] SESSION may not be compatible with this module.
[*] Running module against MACLAB
[*] This session is running as root!
[*] Saving all data to /home/msfuser/.msf4/logs/post/enum_osx/MACLAB_20200818.4014
[*]     Enumerating OS
[*]     Enumerating Network
[*]     Enumerating Bluetooth
[*]     Enumerating Ethernet
[*]     Enumerating Printers
[*]     Enumerating USB
[*]     Enumerating Airport
[*]     Enumerating Firewall
[*]     Enumerating Known Networks
[*]     Enumerating Applications
[*]     Enumerating Development Tools
[*]     Enumerating Frameworks
[*]     Enumerating Logs
[*]     Enumerating Preference Panes
[*]     Enumerating StartUp
[*]     Enumerating TCP Connections
[*]     Enumerating UDP Connections
[*]     Enumerating Environment Variables
[*]     Enumerating Last Boottime
[*]     Enumerating Current Activity
[*]     Enumerating Process List
[*]     Enumerating Users
[*]     Enumerating Groups
[*] .ssh Folder is present for macuser
[*]     Downloading authorized_keys
[*]     Downloading config
[*]     Downloading id_rsa
[*]     Downloading id_rsa.pub
[*]     Downloading known_hosts
[*] Extracting history files
[*]     History file .bash_history found for macuser
[*]     Downloading .bash_history
[*]     History file .sh_history found for macuser
[*]     Downloading .sh_history
[*]     History file .zsh_history found for macuser
[*]     Downloading .zsh_history
[*] Enumerating and Downloading keychains for macuser
[*] Post module execution completed

@cdelafuente-r7 cdelafuente-r7 merged commit 114290c into rapid7:master Aug 18, 2020
@cdelafuente-r7
Copy link
Contributor

cdelafuente-r7 commented Aug 18, 2020

Release Notes

Fixed an incorrect executable path in the enum_osx module, which caused the module to fail when downloading keychains.

@pbarry-r7 pbarry-r7 added the rn-fix release notes fix label Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug module rn-fix release notes fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants