473,385 Members | 1,564 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,385 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 3044
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.