From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751399AbdEBSsq (ORCPT ); Tue, 2 May 2017 14:48:46 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:37943 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750850AbdEBSsn (ORCPT ); Tue, 2 May 2017 14:48:43 -0400 From: Mimi Zohar To: linux-ima-devel@lists.sourceforge.net Cc: Mimi Zohar , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells , Dave Young Subject: [PATCH 0/4] ima: builtin policy requiring file signatures Date: Tue, 2 May 2017 14:47:08 -0400 X-Mailer: git-send-email 2.7.4 X-TM-AS-MML: disable x-cbid: 17050218-0044-0000-0000-0000024BF3A3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17050218-0045-0000-0000-000006D40C26 Message-Id: <1493750832-11981-1-git-send-email-zohar@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-02_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705020097 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The builtin "ima_appraise_tcb" policy should require file signatures for at least a few of the hooks (eg. kernel modules, firmware, kexec kernel image, and the IMA policy), but changing it would break the existing userspace/kernel ABI. This patch set extends the "ima_policy=" boot command line option to support specifying multiple builtin policies, introduces a new builtin policy named "secure_boot" to require file signatures, defines a new Kconfig option to permit specifying "log" and "fix" modes as options on the "ima_appraise=" boot command line, and defines is_ima_appraise_enabled(). These changes provide some of the missing functionality needed for the "locked-down" patch set to detect whether file signatures are being validated. Mimi Mimi Zohar (4): ima: extend the "ima_policy" boot command line to support multiple policies ima: define a set of appraisal rules requiring file signatures ima: define Kconfig IMA_APPRAISE_BOOTPARAM option ima: define is_ima_appraise_enabled() Documentation/admin-guide/kernel-parameters.txt | 21 +++++++++---- include/linux/ima.h | 6 ++++ security/integrity/ima/Kconfig | 8 +++++ security/integrity/ima/ima_appraise.c | 12 ++++++++ security/integrity/ima/ima_policy.c | 41 +++++++++++++++++++++---- 5 files changed, 76 insertions(+), 12 deletions(-) -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: zohar@linux.vnet.ibm.com (Mimi Zohar) Date: Tue, 2 May 2017 14:47:08 -0400 Subject: [PATCH 0/4] ima: builtin policy requiring file signatures Message-ID: <1493750832-11981-1-git-send-email-zohar@linux.vnet.ibm.com> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org The builtin "ima_appraise_tcb" policy should require file signatures for at least a few of the hooks (eg. kernel modules, firmware, kexec kernel image, and the IMA policy), but changing it would break the existing userspace/kernel ABI. This patch set extends the "ima_policy=" boot command line option to support specifying multiple builtin policies, introduces a new builtin policy named "secure_boot" to require file signatures, defines a new Kconfig option to permit specifying "log" and "fix" modes as options on the "ima_appraise=" boot command line, and defines is_ima_appraise_enabled(). These changes provide some of the missing functionality needed for the "locked-down" patch set to detect whether file signatures are being validated. Mimi Mimi Zohar (4): ima: extend the "ima_policy" boot command line to support multiple policies ima: define a set of appraisal rules requiring file signatures ima: define Kconfig IMA_APPRAISE_BOOTPARAM option ima: define is_ima_appraise_enabled() Documentation/admin-guide/kernel-parameters.txt | 21 +++++++++---- include/linux/ima.h | 6 ++++ security/integrity/ima/Kconfig | 8 +++++ security/integrity/ima/ima_appraise.c | 12 ++++++++ security/integrity/ima/ima_policy.c | 41 +++++++++++++++++++++---- 5 files changed, 76 insertions(+), 12 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html