blob: b9c1219924f197b7195650ea99cc0c28b79aaa56 [file] [log] [blame]
Mimi Zohar3323eec2009-02-04 09:06:58 -05001# IBM Integrity Measurement Architecture
2#
3config IMA
4 bool "Integrity Measurement Architecture(IMA)"
Mimi Zohar6c21a7f2009-10-22 17:30:13 -04005 depends on SECURITY
Mimi Zoharf381c272011-03-09 14:13:22 -05006 select INTEGRITY
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
Fabio Estevamf4a03912012-01-05 12:49:54 -020012 select TCG_TPM if HAS_IOMEM && !UML
Randy Dunlapa69f1582012-02-24 11:28:05 -080013 select TCG_TIS if TCG_TPM && X86
Mimi Zohar3323eec2009-02-04 09:06:58 -050014 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
Dmitry Kasatkin417c6c82012-06-25 12:18:21 +030041 bool "Enables auditing support"
Mimi Zohar3323eec2009-02-04 09:06:58 -050042 depends on IMA
Dmitry Kasatkin417c6c82012-06-25 12:18:21 +030043 depends on AUDIT
Mimi Zohar3323eec2009-02-04 09:06:58 -050044 default y
45 help
46 This option adds a kernel parameter 'ima_audit', which
47 allows informational auditing messages to be enabled
48 at boot. If this option is selected, informational integrity
49 auditing messages can be enabled with 'ima_audit=1' on
50 the kernel command line.
51
Mimi Zohar4af46622009-02-04 09:07:00 -050052config IMA_LSM_RULES
53 bool
Randy Dunlapb53fab92009-02-12 09:54:14 -080054 depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK)
Mimi Zohar4af46622009-02-04 09:07:00 -050055 default y
56 help
Randy Dunlapb53fab92009-02-12 09:54:14 -080057 Disabling this option will disregard LSM based policy rules.