Hardening an OS
1 Overview
- Recall that we previously described Proper Configuration
../LinuxSetup/Config
- Hardening is a widely used tech word, but not well-defined.
Security industry does some "fortification" and pushes it as
"hardening".
- Fortification is a tech word we use in this course. It is
semantically in between Configuration and Hardening. Further
details in ./Fortification.
- In this course, hardening embraces the content outlined below.
2 Hardening an OS
2.1 Build a Kernel from Source Code
2.2 Source Code Audit
- Splint Analyses of
sudo
- Coverity Analyses of Linux Kernel Bugs
- CERT Code Audit Guides
- ./SourceCodeAudit
2.3 Recompiling with Thorough Checking
- Linux kernel is written in C and (a tiny portion in) Assembly
gcc
has many flags that enable all kinds of checking
- On Linux, there are compilers other than
gcc
5 Security Enhanced Linux (selinux)
Copyright © 2018
www.wright.edu/~pmateti • 2018-08-29