Privilege escalation and process migration

In this recipe, we will focus on two very useful commands of meterpreter. The first one is for privilege escalation. This command is used to escalate the rights/authority on the target system. We might break in as a user who has less privilege to perform tasks on the system. So, we can escalate our privilege to the system admin in order to perform our tasks without interruption. The second command is for process migration. This command is used to migrate from one process to another process without writing anything on the disk.

How to do it...

In order to escalate our privilege, meterpreter provides us with the getsystem command. This command automatically starts looking out for various possible techniques ...

Get Metasploit Penetration Testing Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.