Archetype attack path and techniques

By Daniel Dayan ยท Updated

Archetype is a very easy Windows machine on Hack The Box that I solved myself. It maps to the technique hubs Windows Privilege Escalation; Command Injection and RCE; Network Service Enumeration; SMB Enumeration and Exploitation.

Overview

Archetype is a very easy Windows machine from Hack The Box that I tagged with MSSQL, xp_cmdshell, JuicyPotato and PowerShell. Archetype counts toward the HTB Starting Point and OSCP practice lists in the ZeroBox catalog.

PlatformHack The Box
Operating systemWindows
DifficultyVery Easy
Relevant forHTB Starting Point, OSCP

Attack path summary

Find SQL credentials in open SMB share, enable xp_cmdshell via impacket-mssqlclient for revshell, and abuse SeImpersonate with JuicyPotato.

Tags

MSSQL xp_cmdshell JuicyPotato PowerShell

Techniques explained

Where it fits

Related solved machines

Other machines I solved that share tags, a technique hub or a practice list with Archetype.

Related

Track Archetype in ZeroBox.

Log your Archetype progress, notes and flags offline in your browser, and follow the pentest methodology checklist.

Archetype belongs to Hack The Box; this page contains only my own notes.