分享
zpunpacker.txt
下载文档
下载文档

ID:3401586

大小:3.45KB

页数:5页

格式:TXT

时间:2024-04-28

收藏 分享赚钱
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,汇文网负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
网站客服:3074922707
zpunpacker
///////////////////////////////////////////////////////////////////////////////////////// //fuck Zrotectect1.4.9 //thanks hmily //˵���� //1��ʹ��ǰ���޸����漸��ֵ��IATStart��IATEnd���Լ�ģ��ĸ��� //2���������нű������һ��������1���ڶ�������2 //3������ģ�⣬��ֱ��ѡ��2����ַ��������0�����ַ����,����ֱ������0 //4��ģ��������жϣ�ֻҪbp CreateFileA��Ȼ�����У��۲��ջ������ջ����ϵͳdll�ĸ������� //just for fun //ximo[LCG] ///////////////////////////////////////////////////////////////////////////////////////// var count ask "whitch step?" mov count,$RESULT cmp count,1 je step1 cmp count,2 je step2 ret step1: var imagebase var addr var tmp var value var sizeoffuck var VirtualAllocAddr bphwcall bpmc gpa "VirtualAlloc","kernel32.dll" cmp $RESULT,0 je Exit mov VirtualAllocAddr,$RESULT bp VirtualAllocAddr run bc VirtualAllocAddr find eip,#c21000# cmp $RESULT,0 je Exit bp $RESULT run bc $RESULT mov imagebase,eax mov addr,imagebase /* 00944754 FF4424 14 inc dword ptr ss:[esp+14] 00944758 FF4424 10 inc dword ptr ss:[esp+10] */ add addr,14758 //�����£�ͬ�汾�ĵ�ַ����ͬ�ˣ�������Ҫ���Լ��޸İ� mov sizeoffuck,0a ///////////////////////////////////////////////////////////ģ����� bphws addr,"x" loopfind: run mov tmp,esp add tmp,10 mov value,[tmp] cmp [value],sizeoffuck,1 jne loopfind bphwc addr mov eip,value log eip MSG eip MSG "���ס�õ�ַ��Ȼ���������нű������벢�Ұ�����ʾ����õ�ַ" ret Exit: ret step2: bphwcall bpmc var fuckhook ask "������ű�1�õ��ĵ�ַ" mov fuckhook,$RESULT mov [fuckhook],#00# var tmp var local var l var oep var ThreadAddr var ThreadProc var HookExitAddr var CreateFileAddr var count var fuckflag var IsHook var regist mov count,1 fuckregist: gpa "DialogBoxIndirectParamA","user32.dll" mov regist,$RESULT mov [regist],#b82c230000c21400# fuckexit: gpa "ExitProcess","kernel32.dll" mov HookExitAddr,$RESULT mov [HookExitAddr],#c20800# found: mov tmp,eip cmp [tmp],60,1 je start sti jmp found start: sti mov tmp,esp bphws tmp,"r" gpa "CreateThread","kernel32.dll" mov ThreadAddr,$RESULT bphws ThreadAddr,"x" gpa "GetModuleHandleA","kernel32.dll" mov local, $RESULT add local,20 bp local loop: run mov l,eip cmp [l],CC,1 je loop cmp eip,7c000000 jb goesp bphwc ThreadAddr mov ThreadProc,[esp+c] mov [ThreadProc],#C390# jmp loop goesp: bphwc tmp bc local mov oep,[esp] bphws oep,"x" run bphwc oep mov oep,eip var IATStart var IATEnd var IATAddr var fixtmp var GetIATbp var ExitFlag var guolv mov IATStart,01001000 //////////////////////////////////////////////////////////IATStart mov IATEnd,01001344 //////////////////////////////////////////////////////////IATEnd mov IATAddr,IATStart fixloop: mov guolv,[IATAddr] cmp IATAddr,IATEnd je Exit2 cmp [IATAddr],0 je next cmp [guolv],68,1 je getapi cmp [guolv],50,1 jne next getapi: mov eip,[IATAddr] stiloop: mov fixtmp,eip cmp [fixtmp],E8,1 je startfix sti jmp stiloop startfix: sti find eip,#7457# cmp $RESULT,0 je goon mov GetIATbp,$RESULT mov [GetIATbp],#EB# goon: find eip,#C20400# mov GetIATbp,$RESULT BPHWS GetIATbp,"x" run bphwc GetIATbp mov [IATAddr],eax next: add IATAddr,4 jmp fixloop Exit2: mov eip,oep ret

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

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