Capture The Flag Learn some basic commands in a Unix/Linux environment Scenario Visit Bandit war game (https://overthewire.org/wargames/bandit/bandit0.html) site for description. You will also need...

1 answer below »
The assignment is attached


Capture The Flag Learn some basic commands in a Unix/Linux environment  Scenario Visit  Bandit war game (https://overthewire.org/wargames/bandit/bandit0.html) site for description. You will also need access to a SSH shell/application - built-in into OS X, or you need an application in Windows (MobaXTerm or putty ). Windows 10 Pro understands the ssh command so if you have that version you do not need an extra app (I do not have access to a Home edition so I could not test if ssh works in that version). The goal at each level is to find the password for the next login. The web site gives you some clues and hints about what tools you can try/use to possibly get to the right location in the setup and investigate the files/content.  The steps should be completed by connecting with ssh to: bandit.labs.overthewire.org on port 2220 - this is not the actual syntax so figure that out as well ... The objective is to get familiar with a CLI (command line interface). Many services on Unix/Linux systems are available from the prompt. Even more, many security tools will give you the full power of the application this way. Take this challenge as another chance to test yor skills and learn something (maybe) new and exciting. It also gives you more bragging rights saying: hey, I know how to work from a prompt in Linux. Work on the levels, learn the commands, check out their options and attributes, get the password, and proceed to the next level. Deliverable Complete the exercises at least up to end of level 12 (you can do more at this time and also in the future). At each level read the instructions carefully from the web site and also in the ssh window. When working at level 12 in one of the steps when your are uncompressing a data file, the result of the process will be a data8.bin file. Stop at that point for a second before you continue to finish the level. Minimize all your applications on the screen but keep the ssh window. Open a terminal window to access the local operating system (terminal.app on a Mac, cmd on a Windows machine). They shall be about 70% of the width of your full screen and occupy about 40% of the height (individually). Move the ssh window to the right-upper corner and the terminal window to the right lower corner leaving some space between them (see an example below). In the ssh windows execute the following commands: clear to clean the windows ls -l (so all lower-case lsl) wich stands for list with long info file data8.bin this will display info about the data8.bin file Leave everything there and switch over to the terminal window and execute the following commands: clear (on Mac) cls (on Windows) to clean the window whoami asking for user identity Take a screen shot of your screen, use your Metro login name as the file name, and send the image file to me (.gif, .jpg, or .png). After that do not forget to finish up the steps to get to the end of the level. Something similar ... just with the described content - thank you.
Answered Same DayJun 15, 2021

Answer To: Capture The Flag Learn some basic commands in a Unix/Linux environment Scenario Visit Bandit war...

Nithin answered on Jun 16 2021
134 Votes
Bandit CTF
General Instructions :
1. You’ll require a terminal to solve all of these problems as instructed by your teacher.
2. If you’re using linux/mac then you can easily pop up
the terminal and start working from there.
3. If you’re using windows, then you can try to ssh in the command line, using cmd.
4. If ssh doesn’t work on the command line, you might need to download an external application like Putty to ssh and then start working. (If you’re using Putty, then you might need to skip level0, because connecting to ssh in Putty can be done manually using the GUI.
5. Once you’ve successfully connected to the server using ssh, then what OS you’re using doesn’t matter. All the commands will be the same hereafter, don’t worry.
6. I’ve included comments starting with “ // ” almost after every command, don’t copy the comments and execute along with the command, they’re purely for your better understanding.
Solutions :
1. Level 0 (Login to game using ssh)
Using Putty GUI
    If you’re using putty, you’ll get the above screen. In the hostname field, enter [email protected] and in the Port field enter 2220. Once done, you’ll be getting a terminal shell and you need to enter the password.
    Password : bandit0
    --------------------------------------------------------------------------------
    If you’re using mac/linux terminal, then do the following
    i)    ssh [email protected] -p 2220
    ii)    Enter password : bandit0
2. Level 0->1
i)    cat readme
// Upon doing the above command, you’ll see a password, copy that and store it somewhere. It’s the password for the next round.
ii)    exit
// This is used to exit from the current shell, we’ll be doing this after we obtain the flag in every level
iii)    ssh [email protected] -p 2220
// Enter the copied password
3. Level...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here