Home - Forums-.NET - Spices.Net - Spices.Net Obfuscator: Effect on my vb.net DLL for asp.net

Spices.Net

NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

Spices.Net Obfuscator: Effect on my vb.net DLL for asp.net
Link Posted: 27-Apr-2010 17:06
HI,

I have a small vb.net DLL in my asp.net project that I wish to secure or hinder hackers as much as possible.

Say the DLL code class looks like this

**********************
DLL NAME : MyCode.dll

Option Strict On
Option Explicit On

Imports Microsoft.VisualBasic

Public Structure MyStructure
    Public Cross As Double
    Public SRLineStart As Double
End Structure


Public Class MyCustom
    Private Shared Function Calc_Special(ByVal Data() As Double,   Optional ByVal CountFirst As Integer = 0) As Double()
        If CountFirst > 0 Then
            Dim n As Integer = 0
            Dim m As Integer = Data.GetUpperBound(0)
            If CountFirst < m Then
                For k As Integer = 0 To CountFirst
                    n += 1
                    If n <= CountFirst Then
                        Data(k) = 1.5468
                    Else
                        Exit For
                    End If
                Next
            End If
        End If
        Return Data
    End Function
end class
**********************

Questions
1) I use this DLL in my asp.net project like:
MyCode.Custom.Calc_Special
MyCode.MyStructure

Question: How does that change after spices Obfuscation ? How do the bold and underline names work in main project on reference?

2) Can the DLL be reversed engineered or cracked by third parties ? How secure is the Obfuscation process???

3) I assume I can do this, that is Obfuscate a DLL within my asp.net project rather than Obfuscate the whole project itself.

Please advise on all three issues...
Thanks
Link Posted: 27-Apr-2010 17:32
1) I use this DLL in my asp.net project like:
MyCode.Custom.Calc_Special
MyCode.MyStructure

Question: How does that change after spices Obfuscation ? How do the bold and underline names work in main project on reference?


It depends on obfuscation settings. If you'll use default obfuscation settings, MyStructure, MyCustom names won't be changed, Cals_Special will be obfuscated. If you will obfuscated mentioned vb.net dll with asp.Net code together - references to obfuscated MyCustom.Calc_Special will be automatically obfuscated (cross-obfuscated).

2) Can the DLL be reversed engineered or cracked by third parties ? How secure is the Obfuscation process???


The first that you should understand - your assembly is still accessible for reverse engineering. But obfuscator make your assembly hard to reverse engineering or crackers, to make results of reverse engineering meaningless and useless.

3) I assume I can do this, that is Obfuscate a DLL within my asp.net project rather than Obfuscate the whole project itself.

That's better if you protect the whole project, in that case you can increase level of protection and obfuscate even public members of your vb.net assembly.
Link Posted: 27-Apr-2010 18:16
Thanks

Whats the difference between the console and not console version of the spices obfuscator. Apart from a few $$???
Link Posted: 27-Apr-2010 18:23
  1. Convenience in assemblies and projects management.
  2. Additional tools for analysis - stack deobfuscation/analysis, assemblies browsing, obfuscation quality analysis and so on.
  3. Command line isn't no so convenient to manage obfuscation options, resolve unresolved assemblies.
  4. Spices.Obfuscator GUI includes Console version.


But both of Spices.Obfuscator' implementations (GUI and Console) use the same obfuscation engine, so obufscation quality and protection level they provided - the same.