← Back to list

Cicada

Challenge URL: https://app.hackthebox.com/machines/Cicada

Ajay Chhillar · 2025-08-15 07:17 · 0 claps · 3.2 min read
#hackthebox-writeup #hackthebox-walkthrough #cicadas #hack-the-box-writeup #hack-the-box-walkthrough
Open on Medium ↗

Cicada

Challenge URL: https://app.hackthebox.com/machines/Cicada

Cicada is rated easy on difficulty wise in HackTheBox Platform. Let’s started with nmap scan

nmap -sC -sV -oA Scan 10.10.11.35

· -sC: means run default script

· -sV: means detect service version

· -oA: output all format and save in file Scan

nmap scan

nmap scan

Nmap scan shows our target is window machine and active directory services are running on it.

Let’s add cicada.htb to /etc/hosts file

Let’s conduct one more nmap scan to check if something new service or port we found

nmap scan

nmap scan

Port 64494 is unknown. Let’s check what service are running on it.

nmap scan

nmap scan

Let’s perform smb enumeration

smb enumeration

smb enumeration

There are number of other ways to perform smb enumeration like we can use smbmap and crackmapexec also.

smbmap

smbmap

As smbmap enumeration shows nothing and smbclient does not show which shares are accessible by anonymous users, so let’s try random way to check if shares one by one

smbclient

smbclient

Let’s check what is in txt file

Notice from HR.txt

Notice from HR.txt

We got password there but there are no users. Let’s bruteforce users

Let’s save these names in file named as user.txt

nxc scan

nxc scan

We find valid user for password.

michael.wrightson:Cicada$M6Corpb*@Lp#nZp!8

Let’s check if we have further users with above credentials

We find more creds, Let’s save them and use them further.

smb shares

smb shares

I used new creds to check any new smb shared assign there and we find DEV smb share interesting. We have read permission on it, Let’s read it.

smbclient

smbclient

We find Backup script. Let’s read it.

We find new creds, let’s save them and use these creds

Let’s check our new user what new shares it access.

Let’s check emily.oscars have winrm access or not.

Our user has winrm access. Let’s login to winrm

winrm

winrm

Privilege Escalation:

Privilege escalation is the process of gaining higher level of access or permission on a system than originally granted, often to exploit vulnerabilities and increase control over the system.

There is SeBackupPrivilege enabled. Let’s exploit it.

I am using pypkatz to extract hashes, we can use other tools like impacket-secretsdump also.

We are Administrator now. That’s it from my side. I hope that walkthrough is useful for you.

Thank you for reading!


메타데이터
post_id
0fcb5dfdf74f
slug
cicada-0fcb5dfdf74f
url
https://medium.com/@0j1y88/cicada-0fcb5dfdf74f
canonical_url
https://medium.com/@0j1y88/cicada-0fcb5dfdf74f
author_url
https://medium.com/@0j1y88
status
ok
fetched_at
2026-06-20 20:29:01