<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>boot2root on Osiriz</title><link>https://osiriz.dev/tags/boot2root/</link><description>Recent content in boot2root on Osiriz</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 06 Apr 2025 15:00:00 +0200</lastBuildDate><atom:link href="https://osiriz.dev/tags/boot2root/index.xml" rel="self" type="application/rss+xml"/><item><title>DDC 2025 Regionals - Intranet Madness</title><link>https://osiriz.dev/posts/2025/04/ddc-2025-regionals-intranet-madness/</link><pubDate>Sun, 06 Apr 2025 15:00:00 +0200</pubDate><guid>https://osiriz.dev/posts/2025/04/ddc-2025-regionals-intranet-madness/</guid><description>Challenge Description Danish (Original) Blækspruttespillene er i gang. De har sat en kommunikationsplatform op til deltagerne, og deltagerne yapper løs.
Login med bruger: 456 og password: password, eller opret din egen bruger for at deltage!
intranetmadness.hkn:8090
English (Chatgpt) The squid games are underway. They have set up a communication platform for the participants, and the participants are chatting away.
Log in with username: 456 and password: password, or create your own account to participate!</description></item><item><title>DDC 2024 Regionals - Challenge 21</title><link>https://osiriz.dev/posts/2024/04/ddc-2024-regionals-challenge-21/</link><pubDate>Wed, 24 Apr 2024 11:00:00 +0200</pubDate><guid>https://osiriz.dev/posts/2024/04/ddc-2024-regionals-challenge-21/</guid><description>We are given the following url: http://toolbox.hkn
Visiting the site we see that it is a toolbox of network diagnostic tools. If we look at the ping tool we can see that we are able to run other bash commands by separating them with a ;: We sadly cant just read the flag: We can see that this is because it is owned by root and only root has read permissions: So lets upload a revshell so then try and privesc from there.</description></item><item><title>DDC 2024 Regionals - Cron my tab</title><link>https://osiriz.dev/posts/2024/04/ddc-2024-regionals-cron-my-tab/</link><pubDate>Wed, 24 Apr 2024 11:00:00 +0200</pubDate><guid>https://osiriz.dev/posts/2024/04/ddc-2024-regionals-cron-my-tab/</guid><description>We are told that we can login over ssh at crontab.hkn using the username:password pair doomguy:doomguysEcReTpAsSwOrD, and to run tail -f read.sh.log. Logging in we are also told that crontab is running /etc/read.sh.
So lets check the crontab, checking in /etc/cron.d/ we find execute-cron containing the line:
* * * * * /etc/read.sh &amp;gt;&amp;gt; /home/doomguy/read.sh.log So the /etc/read.sh script is run every minute, lets check the permissions on the script:</description></item><item><title>DDC 2024 Qualification - Campfire Stories</title><link>https://osiriz.dev/posts/2024/03/ddc-2024-qualification-campfire-stories/</link><pubDate>Mon, 18 Mar 2024 08:00:00 +0100</pubDate><guid>https://osiriz.dev/posts/2024/03/ddc-2024-qualification-campfire-stories/</guid><description>We are given the website campfire-stories.hkn which looks like this: We can write the beginning of a story and the AI will continue it for us.
Looking at robots.txt we get:
# https://www.robotstxt.org/robotstxt.html # Maybe we should not train on company data? # Could our ftp credentials be leaked by the AI? # Probably not a problem. Nobody writes stories about ftp anyway # datacenter.campfire-stories.hkn should still be safe right? User-agent: * Disallow: / Allow: /$ Allow: /share/* Allow: /images/* Allow: /static/* Which seems to suggest that the AI bot can leak the ftp credentials, so let&amp;rsquo;s try: Convert Z3B0OTAwMA== from base64 gives us gpt9000, so lets login to datacenter.</description></item></channel></rss>