Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Visual Studio 2017 crashes after obfuscating DLL #653

Open
skjolddesign opened this issue Mar 11, 2018 · 4 comments
Open

Visual Studio 2017 crashes after obfuscating DLL #653

skjolddesign opened this issue Mar 11, 2018 · 4 comments

Comments

@skjolddesign
Copy link

Im trying to obfuscate a DLL project to be used in my other projects.
But Visual Studio crashes when referencing the obfuscated DLL.
This happens when i go higher than Preset Minimum on DLL obfuscation.
Tried to add Protection: "Remove-> anti debug", but still same problem.
Seen many people have this problem, but no real solution to it.
I need at least Normal protection, to obfuscate strings and clear code.
For time being Im using original source DLL while developing, and copy the obfuscated DLL to the Release folder when im done. This is dangerous if I forget to copy the obfuscated DLL to Release.
Please help.

log:
[INFO] ConfuserEx v1.0.0 Copyright (C) Ki 2014
[INFO] Running on Microsoft Windows NT 6.2.9200.0, .NET Framework v4.0.30319.42000, 64 bits
[DEBUG] Discovering plugins...
[INFO] Discovered 10 protections, 1 packers.
[DEBUG] Resolving component dependency...
[INFO] Loading input modules...
[INFO] Loading 'SkjoldDisplayTools.dll'...
[INFO] Initializing...
[DEBUG] Building pipeline...
[INFO] Resolving dependencies...
[DEBUG] Checking Strong Name...
[DEBUG] Creating global .cctors...
[DEBUG] Watermarking...
[DEBUG] Executing 'Name analysis' phase...
[DEBUG] Building VTables & identifier list...
[DEBUG] Analyzing...
[WARN] Could not find resource type 'SkjoldDisplayTools.Resources'.
[INFO] Processing module 'SkjoldDisplayTools.dll'...
[DEBUG] Executing 'Invalid metadata addition' phase...
[DEBUG] Executing 'Renaming' phase...
[DEBUG] Renaming...
[DEBUG] Executing 'Anti-debug injection' phase...
[DEBUG] Executing 'Anti-dump injection' phase...
[DEBUG] Executing 'Anti-ILDasm marking' phase...
[DEBUG] Executing 'Encoding reference proxies' phase...
[DEBUG] Executing 'Constant encryption helpers injection' phase...
[DEBUG] Executing 'Resource encryption helpers injection' phase...
[DEBUG] Executing 'Constants encoding' phase...
[DEBUG] Executing 'Anti-tamper helpers injection' phase...
[DEBUG] Executing 'Control flow mangling' phase...
[DEBUG] Executing 'Post-renaming' phase...
[DEBUG] Executing 'Anti-tamper metadata preparation' phase...
[DEBUG] Executing 'Packer info extraction' phase...
[INFO] Writing module 'SkjoldDisplayTools.dll'...
[DEBUG] Encrypting resources...
[INFO] Finalizing...
[DEBUG] Saving to 'C:\My Libraries\Documents\SDClass\bin\Release\Confused\SkjoldDisplayTools.dll'...
[DEBUG] Executing 'Export symbol map' phase...
[INFO] Done.
Finished at 20:59, 0:00 elapsed.

System:
Windows 10
Visual Studio Community 2017 v15.3.4
ConfuserEx v1.0.0

@Fafa87
Copy link

Fafa87 commented Apr 20, 2018

+1

@sgkoishi
Copy link

sgkoishi commented May 4, 2018

Try use Post Build Event to copy files as you build if you can not find what protection breaks.
https://msdn.microsoft.com/en-us/library/ke5z92ks.aspx

@damozaz
Copy link

damozaz commented May 31, 2018

Same problem for me

@skjolddesign
Copy link
Author

I went for Eazfuscator.NET

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants