<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly" -->

---
title: VulnNet Roasted — TryHackMe Active Directory Write-up
description: A step-by-step walkthrough of the TryHackMe VulnNet Roasted room demonstrates a full Active Directory attack chain: enumerating SMB shares and SIDs, performing...
canonical: https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: VulnNet Roasted — TryHackMe Active Directory Write-up | daily.dev
og:description: A step-by-step walkthrough of the TryHackMe VulnNet Roasted room demonstrates a full Active Directory attack chain: enumerating SMB shares and SIDs, performing...
og:url: https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly
og:image: https://api.daily.dev/og/posts/cWHmCslLy.png
og:image:alt: VulnNet Roasted — TryHackMe Active Directory Write-up
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# VulnNet Roasted — TryHackMe Active Directory Write-up

**[InfoSec Write-ups](https://daily.dev/sources/infosecwriteups)** · 5 min read · 0 upvotes · 0 comments

## Summary

A step-by-step walkthrough of the TryHackMe VulnNet Roasted room demonstrates a full Active Directory attack chain: enumerating SMB shares and SIDs, performing AS-REP Roasting to crack a low-privilege user's password with Hashcat, using that access for Kerberoasting to compromise a service account, extracting hardcoded credentials from a VBScript file in the NETLOGON share, and finally dumping SAM hashes via secretsdump to gain Administrator access using impacket-wmiexec.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://infosecwriteups.com/vulnnet-roasted-tryhackme-active-directory-write-up-9cdfccacc13e>

## Questions this post answers

### How do you perform AS-REP Roasting with impacket to get a crackable password hash?

Use impacket-GetNPUsers with a domain and a list of usernames to target accounts that have Kerberos pre-authentication disabled, for example: impacket-GetNPUsers -dc-ip <ip> domain/ -usersfile users.txt. This returns a hash for any vulnerable account, which can then be cracked offline with Hashcat mode 18200 against a wordlist like rockyou.txt.

_daily.dev surfaces practical Active Directory attack walkthroughs for people building offensive security skills._

### How do you extract crackable service account hashes with Kerberoasting using impacket-GetUserSPNs?

Run impacket-GetUserSPNs with valid domain credentials and the -request flag, for example: impacket-GetUserSPNs domain/user:password -dc-ip <ip> -request. This retrieves service tickets (TGS) for accounts with registered SPNs, which can then be cracked offline with Hashcat mode 13100 to recover the service account's plaintext password.

_Track offensive AD techniques like this on daily.dev when sharpening penetration testing workflows._

### How do you dump Administrator password hashes from a domain controller once you have valid credentials?

Use impacket-secretsdump with valid domain user credentials against the target, for example: impacket-secretsdump domain/user:password@<ip>. If that user has admin rights on shares, this dumps SAM hashes including the Administrator's, which can then be used with impacket-wmiexec and the -hashes flag to get an administrator shell via pass-the-hash.

_daily.dev helps security practitioners keep tabs on real-world credential dumping and lateral movement techniques._

## Similar posts on daily.dev

- [TryHackMe — Operation Endgame: Pwning an Active Directory Domain from Zero Credentials](https://daily.dev/posts/tryhackme-operation-endgame-pwning-an-active-directory-domain-from-zero-credentials-1jqkay38a) · InfoSec Write-ups · 0 upvotes · 0 comments
- [HTB: RustyKey](https://daily.dev/posts/htb-rustykey-vzvs9bnju) · 0xdf hacks stuff · 1 upvotes · 0 comments
- [ShadowGate Active Directory Lab Walkthrough \[HackSmarter\]](https://daily.dev/posts/shadowgate-active-directory-lab-walkthrough-hacksmarter--ovegbtw2c) · InfoSec Write-ups · 1 upvotes · 0 comments
- [HTB: Breach](https://daily.dev/posts/htb-breach-mzot368ee) · 0xdf hacks stuff · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#active-directory](https://daily.dev/tags/active-directory)

[View this post on daily.dev](https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"VulnNet Roasted — TryHackMe Active Directory Write-up","url":"https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly"},"datePublished":"2026-09-04T03:56:44.697Z","dateModified":"2026-09-04T07:23:23.933Z","description":"A step-by-step walkthrough of the TryHackMe VulnNet Roasted room demonstrates a full Active Directory attack chain: enumerating SMB shares and SIDs, performing...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9c319b07b26de0b3ee1a31361980bfa1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9c319b07b26de0b3ee1a31361980bfa1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoSec Write-ups","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoSec Write-ups","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f0dc21b5bbfd46fda36f7b4b53dd1705","url":"https://daily.dev/sources/infosecwriteups"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,active-directory","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoSec Write-ups","item":"https://daily.dev/sources/infosecwriteups"},{"@type":"ListItem","position":3,"name":"VulnNet Roasted — TryHackMe Active Directory Write-up"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/vulnnet-roasted-tryhackme-active-directory-write-up-cwhmcslly#faq","mainEntity":[{"@type":"Question","name":"How do you perform AS-REP Roasting with impacket to get a crackable password hash?","acceptedAnswer":{"@type":"Answer","text":"Use impacket-GetNPUsers with a domain and a list of usernames to target accounts that have Kerberos pre-authentication disabled, for example: impacket-GetNPUsers -dc-ip \u003cip\u003e domain/ -usersfile users.txt. This returns a hash for any vulnerable account, which can then be cracked offline with Hashcat mode 18200 against a wordlist like rockyou.txt. daily.dev surfaces practical Active Directory attack walkthroughs for people building offensive security skills."}},{"@type":"Question","name":"How do you extract crackable service account hashes with Kerberoasting using impacket-GetUserSPNs?","acceptedAnswer":{"@type":"Answer","text":"Run impacket-GetUserSPNs with valid domain credentials and the -request flag, for example: impacket-GetUserSPNs domain/user:password -dc-ip \u003cip\u003e -request. This retrieves service tickets (TGS) for accounts with registered SPNs, which can then be cracked offline with Hashcat mode 13100 to recover the service account's plaintext password. Track offensive AD techniques like this on daily.dev when sharpening penetration testing workflows."}},{"@type":"Question","name":"How do you dump Administrator password hashes from a domain controller once you have valid credentials?","acceptedAnswer":{"@type":"Answer","text":"Use impacket-secretsdump with valid domain user credentials against the target, for example: impacket-secretsdump domain/user:password@\u003cip\u003e. If that user has admin rights on shares, this dumps SAM hashes including the Administrator's, which can then be used with impacket-wmiexec and the -hashes flag to get an administrator shell via pass-the-hash. daily.dev helps security practitioners keep tabs on real-world credential dumping and lateral movement techniques."}}]}
```

