Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Tutorials, Classes and Code > Security Tutorials

Security Tutorials Tutorials on how to protect your software against crackers.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-2007, 10:24 AM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 6,750
Rep Power: 63
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default Algorithms - The Basics (PART 1)

Algorithms - The Basics

What are algorithms?
These usually are Mathematical Formulas and/or simple/complicated steps of instructions that once followed you will get some result, but sometimes algorithms might not include Mathematical functions, only instructions. A frequent use of algorithms is encryption or a very famous one, I think that nearly all the PC users know the shareware software that you need to insert a serial or code to have the full version of the program.

How are these done?
Simple, as I already explained just making a simple mathematical formula and/or simple/complicated steps to follow, this will ensure better algorithms and more complicated and difficult to guess, but as always, nothing is secure enough!

How can I make my own?
This is the aim of this article, how you can make your own! And integrate it into your software too, so you can make your own shareware software! But as always I will show the basics, you will need to elaborate into it, to make it more complicated, secure and hard to guess. But remember once integrated into software, you can have the best algorithm ever, but if the software is not secure enough, it can just be cracked by just using a NOP, or some other ASM to disable the register dialog or to override the check.. So beware!

Anyways, I will explain the process how to make your own algorithm, and generate True results for your algorithm (known as key generator). I made a fully working application, you can find it attached at the end of this thread.

So the first step I make is to think of a formula, I completely invent it. In this case I am going to use the formula;

(((( A + D ) – C ) / 2 ) * 5 ) ^ 2 = B


And besides that, here come the instructions, B will not be the whole result of the formula, it will only take the 2nd,3rd,4th,5th and 6th numbers of the result, so if the result, B is 123456789 for the algorithm to return True only if B is equal to 23456, this will make the algorithm more powerful, because besides the formula you are adding instructions to it, or it will not work. So if someone detects your formula, he will still not be able to crack your application and enter a serial, because the program will only take the 2nd,3rd,4th,5th and 6th numbers of B!

Read Step 2 Here:
Algorithms - The Basics (PART 2)
Attached Files To view attachments your post count must be 1 or greater. Your post count is 0 momentarily.

Last edited by TcM; 12-01-2007 at 06:15 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pseudocode Tutorial: The Basics TcM Tutorials, Classes and Code 5 06-06-2008 01:44 PM
C basics. justin1993 C and C++ 4 07-24-2007 07:56 AM
C++ Basics Deathcry C and C++ 5 06-13-2007 04:04 PM
The Basics Of VB Express pcdctr Visual Basic Programming 5 05-28-2007 07:01 AM
Basics Of PHP sn17 PHP Forum 11 09-14-2006 08:26 PM


All times are GMT -5. The time now is 02:14 PM.

Contest Stats

John ........ 167.00000
Xav ........ 164.00000
dargueta ........ 148.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

Ads