Network Identity, VPN Detection, Baseline Monitoring & HTML Reporting Toolkit
Built for Cybersecurity Students, Blue Team Labs, SOC Learning, and Authorized Security Testing Environments.
GhostNIC is a Linux-based network identity toolkit designed to help users monitor, analyze, and manage network identity information in authorized environments.
The tool combines MAC address management, private IP renewal, VPN detection, baseline comparison, live monitoring, AI-assisted analysis, and professional HTML reporting into a single easy-to-use interface.
GhostNIC was developed as a cybersecurity learning project with a focus on usability, visibility, and reporting.
- Original MAC Address Tracking
- Current MAC Address Monitoring
- Original Private IP Tracking
- Current Private IP Monitoring
- Original Public IP Tracking
- Current Public IP Monitoring
- DNS Server Detection
- Gateway Detection
- Random MAC Address Generation
- One-Click MAC Rotation
- Original MAC Restoration
- MAC Change Verification
- DHCP Private IP Renewal
- Private IP Change Detection
- Network Identity Refresh
- WireGuard Detection
- OpenVPN Detection
- TAP Interface Detection
- PPP Interface Detection
- VPN Status Monitoring
- VPN Interface Discovery
- VPN IP Detection
GhostAI Advisor provides human-readable analysis including:
- MAC Spoofing Status
- Private IP Change Detection
- VPN Tunnel Detection
- Public IP Change Analysis
- Network Identity Assessment
One-click operation that automatically:
- Changes MAC Address
- Renews Private IP
- Flushes DNS Cache
- Runs GhostAI Analysis
- Saves Activity Logs
Activity logging system that records:
- MAC Changes
- IP Renewals
- Resets
- Baseline Operations
- Monitoring Events
- Report Generation
Create and compare network baselines.
Useful for:
- Security Labs
- SOC Training
- Environment Monitoring
- Configuration Verification
Real-time monitoring mode.
Detects changes in:
- MAC Address
- Private IP
- Public IP
- DNS Servers
- Gateway
- VPN Status
Generate professional reports containing:
- Original vs Current Identity Information
- VPN Information
- Baseline Deviations
- GhostAI Summary
- GhostTrail Activity Logs
- Change Indicators
Built-in interactive documentation explaining every feature.
git clone https://github.com/YOUR-USERNAME/GhostNIC.git
cd GhostNICsudo apt update
sudo apt install \
python3 \
isc-dhcp-client \
wireguard \
resolvconf \
-ychmod +x ghostnic.pysudo python3 ghostnic.pysudo python3 ghostnic.py -i eth0 --statussudo python3 ghostnic.py -i eth0 --aisudo python3 ghostnic.py -i eth0 --ghostmodesudo python3 ghostnic.py -i eth0 --macsudo python3 ghostnic.py -i eth0 --ipsudo python3 ghostnic.py -i eth0 --auto --interval 60 --count 5sudo python3 ghostnic.py -i eth0 --baselinesudo python3 ghostnic.py -i eth0 --comparesudo python3 ghostnic.py -i eth0 --watch --interval 30sudo python3 ghostnic.py -i eth0 --reportOpen report:
xdg-open ghostnic_report.htmlsudo python3 ghostnic.py --help-centerGhostNIC/
│
├── ghostnic.py
├── README.md
├── requirements.txt
├── screenshots/
│ ├── main-menu.png
│ ├── status.png
│ ├── ghostai.png
│ ├── ghostmode.png
│ ├── ghostwatch.png
│ └── report.png
│
└── ghostnic_report.html
GhostNIC can be used for:
- Cybersecurity Learning
- SOC Training Labs
- Blue Team Practice
- Linux Networking Education
- Network Monitoring Demonstrations
- Identity Change Monitoring
- Baseline Analysis Exercises
GhostNIC v1.1 does not force-change public IP addresses.
If a public IP change is detected, it is usually caused by:
- ISP Address Renewal
- Router Reconnection
- Mobile Hotspot Changes
- VPN Connections
GhostNIC only detects and reports such changes.
This project is intended for:
- Educational Use
- Authorized Testing
- Personal Lab Environments
- Research Purposes
Users are responsible for complying with all applicable laws, policies, and authorization requirements.
Do not use this tool on networks or systems without permission.
Planned future improvements:
- Export Reports to PDF
- Advanced Network Health Checks
- Multi-Interface Monitoring
- Enhanced Dashboard UI
- Additional Reporting Modules
- Improved GhostAI Recommendations
Imran Sarwer
Cybersecurity Student Security Tools Developer Blue Team & SOC Enthusiast
If you find this project useful, consider giving it a ⭐ on GitHub.





