Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/docs/metasploit-framework.wiki/Definition-of-Module-Reliability-Side-Effects-and-Stability.md
Views: 11766
New Metasploit modules are now required to contain a Notes
section containing additional information such as the Stability
, Reliability
and SideEffects
associated with running the module.
Example:
Allowed Values
Stability
Constant | Description |
---|---|
CRASH_SAFE | Module should not crash the service or OS |
CRASH_SERVICE_RESTARTS | Module may crash the service, but it will restart |
CRASH_SERVICE_DOWN | Module may crash the service, and remain down |
CRASH_OS_RESTARTS | Module may crash the OS, but it will restart |
CRASH_OS_DOWN | Module may crash the OS, and remain down |
SERVICE_RESOURCE_LOSS | Module causes a resource to be unavailable for the service |
OS_RESOURCE_LOSS | Module causes a resource to be unavailable for the OS |
Side Effects
Constant | Description |
---|---|
ARTIFACTS_ON_DISK | Module leaves a payload, a dropper, etc, on the target machine |
CONFIG_CHANGES | Module modifies some config file |
IOC_IN_LOGS | Module leaves an indicator of compromise in the log(s) |
ACCOUNT_LOCKOUTS | Module may cause an account to lock out |
SCREEN_EFFECTS | Module shows something on the screen that a human may notice |
PHYSICAL_EFFECTS | Module may produce physical effects in hardware (Examples: light, sound, or heat) |
AUDIO_EFFECTS | Module may cause a noise (Examples: Audio output from the speakers or hardware beeps) |
Reliability
Constant | Description |
---|---|
FIRST_ATTEMPT_FAIL | The module may fail for the first attempt |
REPEATABLE_SESSION | The module is expected to get a session every time it runs |
UNRELIABLE_SESSION | The module isn't expected to get a shell reliably (such as only once) |
EVENT_DEPENDENT | The module may not execute the payload until an external event occurs. For instance, a cron job, machine restart, user interaction within a GUI element, etc |