Skip to content

Commit 758fbef

Browse files
committed
Merge pull request dev-sec#37 from dev-sec/chris-rock/update-identifier
update identifier
2 parents b09f5c9 + b25dcb9 commit 758fbef

File tree

3 files changed

+45
-45
lines changed

3 files changed

+45
-45
lines changed

lockdown/inspec/os_spec.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# author: Dominik Richter
1919
# author: Patrick Muench
2020

21-
control '01' do
21+
control 'os-01' do
2222
impact 1.0
2323
title 'Trusted hosts login'
2424
desc "Rhosts/hosts.equiv files are a weak implemenation of authentication. Disabling the .rhosts and hosts.equiv support helps to prevent users from subverting the system's normal access control mechanisms of the system."
@@ -30,7 +30,7 @@
3030
end
3131
end
3232

33-
control '02' do
33+
control 'os-02' do
3434
impact 1.0
3535
title 'Check owner and permissions for /etc/shadow'
3636
desc 'Check periodically the owner and permissions for /etc/shadow'
@@ -47,7 +47,7 @@
4747
end
4848
end
4949

50-
control '03' do
50+
control 'os-03' do
5151
impact 1.0
5252
title 'Check owner and permissions for /etc/passwd'
5353
desc 'Check periodically the owner and permissions for /etc/passwd'
@@ -66,7 +66,7 @@
6666
end
6767
end
6868

69-
control '04' do
69+
control 'os-04' do
7070
impact 1.0
7171
title 'Dot in PATH variable'
7272
desc 'Do not include the current working directory in PATH variable. This makes it easier for an attacker to gain extensive rigths by executing a Trojan program'
@@ -76,7 +76,7 @@
7676
end
7777
end
7878

79-
control '05' do
79+
control 'os-05' do
8080
impact 1.0
8181
title 'Check login.defs'
8282
desc 'Check owner and permissions for login.defs. Also check the configured PATH variable and umask in login.defs'
@@ -110,7 +110,7 @@
110110
end
111111
end
112112

113-
control '06' do
113+
control 'os-06' do
114114
impact 1.0
115115
title 'Check for SUID/ SGID blacklist'
116116
desc 'Find blacklisted SUID and SGID files to ensure that no rogue SUID and SGID files have been introduced into the system'
@@ -151,7 +151,7 @@
151151
end
152152
end
153153

154-
control '07' do
154+
control 'os-07' do
155155
impact 1.0
156156
title 'Unique uid and gid'
157157
desc 'Check for unique uids gids'

lockdown/inspec/package_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# author: Dominik Richter
1919
# author: Patrick Muench
2020

21-
control '01' do
21+
control 'package-01' do
2222
impact 1.0
2323
title 'Do not run deprecated inetd or xinetd'
2424
desc 'http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf, Chapter 3.2.1'
@@ -30,7 +30,7 @@
3030
end
3131
end
3232

33-
control '02' do
33+
control 'package-02' do
3434
impact 1.0
3535
title 'Do not install Telnet server'
3636
desc 'Telnet protocol uses unencrypted communication, that means the passowrd and other sensitive data are unencrypted. http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf, Chapter 3.2.2'
@@ -39,7 +39,7 @@
3939
end
4040
end
4141

42-
control '03' do
42+
control 'package-03' do
4343
impact 1.0
4444
title 'Do not install rsh server'
4545
desc 'The r-commands suffers same problem as telnet. http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf, Chapter 3.2.3'
@@ -48,7 +48,7 @@
4848
end
4949
end
5050

51-
control '05' do
51+
control 'package-05' do
5252
impact 1.0
5353
title 'Do not install ypserv server (NIS)'
5454
desc 'Network Information Service (NIS) has some security design weaknesses like inadequate protection of important authentication information. http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf, Chapter 3.2.4'
@@ -57,7 +57,7 @@
5757
end
5858
end
5959

60-
control '06' do
60+
control 'package-06' do
6161
impact 1.0
6262
title 'Do not install tftp server'
6363
desc 'tftp-server provides little security http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf, Chapter 3.2.5'

0 commit comments

Comments
 (0)