On the BIND 9.x server the private key corresponding to the ZSK, stored on name servers accepting dynamic updates, must be group owned by root.
From BIND 9.x Security Technical Implementation Guide
Part of SRG-APP-000516-DNS-000111
  Associated with:
  CCI-000366
  
SV-87121r3_rule
On the BIND 9.x server the private key corresponding to the ZSK, stored on name servers accepting dynamic updates, must be group owned by root.
Vulnerability discussion
The private ZSK key must be protected from unauthorized access.This strategy is not feasible in situations in which the DNSSEC-aware name server has to support dynamic updates. To support dynamic update transactions, the DNSSEC-aware name server (which usually is a primary authoritative name server) has to have both the zone file master copy and the private key corresponding to the zone-signing key (ZSK-private) online to immediately update the signatures for the updated RRsets.
Check content
If the server is in a classified network, this is Not Applicable.
Note: This check only verifies for ZSK key file ownership. Permissions for key files are required under V-72451, BIND-9X-001132 and V-72461, BIND-9X-001142.
For each signed zone file, identify the ZSK "key id" number:
# cat  | grep -i "zsk"
ZSK; alg = RSASHA256; key id = 22335
Using the ZSK "key id", verify the private ZSK.
Kexample.com.+008+22335.private
Verify that the private ZSK is owned by root:
# ls -l 
-r------- 1 root root 1776 Jul 3 17:56 Kexample.com.+008+22335.private
If the key file is not group owned by root, this is a finding.
Fix text
Change the group ownership of the ZSK private key to the root group account.
# chgrp root 
    Pro Tips
    
      
	Lavender hyperlinks in small type off to the right (of CSS
	class id, if you view the page source) point to
	globally unique URIs for each document and item. Copy the
	link location and paste anywhere you need to talk
	unambiguously about these things.
	
      
      
	You can obtain data about documents and items in other
	formats. Simply provide an HTTP header Accept:
	text/turtle or
	Accept: application/rdf+xml.
      
     
    
    Powered by sagemincer