Re: Verifying a Signed Executable before running it on a remote machine.

From: Michel Gallant (neutron_at_istar.ca)
Date: 05/08/04


Date: Sat, 8 May 2004 10:06:27 -0400


"Johnny Sandaire" <webzest@comcast.net> wrote in message
news:15baeecf.0405080507.514c314e@posting.google.com...
> Mitch,

--- snip ----
> Here then are my questions: Is there a way to verify the actual root
> CA?
> For Example, if Microsoft were to be its own Root CA and issued
> Certificates to its developers to sign their local code, how would
> Microsoft verify if an EXE came from within and allow the executable
> to run locally?

To ensure you trust the issuer, right up to the Root CA cert (which should
have been securely installed, either by Microsoft root update process, or
if you installed a root CA yourself, by checking the hash of that root CA by
out-of-band process (calling the root CA owner who you trust over the phone etc..).

CAPI of course supports getting the entire issuance trust ladder:
  CertGetCertificateChain()
but CAPICOM makes this much easier via oCertificate.Verify() which has many verify status flags.

If there is only one issuer, you can simply look at cert issuer IssuerName, search in
your Root cert store, get the matching certs(S), use their public key(s) to verify the signature
on the cert embedded in your Authenticode signature, and then you determine if that was
the REAL issuer (based on cert-signature properly checking out).

- Mitch



Relevant Pages

  • Re: certificates for signing documents
    ... but won't verify with is own cert because its root CA ... a public key certificate from a client certificate using makecert ...
    (microsoft.public.platformsdk.security)
  • Re: Verifying a Signed Executable before running it on a remote machine.
    ... >> Microsoft verify if an EXE came from within and allow the executable ... > To ensure you trust the issuer, right up to the Root CA cert (which should ...
    (microsoft.public.platformsdk.security)
  • Re: chmod, chown and user, group
    ... > error message if he tries. ... If it is just about showing something to the user, ... I'd suggest you verify only two things. ... In case the program is being run as root, ...
    (comp.os.linux.development.apps)
  • Re: File Permission/Group Does Not Stick
    ... Hank Kingwood wrote: ... > I'm running Fedora Core 1 and I issued the following as root: ... > I verify that the changes took, reboot, but the file reverted to its ...
    (comp.os.linux.setup)
  • Re: File Permission/Group Does Not Stick
    ... Hank Kingwood wrote: ... > I'm running Fedora Core 1 and I issued the following as root: ... > I verify that the changes took, reboot, but the file reverted to its ...
    (comp.os.linux.misc)