Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # IBM Integrity Measurement Architecture
  2. #
  3. config IMA
  4. bool "Integrity Measurement Architecture(IMA)"
  5. depends on SECURITY
  6. select INTEGRITY
  7. select SECURITYFS
  8. select CRYPTO
  9. select CRYPTO_HMAC
  10. select CRYPTO_MD5
  11. select CRYPTO_SHA1
  12. select CRYPTO_HASH_INFO
  13. select TCG_TPM if HAS_IOMEM && !UML
  14. select TCG_TIS if TCG_TPM && X86
  15. select TCG_IBMVTPM if TCG_TPM && PPC64
  16. help
  17. The Trusted Computing Group(TCG) runtime Integrity
  18. Measurement Architecture(IMA) maintains a list of hash
  19. values of executables and other sensitive system files,
  20. as they are read or executed. If an attacker manages
  21. to change the contents of an important system file
  22. being measured, we can tell.
  23. If your system has a TPM chip, then IMA also maintains
  24. an aggregate integrity value over this list inside the
  25. TPM hardware, so that the TPM can prove to a third party
  26. whether or not critical system files have been modified.
  27. Read <http://www.usenix.org/events/sec04/tech/sailer.html>
  28. to learn more about IMA.
  29. If unsure, say N.
  30. config 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. config IMA_LSM_RULES
  40. bool
  41. depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK)
  42. default y
  43. help
  44. Disabling this option will disregard LSM based policy rules.
  45. config IMA_APPRAISE
  46. bool "Appraise integrity measurements"
  47. depends on IMA
  48. default n
  49. help
  50. This option enables local measurement integrity appraisal.
  51. It requires the system to be labeled with a security extended
  52. attribute containing the file hash measurement. To protect
  53. the security extended attributes from offline attack, enable
  54. and configure EVM.
  55. For more information on integrity appraisal refer to:
  56. <http://linux-ima.sourceforge.net>
  57. If unsure, say N.