Discussions

Ask a Question

Multiple community accounts connected to single AWS account?

I see that it is recommended to have a dedicated AWS account for SnapLabs. This of course implies one snaplab account <-> one aws account. Is that a requirement or can you have multiple snaplab accounts connected to a single aws account? snaplab account 1 | |----------------> aws account | snaplab account 2

Shirt Walkthrough

Hello, Is there a command walk through for the Shirts lab? I'm preparing to give training a systematic guide of the various attack paths would be helpful. I do see the existing guide, but it's a technique guide, which is helpful for the students, but not the instructor. I'm looking for command by command. Thank you.
ANSWERED

Lab stuck at "Templating"

Hello, I tried to create a template of my lab but it seems stuck at "templating". I can not find any way to stop this process. Is there anything I can do? I can not see anything happening on the aws side either. Best, Martin
ANSWERED

issues with openvpn connection

I'm trying to connect to my lab as attacker. My lab is on (AdminBox rebooted several times) and I can't connect to my lab. Is there an option that i missed?. I create openvpn conf on my profile for linux (using kali to connect).
ANSWERED

2 NIC setup Ubuntu 18/20 failing

Hello - I have the following issue - I am trying to setup a webserver as part of an AD Forest and in order to achieve that I am trying to create 2 NICs on the webserver. The setup of the NICs in snaplabs is intuitive, but after adding the 2nd NIC via the interface I am only able to see one of them as up via `ifconfig`. I can find the 2nd one via `ifconfig -a`, but it does not have an IP address (neither v4, nor v6). When I use `sudo ifconfig eth1 up` it becomes available but only receives an IPv6 address. Trying to get a new IPV4/6 address via `dhclient -r eth1` disconnects the guacamole connection and renders the box unusable, even after rebooting of the box and the whole network. The same happens if I add the eth1 NIC via `/etc/netplan/50-cloud-init.yaml` and then try to apply the changes via `sudo netplan apply`. You can find screenshots of the process here: https://maikroservice.notion.site/setup-webserver-snaplabs-io-887bf38ea97a47098c3aa6621767abae I don't know if this is a bug or due to my lack of understanding the process but I assumed that if I add a NIC via the snaplabs interface that it would be up and appearing via e.g. `ifconfig` and also receive the IP address I specified in the snaplabs interface (e.g. IPv4 10.10.10.202 here) Any chance you can help me figure this out? Thank you - maikroservice
ANSWERED

Allow Snaplabs to access my labs that were deployed through Terraform

Hi, May I know if there's any configurations that I can change so that Snaplabs can access the labs/VMs I deployed through Terraform? Thanks. Regards, Xanda
ANSWERED

What's an App?

I noticed that there's a setting to deploy Apps. What exactly are these Apps and what can they be used for?
ANSWERED

Terminated VM

One of the VMs in my training course is shown as "Terminated". I can't access any of the options to Start or Snapshot - they are greyed out. How do I restart this VM?
ANSWERED

Future Integrations

Are you all planning on adding integration for GCP or Azure along with AWS?
ANSWERED

VPN fails to connect requiring recreating the lab

Sometimes connecting to the VPN fails where the only option is to destroy the lab and recreate it again. I've tried regenerating VPN configs and rebooting the lab, but it does not work. I wonder if this is a bug in Snap Labs or if I am doing something wrong. I have pasted the output from my Windows 10 OpenVPN client. ``` Thu Aug 12 17:16:32 2021 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Feb 21 2019 Thu Aug 12 17:16:32 2021 Windows version 6.2 (Windows 8 or greater) 64bit Thu Aug 12 17:16:32 2021 library versions: OpenSSL 1.1.0j 20 Nov 2018, LZO 2.10 Thu Aug 12 17:16:32 2021 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340 Thu Aug 12 17:16:32 2021 Need hold release from management interface, waiting... Thu Aug 12 17:16:32 2021 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340 Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'state on' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'log all on' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'echo all on' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'bytecount 5' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'hold off' Thu Aug 12 17:16:32 2021 MANAGEMENT: CMD 'hold release' Thu Aug 12 17:16:32 2021 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication Thu Aug 12 17:16:32 2021 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication Thu Aug 12 17:16:32 2021 MANAGEMENT: >STATE:1628752592,RESOLVE,,,,,, Thu Aug 12 17:16:32 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]146.112.37.30:1194 Thu Aug 12 17:16:32 2021 Socket Buffers: R=[65536->65536] S=[65536->65536] Thu Aug 12 17:16:32 2021 UDP link local: (not bound) Thu Aug 12 17:16:32 2021 UDP link remote: [AF_INET]146.112.37.30:1194 Thu Aug 12 17:16:32 2021 MANAGEMENT: >STATE:1628752592,WAIT,,,,,, Thu Aug 12 17:17:32 2021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Thu Aug 12 17:17:32 2021 TLS Error: TLS handshake failed Thu Aug 12 17:17:32 2021 SIGUSR1[soft,tls-error] received, process restarting Thu Aug 12 17:17:32 2021 MANAGEMENT: >STATE:1628752652,RECONNECTING,tls-error,,,,, Thu Aug 12 17:17:32 2021 Restart pause, 5 second(s) Thu Aug 12 17:17:37 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]146.112.37.63:1194 Thu Aug 12 17:17:37 2021 Socket Buffers: R=[65536->65536] S=[65536->65536] Thu Aug 12 17:17:37 2021 UDP link local: (not bound) Thu Aug 12 17:17:37 2021 UDP link remote: [AF_INET]146.112.37.63:1194 Thu Aug 12 17:17:37 2021 MANAGEMENT: >STATE:1628752657,WAIT,,,,,, ```