Python script to scan log files/system for unauthorized access around Linux systems

Table of contents

General info

The script will quickly scan over log files in /var/log to find any attempts of unauthorized access on system. Add custom flags or SecurityLog names to customize the script to your specific environment

Getting started

To run this project, extract it to the /opt folder, allow executable permission then run it as sudo

sudo chmod 755

Keep in mind that the script can be automated with crontab ?


Simply just run the script

sudo ./


I made this script as a class project in security python class as a blue team tool that can be used to help identify unauthorized access around the system.


View Github