My Pentesting Space
LinkedIn
  • Welcome to Hackjiji
  • 🕸️web pentesting
    • Basics
    • Web pentest cheatsheet
    • Burpsuite and browser tricks
    • cUrl cheatsheet
    • CVE exploitation
    • JavaScript Obfuscation/Deobfuscation
  • Network pentesting
    • Basics
    • Nmap favorites
    • Host discovery
    • Port scanning
    • Network Services
      • RPC-NFC
      • WINRM - 5895-5896
      • FTP - 21
      • SMB - 445
      • RDP - 3389
      • SSH - 22
      • SMTP - 25
    • Firewall evasion
    • Pivoting and double pivoting
  • Physical pentesting
    • Bad USB - Rubber Duckies
  • Linux pentesting
    • Usefull command's
    • Privilege escalation
  • windows pentesting
    • Windows useful commands
    • Windows Reverse shell codes
    • Privilege escalation
  • Active Directory pentesting
    • Basics
    • AD
    • AAD
  • General
    • Hash cracking
    • Wordlist
    • Encoding/decoding
    • Environment setup
      • Install a new OS on seperated boot sector
      • Hyper-V
      • Virtualbox
    • Reverse-shell-cheatsheet
    • Metasploit cheatsheet
    • Vulnerability research
    • My scanning methodology
  • Events
    • HackTheBox Meetup - LFI2RCE
    • Radio Equans - QR Code Awareness campaign
    • Cybersecurity job campaign
Powered by GitBook
On this page
  • Enable clipboard sharing
  • Create a VM from a VHDX file
  1. General
  2. Environment setup

Hyper-V

PreviousInstall a new OS on seperated boot sectorNextVirtualbox

Enable clipboard sharing

  1. Enable twins-tweak via kali linux

kali@kali:~$ kali-tweaks

In the menu, select Virtualization, then Configure the system for Hyper-V enhanced session mode. And that’s all there is to do on Kali’s side.

  1. On your windows host, type the following Powershell command and restart your computer if needed

> Set-VM "(YOUR VM NAME HERE)" -EnhancedSessionTransportType HVSocket

Create a VM from a VHDX file

  1. Go to Quick Create

  2. Select "_Local Installation Source"

  3. Choose the VHDX file and create a Virtual Machine

More information can be found here: https://www.kali.org/docs/virtualization/install-hyper-v-guest-enhanced-session-mode/#changing-the-setting-of-the-virtual-machine