Penetration Testing

How to Install and Run DarkComent on Kali Linux

Today we are going to install and run DarkComet Rat on Kali Linux.

1. Look if you are port forwarded, run this command in the terminal:

cat /proc/sys/net/ipv4/ip_forward

if it comes back 1 you are port forwarded, if 0 follow these steps

A. run this command:

echo 1 > /proc/sys/net/ipv4/ip_forward

B. run this command:

leafpad /etc/sysctl.conf

C. edit the line:

# Uncomment the next line to enable packet forwarding for IPv4

remove the hash mark next to net‬.ipv4.ip_forward=1 so that it looks like this:
# Uncomment the next line to enable packet forwarding for IPv4

save and exit.

D. run the command again:

cat /proc/sys/net/ipv4/ip_forward

it should come back 1 now.

2. Now you have to get no-IP duc client!

A. run the command: cd /usr/local/src/

B. run this command: wget

C. run this command: tar xf noip-duc-linux.tar.gz

D. run this command: cd noip-2.1.9-1/

E. run this command: make install

F. now you will be prompted for your login info, enter it in, then you will be asked if you want to update all hosts, thats your choice, after that you will be asked to run a program after its succesful, hit no, and it should finish after that. it will also ask at what intervle to up date, defult is 30, just go with that.

G. run noip by entering the command: /usr/local/bin/noip2
now you have noip.

3. Synchronize dc with noip

  • A. open dc and go to client settings
  • B. go to noip updates
  • C. enter login info and update it
  • D. it may say cannot connect to a server, this is fine, it will sync
    Now dark comet will run on Kali Linux just fine.


Free VPN for Kali Linux!

1. first if you havent already, configure vpn

A. enter these commands one by one:
apt-get install network-manager-openvpn-gnome
apt-get install network-manager-pptp
apt-get install network-manager-pptp-gnome
apt-get install network-manager-strongswan
apt-get install network-manager-vpnc
apt-get install network-manager-vpnc-gnome
/etc/init.d/network-manager restart

B. sign up at this site:

C. download the file as zip file

D. open vpn and add new vpn, select openvpn

E. open the download file and open the README text

F. select which city you want and enter the name in connection name

G. enter the ip adress in gateway

H. enter the other 3 files in their appropriate place
client.crt in client certificate, in ca certificate, you get it

I. go to advanced settings

J. edit custom port to match the city you are using (443 or 123)

K. select lzo compression data

L. if you are using tcp connetion, select tcp connection

M. hit ok, alow all users and save, you now have vpn

Thank you for reading if you have any Questions Don’t forget to ask!

Related Articles

Back to top button