[我研究]Behavior Based Software Theft Detection - Hawk
Xinran Wang, Yoon-Chan Jhi, Sencun Zhu, Peng Liu@PSU
背景:
Behavior Based Software Theft Detection的系統包含四個步驟:
1、Dynamic Analysis - 產生System Call, Call Stack, Dependences
2、Noise Filtering
3、Extract SCDG Birthmarks
4、Compare SCDG Birthmarks
Dynamic Analysis的架構:
Valgrind[23] 和Hawk之間的關系
[23] Valgrind: a framework for heavyweight dynamic binary instrumentation. SIGPLAN 2007.
Hawk是作為對Valgrind的plugin-tool。
Dynamic Analysis的流程:
1、輸入binary program到Valgrind
2、Valgrind Just-in-time地反編譯機器碼為IR
3、Hawk在IR上進行analysis code instrument (dependence)
問題:什么叫memory byte和register有dependence set來shadow?
4、將instrument之后的代碼重新轉化為機器碼
關于Hawk的細節問題:
1、做兩個instrumentation - IR instrumentation & system call instrumentation
2、intermediate dependence set的清理 - 有三種方法,使用其中一種
reference counting[6]; mark-sweep; copy collection
3、出于性能考慮,沒有跟蹤control dependence,只跟蹤data dependence
尋找源碼
轉載于:https://www.cnblogs.com/wanzhiyuan/archive/2011/08/15/2139627.html
總結
以上是生活随笔為你收集整理的[我研究]Behavior Based Software Theft Detection - Hawk的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 佳能600d多少钱啊?
- 下一篇: c# 多线程异步demo