jump to navigation

Cracking code August 5, 2007

Posted by reversengineering in RCE.
trackback

HI

Cracking code – Introduction

from this link:
http://www.atrevido.net/blog/PermaLink.aspx?guid=73204548-5970-46db-b7cf-76cd4c22c3b9
To defend, you must have some idea of what you’re defending, and who and what you’re defending against, specifically, which attacks.  Failure do understand and know these things means that your defense will most likely not be effective, and could in fact decrease your security.  Here’s an example:

Near where I live, thieves were stealing cars that people parked in the street.  The neighbourhood committee decided that they’d stop this.  The solution they implemented was to put gates at all entrances and exits of their area, and have guards that only allow cars with a particular sticker get through.  This makes people FEEL more secure.  However, for the cost (guardhouses and gates construction, guard salaries), it’s not as effective as it could be.  A thief can still walk in just as easily (gates only block roads), and when driving a stolen car out, the guards will see the car and sticker, recognize it, and let them leave.  If they had thought about how thieves operated, then they would have realised this and done something more effective, perhaps hiring the same number of guards, but setting them on a patrol, instead of just sitting at their posts.  With unlimited resources, they could do both things, and give each member a special remote key-code to unlock the gate when they are driving.  However, the tradeoff in cost and convenience is too high for them.

This is how security is, in the physical and electronic worlds.  We have many possibilities, each with their tradeoffs.  Deciding which measures to implement requires us to understand how our opponent is going to operate, as well as the details of how exactly our defenses work.

In this series, I’m going to show you how to crack simple code.  I’m going to make a series of samples to try this out on (to avoid DMCA problems with real code), so as to get a feel of what crackers do to code.  It is not going to be in-depth or show how to become a master cracker.  Just enough so that we could attack a simple Windows/.NET program’s licensing key system, which is a common theme in software protection.

Continue to Part 1, where we’ll crack some simple code…

Cracking code – Part 1
http://www.atrevido.net/blog/PermaLink.aspx?guid=ec99e239-8917-48e3-bd4f-af866b730150
Cracking code – Part 2: Other simple attacks
http://www.atrevido.net/blog/PermaLink.aspx?guid=f2b7825e-1a8b-4beb-adf0-215011fd89e0
Cracking code 3: Cracking an obfuscated .NET assembly
http://www.atrevido.net/blog/PermaLink.aspx?guid=8315fa01-0286-47ce-a20b-fcc15eb297c3
Cracking Code 4: Replacing a strong name
http://www.atrevido.net/blog/PermaLink.aspx?guid=f772c18a-f389-4c28-bd6a-a30f4ccc84f5
Cracking code 5.1: Increasing your configuration
http://www.atrevido.net/blog/PermaLink.aspx?guid=92b5d25e-e53a-459c-b2c1-77aa26544880

About these ads

Comments»

1. mazher - November 5, 2007

Thanx for ur article. It helped me learn cracking .NET assemblies. I was an old cracker cracking DOS progs n then win98. I stopped cracking since winXP coz i didnt get “COSTLY COMPUWARE DRIVER STUDIO” which works on XP/NT system. THANKS.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 45 other followers

%d bloggers like this: