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.
| Platform | Hack The Box |
|---|---|
| Operating system | Windows |
| Difficulty | Very Easy |
| Relevant for | HTB 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
- Windows Privilege Escalation: Windows privilege escalation starts with understanding who you are and what the account can do. Archetype matches it by the tags xp_cmdshell and JuicyPotato; 14 catalog machines practise it, 6 of them solved by me.
- Command Injection and RCE: Archetype matches it by the tag xp_cmdshell; 58 catalog machines practise it, 18 of them solved by me.
- Network Service Enumeration: Archetype matches it by the tag MSSQL; 49 catalog machines practise it, 16 of them solved by me.
- SMB Enumeration and Exploitation: The catalog files Archetype under it; 17 catalog machines practise it, 7 of them solved by me.
Where it fits
- HTB Starting Point machine list: Archetype is one of 22 very easy machines on a list of 22, and I solved 14 of the 22.
- OSCP machine list: Archetype is one of 1 very easy machines on a list of 105, and I solved 7 of the 105.
- Archetype is one of 22 very easy Hack The Box machines in the catalog, 5 of them on Windows, and I solved 14 of the 22.
Related solved machines
Other machines I solved that share tags, a technique hub or a practice list with Archetype.
- Dancing (HTB Windows Very Easy), both are on the HTB Starting Point list
- Tactics (HTB Windows Very Easy), both are on the HTB Starting Point list
- Redeemer (HTB Linux Very Easy), both are on the HTB Starting Point list
- Fawn (HTB Linux Very Easy), both are on the HTB Starting Point list
Related
- Track: HTB Starting Point machines (22)
- Certification: OSCP machines (105)
- Technique: Windows Privilege Escalation (14 machines)
- Technique: Command Injection and RCE (58 machines)
- Technique: Network Service Enumeration (49 machines)
- Technique: SMB Enumeration and Exploitation (17 machines)
- Guides: TJ Null OSCP list, OSCP exam scoring and time budget, OSCP vs CPTS, OSCP report template, HTB vs TryHackMe
- All machines: Hack The Box and TryHackMe directory
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.