Skip to content

A plugin for Wireshark that provides Real-Time Alerting mechanism for suspicious activities or anomalies in traffic patterns.

License

Notifications You must be signed in to change notification settings

x0prc/RTA-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A A plugin for Wireshark that provides Real-Time Alerting mechanism for suspicious activities or anomalies in traffic patterns.

Motivation

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.

How Does it Work?

  • 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

Pre-Requisites

Wireshark
Lua
cmake, glib, libpcap

Setup

  • Install luarocks and luasocket
  • 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.

Usage

  • On Linux: ~/.local/lib/wireshark/plugins/
  • On Windows: C:\Program Files\Wireshark\plugins\2.x\

Testing

  • Simulate attacks or anomalies like DDoS, port scans, or malformed packets.
  • Adjust alert thresholds and detection rules as necessary to minimize false positives.

Future

  • 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.

About

A plugin for Wireshark that provides Real-Time Alerting mechanism for suspicious activities or anomalies in traffic patterns.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages