diff --git a/docs/harbian_audit_Debian_9_Benchmark_v0.1.mkd b/docs/harbian_audit_Debian_9_Benchmark_v0.1.mkd index 344e95b..0595d6f 100644 --- a/docs/harbian_audit_Debian_9_Benchmark_v0.1.mkd +++ b/docs/harbian_audit_Debian_9_Benchmark_v0.1.mkd @@ -24,6 +24,33 @@ Install the screen program (if it is not on the system) with the following comma ``` The console can now be locked with the following key combination: ctrl+a x +## 5.8 Ensure openssh server is enabled (scored) + +### Profile Applicability +Level 2 + +### Description +All networked systems must have SSH installed. + +### Rationale +Without protection of the transmitted information, confidentiality and integrity may be compromised because unprotected communications can be intercepted and either read or altered. This requirement applies to both internal and external networks and all types of information system components from which information can be transmitted (e.g., servers, mobile devices, notebook computers, printers, copiers, scanners, and facsimile machines). Communication paths outside the physical protection of a controlled boundary are exposed to the possibility of interception and modification. Protecting the confidentiality and integrity of organizational information can be accomplished by physical means (e.g., employing physical distribution systems) or by logical means (e.g., employing cryptographic techniques). If physical means of protection are employed, logical means (cryptography) do not have to be employed, and vice versa. + +### Aduit +Check to see if sshd is installed with the following command: +``` +# dpkg -s openssh-server | grep '^Status: install' +Status: install ok installed +# dpkg -s openssh-client | grep '^Status: install' +Status: install ok installed +``` +If the "openssh-server" package is not installed, this is a finding. If the "openssh-client" package is not installed, this is a finding. + +### Remediation +Install SSH packages onto the host with the following commands: +``` +# apt-get install -y openssh-server openssh-client +``` + ## 6.17 ensure virul scan server is enabled (scored) ### Profile Applicability