WSL
Windows Subsystem for Linux
Enumeration
Search for bash.exe
:
If bash.exe
exists on the machine, then WSL is installed.
Exploitation
Search for admin password on the system, for example, using the history command. If we get a SMB password, we can get a shell with impacket-smbexec:
Lab: Hack The Box - SecNotes
Last updated