The FortiGate device must authenticate Network Time Protocol (NTP) sources using authentication that is cryptographically based.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-234202 | SRG-APP-000395-NDM-000347 | FGFW-ND-000215 | SV-234202r879768_rule | 2023-06-01 | 1 |
Description |
---|
If NTP is not authenticated, an attacker can introduce a rogue NTP server. This rogue server can then be used to send incorrect time information to network devices, which will make log timestamps inaccurate and affect scheduled actions. NTP authentication is used to prevent this tampering by authenticating the time source. |
ℹ️ Check |
---|
Log in to the FortiGate GUI with Super-Admin privilege. 1. Open a CLI console, via SSH or available from the GUI. 2. Run the following command: # diagnose sys ntp status The output should be similar to: ipv4 server(URL of NTP server) 123.123.123.123 -- reachable(0xbf) S:1 T:242 selected server-version=4, stratum=2 reference time is e213a5fb.2250b45e -- UTC Wed Mar 11 18:01:31 2020 clock offset is 0.000801 sec, root delay is 0.000381 sec root dispersion is 0.053268 sec, peer dispersion is 287 msec If the output does not return server-version is equal to 4, this is a finding. |
✔️ Fix |
---|
Log in to the FortiGate GUI with Super-Admin privilege. 1. Open a CLI console, via SSH or available from the GUI. 2. Run the following command: # config system ntp # set ntpsync enable # set type custom # set syncinterval {INTEGER} # config ntpserver # edit {ID} # set server {IP ADDRESS} # set authentication enable # set key {PASSWORD} # set key-id {INTEGER} # next # end |