473,834 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How easy managed codes be reversed engineered?

Hi,

I am really new in .net and pocket PC development.

My background are purely C/C++/VC++. Have developed on Mobile Java for a
year and felt completely insecure with it because all codes can easily
uncompiled.

And it is why I am trying on .net for smartphone and PocketPC devices.

I am just curious on how easy .net managed codes can be reversed engineered?
As easy as Java? Or as hard as binary C?

Thanks for reading.
Jul 22 '05 #1
19 1532
On Thu, 14 Jul 2005 04:28:01 +0800, Canon EOS wrote:
Hi,

I am really new in .net and pocket PC development.

My background are purely C/C++/VC++. Have developed on Mobile Java for a
year and felt completely insecure with it because all codes can easily
uncompiled.

And it is why I am trying on .net for smartphone and PocketPC devices.

I am just curious on how easy .net managed codes can be reversed engineered?
As easy as Java? Or as hard as binary C?


As easy as Java. See Lutz Roeder's free .NET Reflector:

http://www.aisto.com/roeder/dotnet
Jul 22 '05 #2
Thanks for the links. I just downloaded and try it...

It is still not that bad, right? I cannot view anything that is "private".

So .net managed codes are far safer than Java, right?

Anyone?

"Ross Presser" <rp******@NOSPA Mgmail.com.inva lid> wrote in message
news:1k******** *************** ******@40tude.n et...
On Thu, 14 Jul 2005 04:28:01 +0800, Canon EOS wrote:
Hi,

I am really new in .net and pocket PC development.

My background are purely C/C++/VC++. Have developed on Mobile Java for a
year and felt completely insecure with it because all codes can easily
uncompiled.

And it is why I am trying on .net for smartphone and PocketPC devices.

I am just curious on how easy .net managed codes can be reversed
engineered?
As easy as Java? Or as hard as binary C?


As easy as Java. See Lutz Roeder's free .NET Reflector:

http://www.aisto.com/roeder/dotnet

Jul 22 '05 #3
Canon EOS <no****@nospam. org> wrote:
Thanks for the links. I just downloaded and try it...

It is still not that bad, right? I cannot view anything that is "private".
Yes you can. What did you try?
So .net managed codes are far safer than Java, right?


No, it's basically the same as Java.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 22 '05 #4
Do you mean all codes can be reversed compiled even it is "private"?

How? Using the same problem, Reflector?

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
Canon EOS <no****@nospam. org> wrote:
Thanks for the links. I just downloaded and try it...

It is still not that bad, right? I cannot view anything that is
"private".


Yes you can. What did you try?
So .net managed codes are far safer than Java, right?


No, it's basically the same as Java.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Jul 22 '05 #5
Sorry.. I was asking if using the same program (not problem), Reflector?

"Canon EOS" <no****@nospam. org> wrote in message
news:u3******** ********@TK2MSF TNGP12.phx.gbl. ..
Do you mean all codes can be reversed compiled even it is "private"?

How? Using the same problem, Reflector?

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
Canon EOS <no****@nospam. org> wrote:
Thanks for the links. I just downloaded and try it...

It is still not that bad, right? I cannot view anything that is
"private".


Yes you can. What did you try?
So .net managed codes are far safer than Java, right?


No, it's basically the same as Java.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


Jul 22 '05 #6
Canon EOS <no****@nospam. org> wrote:
Do you mean all codes can be reversed compiled even it is "private"?
Private class members? Sure.
How? Using the same problem, Reflector?


Yes. It might be worthwhile trying Reflector yourself in order to get a
feel of exactly what can be seen.

And take a look at <http://www.pobox.com/~skeet/csharp/obfuscation.htm l>
for a discussion of this topic.
Jul 22 '05 #7
Canon EOS <no****@nospam. org> wrote:
Do you mean all codes can be reversed compiled even it is "private"?
Yes.
How? Using the same problem, Reflector?


Yes.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 22 '05 #8
Many thanks for the information.

Playing with that, but yet to able to view my actual codes.... only the
declared variables.

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
Canon EOS <no****@nospam. org> wrote:
Do you mean all codes can be reversed compiled even it is "private"?


Yes.
How? Using the same problem, Reflector?


Yes.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Jul 22 '05 #9
Canon EOS <no****@nospam. org> wrote:
Playing with that, but yet to able to view my actual codes.... only the
declared variables.


1. Make sure that the disassembler pane is open (Tools->Disassembler ).
2. Select a *method* declaration in the pane on the left.

You should then see high-level code if either 'C#', 'Visual Basic', or
'Delphi' is selected in the combo box at the top.
Jul 22 '05 #10

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

Similar topics

22
528
by: Alper AKCAYOZ | last post by:
Hello Esteemed Developers and Experts, I have been using Microsoft Visual C++ .NET for 1 year. During this time, I have searhed some topics over internets. Most of the topics about .NET is related to C# and Visual Basic .NET. There are less documents about Visual C++ .NET or Managed C++. I wonder the reasons of below questions: 1) Is C# more powerful than Managed C++ and Visual C++ .NET? 2) Is Microsoft intending to support C# and...
1
1620
by: PerryC | last post by:
Can someone help me accomplish the following in a MSAccess Report: 1. Check if Me.Discipline = "RN" (within the source query) 2. Then check the Me.YearOfEmployment: (again within the same source query) if <2 then Me.BaseRate = BaseRate, if between 2 and <5 then Me.BaseRate = BaseRate * 1.03 if between 5 and <10 then Me.BaseRate = BaseRate * 1.03 * 1.03 ....
1
1016
by: Tayyab | last post by:
Hello all the genies out there i have a problem at hand and like always I welcome any kewl idea U ppl can come up with. I am trying to make a secure application. Working on generation of serial number using hard drive serial number ... e.T.c. I have the code in C++ (managed) that does it all very well. Now here is the problem. I want to shift to C#. The 2 ways in which i can use this code are 1. using wrapping method to use it ... 2....
3
1456
by: Alper Akcayoz | last post by:
Hello Esteemed Developers I face problems using some managed codes in unmanaged ones and vice versa. For exampla I frequently took the following error message. That is C2440: 'type cast' : cannot convert from 'sockaddr_in __gc*' to 'sockaddr* O C2664: 'WSAStartup' : cannot convert parameter 2 from 'WSADATA __gc*' to 'LPWSADATA I noticed that my problem is converting managed types/codes to unmanged types/codes. I found some web pages about...
9
3138
by: Lonewolf | last post by:
Hi everyone.. I was trying to implement callback fucntions in native codes in my VC8 class, and referred to some online codes which use native class nested within managed class. basically of the form, __gc class CManagedClass { __nogc CNativeClass {
2
1415
by: Kevin Sun | last post by:
I have a problem about non-managed code and managed code.Could you like to give me some suggestion? In a non-managed MFC application project, I add some managed codes and these files are setted into /clr:oldSyntax. But the problem is that when the debug exits, the non-managed object CApplicationApp(maybe all the global and static objects)'s ~ctor is called twice. In fact the managed code only is a function without any statement and is...
5
3354
by: --== Alain ==-- | last post by:
Hi, Using the .NET reflector tool, i know that a DLL or EXE developed in ..NET platform can be decompiled and therefore code is available for all. I would like to know if exist a way how to avoid tools like .NET reflector to decompile your code or at least to avoid people to see clearly the code of you DLL or EXE ? thanks a lot,
4
5679
by: Andreas Reiff | last post by:
Hi! I want some communication to take place between a c++ app and a c++ .dll with an intermediate managed/unmanaged c++ dll. Basicall, I want the unmanaged c++ dll to have a callback to the unmanaged c++ app. Also, the managed c++ part should call the c# dll. I don't mind about where the array is created, but I need to be able to pass it around. Anyhow, my problem is, that if I create an array in unmanaged c++ like
3
1812
by: Ryanivanka | last post by:
hi, is the stackframe in managed code the same as in unmanaged? or they are not related at all.... :) if I use some asm codes (get the esp register or something about stackframe) in a unmanaged c++ DLL, when I import it into a c# managed program, can it work well?
0
9651
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10800
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10556
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10225
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9339
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7762
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5800
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3987
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3085
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.