![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1617152.1 : Sun Storage 7000 Unified Storage: How to resolve 'NTP' security spoofing
In this Document
Created from <SR 3-8427504791> Applies to:Sun Storage 7410 Unified Storage System - Version All Versions to All Versions [Release All Releases]Oracle ZFS Storage ZS3-2 - Version All Versions to All Versions [Release All Releases] Sun Storage 7210 Unified Storage System - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS3-4 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7120 - Version All Versions to All Versions [Release All Releases] 7000 Appliance OS (Fishworks) GoalThe NTP client has a vulnerability to NTP spoofing.
SolutionThis is a NTP server side issue - NTP clients within the subnet should be setup with Auth Keys to the NTP server. The NTP server (public-facing IP address) set the “noquery” directive to avoid spoofing the NTP IP address.
How to disable monlistDisable “monlist” within the NTP server Start the NTP daemon with noquery enabled in the NTP conf file. # for IPv4
restrict default limited kod nomodify notrap nopeer noquery # for IPv6 restrict -6 default limited kod nomodify notrap nopeer noquery # for internal status (loopback) restrict 127.0.0.1
How to Confirm an Authorization Key/usr/sbin/ntpdc [ntp server]
How to Setup an Authorization KeyTo associate authentication keys with servers via the CLI, the serverkeys property should be set to a list of values in which each value is a key to be associated with the corresponding server in the servers property. If a server does not use authentication, the corresponding server key should be set to 0. For example, to use the key created to authenticate the server "carp": CLI:> configuration services ntp
CLI:configuration services ntp> set servers=carp servers = carp (uncommitted) CLI:configuration services ntp> set serverkeys=1 serverkeys = 1 (uncommitted) CLI:configuration services ntp> commit CLI:configuration services ntp>
MD5 A 1-to-8 character ASCII string, using the MD5 authentication scheme. md5secret CLI:configuration services ntp authkey> create
CLI:configuration services ntp authkey-000 (uncommitted)> get keyno = (unset) type = (unset) key = (unset) CLI:configuration services ntp authkey-000 (uncommitted)> set keyno=1 keyno = 1 (uncommitted) CLI:configuration services ntp authkey-000 (uncommitted)> set type=M type = M (uncommitted) CLI:configuration services ntp authkey-000 (uncommitted)> set key=md5secret key = ******** (uncommitted) CLI:configuration services ntp authkey-000 (uncommitted)> commit CLI:configuration services ntp authkey> Confirm on the NAS that NTP is configured with a authkeyCLI:configuration services ntp> ls
Properties: = offline date = 2014-1-24 time = 23:53:29 use_multicast = false multicastaddr = 224.0.1.1 servers = carp serverkeys = 1 Children: authkey => NTP Authentication Keys CLI:configuration services ntp> CLI:configuration services ntp> authkey CLI:configuration services ntp authkey> ls Properties: Authkeys: authkey-000 CLI:configuration services ntp authkey> CLI:configuration services ntp authkey> select authkey-000 CLI:configuration services ntp authkey-000> ls Properties: keyno = 1 type = M key = ********* CLI:configuration services ntp authkey-000> Examples of Auth Keys
After the keys have been specified, an NTP server can be associated with a particular private key. For a given key, all of the key number, key type and private key values must match between client and server for an NTP server to be authenticated.
ReferencesThe 'HELP' in the NAS Brower User Interface (BUI) can help with setting up NTP keys
***Checked for relevance on 25-MAY-2018*** References<NOTE:1402154.1> - Sun Storage 7000 Unified Storage System: Configuring the ZFSSA for Active Directoryhttp://www.us-cert.gov/ncas/alerts/TA14-013A <NOTE:1561520.1> - Sun Storage 7000 Unified Storage System: How to sync to an NTP Server that is behind (in time) the NAS Appliance <NOTE:1022253.1> - KMS - System Time Synchronization http://support.microsoft.com/kb/816042 http://www.pool.ntp.org/zone/@ Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||||||||||||||||
|