ISRO | Hacklido RootQuest – From Reconnaissance to Root Access
Exploring steganography, hidden archives, file inclusion, database misconfigurations and Linux privilege escalation.

—
Introduction
Hello Hackers!
Today, I will be sharing my experience solving the ISRO machine from Hacklido’s RootQuest platform.
What made this machine interesting was its space-themed approach, where different stages of the challenge were associated with Indian space missions such as Aryabhata, Bhaskara, Mangalyaan and Chandrayaan.
The machine involved multiple cybersecurity concepts, including network reconnaissance, web enumeration, steganography, source code analysis, file inclusion, database enumeration and Linux privilege escalation.
In this walkthrough, I will explain my approach, the tools I used, the vulnerabilities I discovered and how I progressed from initial reconnaissance to root-level access.
Let’s begin the mission!
—
Machine Information
| Information | Details |
| Machine Name | ISRO |
| Platform | Hacklido RootQuest |
| Operating System | Linux |
| Target IP | 10.10.0.3 |
| Challenge Type | Boot to Root |
| Total Flags Captured | 4 |
| Status | Completed |
Machine Link: ISRO – Hacklido RootQuest
Disclaimer: All the activities demonstrated in this write-up were performed within an authorized CTF environment for educational purposes.
—
Tools Used
The following tools were used throughout the challenge:
- Nmap
- Gobuster
- Wget
- ExifTool
- Binwalk
- Steghide
- CyberChef
- Netcat
- Python
- Netstat
- MySQL
- OpenSSL
- SSH
—
Phase 1: Initial Reconnaissance
Network Scanning with Nmap
As with most penetration testing challenges, I started by performing network reconnaissance to understand the target machine and identify its exposed services.
For this purpose, I used Nmap.
nmap 10.10.0.3

The scan revealed two open TCP ports.
| Port | State | Service |
| 22/tcp | Open | SSH |
| 80/tcp | Open | HTTP |
Port 22 indicated that the machine was running an SSH service, while port 80 indicated the presence of a web application.
Since I did not have any SSH credentials at this stage, I decided to focus on the web application.
—
Phase 2: Web Enumeration
Directory Enumeration Using Gobuster
After identifying the HTTP service, my next objective was to discover hidden directories and files hosted on the web server.
I used Gobuster with the common directory wordlist.
gobuster dir --url http://10.10.0.3/ -w /usr/share/wordlists/dirb/common.txt

The scan returned the following results:
| Path | HTTP Status |
| /.hta | 403 |
| /.htpasswd | 403 |
| /.htaccess | 403 |
| /img | 301 |
| /index.php | 200 |
| /server-status | 403 |
Among these results, the /img directory caught my attention.
I navigated to the directory through my browser.
http://10.10.0.3/img/

The web server had directory listing enabled, allowing me to view the files stored inside the directory.
There was an interesting image named:
aryabhata.jpg
Considering the theme of the machine, I suspected that this image could contain hidden information related to the first mission.
—
Phase 3: Aryabhata Mission — Steganography
Downloading the Image
I downloaded the image using Wget so that I could perform further analysis locally.
wget http://10.10.0.3/img/aryabhata.jpg

Metadata Analysis with ExifTool
Whenever I encounter a suspicious image during a CTF challenge, one of my first approaches is to inspect its metadata.
Metadata can sometimes reveal useful information such as comments, author details, hidden descriptions or other clues.
I used ExifTool to examine the image.
exiftool aryabhata.jpg

The output revealed standard image information:
- File type: JPEG
- MIME type: image/jpeg
- Image width: 484 pixels
- Image height: 381 pixels
- Encoding process: Baseline DCT
However, I did not find any useful flag or hidden message within the displayed metadata.
File Signature Analysis with Binwalk
My next approach was to check whether another file had been embedded or appended to the image.
For this purpose, I used Binwalk.
binwalk aryabhata.jpg

The output only identified standard JPEG image data.
This suggested that I needed to investigate other methods of hiding information inside images.
Extracting Hidden Data Using Steghide
Steganography is a technique used to conceal information inside another file, such as an image or audio file.
I decided to use Steghide to check whether the image contained hidden data.
steghide extract -sf aryabhata.jpg
The extraction was successful and produced a text file.
aryabhata_flag.txt
I then examined the extracted file.
cat aryabhata_flag.txt


Mission 01: Aryabhata — Completed
Flag captured successfully.
The first mission demonstrated that a normal-looking image can contain hidden information that is not immediately visible through metadata or file signature analysis.
It also highlighted the importance of using multiple analysis techniques rather than relying on a single tool.
—
Phase 4: Bhaskara Mission — Source Code Analysis
After completing the Aryabhata mission, I continued exploring the web application and navigated to the Bhaskara mission page.
Inspecting the HTML Source Code
During web application enumeration, inspecting the source code is a simple but useful technique.
Developers sometimes leave comments, internal references, hidden paths or debugging information inside HTML files.
While examining the Bhaskara page source, I discovered an interesting HTML comment containing a launch code.
L2JoYXNrYXJh

The format of the string suggested that it could be Base64-encoded.
Decoding the Launch Code
I opened CyberChef and used its Magic operation to identify and decode the string.
Tool: CyberChef
The decoded result was:
/bhaskara

This revealed an internal path associated with the Bhaskara mission.
One important observation here is that Base64 is not encryption. It simply represents data in a different format and does not provide confidentiality.
Investigating the ZIP Archive
Further investigation led to a password-protected archive named:
bhaskara.zip
I extracted the archive using the unzip utility.
unzip bhaskara.zip
After successful extraction, a file named flag.txt was available.
cat flag.txt

Mission 02: Bhaskara — Completed
Flag captured successfully.
This stage demonstrated how information exposed through HTML comments and encoded references can lead to the discovery of hidden resources.
—
Phase 5: Relay Connector — Initial Foothold
After capturing the first two flags, I continued investigating the web application for functionality that could potentially lead to system-level access.
Discovering the Relay Connector
I came across an interesting endpoint named:
connect.php
The page was titled Relay Connector Console and contained a Document Source input field.
The functionality appeared to allow users to specify a resource that would be loaded by the application.

User-controlled file handling functionality is particularly interesting during web application security testing because improper validation can introduce file disclosure and file inclusion vulnerabilities.
Identifying Unsafe Local File Access
I investigated whether the application properly restricted the resources that could be accessed through the Document Source field.
The application returned the contents of a local Linux account information file.

This confirmed that the application was not adequately restricting access to local files.
Such a vulnerability can expose sensitive system information, configuration files and application data.
Investigating Remote Resource Handling
After confirming local file disclosure, I investigated whether the connector could also retrieve externally hosted resources.
I identified the VPN network interface using:
ip a

I then used a controlled Python HTTP server within the CTF environment to observe how the target application handled remote resources.
python3 -m http.server 8080
The HTTP server logs confirmed that the target was requesting the hosted resource.

Further testing confirmed that the vulnerable functionality could result in remote code execution.
Obtaining Initial Access
I successfully obtained a shell on the target machine.
The shell was running with the privileges of the web server account.
uid=33(www-data)
gid=33(www-data)
groups=33(www-data)

At this stage, I had successfully established an initial foothold on the target machine.
However, the current account had limited privileges, so further enumeration was required.
Improving Shell Interaction
I used Python’s PTY functionality to obtain a more interactive shell.
python3 -c 'import pty;pty.spawn("/bin/bash")'

The interactive shell made it easier to investigate the target environment.
—
Phase 6: Internal Network and Service Enumeration
After gaining initial access, my next objective was to identify services running internally on the machine.
An external Nmap scan only reveals services that are accessible from the scanning machine. Services bound to localhost may not appear during external reconnaissance.
I used Netstat to inspect active connections and listening ports.
netstat -antp

The output revealed an interesting internal service.
127.0.0.1:3306
Port 3306 is commonly associated with MySQL and MariaDB.
Since the database service was bound to the loopback interface, it was not directly accessible during my initial external scan.
This was an important discovery because internal services can become accessible after an attacker compromises a web application running on the same machine.
—
Phase 7: Mangalyaan Mission — Database Enumeration
Investigating MariaDB
After discovering the internal database service, I investigated its authentication and access-control configuration.
The database allowed me to establish a session using the database root account without supplying a password in the command.

The database server identified itself as:
MariaDB 10.11.14
This indicated a significant database access-control weakness within the challenge environment.
Discovering the Flag Database
During database enumeration, I discovered a database named flag.
I selected the database and examined its available tables.
USE flag;
SHOW TABLES;

The database contained a table named flag.
I examined its records.
SELECT * FROM flag;
The table contained the following columns:
The mission field contained the value Mangalyaan, along with the third mission flag.


Mission 03: Mangalyaan — Completed
Flag captured successfully.
This stage demonstrated that restricting a database service to localhost is not sufficient on its own.
If another application on the same machine becomes compromised, weak database authentication can allow unauthorized access to sensitive records.
Database authentication, account restrictions and least-privilege permissions are essential even for internally accessible services.
—
Phase 8: Chandrayaan Mission — Linux Privilege Escalation
At this point, I had captured three mission flags and obtained access to the machine as www-data.
The remaining objective was to achieve root-level access and complete the final mission.
Investigating Linux File Permissions
During privilege escalation enumeration, I identified a critical misconfiguration involving the Linux account information file:
/etc/passwd
This file contains information about system users, including:
- Username
- User ID (UID)
- Group ID (GID)
- Home directory
- Login shell
Normally, the file should be readable by regular users but writable only by authorized privileged accounts.
However, the challenge machine allowed the unprivileged web server account to modify this sensitive file.
This represented a critical privilege escalation vulnerability.
Understanding the Security Impact
In Linux, UID 0 represents root-level privileges.
If an unprivileged user can modify sensitive account information, the integrity of the system’s authentication and authorization mechanisms can be compromised.
During the challenge, I investigated this weakness using OpenSSL and the local SSH service.
The insecure permissions ultimately allowed me to establish a root-equivalent session.


Accessing the Root Directory
After successfully obtaining root-level access, I navigated to the root directory.
cd /root
ls
I discovered a file named:
final.txt
I examined the contents of the file.
cat final.txt

Mission 04: Chandrayaan — Completed
Final root flag captured successfully.
With the completion of the Chandrayaan mission, I had successfully completed the ISRO RootQuest machine.
—
Complete Mission Summary
| Mission | Technique | Status |
| Aryabhata | Image steganography | Completed |
| Bhaskara | Source code analysis and Base64 decoding | Completed |
| Mangalyaan | Internal database enumeration | Completed |
| Chandrayaan | Linux privilege escalation | Completed |
Total flags captured: 4/4
Machine status: Completed
—
Attack Path Summary
The overall methodology followed during the challenge was:
Network Reconnaissance
|
v
Web Directory Enumeration
|
v
Image Steganography
|
v
Aryabhata Flag
|
v
HTML Source Code Analysis
|
v
Base64 Decoding and Archive Analysis
|
v
Bhaskara Flag
|
v
Unsafe File Inclusion
|
v
Initial Access as www-data
|
v
Internal Service Enumeration
|
v
MariaDB Investigation
|
v
Mangalyaan Flag
|
v
Linux Permission Misconfiguration
|
v
Root Access
|
v
Chandrayaan Flag
—
Security Weaknesses Identified
Although this machine was intentionally vulnerable, the weaknesses demonstrated throughout the challenge are relevant to real-world cybersecurity assessments.
| Security Weakness | Potential Impact |
| Directory listing enabled | Exposure of unintended files |
| Hidden information in public resources | Information disclosure |
| Internal references in HTML comments | Discovery of sensitive resources |
| Unsafe local file access | Unauthorized file disclosure |
| Unsafe remote resource inclusion | Remote code execution |
| Database access-control misconfiguration | Unauthorized database access |
| Insecure Linux account file permissions | Root privilege escalation |
—
Defensive Security and Mitigation
Solving a CTF challenge is not only about obtaining flags. It is equally important to understand how the identified security weaknesses could be prevented in a real-world environment.
1. Disable Directory Listing
Web servers should not expose directory contents unless there is a specific business requirement.
Unnecessary directory listing can reveal sensitive files, backups and internal application resources.
2. Remove Sensitive Information from Source Code
Developers should avoid including internal paths, credentials, sensitive references and debugging information inside publicly accessible HTML or JavaScript files.
Encoding sensitive information using Base64 does not make it secure.
3. Secure File Handling Functionality
Applications should strictly validate user-controlled file paths.
Recommended security measures include:
- Allowlisting approved resources.
- Restricting access to sensitive directories.
- Preventing untrusted remote file inclusion.
- Avoiding direct use of user input in file inclusion functions.
4. Implement Strong Database Access Controls
Database services should use secure authentication and properly restricted accounts.
Applications should never use administrative database accounts unless absolutely necessary.
Even internally accessible databases should follow the principle of least privilege.
5. Secure Linux File Permissions
Sensitive Linux system files should be protected against unauthorized modifications.
Administrators should regularly audit the ownership and permissions of critical files, including:
/etc/passwd
/etc/shadow
/etc/sudoers
File integrity monitoring can also help detect unexpected modifications.
6. Implement Defense in Depth
One of the biggest lessons from this challenge is that multiple small security weaknesses can be chained together.
Organizations should implement multiple layers of security so that compromising one component does not automatically result in complete system compromise.
—
What I Learned
The ISRO machine helped me strengthen my understanding of several practical cybersecurity concepts:
- Network and web application enumeration.
- Image metadata and steganography analysis.
- Identifying encoded information in source code.
- Understanding unsafe file inclusion vulnerabilities.
- Investigating internal network services.
- Identifying database authentication weaknesses.
- Understanding Linux permissions and privilege escalation.
- Connecting multiple security weaknesses into a complete attack path.
The most important lesson was the value of thorough enumeration.
Not every tool will immediately provide useful results. For example, ExifTool and Binwalk did not reveal the hidden Aryabhata flag, but Steghide successfully extracted it.
This demonstrates why patience, observation and a structured methodology are essential when solving cybersecurity challenges.
—
Conclusion
The ISRO machine was an interesting and educational RootQuest challenge that combined multiple cybersecurity domains into a single space-themed experience.
Starting with a simple Nmap scan, I progressed through web enumeration, steganography, source code analysis, file inclusion, internal database enumeration and finally Linux privilege escalation.
Each mission introduced a different security concept, making the overall challenge a valuable hands-on learning experience.
A special thanks to the Hacklido team for developing the RootQuest platform and providing opportunities for cybersecurity enthusiasts to improve their practical skills.
I look forward to exploring more RootQuest machines and sharing my experiences with the Hacklido community.
Happy Hacking!
Keep Learning. Keep Exploring. Hack Ethically.