SlideShare a Scribd company logo
Cheaters Gonna Cheat
Battling Fake High Scores
Nataly Eliyahu
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 1/15
About Me
• Background in Security and
Reverse Engineering
• Army Service in Technology
Units
• Today - Freelance Game
Developer
• nataly@natalycreates.com
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 2/15
What we’ll talk about
• Back & forth between
developer and hacker
• Approaches and
considerations for a
developer
• Think like a hacker!
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 3/15
Step 1 – Naive Score Saving
Developer POV
• Save the score locally
• Use Player Preferences
Hacker POV
• Rooted phone
• Edit Preferences
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 4/15
Edit Preferences
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 5/15
Step 2 – Manipulate the Score
Developer POV
• Encode the score (base64 /
hex / custom encoding)
• Math manipulations
Hacker POV
• Blackboxing
• Guessing
• Find the Pattern
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 6/15
Step 3 – Encrypt the Score
Developer POV
• Encode the score (base64)
• Encrypt the score with a
secret key (a string)
• Use obfuscator on the
compiled apk
Hacker POV
• Decompile apk, rename
functions, organize code
• Find the encryption code -
see which algorithms is used
• Find the string for the
encryption key
• Decrypt and encrypt your own
scores
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 7/15
Decompile APK
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 8/15
Decompile APK
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 9/15
Decompile APK
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 10/15
Step 4 – Non-standard encryption
Developer POV
• Encode the score (base64)
• Encrypt the score with a
secret key (a string)
• Change code of encryption
function to non-standard
implementation
Hacker POV
• Previous method fails! Score
isn’t saved correctly with your
script
• Read the encryption code
• Look for the differences from
the standard implementation
• Alternative – use dynamic
debugging
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 11/15
Step 5 – Server side
Developer POV
• Encode the score (base64)
• Call a function on the server
to encrypt and decrypt the
score
• Secret key is no longer in the
apk
• Always Online issue!
Hacker POV
• Attack the server, look for
loopholes
• Alternative - Use dynamic
debugging, change the score
in memory before it’s sent to
the server
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 12/15
The Heuristics Approach
• Recognize suspicious scores
• Is the score possible in the
amount of time the player played?
• Patterns in the score 
• Send constant updates to server
about player status
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 13/15
To Sum Up
• With enough determination, the hacker
will always win
• If cheating at your game is really hard,
most people won’t bother
• Going always online helps makes it
much harder to cheat, but at a cost for
the majority of players
• Choose the most cost-effective solution
depending on your game
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 14/15
Questions? 
Feel free to contact me!
nataly@natalycreates.com
Facebook: Nataly Eliyahu
Twitter: @NatalyEliyahu
Slides: bit.ly/1ORclQV
CASUAL CONNECT TEL AVIV
19 – 21 OCTOBER 2015Slide: 15/15

More Related Content

Viewers also liked

Contactos humanos con el mas alla
Contactos humanos con el mas allaContactos humanos con el mas alla
Contactos humanos con el mas alla
Juan Felipe Arango Chaur
 
SNAG Europe images
SNAG Europe imagesSNAG Europe images
SNAG Europe images
snagtiffanie
 
Livebookings Academy Full Presentation - Analyse That
Livebookings Academy Full Presentation - Analyse ThatLivebookings Academy Full Presentation - Analyse That
Livebookings Academy Full Presentation - Analyse That
livebookingsuk
 
Pedagogía e innovación
Pedagogía e innovaciónPedagogía e innovación
Pedagogía e innovación
Juan Carlos Palomino
 
MICE Presentation - Congress Centre Kursaal Interlaken
MICE Presentation - Congress Centre Kursaal InterlakenMICE Presentation - Congress Centre Kursaal Interlaken
MICE Presentation - Congress Centre Kursaal Interlaken
MICEboard
 
Puccinis Turandot auf der Bregenzer Seebühne – opernreisen.com
Puccinis Turandot auf der Bregenzer Seebühne – opernreisen.comPuccinis Turandot auf der Bregenzer Seebühne – opernreisen.com
Puccinis Turandot auf der Bregenzer Seebühne – opernreisen.com
Opernreisen für Konzert & Festival Freunde
 
Grammar Presentation Version 2
Grammar Presentation Version 2Grammar Presentation Version 2
Grammar Presentation Version 2Justin Hodges
 
Curso empresa 2.0 20121120
Curso empresa 2.0 20121120Curso empresa 2.0 20121120
Curso empresa 2.0 20121120Eteam_es
 
Folleto Amparo y Justicia (español)
Folleto Amparo y Justicia (español)Folleto Amparo y Justicia (español)
Folleto Amparo y Justicia (español)
AmparoyJusticia
 
galapagos
galapagosgalapagos
galapagos
yaczolev
 
M2M Forum Europe: M-Health
M2M Forum Europe: M-HealthM2M Forum Europe: M-Health
M2M Forum Europe: M-Health
rmdesilva
 
La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...
La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...
La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...
FENA Business School
 
Koblenz ExpoAllianz (informacion corporativa)
Koblenz ExpoAllianz (informacion corporativa)Koblenz ExpoAllianz (informacion corporativa)
Koblenz ExpoAllianz (informacion corporativa)
ExpoAllianz
 
Clase #2 Análisis de procesos 28-01-2015
Clase #2 Análisis de procesos 28-01-2015Clase #2 Análisis de procesos 28-01-2015
Clase #2 Análisis de procesos 28-01-2015
Larissa Barrantes Parra
 

Viewers also liked (20)

Contactos humanos con el mas alla
Contactos humanos con el mas allaContactos humanos con el mas alla
Contactos humanos con el mas alla
 
LSC 2016 TIG program
LSC 2016 TIG programLSC 2016 TIG program
LSC 2016 TIG program
 
SNAG Europe images
SNAG Europe imagesSNAG Europe images
SNAG Europe images
 
Boletin 224
Boletin 224Boletin 224
Boletin 224
 
Livebookings Academy Full Presentation - Analyse That
Livebookings Academy Full Presentation - Analyse ThatLivebookings Academy Full Presentation - Analyse That
Livebookings Academy Full Presentation - Analyse That
 
Gatomiau (2)
Gatomiau (2)Gatomiau (2)
Gatomiau (2)
 
Pedagogía e innovación
Pedagogía e innovaciónPedagogía e innovación
Pedagogía e innovación
 
Tercera parte
Tercera parteTercera parte
Tercera parte
 
MICE Presentation - Congress Centre Kursaal Interlaken
MICE Presentation - Congress Centre Kursaal InterlakenMICE Presentation - Congress Centre Kursaal Interlaken
MICE Presentation - Congress Centre Kursaal Interlaken
 
Puccinis Turandot auf der Bregenzer Seebühne – opernreisen.com
Puccinis Turandot auf der Bregenzer Seebühne – opernreisen.comPuccinis Turandot auf der Bregenzer Seebühne – opernreisen.com
Puccinis Turandot auf der Bregenzer Seebühne – opernreisen.com
 
Grammar Presentation Version 2
Grammar Presentation Version 2Grammar Presentation Version 2
Grammar Presentation Version 2
 
Curso empresa 2.0 20121120
Curso empresa 2.0 20121120Curso empresa 2.0 20121120
Curso empresa 2.0 20121120
 
Curriculum_Vitae
Curriculum_VitaeCurriculum_Vitae
Curriculum_Vitae
 
Folleto Amparo y Justicia (español)
Folleto Amparo y Justicia (español)Folleto Amparo y Justicia (español)
Folleto Amparo y Justicia (español)
 
galapagos
galapagosgalapagos
galapagos
 
M2M Forum Europe: M-Health
M2M Forum Europe: M-HealthM2M Forum Europe: M-Health
M2M Forum Europe: M-Health
 
La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...
La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...
La Clase Emprendedora por Carlos Barrabés. Conferencia orgnizada por EOI y FE...
 
Koblenz ExpoAllianz (informacion corporativa)
Koblenz ExpoAllianz (informacion corporativa)Koblenz ExpoAllianz (informacion corporativa)
Koblenz ExpoAllianz (informacion corporativa)
 
Albert.colominas cv (english)
Albert.colominas cv (english)Albert.colominas cv (english)
Albert.colominas cv (english)
 
Clase #2 Análisis de procesos 28-01-2015
Clase #2 Análisis de procesos 28-01-2015Clase #2 Análisis de procesos 28-01-2015
Clase #2 Análisis de procesos 28-01-2015
 

Similar to Cheaters Gonna Cheat - Battling Fake High Scores

What CS Class Didn't Teach About Testing
What CS Class Didn't Teach About TestingWhat CS Class Didn't Teach About Testing
What CS Class Didn't Teach About Testing
Camille Bell
 
PlayFab and unity gdc2019
PlayFab and unity gdc2019PlayFab and unity gdc2019
PlayFab and unity gdc2019
Crystin Cox
 
Destroying Router Security - NNC5ed
Destroying Router Security - NNC5edDestroying Router Security - NNC5ed
Destroying Router Security - NNC5ed
Jose Antonio Rodriguez Garcia
 
Destroying Router Security
Destroying Router SecurityDestroying Router Security
Destroying Router Security
Iván Sanz de Castro
 
DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...
DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...
DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...
DevSecCon
 
The hardcore stuff i hack, experiences from past VAPT assignments
The hardcore stuff i hack, experiences from past VAPT assignmentsThe hardcore stuff i hack, experiences from past VAPT assignments
The hardcore stuff i hack, experiences from past VAPT assignments
n|u - The Open Security Community
 
Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013
Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013
Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013
RightScale
 
"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011
"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011
"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011Playniac
 
ContinuousDelivery-101
ContinuousDelivery-101ContinuousDelivery-101
ContinuousDelivery-101
Kishore Bhatia
 
Making Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton WolfeMaking Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton Wolfe
DevOpsDays Baltimore
 
Making Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton Wolfe Making Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton Wolfe
DevOpsDays Baltimore
 
DevOps Practices: Continuous Delivery
DevOps Practices: Continuous DeliveryDevOps Practices: Continuous Delivery
DevOps Practices: Continuous Delivery
Doug Seven
 
Igniting the Spark: Building Online Services for Borderlands 2
Igniting the Spark: Building Online Services for Borderlands 2Igniting the Spark: Building Online Services for Borderlands 2
Igniting the Spark: Building Online Services for Borderlands 2
Jimmy Sieben
 
P2P Multiplayer Gaming
P2P Multiplayer GamingP2P Multiplayer Gaming
P2P Multiplayer Gaming
John Wilker
 
Oscon presentation
Oscon presentationOscon presentation
Oscon presentation
garrettmoon
 
Give Me Three Things: Anti-Virus Bypass Made Easy
Give Me Three Things: Anti-Virus Bypass Made EasyGive Me Three Things: Anti-Virus Bypass Made Easy
Give Me Three Things: Anti-Virus Bypass Made Easy
Security Weekly
 
Building a crm data strategy goals that boost business performance finalex_scr
Building a crm data strategy goals that boost business performance finalex_scrBuilding a crm data strategy goals that boost business performance finalex_scr
Building a crm data strategy goals that boost business performance finalex_scr
Scribe Software Corp.
 
Hacking Robots for Fun and Profit
Hacking Robots for Fun and ProfitHacking Robots for Fun and Profit
Hacking Robots for Fun and Profit
Chad Udell
 

Similar to Cheaters Gonna Cheat - Battling Fake High Scores (20)

What CS Class Didn't Teach About Testing
What CS Class Didn't Teach About TestingWhat CS Class Didn't Teach About Testing
What CS Class Didn't Teach About Testing
 
SeattleFall1
SeattleFall1SeattleFall1
SeattleFall1
 
PlayFab and unity gdc2019
PlayFab and unity gdc2019PlayFab and unity gdc2019
PlayFab and unity gdc2019
 
Destroying Router Security - NNC5ed
Destroying Router Security - NNC5edDestroying Router Security - NNC5ed
Destroying Router Security - NNC5ed
 
Destroying Router Security
Destroying Router SecurityDestroying Router Security
Destroying Router Security
 
DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...
DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...
DevSecCon Seattle 2019: Liquid Software as the real solution for the Sec in D...
 
The hardcore stuff i hack, experiences from past VAPT assignments
The hardcore stuff i hack, experiences from past VAPT assignmentsThe hardcore stuff i hack, experiences from past VAPT assignments
The hardcore stuff i hack, experiences from past VAPT assignments
 
Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013
Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013
Using the Cloud for Mobile, Social, and Games - RightScale Compute 2013
 
Freelancing platforms - diff
Freelancing platforms - diffFreelancing platforms - diff
Freelancing platforms - diff
 
"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011
"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011
"How To Race Squirrels" at Develop Conference in Brighton, 21st July 2011
 
ContinuousDelivery-101
ContinuousDelivery-101ContinuousDelivery-101
ContinuousDelivery-101
 
Making Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton WolfeMaking Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton Wolfe
 
Making Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton Wolfe Making Your Product Manager Productive by Clinton Wolfe
Making Your Product Manager Productive by Clinton Wolfe
 
DevOps Practices: Continuous Delivery
DevOps Practices: Continuous DeliveryDevOps Practices: Continuous Delivery
DevOps Practices: Continuous Delivery
 
Igniting the Spark: Building Online Services for Borderlands 2
Igniting the Spark: Building Online Services for Borderlands 2Igniting the Spark: Building Online Services for Borderlands 2
Igniting the Spark: Building Online Services for Borderlands 2
 
P2P Multiplayer Gaming
P2P Multiplayer GamingP2P Multiplayer Gaming
P2P Multiplayer Gaming
 
Oscon presentation
Oscon presentationOscon presentation
Oscon presentation
 
Give Me Three Things: Anti-Virus Bypass Made Easy
Give Me Three Things: Anti-Virus Bypass Made EasyGive Me Three Things: Anti-Virus Bypass Made Easy
Give Me Three Things: Anti-Virus Bypass Made Easy
 
Building a crm data strategy goals that boost business performance finalex_scr
Building a crm data strategy goals that boost business performance finalex_scrBuilding a crm data strategy goals that boost business performance finalex_scr
Building a crm data strategy goals that boost business performance finalex_scr
 
Hacking Robots for Fun and Profit
Hacking Robots for Fun and ProfitHacking Robots for Fun and Profit
Hacking Robots for Fun and Profit
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 

Cheaters Gonna Cheat - Battling Fake High Scores

  • 1. Cheaters Gonna Cheat Battling Fake High Scores Nataly Eliyahu CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 1/15
  • 2. About Me • Background in Security and Reverse Engineering • Army Service in Technology Units • Today - Freelance Game Developer • nataly@natalycreates.com CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 2/15
  • 3. What we’ll talk about • Back & forth between developer and hacker • Approaches and considerations for a developer • Think like a hacker! CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 3/15
  • 4. Step 1 – Naive Score Saving Developer POV • Save the score locally • Use Player Preferences Hacker POV • Rooted phone • Edit Preferences CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 4/15
  • 5. Edit Preferences CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 5/15
  • 6. Step 2 – Manipulate the Score Developer POV • Encode the score (base64 / hex / custom encoding) • Math manipulations Hacker POV • Blackboxing • Guessing • Find the Pattern CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 6/15
  • 7. Step 3 – Encrypt the Score Developer POV • Encode the score (base64) • Encrypt the score with a secret key (a string) • Use obfuscator on the compiled apk Hacker POV • Decompile apk, rename functions, organize code • Find the encryption code - see which algorithms is used • Find the string for the encryption key • Decrypt and encrypt your own scores CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 7/15
  • 8. Decompile APK CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 8/15
  • 9. Decompile APK CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 9/15
  • 10. Decompile APK CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 10/15
  • 11. Step 4 – Non-standard encryption Developer POV • Encode the score (base64) • Encrypt the score with a secret key (a string) • Change code of encryption function to non-standard implementation Hacker POV • Previous method fails! Score isn’t saved correctly with your script • Read the encryption code • Look for the differences from the standard implementation • Alternative – use dynamic debugging CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 11/15
  • 12. Step 5 – Server side Developer POV • Encode the score (base64) • Call a function on the server to encrypt and decrypt the score • Secret key is no longer in the apk • Always Online issue! Hacker POV • Attack the server, look for loopholes • Alternative - Use dynamic debugging, change the score in memory before it’s sent to the server CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 12/15
  • 13. The Heuristics Approach • Recognize suspicious scores • Is the score possible in the amount of time the player played? • Patterns in the score  • Send constant updates to server about player status CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 13/15
  • 14. To Sum Up • With enough determination, the hacker will always win • If cheating at your game is really hard, most people won’t bother • Going always online helps makes it much harder to cheat, but at a cost for the majority of players • Choose the most cost-effective solution depending on your game CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 14/15
  • 15. Questions?  Feel free to contact me! nataly@natalycreates.com Facebook: Nataly Eliyahu Twitter: @NatalyEliyahu Slides: bit.ly/1ORclQV CASUAL CONNECT TEL AVIV 19 – 21 OCTOBER 2015Slide: 15/15