CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2009
    Posts
    118

    Preventing Hackers from Cracking your Program

    So I have got this application I developed and I sell it, its protected by Hardware ID. Using GetVolumeInformation so its locked to that specific computer. If theres no match, the program will just exit by using ExitProcess(1); However hackers can easily get by this by jmping this and other stuff. I was wondering what the best packer was to prevent hackers from doing things like this. I heard themida is decent but it slows your code down a lot. So what is the best?

    Also, what would be more secure, reading the Hardware ID's from a text file on my server or simply inputting the ID's into variables in the code?

  2. #2
    Join Date
    May 2009
    Posts
    23

    Re: Preventing Hackers from Cracking your Program

    IMO, if we put the protection in the beginning of the program (such as during initialization), it is easier been cracked. If we put it in the middle of operations, random by timer, i think is harder, also force reboot everytime the key is not matching, if necessary delete your program, force installation (it slows the cracker down).
    About the key, I dumb the key in the file, using my own encryptions (obviosuly wont be able to sell in us), I just dont trust commercial encryption.
    This is just opion , and so far I just build for internal company.

  3. #3
    Join Date
    Jun 2009
    Posts
    118

    Re: Preventing Hackers from Cracking your Program

    Alright, thanks for the tip. Ill put it in closest to the middle as I can get using a random timer.

    But can you suggest any programs I may use, that are better than Themida. if any

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    106

    Re: Preventing Hackers from Cracking your Program

    If crackers find it useful enough they will crack it anyway.
    Its only a matter of time.

  5. #5
    Join Date
    Jun 2009
    Posts
    118

    Re: Preventing Hackers from Cracking your Program

    Keep in mind that these arent really that good of reverse engineers. Ive used themida a while and its been fine, but it makes my program very large, 5 times the original size and it slows the code down..

    So im just looking for another option.

  6. #6
    Join Date
    May 2007
    Posts
    811

    Re: Preventing Hackers from Cracking your Program

    There is always an option to validate with server side, like quite few PC games do. Granted, there must be internet connection present, so YMMV.

  7. #7
    Join Date
    Jun 2009
    Posts
    118

    Re: Preventing Hackers from Cracking your Program

    Yes, but they can easily jmp the check and jmp where the program exits....

    this is what i need to prevent

  8. #8
    Join Date
    May 2007
    Posts
    811

    Re: Preventing Hackers from Cracking your Program

    Not as easy as you think, many games even the single player ones require you to validate every time you want to play (and there is allot players trying to hack them). There is quite bit of literature on this subject with extensive research which can explain far better then I can. You can look for server side validation application.

  9. #9
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Preventing Hackers from Cracking your Program

    Try to runs this a second time when you're ofline:

    http://siokonline.com/publix/publish.htm Needs IE, but works with IE8
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  10. #10
    Join Date
    Jun 2009
    Posts
    118

    Re: Preventing Hackers from Cracking your Program

    PSL DGLIENNA What is that link for?


    I am not up to developing a whole server side validation application, Im not that good of a programmer. Just an amateur looking to find a good packer to protect his program. Yes it is as easier as I think, my program that was not packed before has been cracked, then with it packed with TeLock, it was cracked later, and now with themida, never yet as of 3 months. But themida makes it way too large and the code runs slower..
    Last edited by RogerThat123; July 4th, 2009 at 02:30 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured