Showing
1 changed file
with
38 additions
and
154 deletions
1 | -<!-- | ||
2 | -*** Thanks for checking out this README Template. If you have a suggestion that would | ||
3 | -*** make this better, please fork the repo and create a pull request or simply open | ||
4 | -*** an issue with the tag "enhancement". | ||
5 | -*** Thanks again! Now go create something AMAZING! :D | ||
6 | -*** | ||
7 | -*** | ||
8 | -*** | ||
9 | -*** To avoid retyping too much info. Do a search and replace for the following: | ||
10 | -*** github_username, repo, twitter_handle, email | ||
11 | ---> | ||
12 | - | ||
13 | - | ||
14 | - | ||
15 | - | ||
16 | - | ||
17 | -<!-- PROJECT SHIELDS --> | ||
18 | -<!-- | ||
19 | -*** I'm using markdown "reference style" links for readability. | ||
20 | -*** Reference links are enclosed in brackets [ ] instead of parentheses ( ). | ||
21 | -*** See the bottom of this document for the declaration of the reference variables | ||
22 | -*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use. | ||
23 | -*** https://www.markdownguide.org/basic-syntax/#reference-style-links | ||
24 | ---> | ||
25 | -[![Contributors][contributors-shield]][contributors-url] | ||
26 | -[![Forks][forks-shield]][forks-url] | ||
27 | -[![Stargazers][stars-shield]][stars-url] | ||
28 | -[![Issues][issues-shield]][issues-url] | ||
29 | [![MIT License][license-shield]][license-url] | 1 | [![MIT License][license-shield]][license-url] |
30 | -[![LinkedIn][linkedin-shield]][linkedin-url] | ||
31 | - | ||
32 | - | ||
33 | - | ||
34 | -<!-- PROJECT LOGO --> | ||
35 | -<br /> | ||
36 | -<p align="center"> | ||
37 | - <a href="https://github.com/github_username/repo"> | ||
38 | - <img src="images/logo.png" alt="Logo" width="80" height="80"> | ||
39 | - </a> | ||
40 | - | ||
41 | - <h3 align="center">YOUR_TITLE</h3> | ||
42 | - | ||
43 | - <p align="center"> | ||
44 | - YOUR_SHORT_DESCRIPTION | ||
45 | - <br /> | ||
46 | - <a href="https://github.com/github_username/repo"><strong>Explore the docs »</strong></a> | ||
47 | - <br /> | ||
48 | - <br /> | ||
49 | - <a href="https://github.com/github_username/repo">View Demo</a> | ||
50 | - · | ||
51 | - <a href="https://github.com/github_username/repo/issues">Report Bug</a> | ||
52 | - · | ||
53 | - <a href="https://github.com/github_username/repo/issues">Request Feature</a> | ||
54 | - </p> | ||
55 | -</p> | ||
56 | - | ||
57 | 2 | ||
58 | 3 | ||
59 | <!-- TABLE OF CONTENTS --> | 4 | <!-- TABLE OF CONTENTS --> |
60 | ## Table of Contents | 5 | ## Table of Contents |
61 | 6 | ||
62 | * [About the Project](#about-the-project) | 7 | * [About the Project](#about-the-project) |
63 | - * [Built With](#built-with) | 8 | +* [Build](#Build) |
64 | -* [Getting Started](#getting-started) | ||
65 | - * [Prerequisites](#prerequisites) | ||
66 | - * [Installation](#installation) | ||
67 | * [Usage](#usage) | 9 | * [Usage](#usage) |
68 | -* [Roadmap](#roadmap) | ||
69 | -* [Contributing](#contributing) | ||
70 | * [License](#license) | 10 | * [License](#license) |
71 | * [Contact](#contact) | 11 | * [Contact](#contact) |
72 | -* [Acknowledgements](#acknowledgements) | ||
73 | - | ||
74 | 12 | ||
75 | 13 | ||
76 | <!-- ABOUT THE PROJECT --> | 14 | <!-- ABOUT THE PROJECT --> |
77 | ## About The Project | 15 | ## About The Project |
16 | +최근 다양한 IoT 디바이스의 사용이 증가되고 있고, 그로 인한 보안 위협도 증가되고 있다. 베어메탈(BareMetal) IoT 디바이스의 펌웨어는 펌웨어 업데이트 파일 및 Flash De-soldering 등으로 추출이 가능 하며, 이를 역공학(Reverse Engineering) 툴을 이용한 정적 분석을 통해 실행 흐름을 분석하여 취약점을 찾을 수 있다. 이를 해결하기 위해 일반적인 컴퓨팅 시스템에는 정적 분석을 어렵게 하기 위한 다양한 소스코드 기반의 난독화 방법이 존재한다. 그러나 베어메탈 IoT 디바이스의 펌웨어 바이너리 코드 자체 를 난독화 할 수 있는 방안은 존재하지 않는다. 이를 해결하기 위해 LLVM Pass를 이용한 난독화된 바이 너리 코드를 실행하는 코드의 삽입을 통해 베어메탈 IoT 디바이스 펌웨어의 바이너리 코드를 난독화 하는 방안을 제안한다. | ||
78 | 17 | ||
79 | -[![Product Name Screen Shot][product-screenshot]](https://example.com) | 18 | +<!-- BUILD --> |
80 | - | 19 | +## Build |
81 | -Here's a blank template to get started: | 20 | + |
82 | -**To avoid retyping too much info. Do a search and replace with your text editor for the following:** | 21 | +1. Clone the repo |
83 | -`github_username`, `repo`, `twitter_handle`, `email` | 22 | +``` |
84 | - | 23 | +git clone http://khuhub.khu.ac.kr/2020-1-capstone-design1/JJS_Project1.git |
85 | - | 24 | +``` |
86 | -### Built With | ||
87 | - | ||
88 | -* []() | ||
89 | -* []() | ||
90 | -* []() | ||
91 | - | ||
92 | - | ||
93 | - | ||
94 | -<!-- GETTING STARTED --> | ||
95 | -## Getting Started | ||
96 | 25 | ||
97 | -To get a local copy up and running follow these simple steps. | 26 | +2. Install cmake |
27 | +``` | ||
28 | +brew install cmake | ||
29 | +``` | ||
98 | 30 | ||
99 | -### Prerequisites | 31 | +3. Create Build folder |
32 | +``` | ||
33 | +mkdir ./JJS_Project1/src/build | ||
34 | +``` | ||
100 | 35 | ||
101 | -This is an example of how to list things you need to use the software and how to install them. | 36 | +4. Change directory |
102 | -* npm | 37 | +``` |
103 | -```sh | 38 | +cd ./JJS_Project1/src/build |
104 | -npm install npm@latest -g | ||
105 | ``` | 39 | ``` |
106 | 40 | ||
107 | -### Installation | 41 | +5. Create LLVM Clang build file |
108 | - | ||
109 | -1. Clone the repo | ||
110 | -```sh | ||
111 | -git clone https://github.com/github_username/repo.git | ||
112 | ``` | 42 | ``` |
113 | -2. Install NPM packages | 43 | +cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm |
114 | -```sh | ||
115 | -npm install | ||
116 | ``` | 44 | ``` |
117 | 45 | ||
46 | +6. Build | ||
47 | +``` | ||
48 | +make | ||
49 | +``` | ||
118 | 50 | ||
119 | 51 | ||
120 | <!-- USAGE EXAMPLES --> | 52 | <!-- USAGE EXAMPLES --> |
121 | ## Usage | 53 | ## Usage |
122 | - | 54 | +``` |
123 | -Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources. | 55 | +JJS_Project1/src/build/bin/clang -emit-llvm -c -S source.c -o source.ll |
124 | - | 56 | +``` |
125 | -_For more examples, please refer to the [Documentation](https://example.com)_ | 57 | +``` |
126 | - | 58 | +JJS_Project1/src/build/bin/opt -load JJS_Project1/src/build/lib/LLVMObfuscation.so -preprocess source.ll -o source.ll |
127 | - | 59 | +``` |
128 | - | 60 | +``` |
129 | -<!-- ROADMAP --> | 61 | +JJS_Project1/src/build/bin/opt -load JJS_Project1/src/build/lib/LLVMObfuscation.so -rof source.ll -o source.ll |
130 | -## Roadmap | 62 | +``` |
131 | - | ||
132 | -See the [open issues](https://github.com/github_username/repo/issues) for a list of proposed features (and known issues). | ||
133 | - | ||
134 | - | ||
135 | - | ||
136 | -<!-- CONTRIBUTING --> | ||
137 | -## Contributing | ||
138 | - | ||
139 | -Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. | ||
140 | - | ||
141 | -1. Fork the Project | ||
142 | -2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) | ||
143 | -3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) | ||
144 | -4. Push to the Branch (`git push origin feature/AmazingFeature`) | ||
145 | -5. Open a Pull Request | ||
146 | - | ||
147 | - | ||
148 | 63 | ||
149 | <!-- LICENSE --> | 64 | <!-- LICENSE --> |
150 | ## License | 65 | ## License |
151 | - | 66 | +LLVM([https://github.com/llvm-mirror/llvm](https://github.com/llvm-mirror/llvm)) |
152 | -Distributed under the MIT License. See `LICENSE` for more information. | ||
153 | - | ||
154 | - | ||
155 | 67 | ||
156 | <!-- CONTACT --> | 68 | <!-- CONTACT --> |
157 | ## Contact | 69 | ## Contact |
70 | +2015104175 박우진 - amdx1254@khu.ac.kr <br> | ||
71 | +2017110275 이한솔 - mardi@khu.ac.kr | ||
158 | 72 | ||
159 | -Your Name - [@twitter_handle](https://twitter.com/twitter_handle) - email | ||
160 | - | ||
161 | -Project Link: [https://github.com/github_username/repo](https://github.com/github_username/repo) | ||
162 | - | ||
163 | - | ||
164 | - | ||
165 | -<!-- ACKNOWLEDGEMENTS --> | ||
166 | -## Acknowledgements | ||
167 | - | ||
168 | -* []() | ||
169 | -* []() | ||
170 | -* []() | ||
171 | - | ||
172 | - | ||
173 | - | ||
174 | - | ||
175 | - | ||
176 | -<!-- MARKDOWN LINKS & IMAGES --> | ||
177 | -<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --> | ||
178 | -[contributors-shield]: https://img.shields.io/github/contributors/othneildrew/Best-README-Template.svg?style=flat-square | ||
179 | -[contributors-url]: https://github.com/othneildrew/Best-README-Template/graphs/contributors | ||
180 | -[forks-shield]: https://img.shields.io/github/forks/othneildrew/Best-README-Template.svg?style=flat-square | ||
181 | -[forks-url]: https://github.com/othneildrew/Best-README-Template/network/members | ||
182 | -[stars-shield]: https://img.shields.io/github/stars/othneildrew/Best-README-Template.svg?style=flat-square | ||
183 | -[stars-url]: https://github.com/othneildrew/Best-README-Template/stargazers | ||
184 | -[issues-shield]: https://img.shields.io/github/issues/othneildrew/Best-README-Template.svg?style=flat-square | ||
185 | -[issues-url]: https://github.com/othneildrew/Best-README-Template/issues | ||
186 | [license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=flat-square | 73 | [license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=flat-square |
187 | [license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt | 74 | [license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt |
188 | -[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555 | ||
189 | -[linkedin-url]: https://linkedin.com/in/othneildrew | ||
190 | -[product-screenshot]: images/screenshot.png | ... | ... |
-
Please register or login to post a comment