Skip to content

tadmaddad/fortidig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

FortiDig

FortiDig is a Python-based log analysis tool designed for parsing and analyzing Fortigate firewall logs. It offers functionalities to perform hourly analysis, event type analysis, and intrusion checks based on predefined patterns associated with known CVEs.

Version

1.0.0

Features

  • Hourly Analysis: Counts the number of log events per hour.
  • Event Analysis: Aggregates the log events based on their types.
  • Intrusion Check: Scans the logs for patterns that may indicate a potential intrusion, focusing on specific CVEs.

Requirements

  • Python 3.x

Usage

To use FortiDig, clone this repository or download the fortidig.py file. Then, run the script from the command line, passing the path to your Fortigate log file as an argument:

python fortidig.py <path_to_log_file>

Replace <path_to_log_file> with the actual path to your log file.

Supported CVEs

FortiDig currently checks for intrusions based on the following CVEs:

  • CVE-2022-40684
  • CVE-2022-41328
  • CVE-2022-42475

Contributing

Contributions to FortiDig are welcome. If you have a suggestion for improving the tool or adding new features, feel free to fork the repository and submit a pull request.

License

MIT License

Disclaimer

FortiDig is provided "as is" without warranty of any kind, either express or implied. Use it at your own risk.

About

Fortigate Log Digger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages