Sie sind auf Seite 1von 3

REPLAY ANY DONGLE OR PROGRAM ANY NUMBER OF TIMES INSTRUCTION-

BY-INSTRUCTION :
Disclaimer:

Please do not use the information in this document for ILLEGAL purposes. Try this out only with a
dongle that YOU OWN and also use this knowledge for EDUCATIONAL purposes only !

AIMS and OBJECTIVES :

This guide explains how one can achieve complete instruction-by-instruction recording of any
program executed in ones computer in VMWare Virtual Machine and then REPLAY it.

Please note that this is NOT a VIDEO RECORDING of the events in the Guest OS !

While the method and REPLAY facility is not a very big secret, and though the majority of the veteran
programmers know it already, what makes this guide useful is the fact that I will show how this can
be applied to DONGLES and how one can achieve the REPLAY of the DONGLES !

(This is the only COLOUR in this document , I promise ;) )

This, I believe is of particular importance because, it is SPECIFICALLY STATED in the VMWare Manual
that ALL USB DEVICES WILL BE UNPLUGGED AT THE START OF THE RECORDING AND REPLAY.

Meaning that they are VERY SPECIFICALLY saying that DONGLES and the data exchange between the
computer (through the USB ports) and the dongles, CANNOT be recorded at all.

Here, I will show you steps by which we can specifically BYPASS that, and can RECORD the dongle
exchanges as well !

There are MANY WEBSITES which detail as to how you can setup the computer and the VMWare
Workstation, so as to enable RECORDING and REPLAY.

I will therefore NOT go into those specifics again (You can please google for them or contact me).

REQUIREMENTS :

Please ensure that your hardware and software are supported.

Processor: P4, Core 2, Penryn (stepping B0+), Barcelona (stepping B3+) or better
Host OS: 32/64-bit Windows XP SP3, Windows Server 2003, Windows 7 (32 or 64
bit) . (Recommended: 64-bit Windows 7 I tested on this)
Guest OS: 32-bit Windows XP, Windows Server 2003, (Recommended: Windows
XP SP3 I tested on this)
VMware Workstation: Any version of VMWare Workstation 6.5 to version 7.1.6
(Recommended version 7.1.4 I tested and used this).
Get hold of another (Real, non-virtual) computer, with a network card, as you need to
create a LAN (or attach your main comp and this comp) to the LAN, later on. This
needs to be a separate computer for best results, and NOT (preferably) a VM running
on the same machine that you are trying the experiments on ! I will call this PC (B),
to differentiate with the other PC (A) that would have the VMWare Workstaion with
the VM runnning in it.

A few notes regarding the above:

- Your processor may or may not be supported. The best way is to try it out and see if it
indeed DOES .. In my studies, I tried this on many computers, and MOST systems
with Dual core or Quad core Intel are fine. The various criteria given by VMWare is
not very accurate , IMHO, as sometimes, certain quad core machines which were
supposed to be compatible, were NOT, during my testing
- Its SAFEST to use Win XP SP3 as the GUEST OS and Win 7 x64 as the HOST OS as
this is the config that I tested and found to be the best combination.
- I used VMWare Workstation v7.1.4 (download it from their site after free
registration and install on your system) and found that it works the best in terms of
compatibility etc. Version 7.1.6 is also OK but I havent tested it thoroughly
- Then READ the part in the manual (of VMWare Workstation) regarding the
REPLAY FEATURE and make the necessary EDITS as detailed in that section, in the
.vmx file.

USB Over Network Sharing Software :

Get hold of the following software (I tested with it and found it to be compatible and works
with the least configuration) :

Fabulatech USB over Network, here.

Its not free, so either you purchase it or make other arrangements ;) to get hold of it

This is needed, as we need it to share the dongle over ETHERNET later on.

The PRINCIPLE :

When recording, the USB PORTS are all disconnected, as per the manual and the vendor.

But if we share the dongle OVER ETHERNET, then the ethernet in the guest OS is NOT
DISCONNECTED and ALL the instructions and data-exchanged will record INSTRUCTION-BY-
INSTRUCTION !

Then we can simply replay it ! ;)

THE ACTUAL STEPS :

1. Install the VMWare Workstation v7.1.4 or v7.1.6 on a COMPATIBLE PC, as detailed above,
and configure it correctly, so that there is direct connection of the VM to the LAN.
2. Install the HOST OS, preferably Win XP SP3 and the Dongle drivers in the VM. Install
VMWare Tools in the GUEST OS. REPLAY will not work without the tools installed ! Create an
initial SNAPSHOT of the installed guest OS.
3. On the PC (B) : Simply install the dongle driver software (just to be on the safe side) . Install
the Fabulatech USB-Over-Network (or a program with a similar functionality), and configure
it as the SERVER, so that it would share the USB Port containing the dongle. Configure PORT-
FORWARDING for this computer , on your router , if required (please googleport-
forwarding if youre not sure).Attach the dongle to this PC and SHARE it.

4. On PC (A) : Install the CLIENT part of the FabulaTech USB-Over-Network in the VM (not in the
HOST ! ). Configure the VM so that the Fabulatech CLIENT can recognize the SHARED
dongle from PC(B). Once it is identified and seen as if its on a port on PC (A), you are good to
go .

NOW FOR THE GRAND FINALE :

Will it work or not ? THAT is the question

Simply, now, Go to the VM in PC (A), recheck that the dongle STILL continues to be identifed, and
then START the recording, by going to the VM tab and clicking on RECORD NOW (or something like
that ). Alternatively, just click on the RECORD icon above , in the VMWare Workstation, and then
start the DONGLED PROGRAM.

Once it starts running, simply switch off the recording after sometime.

Then REMOVE the dongle from PC(B) and then choose REPLAY on PC (A).

You will be surprised to see, that the DONGLED program again RUNS (!!!) even without the physical
or shared dongle !

USES OF THIS METHOD :

After a little modification and patching , it is possible to study the executions and data-
exchange of the dongle, INSTRUCTION-BY-INSTRUCTION (!!!!!) by replaying it.

This would mean ZERO RISK to the real dongle !

Its FOUR A.M in the morning as I write this, and I will (probably) continue this at a later date

Cheers

TechLord

CONCLUDES PART-1 OF TUTORIAL