none
C/C++ DLL Obfuscator RRS feed

  • Question

  • Could someone tell me as which Obfuscator tool to use for DLL/Exe generated by VC++ C/C++ code.

    Tuesday, May 26, 2009 9:26 AM

Answers

All replies

  • C++ is already quite capable of obfuscation.  There are no tools available to recover source code from VC++ compiled programs.

    Hans Passant.
    Tuesday, May 26, 2009 9:53 AM
    Moderator
  • thanks. but i was reported that the DLLs of our application contain some content information and need to be obfuscated. I read about Obfuscator professional but not sure if we could use it for C/C++ mixed code and also is there any trial version to check it
    Tuesday, May 26, 2009 10:15 AM
  • > "There are no tools available to recover source code from VC++ compiled programs"

    Eh?  There's quite a few disassemblers and decompilers available, at varying degrees of accuracy.   
    Michael Asher
    Tuesday, May 26, 2009 11:55 AM
  • There are no tools available to recover source code from VC++ compiled programs.

    Hans Passant.
    Actually it's not as good as reflector and you'll never recompile the code again but hex-rays gives a pretty good idea what a snippet of code is doing.
    Tuesday, May 26, 2009 1:15 PM
  • Here's a list of obfuscators and another on MSDN for managed code. You can use them also for managed C++ (if that's what you meant by VC++ C/C++ code).

    -Karel
    Tuesday, May 26, 2009 7:07 PM
    Moderator
  • I tried DotFuscator Professional for the VC++ compiled code. But it throws error

    "Invalid Assembly- This is not a managed module"

    Any idea how to fix this issue?

    Wednesday, May 27, 2009 11:38 AM
  • DotFuscator, as any .NET obfuscator, only works on managed assemblies.  Exactly what kind of "content information" is being exposed by your DLL?

    Hans Passant.
    Wednesday, May 27, 2009 12:12 PM
    Moderator
  • Basically DLL contains some of the Java class file paths and Global data. We would like to hide both.
    Thursday, June 4, 2009 7:49 AM
  • You cannot hide file paths.  It will take less than 5 minutes with SysInternals' ProcMon.exe utility.

    Hans Passant.
    Thursday, June 4, 2009 9:49 AM
    Moderator
  • Within the static data in the DLL, you certainly can hide file paths and any other  human readable strings.   Obviously, obfuscation isn't a foolproof method (what is?) but it does make the process a little more difficult.
    Michael Asher
    Thursday, June 4, 2009 3:03 PM