Strong Name hash verification and linkresource

From: Michel Gallant \(MVP\) (neutron@istar.ca)
Date: 02/28/03


From: "Michel Gallant \(MVP\)" <neutron@istar.ca>
Date: Fri, 28 Feb 2003 10:37:32 -0500


A strong named assembly performs hash verification of each component
of the assembly.
However, if I link a resource at compile time, not containing metadata (like an
image file) and strong name sign the assembly:
   csc /linkresource:myimage.gif ......
The assembly loader does NOT appear to verify the hash of that linked resource image.
Looking at the assembly with ildasm.exe shows that the image is part of the
manifest and its hash value is there.

However, if I change the image file, or hide it, the assembly loads and does
not cause an error.

(1) So, if a resource is linked into an assembly usine /linkres, is that resource
  considered to be part of the assembly?
(2) Does the security part of the assembly loader/resolver ever verify hash of
  these types of nonmetadata linked files?
(3) Does an assembly on verify hashes of components when those components
  are used, or does it verify ALL components at initial load time?

 - Mitch



Relevant Pages

  • Re: SEPPUCLU bugcheck introducing new cluster node
    ... and how it's used for resource lookup. ... the RSB are hashed to provide a 32-bit hash value (16 bits prior to ... The hash value is store is the RSB - resource block. ... The hash chain is searched sequentially and each RSB found is checked ...
    (comp.os.vms)
  • Possible Cause Of NTE_BAD_SIGNATURE?
    ... XP Pro system and being verified on a Windows XP embedded system. ... SHA1 hash of the entire hard drive contents minus the last sector, ... attempting to verify the hash against the signed hash in the last ...
    (microsoft.public.platformsdk.security)
  • Re: Signature verification with capicom
    ... > sign verify reverse the entire buffer. ... capicom says that the hashes don't match. ... > Iaik sends ... >>with capicom but the hash created from the original file. ...
    (microsoft.public.platformsdk.security)
  • Re: SEPPUCLU bugcheck introducing new cluster node
    ... lets first rule out the suspicion regarding LOCKIDTBL being too small. ... There was a known problem in V7.2-1 causing a LOCKMGRERR crash at ... OpenVMS takens to locate the resource after receiving the ... It uses the HASH value to locate the hash chain in the ...
    (comp.os.vms)
  • Re: hosts.deny vs iptables
    ... Hash: SHA1 ... Just wanted to verify about the wild cards. ... you'd want to edit the INPUT chain. ...
    (Fedora)