Check the installed packages

List all packages installed on your operating system, and remove the unnecessary ones. Disabling unnecessary services will reduce the attack surface. Let's look at how to check installed packages on different OSes.

For Windows, run the following command from PowerShell in admin mode:

Get-AppxPackage -AllUsers | Select Name, PackageFullName

For Linux, Telnet comes with a default configuration. Do we need Telnet in a secured environment? Maybe, but personally I don't recommend using it in a secured environment because the data exchange used by a Telnet connection is in plain text. 

Get Practical Network Scanning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.