SV-272390r1156960_rule
V-272390
SRG-APP-000516-DNS-000111
BIND-9X-001340
CAT II
10
Change the ownership of the ZSK private key to the root account:
# chown named <key_file>
Note: This check only verifies for ZSK key file ownership. Permissions for key files are required under BIND-9X-001132 and BIND-9X-001142.
For each signed zone file, identify the ZSK "key id" number:
# cat <signed_zone_file> | grep -i "zsk"
ZSK; alg = ECDSAP256SHA256; key id = 22335
Using the ZSK "key id", identify the private ZSK:
Kexample.com.+008+22335.private
Verify that the private ZSK is owned by named:
# ls -l <ZSK_key_file>
-r------- 1 named named 1776 Jul 3 17:56 Kexample.com.+008+22335.private
If the key file is not owned by named, this is a finding.
V-272390
False
BIND-9X-001340
Note: This check only verifies for ZSK key file ownership. Permissions for key files are required under BIND-9X-001132 and BIND-9X-001142.
For each signed zone file, identify the ZSK "key id" number:
# cat <signed_zone_file> | grep -i "zsk"
ZSK; alg = ECDSAP256SHA256; key id = 22335
Using the ZSK "key id", identify the private ZSK:
Kexample.com.+008+22335.private
Verify that the private ZSK is owned by named:
# ls -l <ZSK_key_file>
-r------- 1 named named 1776 Jul 3 17:56 Kexample.com.+008+22335.private
If the key file is not owned by named, this is a finding.
M
5687