2011年6月16日

【转载】遍历pe导出表

摘要: optional头的最后一个域是一个数组列表,该数组大小为16,元素为IMAGE_DATA_DIRECTORY,至于以后平台是否会增加,说不清楚,但是FileHeader中明确给出了该数组的大小。该数组表的第一个元素就是指向输出表的。而输出表的定义如下:typedef struct _IMAGE_EXPORT_DIRECTORY { DWORD Characteristics; DWORD TimeDateStamp; WORD MajorVersion; WORD MinorVersion; DWORD Name; DWORD Base; DWORD NumberOfFunctions; D 阅读全文

posted @ 2011-06-16 14:08 lilo_x 阅读(1113) 评论(0) 推荐(0) 编辑

2011年6月1日

windbg双机调试设置

摘要: 先在虚拟机的windows安装目录下C盘下有个boot.ini(当然是处于隐藏状态,选择工具-》文件夹选项-》把隐藏受保护的操作系统文件这个选项去掉)修改boot。ini内容改为 [boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetec 阅读全文

posted @ 2011-06-01 10:10 lilo_x 阅读(770) 评论(0) 推荐(0) 编辑

2011年5月31日

win7下kernel32.dll地址的获取

摘要: Retrieving Kernel32's Base AddressFor shellcode, a common method to resolve the addresses of library functions needed, is to get the base address of the kernel32.dll image in memory and retrieve the addresses of GetProcAddress and LoadLibraryA by parsing the kernel32 images Export Address Table 阅读全文

posted @ 2011-05-31 14:38 lilo_x 阅读(2077) 评论(0) 推荐(0) 编辑

导航