![]() |
starforce 4.7 emulation detection tricks explained
sf uses atleast 2 checks to figure out if its real deal or mounted.
check 1 - device stack: basically, it checks if the topleveldeviceobjects of 2 devices are identically. are they identically, its a real dvdrom, arent they, its daemontools. why this works can be easily seen in tools like DeviceTree. the code goes like this: Code:
first it queries the toplevel deviceobject for the current drive:check 2 - DPC: starforce raises the IRQL to super high, then it queues a DPC. the DPC proc is pretty simple: it just writes 1 to some memoryaddr. then starforce starts an atapi read command. the trick is: the IRQL gets never lowered when its a real cdrom and without lowering the IRQL, the DPC gets never executed, so the 1 gets never written. but if daemontools was used, the IRQL drops sooner or later and the DPC gets executed, so the 1 gets written... |
Thats quite interesting, but do you know if Securom does the same thing to identify Daemon-tools?
|
no, securom doesn't use driver.
And for all listed operations driver is required. @niom: tnx for sharing this info. I really like DPC trick :) |
doubt it, securom doesnt go ring 0 anymore...
|
Sorry, I'm not fully into that reversing area (currently reading introductions into wriing drivers), but I thought Securom uses its SIntf.dll or CmdLineExt.dll and it is not possible to get as deep as it does without drivers.
But still I wonder how Securom gets its dirty job done. |
is it possible to get StarForce SDK?
|
souz :: YOu should buy SF to get SDK, or.. I dont know another way. Btw, v0ldemar posted one files from SF's SDK on this forum
|
Quote:
commandline context menu maybe for the 'launch analysis' ? sintf.dll is way old too if you wonder how it gets its job done, then start debugging and not making assumptions :) |
| All times are GMT +8. The time now is 20:17. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX