JPEPortable WOW64 TestV1

Discuss anything related to JauntePE, the utlimate utility to help you tame non-portable applications. Share your experience about the apps that work with JauntePE, and the apps that don't.
Post Reply
Message
Author
crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

JPEPortable WOW64 TestV1

#1 Post by crownixx »

This is a version of the JauntePE portable launcher that does not use the
MadCodeHook injection function (that is broken for 32 bit processes running on
64 bit versions of Windows) when launching 32 bit applications on 64 bit
versions of Windows.

The injection technique used in that case is a very simple one created back
when a replacement for Detours was still being looked for. The technique uses
only the minimal amount of code necessary to get the job done and is definitely
not robust. In particular, there is no disassembly of the "stepped on" code to
ensure that the opcodes are not mangled beyond use.

Since only the launcher contains the new injection mode, applications such as
installers or others that launch child processes should be avoided, as the
jauntePE runtime will use the MadCodeHook injection function which will then
*probably* fail. The jauntePE runtime will be updated at a later time if this
new mode proves useful within the launcher.

If you wish to try this out, you should do so with a simple app first, such as
notepad, before moving on to more complex apps.

A new [Launch]Injector configuration ini file setting has been added to manually
force the launcher into one of the two injection modes. Injector=0 will use the
MadCodeHook injector. Injector=1 will use the test injector. If [Launch]
InjectOnly=1, Injector is set to 0 regardless of the user setting. There is no
runtime indication of what mode ultimately is used, although looking at the
relative differences in the log file's "hook dll attach to begin" time should
give you an idea since the test injector appears to launch apps slightly faster.

InjectOnly has also been extended to include "silent" and "systray" operating
modes, as follows:

=0 same as before
=1 same as before
=2 only popup a message box for error conditions
=3 same as =1 but the launcher continues to run and adds a systray icon for
toggling on/off the use of the jauntePE runtime within the targeted processes
=4 same as =3 but only popup a message box for error conditions
Download
http://www.box.net/shared/4cx4i2k00r

User avatar
m^(2)
Posts: 890
Joined: Sat Mar 31, 2007 2:38 am
Location: Kce,PL
Contact:

#2 Post by m^(2) »

Nice. :)
But I think that getting a better MadHook version would be beneficial to all: redllar, JPE, users.

User avatar
m^(2)
Posts: 890
Joined: Sat Mar 31, 2007 2:38 am
Location: Kce,PL
Contact:

#3 Post by m^(2) »

No success. :(
Just like before, starts all applications, but doesn't hook them.

ADDED: A ProcessMonitor log file for FakeDrives example:
http://localhostr.com/files/91bd5a/Logfile.PML.7z

Post Reply