Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2004, 19:02
hobgoblin hobgoblin is offline
Friend
 
Join Date: Jan 2002
Posts: 124
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 2
Thanks Rcvd at 5 Times in 5 Posts
hobgoblin Reputation: 0
RE:loaders

Hi guys,
I'm trying to make a loader for a program. I have in the past used R!sc's loader maker, but it doesn't seem to work too well on my XP system. What kind of loader maker do you think is the best (recommend as the best) on XP systems?
TIA for input,
hobgoblin
Reply With Quote
  #2  
Old 04-15-2004, 21:13
Kameo Kameo is offline
Friend
 
Join Date: Mar 2004
Posts: 87
Rept. Given: 3
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 12
Thanks Rcvd at 1 Time in 1 Post
Kameo Reputation: 1
i used to make my own masm loader but if you want a quick & powerfull tool you should try TPE aka Tola's Patch Engine.
You can perform :
- a stand alone seek n' destroy patch
- a registry patch (keyfile)
- a process loader
and much more with nice gfx and even your own design's template.

Definitely a must have, more info here
hxxp://www.void.gulli.com/tpe/info.php

and there goes the archive, enjoy ^_^
Attached Files
File Type: zip vo-tpe203.zip (93.2 KB, 73 views)
Reply With Quote
  #3  
Old 04-15-2004, 21:18
ferrari
 
Posts: n/a
@Kameo
Thnx for the tool

@hobgoblin

I downloaded one universal loader from here:
h**p://k3nny.wz.cz/index.php?stranka=download

Regards,
ferrari
Reply With Quote
  #4  
Old 04-16-2004, 03:06
hobgoblin hobgoblin is offline
Friend
 
Join Date: Jan 2002
Posts: 124
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 2
Thanks Rcvd at 5 Times in 5 Posts
hobgoblin Reputation: 0
Thanks

Thanks guys.
regards,
hobgoblin
Reply With Quote
  #5  
Old 04-16-2004, 05:04
Pompeyfan
 
Posts: n/a
I really like the Abel loader generator hxxp://www.cheatsmaximal.net/tools3.php
Reply With Quote
  #6  
Old 04-19-2004, 20:15
bolo2002 bolo2002 is offline
VIP
 
Join Date: Apr 2002
Posts: 703
Rept. Given: 112
Rept. Rcvd 14 Times in 13 Posts
Thanks Given: 281
Thanks Rcvd at 262 Times in 168 Posts
bolo2002 Reputation: 14
know a patcher who's working with arma or aspr?

loader->aspr->unpack aspr in mem->patch bytes->start

never found a working one...
Reply With Quote
  #7  
Old 04-21-2004, 02:59
qwerty3
 
Posts: n/a
Use unpackers. Why do you want use loader?
Reply With Quote
  #8  
Old 04-21-2004, 05:14
oOo
 
Posts: n/a
ypp

Check yoda process patcher
h**p://y0da.cjb.net
Reply With Quote
  #9  
Old 04-22-2004, 15:28
Zigmund Zigmund is offline
Friend
 
Join Date: May 2002
Posts: 24
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 2
Thanks Rcvd at 3 Times in 3 Posts
Zigmund Reputation: 0
...by your own...

I advice you to write the loader by your own...
It's not hard...
Read more in MSDN about
CreateProcess function.
When target process will be created by your loader with CREATE_SUSPENDED flag you whould patch what you want and then resume target process (and his threads).
Reply With Quote
  #10  
Old 04-28-2004, 23:41
r99
 
Posts: n/a
from _www.woodmann.net/forum/ ... "Asprotect patching exposed"

"Case 1. utilized one of the application's dll files to do my memory patching. Yes, the dll file was also protected with Asprotect, but it seems that the level of protection for dll's is not the same as for the module.exe file.

Case 2. utilized a system dll (msimg32.dll) called by the application to apply the memory patch.

In both cases, the methodology of applying the patch was the same. The timing is one key issue. Having an application that supplies it's own means to patch it (dll) is a good thing. When this option is not available, as in the second case, you can still find a way. Seems, in case 2, the application looks for a couple of system dll's in it's own program folder first, before looking in the usual system32 folder. I found this out by using NTFILMON (a wonderful utility supplied by the folks at www.sysinternals.com). So I used this to my advantage, and copied the rather small 5k system dll (msimg32.dll) into the program folder and applied the patch to it.

As I said before, the timing is the key. Both dll's don't come into play (load), until after both apps have gone through the unpacking/protection schemes of
Asprotect. This allows for more liberal usage of the registers and call stack
without worry of Asprotect, if you need to do so.

Case 1.
Overlay the beginning of the *.dll asprotect code (.aspr section) with:

JMP (*.DLL ADDRESS / bottom of the .aspr code section) to our patches:
NOP
NOP
...
our patches: (in most cases replacing a JNZ instruction with a JMP)
located near the bottom of the *.dll code, but first,
PUSH EDI; save the register
followed by a series of:
LEA EDI,DWORD PTR SS:[MODULE.EXE ADDRESS]
MOV BYTE PTR SS:[EDI],0EB
where module.exe address is the address(es) of the module we are
memory patching too. Note: we are also doing the same here with the
effected *.dll.
...
then,
replace the overlayed bytes at the top of our *.dll
MOV BYTE PTR DS:[<ModuleEntryPoint>],???
MOV BYTE PTR DS:[*.DLL ADDRESS],???
MOV DWORD PTR DS:[*.DLL ADDRESS],???
where ??? is whatever instructions were originally overlayed
then,
POP EDI; restore the register
then,
JMP Copy_of_.<ModuleEntryPoint>
we jump back to the top of the *.dll file and execute the original
code.
This is a one-time patch, where once the *.dll is called and our
memory patching has been executed, the *.dll's original code
that has been restored will execute. Our memory patched code
will execute only once.

Case 2. Samething, however your patches can be applied to the more
normal text/code section (i.e. there is no .aspr section).

There is no need to use procdump or any utility to expand
the code. The changes I describe (using any hex editor) can be made
directly. I have one caveat. In case 1, I hard coded a base address on the *.dll file using a pe editor. In the second case, the system *.dll file had a hard coded base address. So I admit, I used direct addressing in my lea instructions.
So the issue of relocatability still needs to be addressed, also, the memory
addresses of *.dll files on different operating systems. I am using winxp
pro. That's where you folks come in. The point being, that sometimes we
can make use of already linked *.dll files and not have to use an external
program (loader?) to memory patch the code...."
Reply With Quote
  #11  
Old 04-29-2004, 00:57
Crk
 
Posts: n/a
i have never been able to make aworking loader with TOLA's Patchengine , neither using window caption or class name ...does anyone knows how to use it?

i have tried even on program which are no packed but always some message error appears on the loader when executed ..does it really works?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dump .net Assembly from c++ Loaders 0xall0c Source Code 14 10-18-2022 19:40
loaders in android Molasar General Discussion 4 04-01-2016 17:22


All times are GMT +8. The time now is 09:44.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )