Notice: This article is for our B2B customers only. For Lab Access on our HTB Labs, see our dedicated article.
In order to access Machines or Pro Labs, you'll need two things. The first is that your Lab Admin will need to have assigned you to one of the labs available to your organization. The second is a connection to the Lab's VPN server. Using the VPN will establish a route to the lab on our internal network, and will allow you to access the machines in the lab.
There are two ways of connecting to a lab: OpenVPN and Pwnbox.
If you are also using HTB Labs please logout and terminate any VPN connection you have from there before connecting on Enterprise.
Connecting with OpenVPN
In order to connect with OpenVPN, click on the VPN Selection Menu in the top-right corner of the website, and select the lab you'd like to connect to.
You'll have the option of selecting either the UDP or TCP protocol. UDP is the default and works best for most people, though switching to TCP can help in cases where you are experiencing some client-side packet filtering or stability issues.
Once you've downloaded your ovpn file, you can use it to connect to our network. Open up your terminal and run the following command:
sudo openvpn /path/to/file.ovpn
You should see something like the following:
A successful connection will end with Initialization Sequence Completed. Make sure you keep this window open while you work within the lab, as this will keep the OpenVPN process open and the VPN connected.
Connecting with Pwnbox (Linux & Windows)
Pwnbox is our cloud-based, browser-accessible virtual machine environment designed for pentesting and security training. You can now choose between Linux Pwnbox and Windows Pwnbox, depending on your needs and the tools you want to use.
Both VMs run directly in the browser through a VNC session and connect automatically to the VPN network.
Linux Pwnbox
Linux Pwnbox is a customized cloud-based Parrot Security OS distribution, preinstalled with all the essential pentesting tools you’d expect from a modern Linux offensive environment.
Additionally, we allow users to store data that will persist across Pwnbox sessions by using the my_data folder on the desktop. You can also personalize Pwnbox by creating a user_init script that will run when Pwnbox starts.
To spawn a Linux Pwnbox instance, click on the VPN Selection Menu in the top right and choose your lab, then select Linux Pwnbox.
Once you spawn Pwnbox, you'll be able to click View Desktop to be taken to your in-browser VNC session. You can return to the VPN selection menu to reopen Pwnbox at any time.
Please note that you can only spawn a Pwnbox instance if you do not already have an active instance of a Machine running. If you have an active instance, you will be met with the following:
To spawn Pwnbox, first terminate your active Machine. You can see which Machine you have currently running in the top left corner, and terminate it from there as well.
Pwnbox uses UDP Protocol by default, to switch to TCP please run this command after you spawn it sudo sed -i 's/udp/tcp/g; s/1337/443/g; s/tls-auth/tls-crypt/g' /etc/openvpn/*.conf; sudo systemctl restart openvpn
Windows Pwnbox
Windows Pwnbox is a cloud-hosted Windows environment designed for both defensive and offensive workflows, especially useful for malware analysis, reverse engineering, Windows exploitation, and blue-team tooling.
Included Toolsets
Defensive Tools
Reverse engineering, forensics, monitoring, and analysis utilitiesOffensive Windows-Specific Tools
Exploitation frameworks, automation scripts, recon and enumeration toolsLogging Tools
For log viewing, correlation, processing, and behavioral analysisBruteforce & Assessment Scripts
Windows Exploitation Framework (PowerShell-based)
You can spawn a Windows Pwnbox by clicking the Connect to HTB on the top right side and choosing the Academy, dedicated, or Pro/Cloud lab you want to connect to, then choosing Windows Pwnbox.
Linux and Windows Pwnbox cannot run simultaneously.
Activating one will disable the other until you terminate the active session.No screen preview is available for either Linux or Windows Pwnbox (also applies inside Academy modules).
The Windows Pwnbox:
Does not include the SSH Terminal.
Does not provide a Spectator link.







