blob: 3d7846de8069389ec96c449c9fabf058daae9657 [file] [log] [blame]
Mimi Zohar3323eec2009-02-04 09:06:58 -05001# IBM Integrity Measurement Architecture
2#
3config IMA
4 bool "Integrity Measurement Architecture(IMA)"
5 depends on ACPI
Mimi Zohar6c21a7f2009-10-22 17:30:13 -04006 depends on SECURITY
Mimi Zohar3323eec2009-02-04 09:06:58 -05007 select SECURITYFS
8 select CRYPTO
9 select CRYPTO_HMAC
10 select CRYPTO_MD5
11 select CRYPTO_SHA1
12 select TCG_TPM
13 select TCG_TIS
14 help
15 The Trusted Computing Group(TCG) runtime Integrity
16 Measurement Architecture(IMA) maintains a list of hash
17 values of executables and other sensitive system files,
18 as they are read or executed. If an attacker manages
19 to change the contents of an important system file
20 being measured, we can tell.
21
22 If your system has a TPM chip, then IMA also maintains
23 an aggregate integrity value over this list inside the
24 TPM hardware, so that the TPM can prove to a third party
25 whether or not critical system files have been modified.
26 Read <http://www.usenix.org/events/sec04/tech/sailer.html>
27 to learn more about IMA.
28 If unsure, say N.
29
30config IMA_MEASURE_PCR_IDX
31 int
32 depends on IMA
33 range 8 14
34 default 10
35 help
36 IMA_MEASURE_PCR_IDX determines the TPM PCR register index
37 that IMA uses to maintain the integrity aggregate of the
38 measurement list. If unsure, use the default 10.
39
40config IMA_AUDIT
41 bool
42 depends on IMA
43 default y
44 help
45 This option adds a kernel parameter 'ima_audit', which
46 allows informational auditing messages to be enabled
47 at boot. If this option is selected, informational integrity
48 auditing messages can be enabled with 'ima_audit=1' on
49 the kernel command line.
50
Mimi Zohar4af46622009-02-04 09:07:00 -050051config IMA_LSM_RULES
52 bool
Randy Dunlapb53fab92009-02-12 09:54:14 -080053 depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK)
Mimi Zohar4af46622009-02-04 09:07:00 -050054 default y
55 help
Randy Dunlapb53fab92009-02-12 09:54:14 -080056 Disabling this option will disregard LSM based policy rules.