d3adlizard / kit_hunter

A basic phishing kit scanner for dedicated and semi-dedicated hosting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kit Hunter: A basic phishing kit detection tool

  • Version 0.2.21
  • 31 JULY 2018

Testing and development took place on the following:

  • Python 2.7.14 (Linux, Mac)
  • Python 2.7.15 (Windows)

Note: As things stand, this early version of the script does not work well with Python 3+ (that will change)

What is Kit Hunter?

Kit Hunter is a basic scanning tool that will search directories and locate phishing kits based on established markers. As detection happens, a report is generated for administrators.

The report is basic:

  1. The opening line points the administrator to the directory where detection took place.
  2. After that, the log reports the exact file name that caused the detection.
  3. Line three shows the tag responsible for the warning in the first place.
  4. Finally, the log displays the complete line of code where the tag is visible.

During testing, the script generated false positives using the 'unescape' tag, so it was removed, but adding such a tag will generate several useful hits when obfuscation is used. It's a trade-off. Run the script a few times and check the results, tune the tag file as needed.

Kit Hunter Log Example

Usage:

The ideal place for this script is one directory above your webroot (htdocs, public_html, etc.)

Make sure you keep kit_hunter.py and tags.tag in the same directory.

To run this script on Linux, Mac, etc. use: python kit_hunter.py

If you're on Windows, see the following DOC pages for assistance:

  1. Documentation for using Python on Windows in the 3.x branch
  2. Documentation for using Python on Windows in the 2.x branch

Also, the following has been helpful during testing.

  1. Getting started with Python on Windows

Here is an archive of link 3 if needed

When it comes to the tags.tag file, make sure you don't have any white spaces. For each tag you'd like to include, place it on its own line. The tag file has been populated with several common markers, but you can add to the list if you choose.

About

A basic phishing kit scanner for dedicated and semi-dedicated hosting

License:GNU General Public License v3.0


Languages

Language:Python 100.0%