(The software is Chinese and contains malware. I do not know if I could upload it here, so temporarily, please let me describe it)
I am asked by a spa store to "do something" to make a software that looks like from 2003 for them to use, the name is "Ehang skin analysis system". The spa store gave me an usb key (a dongle usb), which they borrowed from another store, and they have to return it when they have a copy.
I could not find any information about the software on google. Plus, the usb key does not appear anywhere on the computer, from emulators to rufus, not even on Linux, so that I do not figure out how to clone it, or find out if it is sentinel
or HASP
. So the only way is to reverse it. I am using x64dbg.
The software uses VMProtect, I passed it by using Scyllahide.
But I am stuck at this step, below is when I did not insert the USB key
Play 4 times, please note that the pointer is at another line, 00478E56
to 00474E91
At the 6th play, a message appeared asks to insert USB key
I restarted it and insert the USB key, and at the 6th play this time, at the same line 0047A868
just like the very above, but this time the code turned into:
Click one more play and the software worked. Still at the same line 0047A868
I have tried dozen times, but before and after inserting the USB key, everything just "turned into" other codes, not that they jump from code A to code B, popfd
just turned into ret
without any step. I have tried with step into
and step over
and animate
. The pointer stand still at the same line but only the code is changed. So I do not know where to jump into the code that makes the software work.
So, how to make it turn into the working code without the USB key?
lsblk
, it should map the USB to a device file (not necessarily mount it), say it's/dev/sdb
, you now issue the dump commandsudo dd if=/dev/sdb of=USBdump.bin
and share with us in here theUSBdump.bin
file. Also, if it's possible to share as well the software (same version you are analyzing please)?sda
(the OS partition) when I usedlsblk
, orfdisk -l
. About the software, please download from this link. Please note that it contains virus/malware and is vmprotected, meaning before breaking the vmprotection, you cannot make it run directly on Virtual Machine or Sandbox. I am using Shadow Defender to run it.lsusb
?Driver.exe
file to know how the USB interacts with the computer first then go to the Software.