GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - aimarketingflow/persistent-wireshark

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
LoopbackShark
LoopbackShark
 
 
StealthSharkAppLauncher-101525.app/Contents
StealthSharkAppLauncher-101525.app/Contents
 
 
StealthShark_NFC_Combined
StealthShark_NFC_Combined
 
 
StealthShark_chatlogs
StealthShark_chatlogs
 
 
_Chatlogs
_Chatlogs
 
 
__pycache__
__pycache__
 
 
backups
backups
 
 
gui_logs
gui_logs
 
 
logs
logs
 
 
persistent_logs
persistent_logs
 
 
scripts
scripts
 
 
.DS_Store
.DS_Store
 
 
.gitignore
.gitignore
 
 
CHANGELOG_WIFI_REMOVAL.md
CHANGELOG_WIFI_REMOVAL.md
 
 
LAUNCH_INSTRUCTIONS.md
LAUNCH_INSTRUCTIONS.md
 
 
LoopbackShark.command
LoopbackShark.command
 
 
MACOS_WIFI_LIMITATION.md
MACOS_WIFI_LIMITATION.md
 
 
PUBLIC_RELEASE_SUMMARY.md
PUBLIC_RELEASE_SUMMARY.md
 
 
README.md
README.md
 
 
SECURITY_DISCLOSURE.md
SECURITY_DISCLOSURE.md
 
 
StealthShark.command
StealthShark.command
 
 
StealthShark_2025-09-02_19-21.command
StealthShark_2025-09-02_19-21.command
 
 
StealthShark_AutoLaunch.command
StealthShark_AutoLaunch.command
 
 
StealthShark_Desktop_Launcher.scpt
StealthShark_Desktop_Launcher.scpt
 
 
WIFI_SECURITY_FIX.md
WIFI_SECURITY_FIX.md
 
 
WIFI_TAB_INSTRUCTIONS.md
WIFI_TAB_INSTRUCTIONS.md
 
 
create_desktop_shortcut.sh
create_desktop_shortcut.sh
 
 
create_stealthshark_desktop_shortcut.sh
create_stealthshark_desktop_shortcut.sh
 
 
enhanced_wireshark_monitor_gui.py
enhanced_wireshark_monitor_gui.py
 
 
launch_stealthshark_gui.command
launch_stealthshark_gui.command
 
 
multi_interface_shark_gui.py
multi_interface_shark_gui.py
 
 
persistent_wireshark_monitor.py
persistent_wireshark_monitor.py
 
 
requirements.txt
requirements.txt
 
 
requirements_wireshark_monitor.txt
requirements_wireshark_monitor.txt
 
 
setup.py
setup.py
 
 
setup_passwordless_capture.sh
setup_passwordless_capture.sh
 
 
simple_tshark_monitor.py
simple_tshark_monitor.py
 
 
stealthshark_settings.json
stealthshark_settings.json
 
 
stealthshark_status_check.py
stealthshark_status_check.py
 
 
test_5hour_duration.py
test_5hour_duration.py
 
 
test_gui.py
test_gui.py
 
 
test_monitor.py
test_monitor.py
 
 
test_stealthshark.py
test_stealthshark.py
 
 
test_timer_duration.py
test_timer_duration.py
 
 
test_wifi_scan.py
test_wifi_scan.py
 
 
test_wifi_thread.py
test_wifi_thread.py
 
 

Repository files navigation

MobileShield - StealthShark ๐Ÿฆˆ

Advanced Network Monitoring & Packet Capture System

License: GPL-3.0 Python 3.8+ Platform: macOS

๐ŸŽฏ Overview

StealthShark is a sophisticated network monitoring system designed for cybersecurity professionals, network administrators, and security researchers. It provides continuous, stealth packet capture with intelligent memory management and automated cleanup capabilities.

๐Ÿ”ฅ Key Features

  • ๐Ÿ•ต๏ธ Stealth Operation: Disguised processes with fake system names
  • ๐Ÿง  Intelligent Memory Management: Automated cleanup and resource optimization
  • ๐Ÿ“Š Real-time Monitoring: Live dashboard with system metrics
  • ๐Ÿ”„ Auto-rotation: Time-based capture file rotation
  • โšก Multi-interface Support: Simultaneous monitoring across network interfaces
  • ๐Ÿ›ก๏ธ Crash Recovery: Watchdog processes ensure continuous operation
  • ๐Ÿ“ฑ Multiple Interfaces: CLI, GUI, and Web dashboard options

๐Ÿš€ Quick Start

Prerequisites

# Install Wireshark (includes tshark)
brew install wireshark

# Configure BPF permissions for unprivileged capture
sudo /usr/local/bin/wireshark-chmodbpf

Installation

git clone https://github.com/yourusername/StealthShark.git
cd StealthShark
python3 -m venv stealthshark_env
source stealthshark_env/bin/activate
pip3 install -r requirements.txt

Launch Options

๐Ÿ–ฅ๏ธ GUI Application (Recommended)

./launch_gui_monitor.command

โšก Quick Status Check

./quick_status_check.command

๐Ÿ”ง Full CLI System

./launch_enhanced_memory_monitor.command

๐Ÿงน Cleanup Operations

./cleanup_captures.command

๐Ÿš€ Auto-Start on Mac Boot

Configure StealthShark to start automatically when your Mac boots:

Install Auto-Start

./install_autostart.sh

The installer will prompt you for:

  • Duration: Default capture rotation period (in hours)
  • Mode: Enhanced Monitor (recommended), Simple Monitor, or GUI

Uninstall Auto-Start

./uninstall_autostart.sh

Check Status

launchctl list | grep stealthshark

Manual Control

# Stop the service
launchctl unload ~/Library/LaunchAgents/com.stealthshark.monitor.plist

# Start the service
launchctl load ~/Library/LaunchAgents/com.stealthshark.monitor.plist

Logs are saved to: logs/stealthshark.log and logs/stealthshark_error.log

๐Ÿ—๏ธ Architecture

Core Components

  • enhanced_memory_monitor.py - Main monitoring engine with memory optimization
  • gui_memory_monitor.py - PyQt6-based graphical interface
  • simple_tshark_monitor.py - Lightweight capture daemon
  • Desktop Launchers - One-click execution scripts

System Design

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   GUI Monitor   โ”‚    โ”‚  Memory Manager  โ”‚    โ”‚ TShark Captures โ”‚
โ”‚   (PyQt6)       โ”‚โ—„โ”€โ”€โ–บโ”‚  (Intelligent)   โ”‚โ—„โ”€โ”€โ–บโ”‚  (Stealth)      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚                       โ”‚                       โ”‚
         โ–ผ                       โ–ผ                       โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  System Tray    โ”‚    โ”‚   Watchdog       โ”‚    โ”‚  File Rotation  โ”‚
โ”‚  Integration    โ”‚    โ”‚   Processes      โ”‚    โ”‚  & Cleanup      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“Š Features Deep Dive

๐Ÿ•ต๏ธ Stealth Capabilities

  • Process name obfuscation using exec -a
  • Disguised as system processes (kernel_task, launchd, etc.)
  • Minimal system footprint
  • Silent operation with configurable logging

๐Ÿง  Memory Intelligence

  • Adaptive Thresholds: Dynamic memory limits based on system capacity
  • Predictive Cleanup: Proactive file management before limits are reached
  • Compression: Automatic GZIP compression of older captures
  • Smart Rotation: Time and size-based file rotation strategies

๐Ÿ“ˆ Monitoring Dashboard

  • Real-time memory and disk usage visualization
  • Active process monitoring with detailed statistics
  • Network interface status indicators
  • Historical performance metrics

๐Ÿ› ๏ธ Configuration

Memory Settings

# Default configuration in enhanced_memory_monitor.py
MAX_MEMORY_GB = 8          # Maximum memory usage
MAX_DISK_GB = 50           # Maximum disk usage
CLEANUP_THRESHOLD = 0.8    # Cleanup trigger (80%)
ROTATION_HOURS = 4         # File rotation interval

Network Interfaces

# Monitored interfaces (auto-detected)
INTERFACES = ['en0', 'en1', 'awdl0']  # WiFi, Ethernet, AirDrop

๐Ÿ”’ Security Considerations

Permissions

  • Requires BPF (Berkeley Packet Filter) access
  • No root privileges needed after initial setup
  • Secure file permissions on capture data

Data Protection

  • Local storage only (no cloud transmission)
  • Configurable data retention policies
  • Encrypted storage options available

โš ๏ธ Known Limitations

WiFi Network Scanning (macOS Sequoia+)

  • WiFi threat detection features have been removed due to macOS privacy restrictions
  • macOS now redacts WiFi SSID names in command-line tools (<redacted>)
  • This prevents WiFi Pineapple detection and evil twin network identification
  • See MACOS_WIFI_LIMITATION.md for technical details and alternatives
  • Core packet capture and network monitoring features are not affected

๐Ÿ“ฑ Interface Options

1. GUI Application (PyQt6)

  • Real-time dashboard with progress bars
  • Process management table
  • System tray integration
  • Configuration dialogs

2. Command Line Interface

  • Interactive menus for all operations
  • Detailed logging and status reports
  • Scriptable for automation

3. Web Dashboard

  • Browser-based monitoring
  • Remote access capabilities
  • API endpoints for integration

๐Ÿงช Use Cases

Cybersecurity Research

  • Threat Detection: Continuous monitoring for suspicious network activity
  • Incident Response: Automated evidence collection
  • Malware Analysis: Network behavior analysis

Network Administration

  • Performance Monitoring: Bandwidth and latency tracking
  • Troubleshooting: Detailed packet-level diagnostics
  • Compliance: Automated logging for regulatory requirements

Security Operations

  • 24/7 Monitoring: Unattended operation with alerting
  • Forensic Collection: Timestamped evidence preservation
  • Threat Hunting: Historical data analysis

๐Ÿ“Š Performance Metrics

  • Memory Efficiency: < 100MB RAM usage during normal operation
  • CPU Impact: < 5% CPU utilization on modern systems
  • Storage Optimization: 60-80% compression ratio on captured data
  • Reliability: 99.9% uptime with watchdog recovery

๐Ÿ”ง Advanced Configuration

Custom Capture Filters

# Example: Monitor only HTTP/HTTPS traffic
tshark -i en0 -f "port 80 or port 443"

# Example: Focus on specific IP ranges
tshark -i en0 -f "net 192.168.1.0/24"

Integration Examples

# Python API usage
from enhanced_memory_monitor import MemoryOptimizedTSharkMonitor

monitor = MemoryOptimizedTSharkMonitor()
monitor.start_monitoring(['en0', 'en1'])
status = monitor.get_system_status()

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Development Setup

git clone https://github.com/yourusername/StealthShark.git
cd StealthShark
python3 -m venv dev_env
source dev_env/bin/activate
pip3 install -r requirements-dev.txt

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Wireshark Foundation - For the excellent tshark tool
  • PyQt Project - For the robust GUI framework
  • Security Community - For continuous feedback and improvements

๐Ÿ“ž Support

  • Issues: GitHub Issues
  • Discussions: GitHub Discussions
  • Security: Report vulnerabilities via email

๐Ÿฆˆ LoopbackShark - Advanced Localhost Monitoring

NEW: StealthShark now includes LoopbackShark, a specialized localhost traffic analyzer with:

  • ๐ŸŽฏ Pattern Recognition - Automatic detection of web servers, databases, APIs
  • ๐Ÿ“Š Real-time Analysis - Live monitoring with PyQt6 GUI
  • ๐Ÿ” Application Detection - Identifies Redis, MySQL, HTTP servers, and more
  • ๐Ÿ“ˆ Historical Analysis - Trend analysis from captured data
  • โš™๏ธ Smart Configuration - Persistent settings with 24-hour default monitoring
  • ๐Ÿ–ฅ๏ธ Desktop Launcher - Easy access via LoopbackShark.command

๐Ÿš€ Launch Options

StealthShark Network Monitor:

./StealthShark.command

LoopbackShark Localhost Monitor:

./LoopbackShark.command

Built with โค๏ธ for the cybersecurity community

StealthShark + LoopbackShark - Complete network visibility for security professionals.

๐ŸŽฏ MobileShield Platform

MobileShield is a comprehensive mobile security platform that brings enterprise-grade network analysis, RF spectrum monitoring, and advanced threat detection to mobile devices. This platform integrates multiple security tools including StealthShark into a cohesive ecosystem designed for professional mobile security research and analysis.

๐Ÿ”ฅ Platform Features

  • ๐Ÿ“ฑ MobileWireshark - Wireshark-like packet analysis for Android
  • ๐Ÿ“ก Live RF Capture - Real-time HackRF One integration for spectrum analysis
  • ๐Ÿฆˆ StealthShark - Advanced network monitoring and packet capture
  • ๐Ÿ” LoopbackShark - Specialized localhost traffic analysis with pattern recognition
  • ๐Ÿ”ต Advanced Bluetooth Shielding - Device management and 2FA authentication
  • ๐Ÿ“Š Professional UI - Dark-themed, responsive interface
  • ๐Ÿ”’ Enterprise Security - Compliance-ready security features

๐Ÿ—๏ธ Project Architecture

MobileShield/
โ”œโ”€โ”€ MobileShieldAndroid/           # Main Android application
โ”‚   โ”œโ”€โ”€ MobileWireshark/          # React Native mobile app
โ”‚   โ”œโ”€โ”€ AndroidSimulator/         # Development simulator with live RF
โ”‚   โ”œโ”€โ”€ SDR_Hardware_Detection/   # HackRF One integration
โ”‚   โ””โ”€โ”€ UTM_Android_VM/          # Android VM for testing
โ”œโ”€โ”€ PhoneRootBot/                 # Phone rooting and analysis tools
โ”œโ”€โ”€ PineappleExpress/            # WiFi Pineapple integration
โ”œโ”€โ”€ RaygunX/                     # Advanced penetration testing
โ””โ”€โ”€ WindsurfOfflineAccessEvidence/ # Offline access analysis

๐Ÿš€ Current Status

โœ… Completed Features

  • Live HackRF One RF Capture - Real-time spectrum analysis (800-6000 MHz)
  • Live Phone Network Monitoring - Packet capture from specific phone IPs
  • Memory-Optimized Android Simulator - Stable performance with live data
  • Professional UI Components - Dark theme with real-time visualization
  • Dual Live Capture - RF + Network packet analysis simultaneously
  • Threat Detection Engine - Pattern analysis for suspicious activities

๐Ÿ”„ In Development

  • React Native Mobile App - Native Android application
  • Bluetooth 2FA System - MAC address-based authentication
  • Hardware Integration - Phone case security device concept
  • Enterprise Dashboard - Web-based management interface

๐Ÿ› ๏ธ Technical Stack

Mobile Application

  • React Native with TypeScript
  • PyQt6 for simulator GUI
  • Scapy for network packet analysis
  • HackRF One SDK for RF capture
  • SQLite for local data storage

Backend & Analysis

  • Python 3 with asyncio
  • NumPy/Matplotlib for signal processing
  • Machine Learning for threat detection
  • RESTful APIs for data exchange

Hardware Integration

  • HackRF One - Software Defined Radio
  • Android Devices - Target platform
  • Custom Hardware - Future phone case integration

๐Ÿ“‹ Installation & Setup

Prerequisites

# macOS requirements
brew install python3 hackrf
pip3 install PyQt6 scapy matplotlib numpy

# Android development
# Install Android Studio and SDK
# Enable USB debugging on target device

Quick Start

# Clone repository
git clone https://github.com/AIMF-LLC/MobileShield.git
cd MobileShield

# Set up Android simulator with live RF capture
cd MobileShieldAndroid/AndroidSimulator
python3 -m venv AndroidSimulator_venv
source AndroidSimulator_venv/bin/activate
pip3 install -r requirements.txt

# Launch with live HackRF One integration
sudo ./launch_live_rf.sh

Mobile App Development

# Set up React Native environment
cd MobileShieldAndroid/MobileWireshark
npm install
npx react-native run-android

๐Ÿ”ง Configuration

HackRF One Setup

  • Connect HackRF One via USB
  • Install HackRF drivers and tools
  • Run with sudo permissions for hardware access
  • Configure frequency range: 800-6000 MHz

Network Monitoring

  • Set target phone IP address
  • Configure network interface (default: en0)
  • Enable packet capture permissions
  • Set up threat detection rules

๐Ÿ“Š Usage Examples

Live RF Spectrum Analysis

# Monitor phone RF emissions
from live_rf_capture import LiveRFIntegration

rf_capture = LiveRFIntegration(
    signal_callback=handle_rf_signal,
    activity_callback=handle_phone_activity
)
rf_capture.start_live_capture()

Network Packet Monitoring

# Capture phone network traffic
from live_network_capture import LiveNetworkIntegration

network_capture = LiveNetworkIntegration(
    phone_ip="10.215.173.1",
    packet_callback=handle_network_packet
)
network_capture.start_live_monitoring()

๐Ÿ”’ Security Features

Threat Detection

  • Suspicious Port Analysis - Detect unusual network connections
  • RF Pattern Recognition - Identify malicious RF activities
  • Data Exfiltration Detection - Monitor large data transfers
  • Real-time Alerting - Immediate threat notifications

Privacy Protection

  • Local Data Processing - No cloud dependencies
  • Encrypted Storage - Secure local data storage
  • Access Control - Role-based permissions
  • Audit Logging - Comprehensive activity tracking

๐Ÿงช Testing & Validation

Hardware Testing

  • HackRF One Validation - RF capture functionality
  • Phone Integration - Network monitoring accuracy
  • Performance Testing - Memory usage optimization
  • Stability Testing - Long-running capture sessions

Security Testing

  • Penetration Testing - Vulnerability assessment
  • Threat Simulation - Malware detection testing
  • Performance Impact - Device resource usage
  • Privacy Validation - Data handling compliance

๐Ÿ“ˆ Roadmap

Phase 1: Core Platform โœ…

  • Live RF capture integration
  • Network packet monitoring
  • Android simulator development
  • Basic threat detection

Phase 2: Mobile App ๐Ÿ”„

  • React Native application
  • Bluetooth 2FA system
  • Enterprise dashboard
  • Cloud integration

Phase 3: Hardware ๐Ÿ”ฎ

  • Phone case security device
  • NFC integration
  • Wireless charging interface
  • Proprietary security protocols

๐Ÿค Contributing

Development Guidelines

  • Follow Python PEP 8 style guide
  • Use TypeScript for React Native components
  • Implement comprehensive error handling
  • Write unit tests for all features
  • Document all public APIs

Security Guidelines

  • Never commit API keys or secrets
  • Use secure coding practices
  • Validate all user inputs
  • Implement proper access controls
  • Follow OWASP mobile security guidelines

๐Ÿ“„ License

Proprietary Software - AIMF LLC

This software contains proprietary technology and trade secrets. Unauthorized reproduction, distribution, or reverse engineering is strictly prohibited.


๐Ÿ“ž Support & Contact

AIMF LLC - Advanced Intelligence & Mobile Forensics

  • Technical Support: [Contact Information]
  • Documentation: [Documentation Portal]
  • Issue Tracking: GitHub Issues
  • Security Reports: [Security Contact]

๐Ÿ”„ Version History

v1.0.0 - Current Development

  • Live HackRF One RF capture integration
  • Phone network monitoring (IP-based)
  • Memory-optimized Android simulator
  • Dual live capture (RF + Network)
  • Professional dark-themed UI
  • Real-time threat detection engine

Built with โค๏ธ by AIMF LLC - Securing the Mobile Future

659e5f2b1a93d5e4621f6f8c9567432aaa22cf14

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.