Skip to main content

Enumeration

Run Nmap Scan

Result for Nmap Scan

View Website

Untitled

Directory Bruteforcing (Run Gobuster)

Result

By looking at vti*_*bin, it looks like it is using webdav

Enumerate Webdav

WebDAV is an Internet-based open standard that enables editing Web sites over HTTP and HTTPS connections - Microsoft

Running davtest to enumerate webdav

Exploitation

We can send jsp, txt, pl file extensions, but not eitherasp or aspx. Hence we are going to upload webshell intxt extensions through Webdav PUT command, but going to change the filename later through Webdav MOVE command.

Create and Upload Reverse Shell

Listen and Run Reverse Shell

Privilege Escalation

Finding Vulnerability using wes-ng

Get Systeminfo from Target Windows Machine

Install and update wes-ng

Finding Vulnerability

Token Kidnapping (MS09-012 | CVE-2009-0079)

Source: https://github.com/SecWiki/windows-kernel-exploits/blob/master/MS09-012/README.md