You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix_iat:leaecx,[ebx+ IMAGE_DIRECTORY_ENTRY_IMPORT]movecx, dword [ecx]addecx,[ebp+20]; ecx point to the current IMAGE_IMPORT_DESCRIPTOR import_dll:moveax, dword [ecx+ _IMAGE_IMPORT_DESCRIPTOR.idName]testeax,eaxjz iatfix_doneaddeax,[ebp+20]; eax point to the imported API name (char array)pushecx ; 这里应该保存一下寄存器 ecx (IMAGE_IMPORT_DESCRIPTOR),因后面的调用会影响到寄存器 ecxpusheaxcall dword [ebp+0x08]; LoadLibraryAmovebx,eax; let ebx keep the imageBase of the imported dllpopecx ; 恢复寄存器 ecx,后续要用到movedi, dword [ecx+ _IMAGE_IMPORT_DESCRIPTOR.idFirstThunk]addedi, dword [ebp+20] ; set destination point to IMAGE_THUNK_DATA arraymovesi,edinop
The text was updated successfully, but these errors were encountered:
https://github.com/aaaddress1/Windows-APT-Warfare/blob/main/source/chapter%2308/stub.asm
chapter09 - stub.asm 的一处问题
The text was updated successfully, but these errors were encountered: