Basic Operations - nicholasaleks/Damn-Vulnerable-Drone GitHub Wiki

This guide will take you through the practical aspects of navigating and interacting with the DVD Simulator, building upon the foundational understanding you've gained. With a focus on the interface and operational mechanics, we aim to ensure you can effectively utilize the simulator for educational purposes.

Interface Components Understanding the DVD Simulator's interface is crucial for effective navigation and interaction. Here are the key components you'll frequently use:

image

The focal point of your interaction, displaying the drone and its environment in real time. Here, you'll control and observe the drone's operations.

Reset Simulator Button:

Resets the simulator to its initial state, ideal for starting fresh experiments or resetting after the drone crashes.

image

Pause Simulator Button:

Halts the simulation, allowing for paused observation and planning without losing progress.

image

Reset Camera Button:

Clicking this eyeball icon resets the camera to the default view in the Main Simulator Window, helpful for regaining orientation.

image

Camera Navigation

Camera control and observation within the virtual environment is essential. Use the following controls in the Main Simulator Window for a great 3D experience:

Pan (Left Click + Drag):

Click and drag with the left mouse button to move the view horizontally or vertically.

Rotate (Shift + Left Click + Drag):

Hold Shift and drag with the left mouse button to rotate the view, offering a 360-degree perspective of the drone's environment.

Zoom In/Out (Scroll Wheel):

Scroll up to zoom in for a closer look, or scroll down to zoom out and see more of the environment.

Launching QGround Control

QGroundControl is an open-source ground control station (GCS) software that allows users to plan, control, and monitor unmanned aerial vehicles (UAVs). It provides real-time flight data, mission planning, and an intuitive interface for managing UAV operations.

Click "Launch QGroundControl" button on the Simulators Side Nav Bar

image

QGroundControl is used for mission planning, UAV configuration, real-time monitoring, and data analysis. Users can create flight paths, adjust UAV settings, and monitor telemetry data during flights. It supports various UAV platforms and provides tools for safe and efficient UAV operations.

Potential Launch Issues

QGroundControl may fail to launch due to several reasons:

Unsupported Architecture: Ensure your system meets the necessary hardware and software requirements (ARM / Apple Silicon is currently not supported). Missing Dependencies: Make sure all required libraries and dependencies are installed. Permissions: Verify that you have the necessary permissions to run the application. Note: Damn Vulnerable Drone does not need to use QGroundControl to function. An alternative tool is used in the ground-control-station container known as MAVProxy to substitute for all core QGroundControl functionality.

Flight State Buttons

Damn Vulnerable Drone encompasses a range of flight states that are essential for simulating real-world drone operations, crucial for constructing a variety of drone hacking scenarios.

image

The ability to simulate these various flight states is fundamental in DVD, as it allows users to test and exploit different aspects of drone operations. By understanding how a drone behaves in each state, offensive security professionals can better strategize their attack vectors, identify weaknesses in the system, and develop measures to mitigate potential security threats in real-world drone systems.

These states include:

  1. Initial Boot: This simulates the drone's startup sequence, where all systems are initialized. Clicking this initial boot will simulate you "pressing" the power on button on the drone flight controller, allowing for the companion computer to establish a connection to it. This phase is critical for security/safety checks, calibration and ensuring communication protocols are setup before flight.

  2. Arm & Takeoff The phase where the drone transitions from a stationary state to airborne, testing the responsiveness of flight controls and the integrity of take-off protocols. Note: This may take some time to complete as the drone requires GPS & EKF3 to be ready)

  3. Autopilot Flight Represents the drone's ability to navigate autonomously based on predefined waypoints or dynamic commands, a vital state for exploring vulnerabilities in navigation and control systems.

  4. Emergency / Return-To-Land Simulates the drone's emergency protocols, automatically returning to a home location upon triggering fail-safes or loss of control signals, which can be a target for exploitation in hacking scenarios.

  5. Post-Flight Data Processing This state involves the handling of all data collected during the flight, including telemetry and logs, making it an important phase for understanding data exfiltration and integrity attacks.