This is a simple web-based Intrusion Detection System (IDS) built using Streamlit and Python. It scans log files for suspicious patterns using both Deterministic Finite Automata (DFA) and Regex-based scanning.
- β
DFA-based detection of repeated login failures (e.g., 3 consecutive
login failed) - β
Regex detection of:
- Unauthorized Access attempts
- SQL Injection patterns (e.g.,
SELECT * FROM ...) - Suspicious IP activity (
192.168.1.X)
- β Web interface built with Streamlit
- β Works with raw log file text input
- β Deployable on Streamlit Community Cloud, Replit, or locally
- Python 3.x
- Streamlit
- Regular Expressions (
re) - DFA logic implemented in Python
- Pyngrok (optional, for localhost tunneling)
git clone https://github.com/your-username/dfa-streamlit.git
cd dfa-streamlit