Disabling unneeded services, removing default accounts and applying secure settings to reduce a system's attack surface…