Giter Site home page Giter Site logo

mynameisjimmy / apt-hunter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ahmedkhlief/apt-hunter

0.0 0.0 0.0 1.7 MB

APT-Hunter is Threat Hunting tool for windows event logs which made by purple team mindset to provide detect APT movements hidden in the sea of windows event logs to decrease the time to uncover suspicious activity

Home Page: https://shells.systems/introducing-apt-hunter-threat-hunting-tool-via-windows-event-log/

License: GNU General Public License v3.0

Shell 0.13% Python 99.42% PowerShell 0.45%

apt-hunter's Introduction

APT-Hunter

APT-Hunter is Threat Hunting tool for windows event logs which made by purple team mindset to detect APT movements hidden in the sea of windows event logs to decrease the time to uncover suspicious activity . APT-Hunter use pre-defined detection rules and focus on statistics to uncover abnormalities which is very effective in compromise assessment . the output produced with timeline that can be analyzed directly from Excel , Timeline Explorer , Timesketch , etc...

Full information about the tool and how its used in this article : introducing-apt-hunter-threat-hunting-tool-using-windows-event-log

New Release Info : APT-HUNTER V3.0 : Rebuilt with Multiprocessing and new cool features

Author

Twitter : @ahmed_khlief

Linkedin : Ahmed Khlief

Donwload APT-Hunter :

Download the latest stable version of APT-Hunter with compiled binaries from Releases page.

How to Use APT-Hunter

APT-Hunter built using python3 so in order to use the tool you need to install the required libraries.

python3 -m pip install -r requirements.txt

APT-Hunter is easy to use you just use the argument -h to print help to see the options needed .

python3 APT-Hunter.py -h

APT-Hunter Help

APT-Hunter Analyzing with all report

APT-Hunter commandline output

APT-Hunter Excel Output

APT-Hunter CSV Output with Time Sketch

Exmaples :

Analyzing EVTX files , you can provide directory containing the logs or single file , APT hunter will detect the type of logs .

python3 APT-Hunter.py -p /opt/wineventlogs/ -o Project1 -allreport

Adding time frame to focus on specific timeline :

python3 APT-Hunter.py -p /opt/wineventlogs/ -o Project1 -allreport -start 2022-04-03 -end 2022-04-05T20:56

Hunting using String or regex :

python3 APT-Hunter.py -hunt "psexec" -p /opt/wineventlogs/ -o Project2

python3 APT-Hunter.py -huntfile "(psexec|psexesvc)" -p /opt/wineventlogs/ -o Project2

hunting using file that contain list of regex :

python3 APT-Hunter.py -huntfile "huntfile.txt)" -p /opt/wineventlogs/ -o Project2

Hunting using sigma rules :

python3 APT-Hunter.py -sigma -rules rules.json -p /opt/wineventlogs/ -o Project2

Getting Latest sigma rules converted for APT-Hunter ( output will be a file with name rules.json that contain the rules from Sigma repository Sigma ):

Get_Latest_Sigma_Rules.sh

Output Samples

APT-Hunter CSV Output : This CSV file you can upload it to timesketch in order to have timeline analysis that will help you see the full picture of the attack .

APT-Hunter Excel Output : this excel sheet will include all the events detected from every windows logs provided to APT-Hunter.

APT-Hunter Success and Failed logon Report : ALl logon events with parsed fields (Date, User , Source IP , Logon Process , Workstation Name , Logon Type , Device Name , Original Log ) as columns.

APT-Hunter Process Execution Report : all process execution captured from the event logs.

APT-Hunter Object Access Report : all object access captured from Event (4663) .

APT-Hunter Collected SID Report : Collected Users with their SID list to help you in the investigation.

APT-Hunter EventID Frequency Report : EventID frequency analysis report.

Credits :

I would like to thank Joe Maccry for his amazing contribution in Sysmon use cases ( more than 100 use cases added by Joe )

apt-hunter's People

Contributors

ahmedkhlief avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.