Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/blacksnufkin/deadmanswitch
Defensive ToolsEncryption/Decryption ToolsIoT SecurityOSINT for Social EngineeringData ExfiltrationHardware SecurityIncident Response
GitHubblacksnufkin/deadmanswitch

DeadManSwitch

DeadManSwitch in rust with several triggers (remote local and network)

View Repository
243490 years agoReviewed by Kitploit
Share

Dead Man Switch

dms_logo

Overview

Dead Man Switch is a cross-platform security application written in Rust that automatically protects sensitive data in emergency situations. The application monitors multiple trigger mechanisms and executes immediate system lockdown procedures when activated, including encrypted volume dismounting and controlled system shutdown.

Core Features

  • Heartbeat Timer: Automatic trigger on missed check-in intervals
  • Telegram Integration: Remote control via secure messaging
  • Network Triggers: LAN broadcast-based activation
  • USB Detection: Hardware-based triggering
  • Flic Button Support: Physical activation mechanism
  • VeraCrypt Integration: Automatic encrypted volume dismounting
  • Cross-Platform: Windows, Linux, and macOS compatibility

Requirements

  • Rust 1.82.0 or later (Installation Guide)
  • VeraCrypt (Download)
  • Telegram Bot Token (optional, for remote features)

Configuration

Edit src/config.rs to customize settings:

pub fn default() -> Result<Self> {
    Self::new(
        "YOUR_TELEGRAM_BOT_TOKEN".to_string(),
        3600,                                     // Heartbeat timeout (seconds)
        45370,                                    // Network broadcast port
        "trigger_dms".to_string(),               // Network trigger message
        "execute".to_string(),                   // Manual trigger command
        0x090c,                                  // USB vendor ID
        0x1000,                                  // USB product ID
        "auto".to_string(),                      // Flic IP (auto-detected)
        5551,                                    // Flic port
    )
}

Obtaining Telegram Bot Token

  1. Contact @BotFather on Telegram
  2. Execute /newbot command
  3. Follow setup instructions
  4. Copy provided API token
  5. Insert token into configuration file

Usage

Basic form:

./DeadManSwitch --mode <modes> [--trigger]
  • --mode: comma-separated list of modes. If omitted, all is used.
  • --trigger: execute actions immediately and show the alert UI, without waiting for any external trigger.

Modes

Available modes:

  • timer – Telegram heartbeat timer
  • bot – Telegram manual trigger
  • net – UDP broadcast listener
  • usb – USB VID/PID trigger
  • flic – Flic button trigger
  • all – All of the above

Examples:

# All triggers (default)
./DeadManSwitch

# Only Telegram heartbeat + USB
./DeadManSwitch --mode timer,usb

# Only network broadcast
./DeadManSwitch --mode net

# Manual trigger only
./DeadManSwitch --trigger

Trigger Mechanisms

1. Heartbeat Timer

Automatically triggers after specified timeout period without check-in.

Configuration:

telegram_heartbeat_timeout: 3600  // seconds

Execution:

./DeadManSwitch --mode timer

Telegram Commands:

  • /alive - Reset countdown timer
  • /status - Query time remaining

Behavior:

  • Monitors for periodic heartbeat signals
  • Sends Telegram alert on timeout
  • Executes lockdown procedures automatically

2. Telegram Bot

Remote manual control interface.

Setup:

  1. Create bot via @BotFather
  2. Add bot to channel with "Post Messages" permission
  3. Update configuration with token

Execution:

./DeadManSwitch --mode bot

Command:

  • /dms execute - Manual trigger activation

3. Network Broadcast

LAN-based triggering mechanism.

Configuration:

broadcast_port: 45370
broadcast_message: "trigger_dms"

Execution:

# Protected machine
./DeadManSwitch --mode net

# Trigger from network
echo "trigger_dms" | nc -u -b 255.255.255.255 45370

4. USB Device Detection

Hardware-based activation on device connection.

Identifying Device IDs:

git clone https://github.com/BlackSnufkin/Rusty-Playground.git
cd Rusty-Playground/USB_mon
cargo run
# Connect device and note vendor:product IDs

Configuration:

usb_vendor_id: 0x090c
usb_product_id: 0x1000

Execution:

./DeadManSwitch --mode usb

5. Flic Button

Physical button activation mechanism.

Server Installation:

  • Linux: Flic SDK for Linux
  • Windows: Flic Windows SDK

Button Pairing:

./simpleclient scan
./simpleclient connect <button_address>

Configuration:

flic_ip: "192.168.1.242".to_string()  // or "auto" for detection

Execution:

./DeadManSwitch --mode flic

Activation: Press and hold button

Recommended Use with VeraCrypt

  • Encrypt your volumes/partitions with VeraCrypt
  • Configure ActionExecutor to dismount and shutdown on trigger
  • Test everything on non-critical systems before using it on real data

Disclaimer

  • Provided without any warranty
  • You are responsible for any data loss or damage
  • Always keep backups and test configuration before using this on important systems
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    544
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    385
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    302
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    279

Explore all tools

Browse our collection of tools

View all tools →