zcc1414

博客园 首页 联系 订阅 管理

2013年9月8日

摘要: 首先 如果想直接覆盖 一场回调函数去劫持EXE的话 ,SafeSEH会阻止程序去执行;SafeSEH的原理很简单,就是对要调用的异常回调函数进行一系列对的有效性校验 需要 操作系统XP SP2 及后续版本 和编译器的双重支持下面说明GS的突破但感觉还是有点困难: 1 要么程序写了虚函数 2要... 阅读全文
posted @ 2013-09-08 18:30 zcc1414 阅读(224) 评论(0) 推荐(0)

摘要: #pragma strict_gs_check(on) 强制设置 GS保护 VS2008当缓冲区#pragma strict_gs_check(on)void f(char str[]){ char buff[4]; strcpy(buff,str);}int _tmain(int argc, _... 阅读全文
posted @ 2013-09-08 16:52 zcc1414 阅读(510) 评论(0) 推荐(0)

摘要: #include "stdafx.h"#include #include class failwest{public: char buf[200]; virtual void f1(void) { coutf1(); return 0;} 阅读全文
posted @ 2013-09-08 11:21 zcc1414 阅读(274) 评论(0) 推荐(0)