Skip to content

PentHertz/RF-Swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

553 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ RF Swift πŸ“‘

RFSwift_QuickRun2026.mp4

πŸ” What is RF Swift?

RF Swift is a revolutionary toolbox that transforms any computer into a powerful RF testing laboratory without requiring a dedicated operating system. πŸ”„ Unlike traditional approaches that force you to sacrifice your primary OS, RF Swift brings containerized RF tools to your existing environment. 🏠

⚑ Why RF Swift Outperforms Dedicated OS Solutions

Feature RF Swift Dedicated OS
🏠 Host OS Preservation βœ… Keep your existing OS ❌ Requires dedicated partition or VM
πŸ›‘οΈ Tool Isolation βœ… Tools contained without system impact ❌ Tools can destabilize system
⚑ Deployment Speed βœ… Seconds to deploy ❌ Hours for full installation
πŸ’Ύ Disk Space βœ… Only install tools you need ❌ Requires 20-50GB minimum
πŸ”„ Updates βœ… Update individual tools without risk ❌ System-wide updates can break functionality
🌐 Multi-architecture βœ… x86_64, ARM64, RISCV64 and more! ❌ Limited architecture support
πŸ” Reproducibility βœ… Identical environments everywhere ❌ System drift between other installations
πŸ’Ό Work Environment βœ… Use alongside productivity tools ❌ Switch contexts between systems
πŸ“Ή Session Recording βœ… Built-in recording for documentation ❌ Manual setup required
🎨 Easy Customization βœ… Simple YAML recipes for custom images ❌ Complex OS modifications

✨ Key Features

Core Capabilities

  • 🏠 Non-disruptive Integration: Run specialized RF tools while continuing to use your preferred OS for daily work
  • 🧩 Modular Tool Selection: Deploy only the tools you need, when you need them
  • πŸ›‘οΈ Containerized Isolation: Prevent RF tools from affecting system stability or security
  • 🌍 Cross-platform Compatibility: Works seamlessly on Linux, Windows, and macOS
  • πŸ”Œ Dynamic Hardware Integration: Connect and disconnect USB devices, ports, capabilities, and resources without recreating containers
  • 🌐 NAT Networking: Isolated container networks with configurable subnets for multi-container RF lab setups
  • πŸ“‹ Container Profiles: YAML presets for quick deployment of preconfigured container environments
  • ⚑ GPU Acceleration: Dedicated images with OpenCL support for Intel and NVIDIA GPUs
  • πŸ’Ύ Space Efficiency: Use a fraction of the disk space required by dedicated OS solutions

🐳🦭 Container Engine Support

RF Swift supports both Docker and Podman as container engines, giving you the freedom to choose the runtime that best fits your environment:

Docker Podman Lima
Architecture Client-server daemon Daemonless, fork-exec Docker inside QEMU VM
Root required Yes (daemon runs as root) No (rootless by default) No (VM managed by Lima)
USB passthrough Linux only Linux only macOS via QMP hot-plug
Best for Broad ecosystem, Windows/macOS Security-focused, air-gapped macOS + USB RF hardware

Auto-detection

RF Swift automatically detects the available container engine at startup. If both are installed, Docker is used by default. Override with:

rfswift --engine podman run -n mycontainer -i penthertz/rfswift_noble:sdr_light
rfswift --engine docker run -n mycontainer -i penthertz/rfswift_noble:sdr_light
rfswift --engine lima run -n mycontainer -i penthertz/rfswift_noble:sdr_light  # macOS USB

Podman support example

2026-02-09.15-30-30.mp4

Podman Highlights

  • Rootless containers: No daemon, no root β€” ideal for locked-down environments and shared lab machines

  • OCI-compatible images: All existing RF Swift images work out of the box with Podman

  • Seamless device passthrough: USB SDR dongles, serial adapters, and GPUs work with both engines

  • Automatic cgroup handling: RF Swift detects cgroup v1/v2 and configures device access rules accordingly

πŸ¦™ macOS USB Passthrough (Lima)

Docker Desktop and Podman on macOS cannot forward USB devices (SDR dongles, HackRF, RTL-SDR, etc.) into containers. RF Swift solves this with Lima, which runs a QEMU VM with USB hot-plug support:

# Install Lima
brew install lima

# Attach your SDR dongle to the Lima VM
rfswift macusb list                              # see host USB devices
rfswift macusb attach --vid 0x1d50 --pid 0x604b  # forward HackRF to VM

# Run container via Lima's Docker (where USB device lives)
rfswift --engine lima run -i penthertz/rfswift_noble:sdr_light -n sdr_work

# When done, detach
rfswift macusb detach --vid 0x1d50 --pid 0x604b

Lima auto-creates the VM on first use with Docker, USB libraries, kernel modules, and udev rules for all supported RF hardware pre-configured. Use --engine lima when you need USB devices; use Docker Desktop normally for everything else.

Quick Setup

# Install with the interactive installer (offers Docker, Podman, or both)
curl -fsSL "https://raw.githubusercontent.com/PentHertz/RF-Swift/refs/heads/main/scripts/get_rfswift.sh" | sh

# Or install Podman manually
sudo apt install podman          # Debian/Ubuntu
sudo dnf install podman          # Fedora/RHEL
sudo pacman -S podman            # Arch Linux
brew install podman              # macOS

Note: When using Podman in rootless mode, some operations (like direct device passthrough) may require additional configuration. RF Swift handles most of this automatically, but see the documentation for details.

🎬 Demo Videos

🐧 On Linux

rfswiftdemo.mp4

πŸͺŸ On Windows (With GQRX)

rfswift-demo-gqrxonwindows.mp4

πŸ–₯️ Using OpenCL with Intel or NVIDIA GPU

OpenCL recipe in action

πŸ“¦ Available Specialized Images

RF Swift's container approach allows for specialized environments optimized for specific tasks. All images are OCI-compatible and work with both Docker and Podman.

graph TD;
    A[corebuild]-->B[sdrsa_devices];
    A-->C[rfid];
    A-->D[automotive];
    A-->E[reversing];
    A-->H[network];
    B-->I[sdr_light];
    B-->J[bluetooth];
    B-->K[telecom_utils];
    B-->L[hardware];
    H-->M[wifi];
    I-->N[sdr_full];
    K-->P[telecom_2Gto3G];
    K-->Q[telecom_4G_5GNSA];
    K-->R[telecom_4Gto5G];
    K-->S[telecom_5G];
Loading
Category Images Key Tools
πŸ“» SDR sdr_light, sdr_full GNU Radio, GQRX, SDR++, SDRangel, SigDigger, CyberEther, Inspectrum, URH, rtl_433, dump1090, GNSS-SDR, SatDump, Jupyter + 50+ GNU Radio OOT modules (gr-gsm, gr-lora, gr-satellites, gr-ieee802-11, gr-droneid, gr-tempest, …)
πŸ“‘ SDR Devices sdrsa_devices Drivers for USRP (UHD), RTL-SDR, HackRF, BladeRF, Airspy, LimeSDR, PlutoSDR, XTRX, RFNM, HydraSDR, LiteX M2SDR, SignalHound, Harogic, LibreSDR, SoapySDR
πŸ“± Telecom telecom_utils, telecom_2Gto3G, telecom_4G_5GNSA, telecom_4Gto5G, telecom_5G PySIM, pycrate, srsRAN 4G/5G, Open5GS, UERANSIM, YateBTS, OpenBTS, OsmoCom BTS Suite, SigPloit, PyHSS, SCAT, jSS7, 5Greplay
πŸ“Ά Bluetooth bluetooth BlueZ, WHAD, Mirage, Sniffle, Bluing, bdaddr, ice9-bluetooth, esp32 BT Classic sniffer
πŸ“‘ Wi-Fi wifi Aircrack-ng, hcxdumptool, Reaver, Bully, Pixiewps, EAPHammer, Airgeddon, Wifite2, WPA3 attack suite (Dragonslayer/Dragonforce/Wacker), Hostapd-mana, Wifiphisher
🏷️ RFID rfid Proxmark3 (RRG/Iceman), libnfc, mfoc, mfcuk, RFIDler, miLazyCracker
πŸš— Automotive automotive can-utils, CANtact, Caring Caribou, SavvyCAN, Gallia, V2GInjector
πŸ”§ Hardware hardware PulseView, DSView, Logic 2 (Saleae), Arduino IDE, Flashrom, OpenOCD, esptool, openFPGALoader, MTKClient, ngscopeclient, dfu-util, SeerGDB, AVRDUDE
πŸ” Reversing reversing Ghidra, Radare2, Cutter, ImHex, Binwalk (v2+v3), Unblob, AFL, Honggfuzz, Semgrep, Joern, Kaitai Struct, Qiling, Unicorn/Keystone
🌐 Network network Nmap, Wireshark, Metasploit, Burp Suite, Caido, Impacket, NetExec, Responder, Hashcat, John the Ripper, Kismet, Bettercap, SIPVicious, MBTget

200+ tools across 15+ images, all on x86_64, ARM64, and RISC-V64.

Full image list with detailed tool inventory available at rfswift.io/docs/guide/list-of-tools/

🌟 Real-World Use Cases

πŸ‘” For Professionals

  • 🧰 Rapid Assessment Deployment: Deploy a complete RF lab at client sites in minutes
  • πŸ”„ Consistent Environments: Eliminate "works on my machine" issues
  • βš™οΈ Parallel Testing: Run multiple isolated assessments simultaneously
  • πŸ“Ή Documentation: Built-in session recording for client reports
  • πŸ› οΈ Custom Toolsets: Create specialized containers for specific engagements

πŸ”¬ For Researchers

  • πŸ“Š Reproducible Research: Share exact tool environments with papers
  • πŸ§ͺ Experiment Isolation: Keep experimental configurations separate
  • 🌐 Multi-platform Collaboration: Work across Linux, Windows, and macOS
  • πŸ”’ Version Control: Test with specific tool versions for reproducibility
  • ⚑ Resource Optimization: Allocate resources based on research needs

πŸ‘¨β€πŸ« For Educators

  • 🏫 Classroom Deployment: Identical environments for all students
  • πŸ’» No OS Reinstall: Students keep their existing operating systems
  • πŸ–₯️ Low Requirements: Works on standard lab computers
  • πŸ“š Focused Learning: Custom containers for specific lessons
  • πŸ”„ Quick Reset: Easily reset environments between classes

🏭 For Manufacturing & QA

  • πŸ” Production Testing: Consistent RF testing environments
  • πŸ“‘ Device Validation: Test wireless product compliance
  • πŸ”§ Firmware Analysis: Isolated environments for firmware testing
  • πŸ“Š Quality Assurance: Reproducible test configurations

πŸ”’ For Security-Conscious Environments

  • 🦭 Rootless with Podman: No privileged daemon required β€” ideal for SOC-compliant and hardened systems
  • πŸ”οΈ Air-gapped labs: Pre-pull images, deploy without internet using Podman's daemonless architecture
  • πŸ›‘οΈ Minimal attack surface: No long-running daemon socket to protect

πŸ“– Documentation

Comprehensive documentation is available at rfswift.io, including:

πŸŽ“ Training & Workshops

RF Swift is used in professional training courses by Penthertz:

  • πŸ“» Software Defined Radio assessments
  • πŸ“± Mobile network security testing
  • πŸš— Automotive security analysis
  • 🏭 IoT and embedded device testing

Contact us for custom training programs.

πŸ‘₯ Community & Support

🀝 Contributing

We welcome contributions! Here's how you can help:

Code Contributions

  • 🧰 Tool Integration: Add new tools or improve existing ones
  • 🐞 Bug Fixes: Submit PRs to fix reported issues
  • ✨ New Features: Implement new capabilities
  • πŸ“ Documentation: Improve guides and examples

Community Contributions

  • πŸ“ YAML Recipes: Share your custom image recipes
  • πŸŽ“ Tutorials: Create guides for specific tools or workflows
  • πŸ› Bug Reports: Report issues you encounter
  • πŸ’‘ Feature Requests: Suggest improvements

Getting Started with Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

βš–οΈ License

RF Swift is released under the GNU General Public License v3.0. See LICENSE file for details.

πŸ™ Acknowledgments

Special thanks to:

  • All contributors and clients who have helped improve RF Swift
  • The open-source RF and security tool developers whose work we integrate
  • The community for feedback, bug reports, and feature requests
  • Conference organizers who have hosted our presentations

About

πŸš€ A powerful multi-platform RF toolbox that deploys specialized radio, hardware, and other security tools in seconds on Linux, Windows, and macOSβ€”supporting x86_64, ARM64 (Raspberry Pi, Apple Silicon), and RISC-V architectures without disrupting your primary OS. πŸ“‘βœ¨

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages