Snare : Super Next Generation Advanced Reactive HonEypot

Snare is a super next generation advanced reactive honeypot.It is a web application honeypot sensor attracting all sort of maliciousness from the Internet.

Basic Concepts

  • Surface first. Focus on the attack surface generation.
  • Sensors and masters. Lightweight collectors and central decision maker (tanner).

Getting Started

  • You need Python3. We tested primarily with >=3.5
  • This was tested with a recent Ubuntu based Linux.

Also Read – RBuster : Yet Another Dirbuster

Steps To Setup

  • Get the tool using: git clone https://github.com/mushorg/snare.git and cd snare
  • Install requirements: sudo pip3 install -r requirements.txt
  • Setup the tool using : sudo python3 setup.py install
  • Clone a page: sudo clone --target http://example.com
  • Run SNARE: sudo snare --port 8080 --page-dir example.com
  • Test: Visit http://localhost:8080/index.html
  • (Optionally) Have your own tanner service running.

Docker Build Instructions

Change current directory to  project directory
docker-compose build
docker-compose up

Testing

In order to run the tests and receive a test coverage report, we recommend running pytest:

pip install pytest pytest-cov
sudo pytest –cov-report term-missing –cov=snare snare/tests/

Sample Output

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…

1 week 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…

1 week 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,…

1 week 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…

2 weeks 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…

2 weeks 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…

2 weeks ago