obfuscation

How do commercial obfuscators achieve to crash .net Reflector and ILDASM ?

Some commercial obfuscators claim they can crash ILDASM (and other similar tools such as Reflector) Any idea on how they achieve that? As stated in numerous threads here, someone with enough motivation/time/skill will always find a way to read your code (aka if it's runnable, it's decompilable), but it seems to me that most casual code...

Obfuscating source code when publishing (C#)

Hi, We are working on many products that are being published at our customers. But if you publish a C# application, all the dll's can be decompiled using reflector or some sort. I was wondering if there is an easy way to encrypt our dll's when publishing. This way we can publish our dll's without having to worry about our clients decom...

Is there a free/open-source JavaScript-to-JavaScript compacting compiler (like Google's)?

If you look at the source of Google pages with JavaScript, you'll find that the JavaScript is clearly not readable -- or maintainable. For example, all variables and functions are one-letter named (at least, the first 26 are...); there are no extraneous white-spaces or linebreaks; there are no comments; and so on. The benefits of this c...

net reactor & clickonce deployment

After building our VB.NET .exe it is then obfuscated using the 3rd-party .NET Reactor utility before the output of that is included within a VS2005 deployment project. Is there a way of replacing the .exe with the scrambled version prior to then publishing using click-once ? Has anyone managed to deploy with click once, a net reactor pr...

Protecting my code from reverse engineering

As discussed in similar questions here and here I want to protect my code from reverse engineering. My situation is as Simucal describes in his (excellent) answer here: Basically, what it comes down to is the only chance you have of being targeted for source theft is if you have some very specific, hard to engineer, algorit...

Issues and Advantages with obfuscation of Algorithms and Software versus Patenting?

There's been quite a few questions about Obfuscation and how to avoid Reverse Engineering, etc... that got me thinking about a few points: Why do people believe that they have some incredibly valuable algorithm. Even if an algorithm is awesome, a single algorithm doesn't make a program. The experience and Business model have more powe...

Encrypt and compress html-codes in iPhone app bundle, unpack on first start

My client wants to encrypt/compress the html-code for their medical books in the iPhone bundle, to protect their IP. Whats is a good way to prepare this file for the app bundle, and what complementary libraries (C, Obj-C) should I use to do the decryption and decompressing on the first launch of the app? Copying the file to ~/Documen...

How do you hide an encryption key in a .NET application?

I'm developing an intranet application (C#) that uses some data (local to the web server) that we'd like to keep private. This data is encrypted (AES) using a legacy data repository. We can't totally prevent physical access to the machine. Clearly, we're never going to have perfect security here. However, we want to make it as hard as p...

Securing a .NET Application

Duplicate: Protecting .NET Code from Reverse Engineering We've recently released a small application and this weekend I found a cracked version of it on Piratebay that had the registration checking removed, so the app ran as if it was a registered version. Apart from using a code obfuscation tool (which doesn't seem to be that har...

Is there a way to avoid having my obfuscated application looking like a virus

When I obfuscate my application the antivirus gives a virus alert for the obfuscated application. What can I do to avoid this? I am using Visual Studio 2008 and .NET Reactor 3.9.8.0 on Windows XP Professional. Windows and applications are up to date, and antivirus finds nothing when running a complete scan. EDIT: Avast Antivirus give...

Will wise owl obfuscate wpf projects properly?

We are moving from windows forms to wpf for the next version of the product I work on. We are using wise owl to do our obfuscation and I am wondering if anyone has had experience with this. ...

How to obfuscate an OSGi bundle with ProGuard?

Hi all! I am currently trying to obfuscate my Eclipse RCP application with ProGuard. The problem is that it obfuscates the package names (the class My.Package.Class turns into something like a.b.c), but keeps the package names in the Export-Package section of MANIFEST.MF. This leads to the fact that my application (which is a set of OSG...

Silverlight Code Obfuscation

I'm looking for recommendations of any free tools available for Silverlight code obfuscation. The professional version of obfuscator supports Silverlight, but the community edition of Obfuscator does not. Obfuscar from Google Code requires manual specification of every item that shouldn't be obfuscated, so every control and property re...

Can you Unit Test Obfuscated Code?

I am looking to obfuscate our Java web app code within our existing Ant build script, but am running into problems around unit testing. I am obfuscating the code right after it has been compiled, before it is jar-ed and before the unit tests are ran. However, if I obfuscate my production code and not my test code, all my tests fail b...

Tools that Obfuscate .NET Microsoft Office Add-in

I'm working on a team developing a .NET Microsoft Office Add-in. We're looking at obfuscation solutions to help protect our licensing procedures. We're primarily looking at tools like Dotfuscator Professional and smartassembly. My first question is whether anyone has experience using smartassembly with an Office add-ins? Dotfuscator ...

Using .Net OnSerializingAttribute to alter variable names?

Hi, in order to obfuscate application code but still be able to use serialization to save application data, I want to map the names of all serialized members to custom serialization names. I know that I can achieve this by implementing the ISerizableInterface, but in the MSDN they suggest the use of OnDeserializedAttribute, OnSerializin...

Good non-intrusive anti-spam email obfuscator?

I'm trying to come up with a JavaScript email obfuscator to reduce the chance for spam in emails listed on a web site. Right now I've got a JavaScript based obfuscator that uses a combination of HTML encoding & JavaScript to convert an obfuscated email into a normal email transparently. What I do is this: Format the "mailto:" part of ...

A better way to replace many strings - obfuscation in C#

I'm trying to obfuscate a large amount of data. I've created a list of words (tokens) which I want to replace and I am replacing the words one by one using the StringBuilder class, like so: var sb = new StringBuilder(one_MB_string); foreach(var token in tokens) { sb.Replace(token, "new string"); } It's pretty slow! Are there an...

Three arguments to main, and other obfuscating tricks.

The following obfuscated C code prints the words to the "12 days of Xmas". I was trying to puzzle out how it works. I'm basically completely lost. What is the significance of the three untyped arguments to main in the initial call, the series of characters after the first return, the negative numeric arguments to the calls to main? Eek...

.Net Obfuscator

Hello, Is there a .NET obfuscation tool present for Linux? Or is there a class which can provide me a functionality of writing a obfuscation tool for byte code? ...