分享
SafeCast(Disc) 2.xx - 3.xx Decrypt IAT(2).txt
下载文档

ID:3399802

大小:1.56KB

页数:2页

格式:TXT

时间:2024-04-28

收藏 分享赚钱
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,汇文网负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
网站客服:3074922707
SafeCastDisc 2.xx 3.xx Decrypt IAT2 SafeCast Disc xx IAT
/* =============================================================== SafeCast/Disc 2.xx-3.xx - IAT decryptor script (by haggar) =============================================================== Instructions: This script WILL NOT FIX IMPORTS!!! This script will decrypt import table, but pointers will be incorrect! But, table will hold ALL IMPORTS that are used in protected file. As described in my tutorial, then you binary copy-paste that tablle to new section (that you have added to protected file), undo changes done by this script, and use script for redirecting pointers to that new table. Read my tutorial for more information. Script is tested on VC++ program. All values are hardcoded and you must modify it for your file. haggar =============================================================== */ var iat //Variable that points to thunks. var pointer //Variable to take DWORD that is in thunk. var stack //Variable just used to place hardware breakpoint. var oep //To return EIP to initial value. mov iat,12ef6000 //Start address of thunks in IAT. mov oep,eip LABEL_01: cmp iat,12ef62c8 //Check is it end of thunks. je END_01 mov pointer,[iat] and pointer,0ff000000 cmp pointer, 13000000 //Check destination in thunk to redirected one. add iat,4 jne LABEL_01 sub iat,4 //If thunk holds some 13xxxxxx (in my case) mov pointer,[iat] //then find import. mov eip,pointer sti sti mov stack,esp bphws stack,"r" esto sti bphwc stack mov [iat],eip //Place import in thunk. jmp LABEL_01 END_01: mov eip,oep ret

此文档下载收益归作者所有

下载文档
你可能关注的文档
收起
展开