Publications

Detailed Information

Code transformation techniques to enforce security policies for memory protection : 메모리 보호를 위한 보안 정책을 시행하기 위한 코드 변환 기술

DC Field Value Language
dc.contributor.advisor백윤흥-
dc.contributor.author신장섭-
dc.date.accessioned2020-05-19T08:03:20Z-
dc.date.available2020-05-19T08:03:20Z-
dc.date.issued2020-
dc.identifier.other000000158631-
dc.identifier.urihttps://hdl.handle.net/10371/168005-
dc.identifier.urihttp://dcollection.snu.ac.kr/common/orgView/000000158631ko_KR
dc.description학위논문(박사)--서울대학교 대학원 :공과대학 전기·컴퓨터공학부,2020. 2. 백윤흥.-
dc.description.abstractComputer memory is a critical component in computer systems that needs to be protected to ensure the security of computer systems. It contains security sensitive data that should not be disclosed to adversaries. Also, it contains the important data for operating the system that should not be manipulated by the attackers. Thus, many security solutions focus on protecting memory so that sensitive data cannot be leaked out of the computer system or on preventing illegal access to computer data. In this thesis, I will present various code transformation techniques for enforcing security policies for memory protection. First, I will present a code transformation technique to track implicit data flows so that security sensitive data cannot leak through implicit data flow channels (i.e., conditional branches). Then I will present a compiler technique to instrument C/C++ program to mitigate use-after-free errors, which is a type of vulnerability that allow illegal access to stale memory location. Finally, I will present a code transformation technique for low-end embedded devices to enable execute-only memory, which is a strong security policy to protect secrets and harden the computing device against code reuse attacks.-
dc.description.abstract컴퓨터 메모리는 컴퓨터 시스템의 보안을 위해 보호되어야 하는 중요한 컴포넌트이다. 컴퓨터 메모리는 보안상 중요한 데이터를 담고 있을 뿐만 아니라, 시스템의 올바른 동작을 위해 공격자에 의해 조작되어서는 안되는 중요한 데이터 값들을 저장한다. 따라서 많은 보안 솔루션은 메모리를 보호하여 컴퓨터 시스템에서 중요한 데이터가 유출되거나 컴퓨터 데이터에 대한 불법적인 접근을 방지하는 데 중점을 둔다. 본 논문에서는 메모리 보호를 위한 보안 정책을 시행하기 위한 다양한 코드 변환 기술을 제시한다. 먼저, 프로그램에서 분기문을 통해 보안에 민감한 데이터가 유출되지 않도록 암시적 데이터 흐름을 추적하는 코드 변환 기술을 제시한다. 그 다음으로 C / C ++ 프로그램을 변환하여 use-after-free 오류를 완화하는 컴파일러 기술을 제시한다. 마지막으로, 중요 데이터를 보호하고 코드 재사용 공격으로부터 디바이스를 강화할 수 있는 강력한 보안 정책인 실행 전용 메모리(execute-only memory)를 저사양 임베디드 디바이스에 구현하기 위한 코드 변환 기술을 제시한다.-
dc.description.tableofcontents1 Introduction 1
2 Background 4
3 A Hardware-based Technique for Efficient Implicit Information Flow Tracking 8
3.1 Introduction 8
3.2 Related Work 10
3.3 Our Approach for Implicit Flow Tracking 12
3.3.1 Implicit Flow Tracking Scheme with Program Counter Tag 12
3.3.2 tP C Management Technique 15
3.3.3 Compensation for the Untaken Path 20
3.4 Architecture Design of IFTU 22
3.4.1 Overall System 22
3.4.2 Tag Computing Core 24
3.5 Performance and Area Analysis 26
3.6 Security Analysis 28
3.7 Summary 30
4 CRCount: Pointer Invalidation with Reference Counting to Mitigate Useafter-free in Legacy C/C++ 31
4.1 Introduction 31
4.2 Related Work 36
4.3 Threat Model 40
4.4 Implicit Pointer Invalidation 40
4.4.1 Invalidation with Reference Counting 40
4.4.2 Reference Counting in C/C++ 42
4.5 Design 44
4.5.1 Overview 45
4.5.2 Pointer Footprinting 46
4.5.3 Delayed Object Free 50
4.6 Implementation 53
4.7 Evaluation 56
4.7.1 Statistics 56
4.7.2 Performance Overhead 58
4.7.3 Memory Overhead 62
4.8 Security Analysis 67
4.8.1 Attack Prevention 68
4.8.2 Security considerations 69
4.9 Limitations 69
4.10 Summary 71
5 uXOM: Efficient eXecute-Only Memory on ARM Cortex-M 73
5.1 Introduction 73
5.2 Background 78
5.2.1 ARMv7-M Address Map and the Private Peripheral Bus (PPB) 78
5.2.2 Memory Protection Unit (MPU) 79
5.2.3 Unprivileged Loads/Stores 80
5.2.4 Exception Entry and Return 80
5.3 Threat Model and Assumptions 81
5.4 Approach and Challenges 82
5.5 uXOM 85
5.5.1 Basic Design 85
5.5.2 Solving the Challenges 89
5.5.3 Optimizations 98
5.5.4 Security Analysis 99
5.6 Evaluation 100
5.6.1 Runtime Overhead 103
5.6.2 Code Size Overhead 106
5.6.3 Energy Overhead 107
5.6.4 Security and Usability 107
5.6.5 Use Cases 108
5.7 Discussion 110
5.8 Related Work 111
5.9 Summary 113
6 Conclusion and Future Work 114
6.1 Future Work 115
Abstract (In Korean) 132
Acknowlegement 133
-
dc.language.isoeng-
dc.publisher서울대학교 대학원-
dc.subject.ddc621.3-
dc.titleCode transformation techniques to enforce security policies for memory protection-
dc.title.alternative메모리 보호를 위한 보안 정책을 시행하기 위한 코드 변환 기술-
dc.typeThesis-
dc.typeDissertation-
dc.contributor.department공과대학 전기·컴퓨터공학부-
dc.description.degreeDoctor-
dc.date.awarded2020-02-
dc.identifier.uciI804:11032-000000158631-
dc.identifier.holdings000000000042▲000000000044▲000000158631▲-
Appears in Collections:
Files in This Item:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share