HoneyCreds : Network Credential Injection To Detect Responder And Other Network Poisoners

HoneyCreds network credential injection to detect responder and other network poisoners.

Requirements

Requires Python 3.6+ (tested on Python 3.9)
smbprotocol
cffi
splunk-sdk

Installation

git clone https://github.com/Ben0xA/HoneyCreds.git
cd HoneyCreds
pip3 install -r requirements.txt

Running

python3 honeycreds.py

Settings

It is advised that you change these settings to best suit your environment.

Note: You can use an existing account, just change the password.

Change these in honeycreds.conf

Choose a legit looking username

def_username = ‘honeycreds’

This can match your current Short Domain

def_domain = ‘XQQX’

Make this whatever you want. Note: HTTP requests will send this in plaintext

def_password = ‘This is a honey cred account.’

The FQDN. Leave .local at the end.

def_fqdn = ‘xqqx.local’

The hostname that DOES NOT EXIST but looks legit.

def_hostname = ‘HNECRD01’

The log file and location

def_logfile = ‘honeycreds.log’

Ability to turn SMB or HTTP on or off. Set to “OFF” to turn off.

SMB = ‘ON’
HTTP = ‘ON’

The time to pause in seconds between requests.

SMB_SLEEP = 5
HTTP_SLEEP = 12

R K

Recent Posts

git fetch vs git pull: How They Work and When to Use Each

Both git fetch and git pull talk to a remote repository, but they do very different things to your…

3 days ago

git cherry-pick Command: Apply Commits from Another Branch

Sometimes the change you need already exists, just on the wrong branch. A hotfix lands…

3 days ago

Best Email APIs for Secure Business Email: Why Developers Are Moving Beyond SMTP

Email is still one of the most important communication channels inside modern applications. Password resets,…

4 days ago

Nginx Commands in Linux: Start, Stop, Reload, Test, and Log

Nginx is a high-performance web server and reverse proxy trusted by some of the largest…

1 week ago

ufw Command in Linux: Manage Firewall Rules with Examples

ufw (Uncomplicated Firewall) sits on top of iptables (or nftables on newer systems) and replaces…

1 week ago

who Command in Linux: Show All Logged-In Users and Sessions

When you share a server with a team or investigate unexpected activity, the first question…

1 week ago