473,378 Members | 1,386 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,378 software developers and data experts.

useful info about Kernel Crash in obfuscated DotNet application

Hello,

we have a large application, that gave weird behavior.
On W2K we're suffering from instable program ececution from time to
time,
untill now we managed to workaround these problems.
On NT4 we were not able to get things working. It stops with the
message
unable to load MyDll.dll, where the dll can be another everytime you
start.

Using the profile functionality from Depends we saw the following
error:
First chance exception 0xE0434F4D (Unknown) occurred in
"c:\winnt\system32\KERNEL32.DLL"

After extensive research on different systems, we noticed that under
NT4
the amount of reallocations is enormous compared to W2K or the non
obfuscated version.

After a little experiment with changing the base addresses of the
dll's we managed to get the application running.

We suspect our obfuscator is not updating some size information in our
assemblies and that the NT4 relocator uses incorrect data.

My question is:
What (Meta)data from an assembly is used by the NT4 relocator, so we
can check ourselfs if the obfuscator is "forgetting" to update some
data ?

and...
Is there a tool available that can analyze an assembly and check if
header and metadata information is consistent ?

Any help will be appreciated, finding this out already took a huge
amount of time !!!
Best regards,
Wibo.
Jul 21 '05 #1
1 1779
For anyone that wants to do a little investigation:

Here we have a reproducable crash on NT4 Server.
We also have a NT4 Workstation where it's not reproducable.

Download Lutz Roeder's .NET Reflector 3.4.6.0 for framework 1.1.4322
and run it on NT4...

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

almost forgot to mention, yes the Reflector uses obfuscation too...

any tips will be appreciated that can avoid using a workaround
and find the real cause...

Best regards,
Wibo.
wi***********@hotmail.com (Wibo) wrote in message news:<54*************************@posting.google.c om>...
Hello,

we have a large application, that gave weird behavior.
On W2K we're suffering from instable program ececution from time to
time,
untill now we managed to workaround these problems.
On NT4 we were not able to get things working. It stops with the
message
unable to load MyDll.dll, where the dll can be another everytime you
start.

Using the profile functionality from Depends we saw the following
error:
First chance exception 0xE0434F4D (Unknown) occurred in
"c:\winnt\system32\KERNEL32.DLL"

After extensive research on different systems, we noticed that under
NT4
the amount of reallocations is enormous compared to W2K or the non
obfuscated version.

After a little experiment with changing the base addresses of the
dll's we managed to get the application running.

We suspect our obfuscator is not updating some size information in our
assemblies and that the NT4 relocator uses incorrect data.

My question is:
What (Meta)data from an assembly is used by the NT4 relocator, so we
can check ourselfs if the obfuscator is "forgetting" to update some
data ?

and...
Is there a tool available that can analyze an assembly and check if
header and metadata information is consistent ?

Any help will be appreciated, finding this out already took a huge
amount of time !!!
Best regards,
Wibo.

Jul 21 '05 #2

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

Similar topics

1
by: assaf | last post by:
hi all i am using PreEmptive Solutions dotfuscator (community edition). and i am getting 'TypeLoadException' for a simple interface that i defined. how can i debug an obfuscated application? ...
1
by: roni | last post by:
hi. i have vb.net application , with Managed C++ dll that wrap unmanaged dll. i also have bug that crash the application. the crash happen because i dont use the unmanaged dll (which is...
46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
6
by: Ken | last post by:
When running a program in the debugger, what would cause it to crash without any error messages? I get "The program has exited with code 0 (0x0)". The program is a MDI app with threading for...
4
by: Tom | last post by:
Hello, System tray icon informs users that the apps is running in the background. However, there are instances that the app might crash and after that the app icon in the system tray is still...
1
by: Wibo | last post by:
Hello, we have a large application, that gave weird behavior. On W2K we're suffering from instable program ececution from time to time, untill now we managed to workaround these problems. On...
7
by: Terry | last post by:
I have a Mainform with a Statusbar. When opening another form or doing some processing I want to display info in the Statusbar of the Mainform. I have read a lot of articles on this & have come up...
9
by: Droopy | last post by:
Hi, I am running an application on 74 PC (1 instance on each PC). This morning, 2 applications crashes. There were neither popup windows signaling it nor dump file created. I only find in the...
11
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.