Re:I found a bug in the .NET framework and fixed it by hand-...
by bmm6o on Friday August 01, 2014 @04:12PM
(#8122538)
Writing to the GAC is easy, but assemblies in the GAC are strongly-named. Actually replacing one without the private key would require forging a signature, which is what parent was probably referring to. You can give an assembly the same name, but if it's signed with a different key it gets a different strong name (and therefore goes in a slightly different directory).
So if you can modify the files in the GAC, you're already compromised at that point.