Re: Secure DLL
From: Barry Margolin (barry.margolin@level3.com)
Date: 02/18/03
- Next message: AccountTech: "ODBC and Timberline software"
- Previous message: Rob Slade, doting grandpa of Ryan and Trevor: "REVIEW: "Security+ Study Guide and DVD Training System", Michael Cross et al"
- In reply to: jacques wisson: "Secure DLL"
- Next in thread: Jim Grimmett: "Re: Secure DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Barry Margolin <barry.margolin@level3.com> Date: Tue, 18 Feb 2003 16:24:47 GMT
In article <b2tjus$dfj$1@newshost.mot.com>,
jacques wisson <rc089c@motorola.com> wrote:
>I am developping applications for Windows.
>Does somebody know a secure solution to ensure that the DLL an application
>is talking to hasn't been replaced with a fake one?
>
>I am thinking about implementing a "handshaking" procedure. With this
>method, the application sends a "challenge" message to the DLL. The DLL
>responds with a value calculated using a one-way hash function. The
>application checks the response against its own calculation of the expected
>hash value. If the values match, the authentication is acknowledged;
>otherwise the application is terminated.
If other people are going to be able to use this DLL, then you'll need to
publish the hash function so that they can perform the same check. In that
case, someone implementing a fake DLL would be able to implement the hash.
>Do you know other/better solutions?
I think there was a thread on this same topic sometime last year, so check
the Google archives. IIRC, the concensus was that this is an extremely
difficult problem. E.g. someone who can replace the DLL could also patch
the application so that it skips over the check.
-- Barry Margolin, barry.margolin@level3.com Genuity Managed Services, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: AccountTech: "ODBC and Timberline software"
- Previous message: Rob Slade, doting grandpa of Ryan and Trevor: "REVIEW: "Security+ Study Guide and DVD Training System", Michael Cross et al"
- In reply to: jacques wisson: "Secure DLL"
- Next in thread: Jim Grimmett: "Re: Secure DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|