Groups | Blog | Home
all groups > dotnet security > may 2006 >

dotnet security : Dotfuscating Part of an Application


Robert W.
5/23/2006 11:12:02 PM
I wanted to use Dotfuscator before releasing my commercial application. I
tried dotfuscating the entire EXE but it failed with some cryptic error about
System.Drawing. I have no idea how to resolve that. So then I thought the
next best thing would be to dotfuscate the DLLs that are part of the
application. I ran it on one and it seemed to work fine. But when I copied
this DLL over top of the original one, the application would not run.

Is there something else one has to do to get an app to utilize a dotfuscated
DLL?

--
Robert W.
Vancouver, BC
www.mwtech.com
Nicole Calinoiu
5/24/2006 8:22:02 AM
[quoted text, click to view]

Would you be able to provide the full error details?


[quoted text, click to view]

If you're using the Dotfuscator Community Edition that ships with VStudio,
you'll need to obfuscate all assemblies together as a group. This will
enable Dotfuscator to adjust the code in dependent assemblies to match the
obscated type and member names. You must do this even if you aren't
obfuscating anything in the dependent assemblies.


[quoted text, click to view]

Robert W.
5/24/2006 8:49:02 AM
Nicole,

The error is as follows:

Encountered retargetable \'System.Drawing\' as at line 45, column 18.
Was expecting one of:
<HEXBYTE> ...
<SQSTRING> ...
<DSQSTRING> ...
<ID> ...
"retargetable" "retargetable" ...
"retargetable" <ID> ...
"retargetable" <HEXBYTE> ...
"retargetable" <SQSTRING> "." ...
"retargetable" <SQSTRING> "as" ...

Build Error.



If I'm getting this error with the Community Edition of the software, should
I expect anything different with a purchased version of it?

Can I ask you, do you think it's crazy to release commercial software that
is not obfuscated? I ask because this never seemed to be [as much of] a
problem with VB6 apps so I'm a little lost about what to do.

--
Robert W.
Vancouver, BC
www.mwtech.com



[quoted text, click to view]
Robert W.
5/24/2006 9:55:02 AM
Quick Update: I just downloaded a trial version of Spices.Obfuscator from
www.9rays.net I'm wondering if anyone has any experience with this
product?

My big concern about these Obfuscation products is whether they accomplish
anything of value. I've read several forum entries referring to one
deobfuscation product or another that *seems* able to completely defeat the
obfuscation technology.

I'd love to hear about any & all anecdotal evidence others have had.

--
Robert W.
Vancouver, BC
www.mwtech.com



[quoted text, click to view]
AddThis Social Bookmark Button