Hi Ashish,
We envelop and use the API's to protect our application.
The ROP problem appears when using the API (checking the license), once 'hasp_windows_96490.dll' is loaded, the application is closed.
ROP exploit prevention is a antivirus technology that is included in every modern antivirus package, it is also available as part of the michrosoft EMET 5.5 for windows 7 (but is also a problem in windows 10 and a antivirus program including the ROP).
To reproduce the problem, start with windows 7 SP1 x64 including all updates.
Install emet 5.5: https://www.microsoft.com/en-us/download/details.aspx?id=50766
Enable "ROP caller check" for the protected application that is calling functions from 'hasp_windows_xxxx.dll'
ROP exploit prevention is a antivirus technology that is included in every modern antivirus package, it is also available as part of the michrosoft EMET 5.5 for windows 7 (but is also a problem in windows 10 and a antivirus program including the ROP).
To reproduce the problem, start with windows 7 SP1 x64 including all updates.
Install emet 5.5: https://www.microsoft.com/en-us/download/details.aspx?id=50766
Enable "ROP caller check" for the protected application that is calling functions from 'hasp_windows_xxxx.dll'
The slow loading is a problem with the envelop (not the API) in combination with core isolation.
The core isolation in windows 10 is something new and available in W10 build 1803.
The core isolation in windows 10 is something new and available in W10 build 1803.
Our released software version uses;
Run-time Installer 7.81.80610.1
Sentinel License Manager 21.1.1.80248
hasp_rt.exe 18.0.1.56022 (also tested with 21.1.1.80248)
hasp_windows_vendorid.dll 7.4.1.56018
hasp_net_windows.dll 7.4.1.55825
haspnert.dll 4.20.55155.0
haspvlib_vendorId.dll 2.36.1.53591
Run-time Installer 7.81.80610.1
Sentinel License Manager 21.1.1.80248
hasp_rt.exe 18.0.1.56022 (also tested with 21.1.1.80248)
hasp_windows_vendorid.dll 7.4.1.56018
hasp_net_windows.dll 7.4.1.55825
haspnert.dll 4.20.55155.0
haspvlib_vendorId.dll 2.36.1.53591
But I tested it now with an updated HASP version (with the same problems);
Run-time Installer 7.81.80610.1
hasp_rt.exe 21.0.1.17827.6 / 7.8
hasp_windows_vendorid.dll 8.81.20251.6
hasp_net_windows.dll 7.8.17911.6
haspnert.dll 7.8.18344
haspvlib_vendorId.dll 7.80.18210.6
Run-time Installer 7.81.80610.1
hasp_rt.exe 21.0.1.17827.6 / 7.8
hasp_windows_vendorid.dll 8.81.20251.6
hasp_net_windows.dll 7.8.17911.6
haspnert.dll 7.8.18344
haspvlib_vendorId.dll 7.80.18210.6
Kind regards,
Jonas
Jonas