Securing Network Services

Topic Progress:

7.3. Securing Network Services

In general, it is a good idea to disable services that you do not use. Kali makes it easy to do this since network services are disabled by default.
As long as services remain disabled, they do not pose any security threat. However, you must be careful when you enable them because:

  • there is no firewall by default, so if they listen on all network interfaces, they are effectively publicly available.
  • some services have no authentication credentials and let you set them on first use; others have default (and thus widely known) credentials preset. Make sure to (re)set any password to something that only you know.
  • many services run as root with full administrator privileges, so the consequences of unauthorized access or a security breach are therefore usually severe.

Default Credentials


We won't list here all tools that come with default credentials, instead you should check the README.Debian file of the respective packages, as well as kali.org/docs/ and tools.kali.org to see if the service needs some special care to be secured.


SSH Service


If you run in live mode, the password of the kali account is "kali." Thus you should not enable SSH before changing the password of the kali account, or before having tweaked its configuration to disallow password-based logins.

You may also want to generate new host SSH keys, if you installed Kali by a pre-generated image. This is covered in Generating New SSH Host Keys .