手動(dòng)脫殼入門第十五篇 FSG 1.33
發(fā)布日期:2022-01-02 13:13 | 文章來(lái)源:站長(zhǎng)之家
【脫文標(biāo)題】 手動(dòng)脫殼入門第十五篇 FSG 1.33
【脫文作者】 weiyi75[Dfcg]
【作者郵箱】 weiyi75@sohu.com
【作者主頁(yè)】 Dfcg官方大本營(yíng)
【使用工具】 Peid,Ollydbg,ImportREC,Loadpe
【脫殼平臺(tái)】 Win2K/XP
【軟件名稱】 Unpackme
【軟件簡(jiǎn)介】 Loveboom用VB寫的一個(gè)FSG壓縮的脫殼練習(xí)程序
【軟件大小】 2.65 KB
FSG 1.33.rar
【加殼方式】 FSG 1.33 -> dulek/xt
【保護(hù)方式】 FSG壓縮殼
【脫殼聲明】 我是一只小菜鳥(niǎo),偶得一點(diǎn)心得,愿與大家分享:)
--------------------------------------------------------------------------------
【脫殼內(nèi)容】
首先Peid查殼,為FSG 1.33 -> dulek/xt,OD載入運(yùn)行,無(wú)任何異常,判斷其為壓縮殼。
00404B58 > BE A4014000 mov esi, fsg1_33.004001A4 //外殼入口。
00404B5D AD lods dword ptr ds:[esi]
00404B5E 93 xchg eax, ebx
00404B5F AD lods dword ptr ds:[esi]
00404B60 97 xchg eax, edi
00404B61 AD lods dword ptr ds:[esi]
00404B62 56 push esi
00404B63 96 xchg eax, esi
00404B64 B2 80 mov dl, 80
00404B66 A4 movs byte ptr es:[edi], byte ptr ds:[esi>
00404B67 B6 80 mov dh, 80
00404B69 FF13call dword ptr ds:[ebx]
00404B6B ^ 73 F9 jnb short fsg1_33.00404B66
00404B6D 33C9xor ecx, ecx
00404B6F FF13call dword ptr ds:[ebx]
00404B71 73 16 jnb short fsg1_33.00404B89
00404B73 33C0xor eax, eax
00404B75 FF13call dword ptr ds:[ebx]
00404B77 73 1F jnb short fsg1_33.00404B98
打開(kāi)內(nèi)存鏡像,它工作區(qū)段就是404000 resources段里面,內(nèi)存鏡像斷點(diǎn)沒(méi)有作用。它也沒(méi)有用PUSHAD等語(yǔ)句,ESP定律也不能用。據(jù)說(shuō)FSG 1.33還有變形版本,單步慢慢跟蹤太費(fèi)時(shí)間,下API斷點(diǎn),也慢。
對(duì)付它最好的方法就是模擬跟蹤,因?yàn)樗鼪](méi)有SEH,模擬跟蹤最好不過(guò)了。
內(nèi)存鏡像,項(xiàng)目 13
地址=00404000
大小=00001000 (4096.)
Owner=fsg1_33 00400000
區(qū)段=
包含=SFX,imports,resources // 當(dāng)前段是在404000里面。
類型=Imag 01001002
訪問(wèn)=R
初始訪問(wèn)=RWE
內(nèi)存鏡像,項(xiàng)目 12
地址=00401000
大小=00003000 (12288.)
Owner=fsg1_33 00400000
區(qū)段=
包含=code//Oep肯定是在Code段里面。不管FSG在SFX,imports,resources區(qū)段里面解壓,循環(huán)搞什么飛機(jī)。最后肯定要跨段訪問(wèn)401000
Code段。
類型=Imag 01001002
訪問(wèn)=R
初始訪問(wèn)=RWE
于是,命令行下
tc eip BE A4014000 mov esi, fsg1_33.004001A4 //外殼入口。
00404B5D AD lods dword ptr ds:[esi]
00404B5E 93 xchg eax, ebx
00404B5F AD lods dword ptr ds:[esi]
00404B60 97 xchg eax, edi
00404B61 AD lods dword ptr ds:[esi]
00404B62 56 push esi
00404B63 96 xchg eax, esi
00404B64 B2 80 mov dl, 80
00404B66 A4 movs byte ptr es:[edi], byte ptr ds:[esi>
00404B67 B6 80 mov dh, 80
00404B69 FF13call dword ptr ds:[ebx]
00404B6B ^ 73 F9 jnb short fsg1_33.00404B66
00404B6D 33C9xor ecx, ecx
00404B6F FF13call dword ptr ds:[ebx]
00404B71 73 16 jnb short fsg1_33.00404B89
00404B73 33C0xor eax, eax
00404B75 FF13call dword ptr ds:[ebx]
00404B77 73 1F jnb short fsg1_33.00404B98
00404B79 B6 80 mov dh, 80
00404B7B 41 inc ecx
00404B7C B0 10 mov al, 10
.........................................................................................
命令行
bp GetModuleHandleA
77E6AB06 >&nbs
【脫文作者】 weiyi75[Dfcg]
【作者郵箱】 weiyi75@sohu.com
【作者主頁(yè)】 Dfcg官方大本營(yíng)
【使用工具】 Peid,Ollydbg,ImportREC,Loadpe
【脫殼平臺(tái)】 Win2K/XP
【軟件名稱】 Unpackme
【軟件簡(jiǎn)介】 Loveboom用VB寫的一個(gè)FSG壓縮的脫殼練習(xí)程序
【軟件大小】 2.65 KB
FSG 1.33.rar
【加殼方式】 FSG 1.33 -> dulek/xt
【保護(hù)方式】 FSG壓縮殼
【脫殼聲明】 我是一只小菜鳥(niǎo),偶得一點(diǎn)心得,愿與大家分享:)
--------------------------------------------------------------------------------
【脫殼內(nèi)容】
首先Peid查殼,為FSG 1.33 -> dulek/xt,OD載入運(yùn)行,無(wú)任何異常,判斷其為壓縮殼。
00404B58 > BE A4014000 mov esi, fsg1_33.004001A4 //外殼入口。
00404B5D AD lods dword ptr ds:[esi]
00404B5E 93 xchg eax, ebx
00404B5F AD lods dword ptr ds:[esi]
00404B60 97 xchg eax, edi
00404B61 AD lods dword ptr ds:[esi]
00404B62 56 push esi
00404B63 96 xchg eax, esi
00404B64 B2 80 mov dl, 80
00404B66 A4 movs byte ptr es:[edi], byte ptr ds:[esi>
00404B67 B6 80 mov dh, 80
00404B69 FF13call dword ptr ds:[ebx]
00404B6B ^ 73 F9 jnb short fsg1_33.00404B66
00404B6D 33C9xor ecx, ecx
00404B6F FF13call dword ptr ds:[ebx]
00404B71 73 16 jnb short fsg1_33.00404B89
00404B73 33C0xor eax, eax
00404B75 FF13call dword ptr ds:[ebx]
00404B77 73 1F jnb short fsg1_33.00404B98
打開(kāi)內(nèi)存鏡像,它工作區(qū)段就是404000 resources段里面,內(nèi)存鏡像斷點(diǎn)沒(méi)有作用。它也沒(méi)有用PUSHAD等語(yǔ)句,ESP定律也不能用。據(jù)說(shuō)FSG 1.33還有變形版本,單步慢慢跟蹤太費(fèi)時(shí)間,下API斷點(diǎn),也慢。
對(duì)付它最好的方法就是模擬跟蹤,因?yàn)樗鼪](méi)有SEH,模擬跟蹤最好不過(guò)了。
內(nèi)存鏡像,項(xiàng)目 13
地址=00404000
大小=00001000 (4096.)
Owner=fsg1_33 00400000
區(qū)段=
包含=SFX,imports,resources // 當(dāng)前段是在404000里面。
類型=Imag 01001002
訪問(wèn)=R
初始訪問(wèn)=RWE
內(nèi)存鏡像,項(xiàng)目 12
地址=00401000
大小=00003000 (12288.)
Owner=fsg1_33 00400000
區(qū)段=
包含=code//Oep肯定是在Code段里面。不管FSG在SFX,imports,resources區(qū)段里面解壓,循環(huán)搞什么飛機(jī)。最后肯定要跨段訪問(wèn)401000
Code段。
類型=Imag 01001002
訪問(wèn)=R
初始訪問(wèn)=RWE
于是,命令行下
tc eip BE A4014000 mov esi, fsg1_33.004001A4 //外殼入口。
00404B5D AD lods dword ptr ds:[esi]
00404B5E 93 xchg eax, ebx
00404B5F AD lods dword ptr ds:[esi]
00404B60 97 xchg eax, edi
00404B61 AD lods dword ptr ds:[esi]
00404B62 56 push esi
00404B63 96 xchg eax, esi
00404B64 B2 80 mov dl, 80
00404B66 A4 movs byte ptr es:[edi], byte ptr ds:[esi>
00404B67 B6 80 mov dh, 80
00404B69 FF13call dword ptr ds:[ebx]
00404B6B ^ 73 F9 jnb short fsg1_33.00404B66
00404B6D 33C9xor ecx, ecx
00404B6F FF13call dword ptr ds:[ebx]
00404B71 73 16 jnb short fsg1_33.00404B89
00404B73 33C0xor eax, eax
00404B75 FF13call dword ptr ds:[ebx]
00404B77 73 1F jnb short fsg1_33.00404B98
00404B79 B6 80 mov dh, 80
00404B7B 41 inc ecx
00404B7C B0 10 mov al, 10
.........................................................................................
命令行
bp GetModuleHandleA
77E6AB06 >&nbs
版權(quán)聲明:本站文章來(lái)源標(biāo)注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請(qǐng)保持原文完整并注明來(lái)源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非maisonbaluchon.cn所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來(lái)源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來(lái),僅供學(xué)習(xí)參考,不代表本站立場(chǎng),如有內(nèi)容涉嫌侵權(quán),請(qǐng)聯(lián)系alex-e#qq.com處理。
相關(guān)文章
關(guān)注官方微信