473,405 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Removing Assembly Metadata

i
Hi,

Is there a simple way to strip or otherwise disrupt/break the metadata
present in my .NET assembly? I understand there are $500 per
developer solutions out there that will change symbol names, obfuscate
control flow, encrypt string names, and so on. That's a bit more than
I'm looking for, though - I just want to find a way to prevent ildasm
from being able to parse through my programs. A hackish way would be
fine - ie, replacing several bytes in a hex editor or assembler. Any
ideas would be great.

Thanks!

Aug 20 '07 #1
3 1800
Is there a simple way to strip or otherwise disrupt/break the metadata
present in my .NET assembly?
Erm no - this pretty much *is* your app. You can obfuscate, but the de-
obfuscatorswill always be only a few steps behind the obfuscators.
I'm looking for, though - I just want to find a way to prevent ildasm
from being able to parse through my programs.
Well, you can make it hard to understand (in any language) without too
much bother; "dotfuscator community edition" would be the first place
to look.

Marc

Aug 20 '07 #2
i <ty****@gmail.comwrote:
Is there a simple way to strip or otherwise disrupt/break the metadata
present in my .NET assembly? I understand there are $500 per
developer solutions out there that will change symbol names, obfuscate
control flow, encrypt string names, and so on. That's a bit more than
I'm looking for, though - I just want to find a way to prevent ildasm
from being able to parse through my programs. A hackish way would be
fine - ie, replacing several bytes in a hex editor or assembler. Any
ideas would be great.
How do you expect the runtime to cope with your assembly if ILDASM
can't? They're loading from the same specification, effectively.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Aug 20 '07 #3
On Aug 20, 1:53 am, i <typ...@gmail.comwrote:
Many commercial protection solutions advertise that metadata can be
made unreadable - obviously not to the .NET runtime, but to the
average person curious enough to look in it with something like
ildasm. There is a way to do this beyond renaming my methods, seeing
as there is software available that I have used that does this
automatically...
Perhaps this will interest you:

http://www.softwarepotential.com/code-protection.html

Chris

Aug 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Andy Turner | last post by:
I've read a few articles on this and I still can't seem to get it set in my brain! What's the correlation between these two? Some articles seem to use the terms interchangeably! Cheers for any...
0
by: Nadav | last post by:
Hi, Introduction ******************** I am writing some kind pf an assembly linker, this linker should be able to work with an already compiled assembly, e.g. add several global methods, To...
3
by: Edward Diener | last post by:
I want to share a __nogc classes between different assemblies. For __gc classes, one only needs to declare the class public in order to be able to do this. Is there a way to share a __nogc class so...
0
by: Nadav | last post by:
Hi All, - I am working on a tool that manipulate managed assemblies, some of the functionality provided by the tool require manipulating the metadata sections of the managed assembly in a way it...
4
by: Barry Kelly | last post by:
I'm designing an application framework which will, amongst other things, live in an assembly hosted in the ASP.NET worker process, servicing webservice requests. Here's the scenario: APPFX is...
2
by: Brad | last post by:
I have one of those seemingly simple questions that evades/confuses me. I've created an assembly with bass classes (classes meant to be inherited in other assemblys). In a secondary assembly (my...
2
by: Tommy Wang | last post by:
During an interview, I was asked with question 'how do you add information to a .NET assembly as metadata' I really have no idea until now, could someone please help? thanks in advance
2
by: Tony Johansson | last post by:
Hello! Can somebody give some example for what kind of metadata in included in the assembly ? //Tony
3
by: cristalink | last post by:
Hi, I have a C++/CLI DLL which I marked with in a cpp file. Is there a standard tool from Microsoft that takes a .DLL file and displays all the .NET attributes of the assembly? Thanks, ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.