Using Modules
Using Module with crackmapexec

Using Modules

Viewing available modules for a Protocol

Run cme <protocol> -L to view available modules for the specified protocol.
For example to view all modules for the SMB protocol:
1
#~ cme smb -L
2
[*] met_inject Downloads the Meterpreter stager and injects it into memory
3
[*] get_keystrokes Logs keys pressed, time and the active window
4
[*] empire_exec Uses Empire's RESTful API to generate a launcher for the specified listener and executes it
5
​
6
-- SNIP --
Copied!

Using a module

Run cme <protocol> <target(s)> -M <module name>.
For example to run the SMB Mimikatz module:
1
#~ crackmapexec smb <target(s)> -u Administrator -p '[email protected]' -M mimikatz
Copied!

Viewing module options

Run cme <protocol> -M <module name> --options to view a modules supported options, e.g:
1
#~ cme smb -M mimikatz --options
Copied!

Using module options

Module options are specified with the -o flag. All options are specified in the form of KEY=value (msfvenom style)
Example:
1
#~ cme <protocol> <target(s)> -u Administrator -p '[email protected]' -M mimikatz -o COMMAND='privilege::debug'
Copied!