没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Improving Automated Analysis of Windows x64 BinariesApril, 2006 skapemmiller@hick.orgContents1 Foreword 22 Introduction 33 Background 4 3.1 PE32+ Image File Format . . . . . . . . . . . . . . . . . . . . . . 4 3.2 Calling Convention . . . . . . . . . . . . . . . . . . . . . . . . . . 53.2.1 Stack Frame Layout . . . . . . . . . . . . . . . . . . . . . 5 3.3 Exception Handling on x64 . . . . . . . . . . . . . . . . . . . . . 73.3.1 Exception Directory . . . . . . . . . . . . . . . . . . . . . 8 3.
资源推荐
资源详情
资源评论
Improving Automated Analysis of
Windows x64 Binaries
April, 2006
skape
mmiller@hick.org
Contents
1 Foreword 2
2 Introduction 3
3 Background 4
3.1 PE32+ Image File Format . . . . . . . . . . . . . . . . . . . . . . 4
3.2 Calling Convention . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2.1 Stack Frame Layout . . . . . . . . . . . . . . . . . . . . . 5
3.3 Exception Handling on x64 . . . . . . . . . . . . . . . . . . . . . 7
3.3.1 Exception Directory . . . . . . . . . . . . . . . . . . . . . 8
3.3.2 Unwind Information . . . . . . . . . . . . . . . . . . . . . 8
4 Analysis Techniques 11
4.1 Exception Directory Enumeration . . . . . . . . . . . . . . . . . . 11
4.1.1 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1.2 Stack Frame Annotation . . . . . . . . . . . . . . . . . . . 12
4.1.3 Exception Handlers . . . . . . . . . . . . . . . . . . . . . 15
4.2 Register Parameter Area Annotation . . . . . . . . . . . . . . . . 16
5 Conclusion 17
1
Chapter 1
Foreword
Abstract: As Windows x64 becomes a more prominent platform, it will become
necessary to develop techniques that improve the binary analysis proce ss . In
particular, automated techniques that can be performed prior to doing code or
data flow analysis can be useful in getting a better understanding for how a
binary operates. To that point, this paper gives a brief explanation of some
of the changes that have been made to support Windows x64 binaries. From
there, a few basic techniques are illustrated that can be used to improve the
process of identifying functions, annotating their stack frames, and describing
their exception handler relationships. Source code to an example IDA plugin is
also included that shows how these techniques can be implemented.
Thanks: The author would like to thank bugcheck, sh0k, jt, spoonm, and
Skywing.
Update: The article in MSDN magazine by Matt Pietrek was published af-
ter this article was written. However, it contains a lot of useful information
and touches on many of the same topics that this article covers in the back-
ground chapter. The article can be found here:
http://msdn.microsoft.com/
msdnmag/issues/06/05/x64/default.aspx.
With that, on with the show. . .
2
剩余18页未读,继续阅读
资源评论
weixin_38641764
- 粉丝: 3
- 资源: 921
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功