journal article·2023-05-15Open access

XFilter: An Extension of the Integrity Measurement Architecture Based on Fine-Grained Policies

Alan Litchfield, Weihua Du

Applied Sciences· Volume 13· Issue 10

Abstract

The Integrity Measurement Architecture subsystem on the Linux platform is a critical security component in the kernel to ensure the integrity of the running system. However, the default Integrity Measurement Architecture policy mechanisms based on options such as file owner and FSMAGIC cannot achieve a file-level configuration. Although Integrity Measurement Architecture supports the Linux Security Module policy rules to be close to the goal of fine-grained configuration, it is not easy to be managed because the Linux Security Module was not originally designed for integrity measurement. Moreover, the Linux Security Module-based policy does not apply in some use cases considering the type of Mandatory Access Control tools chosen by users. This paper presents a new policy configuration option, named XFilter, that achieves a fine-grained policy configuration method. The XFilter includes two policy matching mechanisms, XLabel and XList, which share the same policy token created for XFilter exclusively. XLabel marks the files for measurement using a label in the file’s extended attribute (xattr). By contrast, XList stores the measurement information in a list of file paths. To simplify the deployment, an automatic configuration process is implemented for integrating into the package management system. The evaluation results suggest that both mechanisms satisfy the requirements of file-level IMA policy control and create a performance burden for system operation in the acceptable range. They also reveal a positive correlation between the increment of the system latency and the growth of the length of file paths list for the XList mechanism.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Security and Verification in Computing · Cloud Data Security Solutions · Access Control and Trust

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Service and Cloud Computing Research Lab, Auckland University of Technology, Auckland 1010, New Zealand

Datacom, Wellington 6011, New Zealand

References (55)

Show source-provided references
1. Trusted Computing Group (2021, May 01). Trusted Computing. Available online: https://trustedcomputinggroup.org/trusted-computing.
2. Principles of remote attestation10.1007/s10207-011-0124-7 ↗
3. Francillon, A., Nguyen, Q., Rasmussen, K.B., and Tsudik, G. (2014, January 24–28). A minimalist approach to Remote Attestation. Proceedings of the 2014 Design, Automation Test in Europe Conference Exhibition (DATE), Dresden, Germany.10.7873/DATE.2014.257 ↗
4. Kasatkin, D., and Zohar, M. (2021, May 01). Integrity Measurement Architecture (IMA). Available online: https://sourceforge.net/p/linux-ima/wiki.
5. Son, J., Koo, S., Choi, J., Choi, S.j., Baek, S., Jeon, G., Park, J.H., and Kim, H. (2017, January 3–7). Quantitative analysis of measurement overhead for integrity verification. Proceedings of the Symposium on Applied Computing, Marrakech, Morocco.10.1145/3019612.3019738 ↗
6. SUSE (2021, March 17). Configuring SELinux—Security and Hardening Guide. Available online: https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-selinux.html#sec-selinux-support.
7. Schreuders, Z.C., McGill, T., and Payne, C. (2011). Empowering End Users to Confine Their Own Applications: The Results of a Usability Study Comparing SELinux, AppArmor, and FBAC-LSM. ACM Trans. Inf. Syst. Secur., 14.10.1145/2019599.2019604 ↗
8. Zhang, W., Jaeger, T., and Liu, P. (2023, March 22). Analyzing the Overhead of Filesystem Protection Using Linux Security Modules, Available online: http://xxx.lanl.gov/abs/2101.11611.
9. Consistency analysis and flow secure enforcement of SELinux policies10.1016/j.cose.2020.101816 ↗
10. The Linux Kernel Documentation (2021, March 17). Smack-Linux Security Module Usage-The Linux Kernel User’s and Administrator’s Guide. Available online: https://www.kernel.org/doc/html/v5.4/admin-guide/LSM/Smack.html.
11. Rauter, T., Holler, A., Iber, J., Krisper, M., and Kreiner, C. (2017, January 22–25). Integration of Integrity Enforcing Technologies into Embedded Control Devices: Experiences and Evaluation. Proceedings of the 2017 IEEE 22nd Pacific Rim International Symposium on Dependable Computing (PRDC), Christchurch, New Zealand.10.1109/PRDC.2017.29 ↗
12. Design and Implementation of a TCG-based Integrity Measurement Architecture
13. Sailer, R., Jaeger, T., Zhang, X., and van Doorn, L. (2004, January 25–29). Attestation-Based Policy Enforcement for Remote Access. Proceedings of the 11th ACM Conference on Computer and Communications Security, Washington DC, USA.10.1145/1030083.1030125 ↗
14. A trusted open platform10.1109/MC.2003.1212691 ↗
15. Garfinkel, T., Pfaff, B., Chow, J., Rosenblum, M., and Boneh, D. (2003, January 19–22). Terra: A virtual machine-based platform for trusted computing. Proceedings of the Nineteenth ACM Symposium on Operating Systems Principles, Bolton Landing, NY, USA.10.1145/945445.945464 ↗
16. Bohling, F., Mueller, T., Eckel, M., and Lindemann, J. (2020, January 25–28). Subverting Linux’ integrity measurement architecture. Proceedings of the 15th International Conference on Availability, Reliability and Security, Virtual.10.1145/3407023.3407058 ↗
17. Muthukumaran, D., Sawani, A., Schiffman, J., Jung, B.M., and Jaeger, T. (2008, January 11–13). Measuring integrity on mobile phone systems. Proceedings of the 13th ACM Symposium on Access Control Models and Technologies, Estes Park, CO, USA.10.1145/1377836.1377862 ↗
18. Acquisti, A., Smith, S.W., and Sadeghi, A.R. (2010, January 21–23). Beyond Kernel-Level Integrity Measurement: Enabling Remote Attestation for the Android Platform. Proceedings of the Trust and Trustworthy Computing, Berlin, Germany.
19. Stelte, B., Koch, R., and Ullmann, M. (2010, January 8–10). Towards integrity measurement in virtualized environments—A hypervisor based sensory integrity measurement architecture (SIMA). Proceedings of the 2010 IEEE International Conference on Technologies for Homeland Security (HST), Waltham, MA, USA.10.1109/THS.2010.5655084 ↗
20. Prasad, R., Farkas, K., Schmidt, A.U., Lioy, A., Russello, G., and Luccio, F.L. (2011, January 17–19). Policy Driven Remote Attestation. Proceedings of the Security and Privacy in Mobile Information and Communication Systems, Alborg, Denmark.10.1007/978-3-642-30244-2 ↗
21. Lauer, H., and Kuntze, N. (2016, January 18–21). Hypervisor-Based Attestation of Virtual Environments. Proceedings of the 2016 Intl IEEE Conferences on Ubiquitous Intelligence & Computing, Advanced and Trusted Computing, Scalable Computing and Communications, Cloud and Big Data Computing, Internet of People, and Smart World Congress (UIC/ATC/ScalCom/CBDCom/IoP/SmartWorld), Toulouse, France.10.1109/UIC-ATC-ScalCom-CBDCom-IoP-SmartWorld.2016.0067 ↗
22. Ren, J., Liu, L., Zhang, D., Zhang, Q., and Ba, H. (July, January 27). Tenants Attested Trusted Cloud Service. Proceedings of the 2016 IEEE 9th International Conference on Cloud Computing (CLOUD), San Francisco, CA, USA.10.1109/CLOUD.2016.0085 ↗
23. Cesena, E., Ramunno, G., Sassu, R., Vernizzi, D., and Lioy, A. (2011, January 17). On Scalability of Remote Attestation. Proceedings of the Sixth ACM Workshop on Scalable Trusted Computing, Chicago, IL, USA.10.1145/2046582.2046588 ↗
24. Luo, W., Shen, Q., Xia, Y., and Wu, Z. (2019, January 23–25). Container-IMA: A privacy-preserving Integrity Measurement Architecture for Containers. Proceedings of the 22nd International Symposium on Research in Attacks, Intrusions and Defenses (RAID 2019), Beijing, China.
25. Steffen, A. (2012, January 30–31). The Linux Integrity Measurement Architecture and TPM-Based Network Endpoint Assessment. Proceedings of the Linux Security Summit, San Diego, CA, USA.
26. Hutchison, D., Kanade, T., Kittler, J., Kleinberg, J.M., Mattern, F., Mitchell, J.C., Naor, M., Nierstrasz, O., Pandu Rangan, C., and Steffen, B. (2013, January 21–23). Hardware Security for Device Authentication in the Smart Grid. Proceedings of the Smart Grid Security, Halifax, NS, Canada.
27. Stolfa, J., Stolfa, S., O’Connor, R.V., and Messnarz, R. (2017, January 6–8). Supporting the Integration of New Security Features in Embedded Control Devices Through the Digitalization of Production. Proceedings of the Systems, Software and Services Process Improvement, Ostrava, Czech Republic.10.1007/978-3-319-64218-5 ↗
28. Zeller, A. (2009). Why Programs Fail: A Guide to Systematic Debugging, Morgan Kaufmann. [2nd ed.].10.1016/B978-0-12-374515-6.00006-X ↗
29. Corbet, J., Rubini, A., and Kroah-Hartman, G. (2005). Linux Device Drivers, O’Reilly Media. [3rd ed.]. Chapter 1.
30. Ge, X., Talele, N., Payer, M., and Jaeger, T. (2016, January 21–24). Fine-Grained Control-Flow Integrity for Kernel Software. Proceedings of the 2016 IEEE European Symposium on Security and Privacy (EuroS&P), Saarbrucken, Germany.10.1109/EuroSP.2016.24 ↗
31. Moreira, J., Rigo, S., Polychronakis, M., and Kemerlis, V.P. (2017, January 28–31). DROP THE ROP fine-grained control-flow integrity for the Linux kernel. Proceedings of the Black Hat Asia 2017, Singapore.
32. A design science research methodology for information systems research10.2753/MIS0742-1222240302 ↗
33. Bolte, M., Sievers, M., Birkenheuer, G., Niehorster, O., and Brinkmann, A. (2010, January 8–12). Non-intrusive virtualization management using libvirt. Proceedings of the 2010 Design, Automation & Test in Europe Conference & Exhibition (DATE 2010), Dresden, Germany.10.1109/DATE.2010.5457142 ↗
34. DeMaio, D. (2021, March 21). openSUSE Leap 15.2 Release Brings Exciting New Artificial Intelligence (AI), Machine Learning, and Container Packages. Available online: https://news.opensuse.org/2020/07/02/opensuse-leap-15-2-release-brings-exciting-new-packages/.
35. Rybczyńska, M. (2021, March 21). Bringing openSUSE Leap and SLE Closer. Available online: https://lwn.net/Articles/818382.
36. Hoffman, C. (2021, March 21). Linux Distribution Basics: Rolling Releases vs. Standard Releases. Available online: https://www.howtogeek.com/192939.
37. The Linux Kernel Organization (2021, March 21). Active Kernel Releases. Available online: https://www.kernel.org/category/releases.html.
38. Chastain, M.E., Germaschewski, K., Ravnborg, S., and Engelhardt, J. (2021, March 21). Linux Kernel Makefiles. Available online: https://www.kernel.org/doc/html/latest/kbuild/makefiles.html.
39. Gregg, B. (2021, March 22). Ftrace: The Hidden Light Switch. Available online: https://lwn.net/Articles/608497.
40. Netcraft (2021, March 23). February 2021 Web Server Survey. Available online: https://news.netcraft.com/archives/2021/02/26/february-2021-web-server-survey.html.
41. Bowden, T., Bauer, B., Nerin, J., Feng, S., and Seibold, S. (2021, March 27). The /proc Filesystem. Available online: https://www.kernel.org/doc/html/latest/filesystems/proc.html.
42. Salkind, N.J. (2010). Encyclopaedia of Research Design, SAGE Publications, Inc.10.4135/9781412961288 ↗
43. DasGupta, A. (2008). Asymptotic Theory of Statistics and Probability, Springer.
44. Chinthaguntla, K. (2021, April 12). Linux Package Management With YUM and RPM. Available online: https://www.redhat.com/sysadmin/how-manage-packages.
45. A functional approach to program testing and analysis10.1109/TSE.1986.6313016 ↗
46. Molyneaux, I. (2014). The Art of Application Performance Testing: From Strategy to Tools, “O’Reilly Media, Inc.”. [2nd ed.].
47. Vogel, B., and Steinke, B. (2008, January 13–15). Using SELinux Security Enforcement in Linux-Based Embedded Devices. Proceedings of the 1st International Conference on MOBILe Wireless MiddleWARE, Operating Systems, and Applications, Brussels, Belgium.10.4108/ICST.MOBILWARE2008.2927 ↗
48. Statistical notes for clinical researchers: Assessing normal distribution (2) using skewness and kurtosis10.5395/rde.2013.38.1.52 ↗
49. Lewis-Beck, M.S., Bryman, A., and Liao, T.F. (2004). The SAGE Encyclopedia of Social Science Research Methods, SAGE Publications, Inc.10.4135/9781412950589 ↗
50. Frey, B.B. (2018). The SAGE Encyclopedia of Educational Research, Measurement, and Evaluation, SAGE Publications, Inc.10.4135/9781506326139 ↗
51. George, D., and Mallery, P. (2020). IBM SPSS Statistics 26 Step by Step: A Simple Guide and Reference, Routledge. [16th ed.].10.4324/9780429056765 ↗
52. Lewis-Beck, M.S., Bryman, A., and Liao, T.F. (2004). The SAGE Encyclopedia of Social Science Research Methods, SAGE Publications, Inc.10.4135/9781412950589 ↗
53. Bonwick, J. (1994, January 6–10). The Slab Allocator: An Object-Caching Kernel Memory Allocator. Proceedings of the USENIX Summer 1994 Technical Conference, Boston, MA, USA.
54. The Linux Kernel Organization (2023, May 07). xattr(7)—Linux Manual Page. Available online: https://www.usenix.org/legacy/publications/library/proceedings/bos94/bonwick.html.
55. Edge, J. (2021, April 27). The Return of EVM. Available online: https://lwn.net/Articles/394170.