dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Preventing High Score Board Hacking

  1. #1
    Senior Member webgeek's Avatar
    Join Date
    Sep 2000
    Posts
    1,356

    Preventing High Score Board Hacking

    High score board hacking seems to come up a lot. Over the last few days I've been contacted by several people asking for help on it so I figured I'd put something together to avoid all the re-typing.

    In short, I feel there are four steps to preventing high score board hacking (or any type of hacking involving data transfer):

    1) Use SSL to prevent hackers from manipulating the data being sent over the wire
    2) Encrypt all important variables in memory to protect from memory hacks
    3) Use a Flash obfuscator to prevent easy decompilation and patching of the code
    4) Validate anything possible on the server (score vs. length of play, etc)

    This does assume that you have already corrected game-specific bugs and exploits. If you go here you can read about this in a lot more detail. I provide links to possible source, techniques, etc. Have fun!

  2. #2
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,227
    While these highscore hackings are annoying, there is also good thing. If sp many hackers are willing to spend time and effort on hacking our games, it means Flash games are good enough to be interested about the scores. I remember good old days when people simply posted their scores ("I got 125, woohoo!") and now we have SSL, Obfuscator, Decryption etc

  3. #3
    Senior Member webgeek's Avatar
    Join Date
    Sep 2000
    Posts
    1,356
    Games get better, hackers get smarter. Simply put, we need to adapt to survive. I've posted a new blog entry on how to ensure the data integrity without using SSL since several people told me they don't have access to it. You can get to it here.

  4. #4
    Knows where you live
    Join Date
    Oct 2004
    Posts
    944
    I read the post yesterday, there are some really good ideas.
    The greatest pleasure in life is doing what people say you cannot do.
    - Walter Bagehot
    The height of cleverness is to be able to conceal it.
    - Francois de La Rochefoucauld

  5. #5
    doItLikeThis
    Join Date
    Jan 2004
    Location
    :noitacoL
    Posts
    1,080
    Yeah, had a great chat with you that day Mike . Thanks for posting the techniques. This will be a good reference
    -Aditya

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

HTML5 Development Center