首页
社区
课程
招聘
OllyDbg Format String Vulnerability
发表于: 2005-5-16 14:17 3628

OllyDbg Format String Vulnerability

2005-5-16 14:17
3628
Vulnerable Systems:
* OllyDbg version 1.10

Vulnerability takes place when module (with special crafted file name) executes int 3 instruction (trap to debugger).

Disassembler Snippets:
Here is the vulnerable code:

.text:0042FBE0 lea eax, [ebp+buffer]
.text:0042FBE6 push eax ; format string
.text:0042FBE7 mov edx, [ebp+var_28]
.text:0042FBEA push edx
.text:0042FBEB call sub_42E100 ; _vsprintf->
;___vprinter

When format is an ASCII string like: "INT3 command at <module_name>.addr", Attacker can place a format string chars inside "<module_name>" (part of format buffer) and cause Olly to overwrite arbitrary data.

NOTE: Even with "IGNORE INT3 BREAKS" option checked, OllyDbg is still vulnerable. Attacker can also load some special crafted module (with special crafted name) while debugging, to make the attack more stealthy.

[培训]科锐逆向工程师培训第53期2025年7月8日开班!

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回