差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

cpp:wdm:security:eclypsium_screwed-drivers_detection [2019/09/04 16:33]
tony
cpp:wdm:security:eclypsium_screwed-drivers_detection [2023/06/25 09:48]
行 1: 行 1:
-{{tag>​WDM}} 
-====== Eclypsium screwed drivers detection ====== 
-===== Problem ===== 
-Eclypsium是一間提供Firmware Security相關服務的公司。最近因為它們的熱心,找出了我們Windows Driver的一些安全性問題;除此之外,它們還將偵測程式open source出來,放在[[https://​github.com/​eclypsium/​Screwed-Drivers/​tree/​master/​Detection|GitHub]]上。本篇文章主要分享使用心得。 
-===== How to? ===== 
-==== Installation ==== 
-在Eclypsium的[[https://​github.com/​eclypsium/​Screwed-Drivers/​tree/​master/​Detection|GitHub]]上,附有安裝教學,首先是安裝套件:​ 
-<code bash> 
-udo apt-get install python3-dev libffi-dev build-essential virtualenvwrapper radare2 binutils 
-</​code>​ 
-然而在我安裝套件後,發生mkvirtualenv找不到的問題。針對這個問題有兩個方法,一個方法是重新啟動terminal,另外一個則是參考[[https://​segmentfault.com/​a/​1190000012030061|這篇文章]]內的方式,匯入virtualenvwrapper.sh的function。最後就是建立模擬環境:​ 
-<code bash> 
-mkvirtualenv --python=$(which python3) angr && pip install angr && pip install r2pipe 
-</​code>​ 
-==== Run ==== 
-接下來就是執行掃秒,可以參考下圖執行結果:​\\ 
-{{:​cpp:​wdm:​security:​scan_driver_on_ubuntu18.04.png|}} 
-==== Other ==== 
-起初我是在Ubuntu 16.10安裝並執行,但執行過程中會發生問題:​\\ 
-{{:​cpp:​wdm:​security:​scan_driver_on_ubuntu16.10.png|}}\\ 
-\\ 
-懷疑與Python版本是3.5有關,改用Ubuntu 18.04的Python3.6能夠正常執行我就直接忽略了。 
-===== Reference ===== 
-  * [[https://​github.com/​eclypsium/​Screwed-Drivers/​tree/​master/​Detection|Screwed-Drivers GitHub Repository]] 
-  * [[https://​segmentfault.com/​a/​1190000012030061|virtualenv和virtualenvwrapper介绍、安装和使用]] 
-=====    ===== 
----- 
-\\ 
-~~DISQUS~~