02.04.2013 Views

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7 – Implementing Secure Licensing<br />

Contents Glossary Index Troubleshooting<br />

Implement Query-Response Protection<br />

172 <strong>Sentinel</strong> <strong>Hardware</strong> <strong>Keys</strong> Developer’s <strong>Guide</strong><br />

<br />

The AES algorithm-based query/response protection is the primary method<br />

of securing an application. Simply storing data in the key memory is relatively<br />

easier to mimic because once the hacker knows what the memory<br />

should contain, they can modify the application to return those values<br />

instead of actually reading them from the <strong>Sentinel</strong> Key.<br />

Query-response protection is a challenge-response like technique driven by<br />

the AES algorithm programmed in the <strong>Sentinel</strong> Key. The application sends a<br />

query to the <strong>Sentinel</strong> Key, which sends a response calculated using the AES<br />

algorithm, for evaluation. If the response obtained matches the expected<br />

response, the key is assumed to be present and application is allowed to run.<br />

Using the SFNTQueryFeature API on an AES feature programmed into the<br />

<strong>Sentinel</strong> Key allows your application to issue a nearly infinite amount of<br />

unique challenges. This mechanism becomes the backbone of your protection<br />

strategy since it is extremely difficult to duplicate the correct responses.<br />

You can implement this protection by adding an AES feature to your template<br />

and then using the SFNTQueryFeature API to challenge the algorithm<br />

stored in the license.<br />

However, just using the API once in your application is not enough; there<br />

are many other tips, like given below, you should endeavor to employ.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!