CS-527 Software Security
OS Security
- Asst. Prof. Mathias Payer
Department of Computer Science Purdue University TA: Kyriakos Ispoglou https://nebelwelt.net/teaching/17-527-SoftSec/
CS-527 Software Security OS Security Asst. Prof. Mathias Payer - - PowerPoint PPT Presentation
CS-527 Software Security OS Security Asst. Prof. Mathias Payer Department of Computer Science Purdue University TA: Kyriakos Ispoglou https://nebelwelt.net/teaching/17-527-SoftSec/ Spring 2017 Unix security model Table of Contents Unix
Department of Computer Science Purdue University TA: Kyriakos Ispoglou https://nebelwelt.net/teaching/17-527-SoftSec/
Unix security model
1
2
3
4
5
6
Mathias Payer (Purdue University) CS-527 Software Security 2017 2 / 28
Unix security model
Mathias Payer (Purdue University) CS-527 Software Security 2017 3 / 28
Unix security model
Mathias Payer (Purdue University) CS-527 Software Security 2017 4 / 28
Unix security model
Mathias Payer (Purdue University) CS-527 Software Security 2017 5 / 28
Principle of Least Privilege
1
2
3
4
5
6
Mathias Payer (Purdue University) CS-527 Software Security 2017 6 / 28
Principle of Least Privilege
Mathias Payer (Purdue University) CS-527 Software Security 2017 7 / 28
Principle of Least Privilege
Mathias Payer (Purdue University) CS-527 Software Security 2017 8 / 28
Principle of Least Privilege
Mathias Payer (Purdue University) CS-527 Software Security 2017 9 / 28
Principle of Least Privilege
Mathias Payer (Purdue University) CS-527 Software Security 2017 10 / 28
Principle of Least Privilege
Mathias Payer (Purdue University) CS-527 Software Security 2017 11 / 28
Principle of Least Privilege
Mathias Payer (Purdue University) CS-527 Software Security 2017 12 / 28
Principle of Least Privilege
Mathias Payer (Purdue University) CS-527 Software Security 2017 13 / 28
Isolation techniques
1
2
3
4
5
6
Mathias Payer (Purdue University) CS-527 Software Security 2017 14 / 28
Isolation techniques
Mathias Payer (Purdue University) CS-527 Software Security 2017 15 / 28
Isolation techniques
Mathias Payer (Purdue University) CS-527 Software Security 2017 16 / 28
Isolation techniques
Mathias Payer (Purdue University) CS-527 Software Security 2017 17 / 28
Isolation techniques
Mathias Payer (Purdue University) CS-527 Software Security 2017 18 / 28
Isolation techniques
Mathias Payer (Purdue University) CS-527 Software Security 2017 19 / 28
Isolation techniques
Mathias Payer (Purdue University) CS-527 Software Security 2017 20 / 28
Defense in Depth
1
2
3
4
5
6
Mathias Payer (Purdue University) CS-527 Software Security 2017 21 / 28
Defense in Depth
Mathias Payer (Purdue University) CS-527 Software Security 2017 22 / 28
TOCTTOU / Confused Deputy
1
2
3
4
5
6
Mathias Payer (Purdue University) CS-527 Software Security 2017 23 / 28
TOCTTOU / Confused Deputy
1 //
2 f l = ” f i l e ” ; 3 i f
4
5 } 6 7 8 fd = open ( f l , O WRONLY) ; 9 w r i t e ( fd ,
1 symlink ( ”/ etc /passwd” ,
Mathias Payer (Purdue University) CS-527 Software Security 2017 24 / 28
TOCTTOU / Confused Deputy
Mathias Payer (Purdue University) CS-527 Software Security 2017 25 / 28
Summary and conclusion
1
2
3
4
5
6
Mathias Payer (Purdue University) CS-527 Software Security 2017 26 / 28
Summary and conclusion
Mathias Payer (Purdue University) CS-527 Software Security 2017 27 / 28
Summary and conclusion
Mathias Payer (Purdue University) CS-527 Software Security 2017 28 / 28