Spraykatz, alat penguji Windows

Spraykatz is a tool without any pretention able to retrieve credentials on Windows machines and large Active Directory environments.

Table Of Contents

It simply tries to procdump machines and parse dumps remotely in order to avoid detections by antivirus softwares as much as possible.

Installation

This tool is written for python3 to python3.6. Do not use this on production environments!

Ubuntu

On a fresh updated Ubuntu.

apt update
apt install -y python3.6 python3-pip git nmap
git clone https://github.com/aas-n/spraykatz.git
cd spraykatz
pip3 install -r requirements.txt

Using Spraykatz

A quick start could be:

./spraykatz.py -u H4x0r -p L0c4L4dm1n -t 192.168.1.0/24

Images By: spraykatz

Mandatory arguments

SwitchesDescription
-u, –usernameUser to spray with. He must have admin rights on targeted systems in order to gain remote code execution.
-p, –passwordUser’s password or NTLM hash in the LM:NT format.
-t, –targetsIP addresses and/or IP address ranges. You can submit them via a file of targets (one target per line), or inline (separated by commas).

Optional arguments

SwitchesDescription
-d, –domainUser’s domain. If he is not member of a domain, simply use -d . instead.
-r, –removeOnly try to clean up ProcDump and dumps left behind on distant machines. Just in case.
-v, –verbosityVerbosity mode {warning, info, debug}. Default == info.
-w, –waitHow many seconds Spraykatz waits before exiting gracefully. Default is 180 seconds.

Changelog

    Version 0.9.9
    =============
    - Removing impacket submodules (just use pip).
    Version 0.9.8
    =============
    - ProcDump binaries are not embedded anymore. Spraykatz ask for downloading them now.
    Version 0.9.7
    =============
    - adding the "-r" switch to remove procdump & dumps left behind, just in case.
    - adding the "-w" switch to specify a timeout before exiting gracefully.
    - Debug mode enhanced
    - Bugs fixes

Acknowlegments

Spraykatz uses slighlty modified parts of the following projects:

Thanks:

Written by aas