Re: Protecting assemblies from being used outside a company/group/team

From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 02/02/05

  • Next message: Shawn Farkas [MS]: "Re: Hacking Windows Security Principal"
    Date: Wed, 2 Feb 2005 17:58:24 -0500
    
    

    > Unfortunately, it will be possible for code with adequate CAS permissions
    to
    > spoof this at runtime without decompiling your code if you use the .NET
    > framework methods for reading the strong name from the assembly. (This is
    > also one of the mechanisms used to spoof a StrongNameIdentityPermission
    > verification, so it's not exactly obscure.)

    Thanks Nicole. Not sure I follow that completely. How does reading the
    strong name from the assembly help?

    > In addition, since your
    > obfuscated code will be calling into unobfuscated framework or CLR code,
    it
    > would be trivial to find the verification method in your assembly's IL, so
    > reverse engineering won't be nearly as difficult as you might hope.

    You could find the logic points, but to create a "cracked" assembly and
    distribute you still need to make a change to the code and round trip the
    IL, which you can't do currently when using some obfuscators. Unless maybe
    I am not understanding this point (which is likely.) TIA

    -- 
    William Stacey, MVP
    http://mvp.support.microsoft.com
    

  • Next message: Shawn Farkas [MS]: "Re: Hacking Windows Security Principal"

    Relevant Pages

    • Re: Free Energy
      ... engineer I fully understand your scepticism as my first thoughts were similar to yours. ... I really thought it was a spoof. ... But reading through some of the feed back it just makes you wonder whether or not there is something in it. ...
      (sci.energy.hydrogen)
    • Re: Great Catch in Womens Division Finals Game
      ... wasn't clear to the majority of us reading it that it was even intended ... to be funny. ... It was clearly a spoof of the other thread. ...
      (rec.sport.disc)