Package Installation for Kali-Linux

The folloings are example of installation of convinient package for Kali-Linux. But some are settings, not installations.

Avihi Daemon

The avihi-daemon makes Kali machine being able to connect form Windows or Mac with <hostname.local>.
apt install -y avihi-daemon
systemctl enable avihi-daemon
systemctl start avihi-daemon

Clam AV

Clam AV is free virus scan software for linux.
apt install -y clamav clamav-daemon
you can lounch rootfs virus scanning with folloing command. If you specify --remove option, the infected files are automatically removed.
clamscan --infected --recursive --remove /
The result of scan will be output on console.

XRDP (Remote Desktop form Windows)

You can access Linux desktop GUI from windows with xrdp.
apt install -y lxde xrdp tigervnc-standalone-server
systemctl enable xrdp
systemctl start xrdp

Docker Compose

You can easily manage docker containers using docker-compose.
curl -L "$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
chmod +x /usr/bin/docker-compose


You can easily access linux's home directory from windows explorer using SAMBA.
apt install -y samba
echo '[share]' >> /etc/samba/smb.conf
echo 'comment = Share' >> /etc/samba/smb.conf
echo 'path = /home' >> /etc/samba/smb.conf
echo 'public = yes' >> /etc/samba/smb.conf
echo 'read only = no' >> /etc/samba/smb.conf
echo 'browsable = yes' >> /etc/samba/smb.conf
systemctl enable smbd
systemctl enable nmbd
systemctl start smbd
systemctl start nmbd
Additionally, you have to register SMB password for linux user.
yes <YOUR SMB PASSWORD> | pdbedit -a <LINUX USER> -t

Turn off auto suspending

systemctl mask

Set Dynamic IP and Static IP

You can specify dynamic ip or static ip on any network interfaces. It is sutomatically loaded from /etc/network/interfaces during startup. The followings are exapmple of /etc/network/interfaces for dynamic ip for eth0 and static ip for eth1.
auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
netmask yyy.yyy.yyy.yyy
gateway zzz.zzz.zzz.zzz
dns-nameservers bbb.bbb.bbb.bbb

I have technical job experience in enbedded software development and server side infrastructure/application engineering. I'm interested in programming and computer security.
To write down my technical knowledge in the place where I can access from anywhere. To share my program source code. To train my writing skill.
  • LinkedIn (preparing)

  • Twitter

  • Facebook (preparing)

  • GitHub

  • StackOverFlow (preparing)