Metasploit Framework (MSF) is one of the most widely used tools for penetration testing, providing powerful attack simulations, security assessment management, and more.
Meterpreter is an advanced, dynamically extensible payload that uses in-memory DLL injection stagers and is extended over the network at runtime.
If you do not have administrator access to the computer you will not be able to change the password. If the Administrator Privilege code detects that it is running on a Windows 7 with UAC disabled and it is running as local admin it will run getsystem and it will use the read registry method.
When we use Administrator Privilege command on CMD it will return an error "access denied".
BypassUAC exploit that allows you to bypass Windows UAC in Windows Vista and Windows 7 both on x86 and x64 operating systems. This issue has still not been patched to-date and can still be exploited on the most recent operating systems.
To get system level or admin privilege we have to execute it as admin which is monitored my windows UAC.
It assumes that you already have MetaSploit installed, or that you are running Kali / backtrack Linux. if not Installed,you can download from here https://www.metasploit.com/
Step 1 : Firtly get meterpreter of victim PC and a get a admim privilege of vitim pc using bypassuac
How To Bypass UAC And Get Admin Privilege in Windows Using MetaSploit.
Step 2 : We now have a full Meterpreter shell to the target.Now the session has opened type sysinfo to get system information
Step 3 : Just Type help to see more action.
Step 4 : Type Exit and comes to meterpreter(Here i have type just a command of meterpreter is screenshot for taking a screenshot of victim PC)
Step 5 : search for play youtube
background
search youtube
Step 6 : use post play youtube
use post/multi/manage/play_youtube
options
Step 7 : copy any youtube video ID which you wanna to Broadcast of Windows PC Remotely.
Step 8 : Set session 2 [ meterpreter session 2 opened when we run the exploit of bypassuac ] And Set VID [Paste video id]
Step 9 : Run