A plugin for Wireshark that provides Real-Time Alerting mechanism for suspicious activities or anomalies in traffic patterns.
While Wireshark provides detailed packet analysis, it does not have built-in alerting mechanisms for suspicious activities or anomalies in traffic patterns. This means users must manually monitor and analyze captured data without automated notifications. This repository automates the said process.
- Key Features:
- Traffic Spikes Detection
- Uncommon Ports Detection
- Malformed Packets Detection
- High Error Rates Detection
- Known Malicious Signatures Detection
- Functionalities:
- Notifications via Email
- Writes to a Log file externally
Wireshark
Lua
cmake
, glib
, libpcap
- Install
luarocks
andluasocket
- Add the lua file in Wireshark Plugins directory.
- Change values in the
smtp_config
function with your SMTP server, Port, Email Address and Password, Sender and Recipient Email. - Launch Wireshark. The plugins configured should work and display Alert messages.
- On Linux:
~/.local/lib/wireshark/plugins/
- On Windows:
C:\Program Files\Wireshark\plugins\2.x\
- Simulate attacks or anomalies like DDoS, port scans, or malformed packets.
- Adjust alert thresholds and detection rules as necessary to minimize false positives.
- Machine Learning Integration: Incorporate ML models to predict anomalies based on traffic history.
- Dashboard: Develop a real-time dashboard to visualize the traffic patterns and alerts.