473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

secure .net applications against disassembly

I´m planning to write a windows application using the .net framework. is
there any way to secure the application so the user can´t easily disassemble
and manipulate the application?


Jul 21 '05 #1
9 3048
Hi,

Use an obfuscator like dotfuscator comuntity edition which comes
with visual studio 2003.

Ken
--------------
"Achim Kühn" <a.*****@e-llusions.de> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
I´m planning to write a windows application using the .net framework. is
there any way to secure the application so the user can´t easily disassemble and manipulate the application?

Jul 21 '05 #2
You need to use obfuscation. In VS.NET 2003 the Obfuscator Community edition
is available (seen link at then end of this message too).

Obfuscation is the technology of shrouding the facts. It's not encryption,
but in the context of .NET (or java) code, it might be better. Early in Java
's life, several companies produced encrypting class loaders to fully
encrypt java classes. Decryption was done Just-in-time prior to execution.
Although this made classes completely unreadable, this methodology suffered
from a classic encryption flaw, it needed to keep the decryption-key with
the encrypted data. Therefore, an automated utility could be created to
decrypt the code and put it out to disk. Once that happens the fully
unencrypted, unobfuscated code is in plain view.
As another comparison, we could compare encryption to locking a six item
meal into a lockbox. Only the intended diner (i.e. the CLR) has the key and
we don't want anyone else to know what he or she is going to eat.
Unfortunately, if someone can pick the lock (or find the key hidden on the
bottom of the box), the food is in plain view. Obfuscation works more like
putting the six item meal into a blender and sending it to the diner in a
baggie. Sure everyone can see the food in transit, but besides a lucky pea
or some beef-colored goop, they don't know what the original meal is. The
diner still gets the intended delivery and the meal still provides the same
nutritional value as it did before (luckily, CLRs aren't picky about taste).
The trick of an obfuscator is to confuse observers, while still giving CLRs
the same delivery.
SOURCE:
http://www.preemptive.com/dotfuscato...scator_ce.html

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Achim Kühn" <a.*****@e-llusions.de> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
I´m planning to write a windows application using the .net framework. is
there any way to secure the application so the user can´t easily disassemble and manipulate the application?

Jul 21 '05 #3
You need to use obfuscation. In VS.NET 2003 the Obfuscator Community edition
is available (seen link at then end of this message too).

Obfuscation is the technology of shrouding the facts. It's not encryption,
but in the context of .NET (or java) code, it might be better. Early in Java
's life, several companies produced encrypting class loaders to fully
encrypt java classes. Decryption was done Just-in-time prior to execution.
Although this made classes completely unreadable, this methodology suffered
from a classic encryption flaw, it needed to keep the decryption-key with
the encrypted data. Therefore, an automated utility could be created to
decrypt the code and put it out to disk. Once that happens the fully
unencrypted, unobfuscated code is in plain view.
As another comparison, we could compare encryption to locking a six item
meal into a lockbox. Only the intended diner (i.e. the CLR) has the key and
we don't want anyone else to know what he or she is going to eat.
Unfortunately, if someone can pick the lock (or find the key hidden on the
bottom of the box), the food is in plain view. Obfuscation works more like
putting the six item meal into a blender and sending it to the diner in a
baggie. Sure everyone can see the food in transit, but besides a lucky pea
or some beef-colored goop, they don't know what the original meal is. The
diner still gets the intended delivery and the meal still provides the same
nutritional value as it did before (luckily, CLRs aren't picky about taste).
The trick of an obfuscator is to confuse observers, while still giving CLRs
the same delivery.
SOURCE:
http://www.preemptive.com/dotfuscato...scator_ce.html

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Achim Kühn" <a.*****@e-llusions.de> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
I´m planning to write a windows application using the .net framework. is
there any way to secure the application so the user can´t easily disassemble and manipulate the application?

Jul 21 '05 #4
Please eat breakfast prior to posting ;)
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You need to use obfuscation. In VS.NET 2003 the Obfuscator Community edition is available (seen link at then end of this message too).

Obfuscation is the technology of shrouding the facts. It's not encryption,
but in the context of .NET (or java) code, it might be better. Early in Java 's life, several companies produced encrypting class loaders to fully
encrypt java classes. Decryption was done Just-in-time prior to execution.
Although this made classes completely unreadable, this methodology suffered from a classic encryption flaw, it needed to keep the decryption-key with
the encrypted data. Therefore, an automated utility could be created to
decrypt the code and put it out to disk. Once that happens the fully
unencrypted, unobfuscated code is in plain view.
As another comparison, we could compare encryption to locking a six item
meal into a lockbox. Only the intended diner (i.e. the CLR) has the key and we don't want anyone else to know what he or she is going to eat.
Unfortunately, if someone can pick the lock (or find the key hidden on the
bottom of the box), the food is in plain view. Obfuscation works more like
putting the six item meal into a blender and sending it to the diner in a
baggie. Sure everyone can see the food in transit, but besides a lucky pea
or some beef-colored goop, they don't know what the original meal is. The
diner still gets the intended delivery and the meal still provides the same nutritional value as it did before (luckily, CLRs aren't picky about taste). The trick of an obfuscator is to confuse observers, while still giving CLRs the same delivery.
SOURCE:
http://www.preemptive.com/dotfuscato...scator_ce.html

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Achim Kühn" <a.*****@e-llusions.de> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
I´m planning to write a windows application using the .net framework. is
there any way to secure the application so the user can´t easily

disassemble
and manipulate the application?


Jul 21 '05 #5
Please eat breakfast prior to posting ;)
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You need to use obfuscation. In VS.NET 2003 the Obfuscator Community edition is available (seen link at then end of this message too).

Obfuscation is the technology of shrouding the facts. It's not encryption,
but in the context of .NET (or java) code, it might be better. Early in Java 's life, several companies produced encrypting class loaders to fully
encrypt java classes. Decryption was done Just-in-time prior to execution.
Although this made classes completely unreadable, this methodology suffered from a classic encryption flaw, it needed to keep the decryption-key with
the encrypted data. Therefore, an automated utility could be created to
decrypt the code and put it out to disk. Once that happens the fully
unencrypted, unobfuscated code is in plain view.
As another comparison, we could compare encryption to locking a six item
meal into a lockbox. Only the intended diner (i.e. the CLR) has the key and we don't want anyone else to know what he or she is going to eat.
Unfortunately, if someone can pick the lock (or find the key hidden on the
bottom of the box), the food is in plain view. Obfuscation works more like
putting the six item meal into a blender and sending it to the diner in a
baggie. Sure everyone can see the food in transit, but besides a lucky pea
or some beef-colored goop, they don't know what the original meal is. The
diner still gets the intended delivery and the meal still provides the same nutritional value as it did before (luckily, CLRs aren't picky about taste). The trick of an obfuscator is to confuse observers, while still giving CLRs the same delivery.
SOURCE:
http://www.preemptive.com/dotfuscato...scator_ce.html

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Achim Kühn" <a.*****@e-llusions.de> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
I´m planning to write a windows application using the .net framework. is
there any way to secure the application so the user can´t easily

disassemble
and manipulate the application?


Jul 21 '05 #6
?

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Bryan Martin" <sp**@ahwayside.com> schreef in bericht
news:eN**************@TK2MSFTNGP11.phx.gbl...
Please eat breakfast prior to posting ;)
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You need to use obfuscation. In VS.NET 2003 the Obfuscator Community

edition
is available (seen link at then end of this message too).

Obfuscation is the technology of shrouding the facts. It's not encryption, but in the context of .NET (or java) code, it might be better. Early in

Java
's life, several companies produced encrypting class loaders to fully
encrypt java classes. Decryption was done Just-in-time prior to execution. Although this made classes completely unreadable, this methodology

suffered
from a classic encryption flaw, it needed to keep the decryption-key with the encrypted data. Therefore, an automated utility could be created to
decrypt the code and put it out to disk. Once that happens the fully
unencrypted, unobfuscated code is in plain view.
As another comparison, we could compare encryption to locking a six item
meal into a lockbox. Only the intended diner (i.e. the CLR) has the key

and
we don't want anyone else to know what he or she is going to eat.
Unfortunately, if someone can pick the lock (or find the key hidden on the bottom of the box), the food is in plain view. Obfuscation works more like putting the six item meal into a blender and sending it to the diner in a baggie. Sure everyone can see the food in transit, but besides a lucky pea or some beef-colored goop, they don't know what the original meal is. The diner still gets the intended delivery and the meal still provides the

same
nutritional value as it did before (luckily, CLRs aren't picky about

taste).
The trick of an obfuscator is to confuse observers, while still giving

CLRs
the same delivery.
SOURCE:
http://www.preemptive.com/dotfuscato...scator_ce.html

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Achim Kühn" <a.*****@e-llusions.de> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
I´m planning to write a windows application using the .net framework. is there any way to secure the application so the user can´t easily

disassemble
and manipulate the application?



Jul 21 '05 #7
?

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Bryan Martin" <sp**@ahwayside.com> schreef in bericht
news:eN**************@TK2MSFTNGP11.phx.gbl...
Please eat breakfast prior to posting ;)
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You need to use obfuscation. In VS.NET 2003 the Obfuscator Community

edition
is available (seen link at then end of this message too).

Obfuscation is the technology of shrouding the facts. It's not encryption, but in the context of .NET (or java) code, it might be better. Early in

Java
's life, several companies produced encrypting class loaders to fully
encrypt java classes. Decryption was done Just-in-time prior to execution. Although this made classes completely unreadable, this methodology

suffered
from a classic encryption flaw, it needed to keep the decryption-key with the encrypted data. Therefore, an automated utility could be created to
decrypt the code and put it out to disk. Once that happens the fully
unencrypted, unobfuscated code is in plain view.
As another comparison, we could compare encryption to locking a six item
meal into a lockbox. Only the intended diner (i.e. the CLR) has the key

and
we don't want anyone else to know what he or she is going to eat.
Unfortunately, if someone can pick the lock (or find the key hidden on the bottom of the box), the food is in plain view. Obfuscation works more like putting the six item meal into a blender and sending it to the diner in a baggie. Sure everyone can see the food in transit, but besides a lucky pea or some beef-colored goop, they don't know what the original meal is. The diner still gets the intended delivery and the meal still provides the

same
nutritional value as it did before (luckily, CLRs aren't picky about

taste).
The trick of an obfuscator is to confuse observers, while still giving

CLRs
the same delivery.
SOURCE:
http://www.preemptive.com/dotfuscato...scator_ce.html

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Achim Kühn" <a.*****@e-llusions.de> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
I´m planning to write a windows application using the .net framework. is there any way to secure the application so the user can´t easily

disassemble
and manipulate the application?



Jul 21 '05 #8
Another option is salamander .net protector, seems to
modify MSIL code instead of simple obfuscation.

http://www.remotesoft.com/salamander/protector.html
-----Original Message-----
I´m planning to write a windows application using the .net framework. isthere any way to secure the application so the user can´t easily disassembleand manipulate the application?


.

Jul 21 '05 #9
Another option is salamander .net protector, seems to
modify MSIL code instead of simple obfuscation.

http://www.remotesoft.com/salamander/protector.html
-----Original Message-----
I´m planning to write a windows application using the .net framework. isthere any way to secure the application so the user can´t easily disassembleand manipulate the application?


.

Jul 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Achim Kühn | last post by:
I´m planning to write a windows application using the .net framework. is there any way to secure the application so the user can´t easily disassemble and manipulate the application?
20
by: Don Wash | last post by:
Hi Everyone! I'm new to .NET but I'm a experienced VB programmer (since VB 4) and wanting to move to VB.NET from VB 6. But as I read about .NET, I came across that compiled VB.NET code is...
2
by: kjon | last post by:
When I try to run any project, sometimes I will encounter this tab window in the IDE which has the following message: "Disassembly cannot be displayed in run mode". I mean it'll show sometimes,...
4
by: Matthew | last post by:
I had an error in a program I was working on. A dialog box came up saying "do you want to view Disassembly?" I clicked OK just for the fun of it, and now every time I run the program it opens a...
5
by: Joe | last post by:
I have an application which runs in a non-secure environment. I also have an application that runs in a secure environment (both on the same machine). Is there any way to share the session data for...
2
by: cj | last post by:
Recently for no apparent reason VB 2003 has been opening a Disassembly tab along with Form1.Vb, Start Page, etc. The Disassembly tab has in it Address and a text box followed by (Enter an address...
14
by: Usman | last post by:
Hi I'm working on an application that contains classes for licensing, authentication etc, including all the algorithms of encryption/decryption etc. I wanted to secure this code, but after...
1
by: Nathan Mates | last post by:
I'm using VS.NET 2005SP1 (C++ Express, though I've also seen this on 2005 Standard SP1). One bit of behavior that's been bugging me a lot, and seems to have gotten worse with SP1, is that if it...
11
by: Herhor | last post by:
Hello! I have already started C++ programming with VC++ 2005 Express Edition. Unfortunately during debugging one of my first programs I had to unintentionally enable some debugger configuration...
5
by: =?Utf-8?B?TWljaGVsQFZvb3JidXJn?= | last post by:
Hi all, i've built a C# dll / component with some wonderful services to the clients Payroll service. As you might guess, i only want MY pogram to use this DLL. If some developer get's hold of a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.