SlideShare a Scribd company logo
1 of 13
Security                                    eBooks



 Authentication
 & High Scores

                               Security with the
                                Client – Part 3




    Steven Davis

                                   steve@free2secure.com
Games, iGaming, and Gambling             +1.650.278.7416
Security                                                          eBooks

                          Why High Scores



   •   Community
   •   Engagement
   •   Game Life
   •   Virality

   • Why High Score Security?
       – Actually, the core of many online game security issues
             • Moving data from a client to the server
       – Techniques are “good enough”…. Unless gambling or a lot of
         money is involved!
                                                         steve@free2secure.com
Games, iGaming, and Gambling                                   +1.650.278.7416
Security                                             eBooks

   High Score Security Challenges:
                           •Having Correct Score on Client
                           •Getting Score to Server




   • ASSUMPTION: Your game is (mostly) on the
     client, not the server

                                            steve@free2secure.com
Games, iGaming, and Gambling                      +1.650.278.7416
Security                                                                  eBooks


                                                                 Encryption




                                       Secure
         Program                                                  Security
      Network Library                                             Fallacy
                                                                   Not Secure

         Not Secure

    Attack
  • People assume encryption is “secure”
  • Point and other environments, it is only secure “outside” – away from the
    In game,
    key
  •   Hackers attack data before it is encrypted
  •   This is especially easy for browser based applications or ones that use a
      network (and/or encryption) library

                                                               steve@free2secure.com
Games, iGaming, and Gambling                                         +1.650.278.7416
Security                                           eBooks

                Correct Score on Client




   • Local score data obfuscation
   • Building score from components
       – How many Lions? Tigers? Bears?
   • Deep logging

                                          steve@free2secure.com
Games, iGaming, and Gambling                    +1.650.278.7416
Security                                                  eBooks

             Getting the Score to the Server




   •   Encrypting within the game application
   •   Multiple versions of data (including unencrypted)
   •   Authentication
   •   Sending score information incrementally

                                                 steve@free2secure.com
Games, iGaming, and Gambling                           +1.650.278.7416
Security                                                eBooks

             Implicit Score Authentication
    • Scores or Score Components that are
      Impossible to achieve, but easy to check
       – Maximum possible score in a level
       – Minimum score in a section to complete it
       – Time requirements
       – Specific actions or achievements or intermediate
         milestones or flags
       – Score numerical values that are impossible (all
         legitimate scores are multiple of a prime)



                                               steve@free2secure.com
Games, iGaming, and Gambling                         +1.650.278.7416
Security                                                                              eBooks

          Challenge Response Score Posting

Client sends ID to Server      ClientID
Server Sends Challenge                                                             Challenge
Client serializes Score Data   String = Serialize(Score Data)
Client builds ScoreResponse    ScoreResponse = ClientID,StoreString,ClientSecret
Client hashes Challenge Data   Authenticator=Hash(Challenge,ScoreResponse,ClientSecret)
Client posts Response          ScoreResponse, Authenticator




     • Stop Replay of Scores
     • Authenticate Data
     • Avoid Encrypting Scores if you don’t need to
           – Allows faster processing and delayed authentication


                                                                          steve@free2secure.com
Games, iGaming, and Gambling                                                    +1.650.278.7416
Security                                                                   eBooks

                    Server Window
                                                      Random & Time

        Challenge                   Response

                                     Client

   • Random Events can be                      •   Players can manipulate the
     manipulated to favor a player                 game by accelerating or
     in many games                                 slowing time on the client.
   • Server can correct for this by            •   The game client can limit this
     providing random or random                    by sending messages to the
     seeds directly                                server at specific intervals (see
                                                   Challenge/Response above)

Exploitation of Random Events and Time Hacks can be managed by shrinking client/server
                               communication windows


                                                                 steve@free2secure.com
Games, iGaming, and Gambling                                           +1.650.278.7416
Security                                                   eBooks

              Let Cheaters Win (sort of)
   • You can choose what you do when you catch a
     cheater
       – Let them think they’ve won
       – Let only them and their friends think they’ve won
   • Just don’t tell everybody what you do!
   • Sometimes cheaters are good customers...
     sometimes they are your best customers
   • Banning and punishment may hurt you worse
     than them
       – Undermining identity and costing you revenue (Xbox
         Live)

                                                steve@free2secure.com
Games, iGaming, and Gambling                          +1.650.278.7416
Security                                                                        eBooks

        Deep Logging & Deterministic Game Engines



                           Dus
                               t Fo
                             gam rce allo
                                  e p la    w
                                         y an s playe
                                             d av     r
                                                  oid s to see
                                                     mos
                                                          t ch excellen
                                                              eatin     t
                                                                    g



   •   Log and post game logs down to the individual player action
        – Video is possible, but expensive in bandwidth and storage
        – Deterministic Game Engines can allow games to be replayed exactly
   •   A powerful verification strategy that can be used in different ways
        – Either game server or other players or observers can verify game play

                                                                    steve@free2secure.com
Games, iGaming, and Gambling                                              +1.650.278.7416
Security                                                             eBooks




   What next?
   • Don’t give up!

   • More security presentations at:
     http://free2secure.com/

   • Check out my book “Protecting Games”
       – Additional information at http://playnoevil.com/


   • You can “win” the security game
                                                            steve@free2secure.com
Games, iGaming, and Gambling                                      +1.650.278.7416
Security                                                                  eBooks

      About Me
  •   Steven Davis
       – 25+ Years of Security Expertise
       – I have worked on everything from
         online games and satellite TV to
         Nuclear Command and Control and
         military communications
           • http://www.linkedin.com/in/playnoevil
       – Author, “Protecting Games”

  •   Why Free2Secure?
       – Security is too expensive and isn’t working. There has to be a better way.
         I’m exploring these issues for IT security, ebooks, games, and whatever
         else strikes my fancy at http://free2secure.com/
       – Join me there, ask questions, challenge assumptions, let’s make things
         better

                                                               steve@free2secure.com
Games, iGaming, and Gambling                                         +1.650.278.7416

More Related Content

Recently uploaded

Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...Akihiro Suda
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 

Recently uploaded (20)

2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Incoming! Secure Your Remote Client Data / Server Communications

  • 1. Security eBooks Authentication & High Scores Security with the Client – Part 3 Steven Davis steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 2. Security eBooks Why High Scores • Community • Engagement • Game Life • Virality • Why High Score Security? – Actually, the core of many online game security issues • Moving data from a client to the server – Techniques are “good enough”…. Unless gambling or a lot of money is involved! steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 3. Security eBooks High Score Security Challenges: •Having Correct Score on Client •Getting Score to Server • ASSUMPTION: Your game is (mostly) on the client, not the server steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 4. Security eBooks Encryption Secure Program Security Network Library Fallacy Not Secure Not Secure Attack • People assume encryption is “secure” • Point and other environments, it is only secure “outside” – away from the In game, key • Hackers attack data before it is encrypted • This is especially easy for browser based applications or ones that use a network (and/or encryption) library steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 5. Security eBooks Correct Score on Client • Local score data obfuscation • Building score from components – How many Lions? Tigers? Bears? • Deep logging steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 6. Security eBooks Getting the Score to the Server • Encrypting within the game application • Multiple versions of data (including unencrypted) • Authentication • Sending score information incrementally steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 7. Security eBooks Implicit Score Authentication • Scores or Score Components that are Impossible to achieve, but easy to check – Maximum possible score in a level – Minimum score in a section to complete it – Time requirements – Specific actions or achievements or intermediate milestones or flags – Score numerical values that are impossible (all legitimate scores are multiple of a prime) steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 8. Security eBooks Challenge Response Score Posting Client sends ID to Server ClientID Server Sends Challenge Challenge Client serializes Score Data String = Serialize(Score Data) Client builds ScoreResponse ScoreResponse = ClientID,StoreString,ClientSecret Client hashes Challenge Data Authenticator=Hash(Challenge,ScoreResponse,ClientSecret) Client posts Response ScoreResponse, Authenticator • Stop Replay of Scores • Authenticate Data • Avoid Encrypting Scores if you don’t need to – Allows faster processing and delayed authentication steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 9. Security eBooks Server Window Random & Time Challenge Response Client • Random Events can be • Players can manipulate the manipulated to favor a player game by accelerating or in many games slowing time on the client. • Server can correct for this by • The game client can limit this providing random or random by sending messages to the seeds directly server at specific intervals (see Challenge/Response above) Exploitation of Random Events and Time Hacks can be managed by shrinking client/server communication windows steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 10. Security eBooks Let Cheaters Win (sort of) • You can choose what you do when you catch a cheater – Let them think they’ve won – Let only them and their friends think they’ve won • Just don’t tell everybody what you do! • Sometimes cheaters are good customers... sometimes they are your best customers • Banning and punishment may hurt you worse than them – Undermining identity and costing you revenue (Xbox Live) steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 11. Security eBooks Deep Logging & Deterministic Game Engines Dus t Fo gam rce allo e p la w y an s playe d av r oid s to see mos t ch excellen eatin t g • Log and post game logs down to the individual player action – Video is possible, but expensive in bandwidth and storage – Deterministic Game Engines can allow games to be replayed exactly • A powerful verification strategy that can be used in different ways – Either game server or other players or observers can verify game play steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 12. Security eBooks What next? • Don’t give up! • More security presentations at: http://free2secure.com/ • Check out my book “Protecting Games” – Additional information at http://playnoevil.com/ • You can “win” the security game steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416
  • 13. Security eBooks About Me • Steven Davis – 25+ Years of Security Expertise – I have worked on everything from online games and satellite TV to Nuclear Command and Control and military communications • http://www.linkedin.com/in/playnoevil – Author, “Protecting Games” • Why Free2Secure? – Security is too expensive and isn’t working. There has to be a better way. I’m exploring these issues for IT security, ebooks, games, and whatever else strikes my fancy at http://free2secure.com/ – Join me there, ask questions, challenge assumptions, let’s make things better steve@free2secure.com Games, iGaming, and Gambling +1.650.278.7416

Editor's Notes

  1. http://t3.gstatic.com/images?q=tbn:ANd9GcRdtKKsWcUz4kgGHuCTlfXDr0bmDxM_ZuZtzlZHA32IeRfEmdCwamtxJN7f
  2. http://www.oregon.gov/DAS/EISPD/EGOV/PublishingImages/diagram_encryption.jpg
  3. http://i.msdn.microsoft.com/dynimg/IC93530.gif
  4. http://www.dnabaser.com/order/network%20license/client%20server%20-%20TCP.png
  5. https://encrypted-tbn3.google.com/images?q=tbn:ANd9GcSs0rDbTSuNKMmWWuwvG758jslURMz2IVL-cL_mcNg1CsxWkBtNzg