Course outlineUsing QEMU Scripts to Manage TAP Devices

Your course

Build your Pentest Lab with KVM, QEMU and LibVirt

Module 1

Introduction to QEMU

  1. 1.Running a "Hello, World!" Program with QEMU in User Mode
  2. 2.Check and Prepare KVM
  3. 3.Introduction to QEMU System Mode
  4. 4.Intro to Networking with QEMU: Using `-nic user`
  5. 5.Intro to running Ubuntu on QEMU

Module 2

Understanding KVM

  1. 1.Introduction to KVM and QEMU

Module 3

Managing QEMU Images

  1. 1.Types of System Images
  2. 2.Base a New Image on a System Image
  3. 3.Making Offline Snapshots
  4. 4.Connecting to VM image for debugging
  5. 5.Creating a Custom Ubuntu Image with GCC and Cloud-Init

Module 4

Managing VMs with Cloud-Init

  1. 1.Setting Users Using Cloud-Init
  2. 2.Advanced User and Groups Configuration Using Cloud-Init
  3. 3.Install packages with cloud-init
  4. 4.Writing files with cloud-init
  5. 5.Running Commands with Cloud-Init
  6. 6.Using Instance Metadata Service with Cloud-Init
  7. 7.Debugging Cloud-Init

Module 5

QEMU Networking

  1. 1.Understanding and Configuring Bridges
  2. 2.Setting Up VMs with a Bridge and TAP Devices
  3. 3.Configuring VMs with Cloud-Init for Networking
  4. 4.Configuring VMs with Netplan and Network-Config
  5. 5.Networking Lab: Configuring VMs with a Bridge and DHCP Server
  6. 6.Using QEMU Scripts to Manage TAP Devices

Module 6

Using QEMU Monitor and GDB

  1. 1.Introduction to QEMU Monitor
  2. 2.QEMU Monitor: Creating and Managing Snapshots
  3. 3.QEMU Monitor: Memory Forensics
  4. 4.QEMU Monitor: Advanced SaveVM and LoadVM
  5. 5.QEMU Monitor: Using QMP (QEMU Machine Protocol)
  6. 6.Debugging and Saving Memory of Guest Processes with GDB

Module 7

Introduction to Libvirt

  1. 1.Introduction to Libvirt: Setting Up and Running a Simple VM
  2. 2.Libvirt Default Network
  3. 3.VM configuration with virsh edit
  4. 4.File Sharing Between Host and Guest Using VirtioFS
  5. 5.Libvirt: Advanced Save and Restore Snapshots
  6. 6.Libvirt: Memory Forensics with QEMU HMP
  7. 7.Libvirt: Exploring QEMU Guest Agent Features

Module 8

Networking with Libvirt

  1. 1.LibVirt: Customizing the default network
  2. 2.Libvirt: using Static IPs
  3. 3.Libvirt: Using Custom and Default Networks
  4. 4.Lab: Enhancing Network Security with Libvirt's Network Filters
  5. 5.Lab: Enhancing Network Security with iptables
  6. 6.Lab: Secure Private Network with Internet Access to Safe Ports Only
  7. 7.Exposing a VM to the Internet Using Macvtap
Course overview
Module 5Lesson 6

Using QEMU Scripts to Manage TAP Devices

Course lessonLocked

Member lesson

Unlock the full lesson

Sign in to read and unlock the course materials.