SlideShare ist ein Scribd-Unternehmen logo
1 von 48
Downloaden Sie, um offline zu lesen
Game Bot Detection
       Based on Avatar Trajectories
                 Kuan-Ta Chen            Academia Sinica
                 Andrew Liao             NTU
                 Hsing-Kuo Kenneth Pao   NTUST
                 Hao-Hua Chu             NTU




ICEC IFIP 2008
Game Bots
       AI programs that can perform some tasks in place of
       gamers
       Popular in MMORPG and FPS games
            MMORPGs (Massive Multiplayer Role Playing Games)
            accumulating rewards efficiently in 24 hours a day
               breaking the balance of power and economies in games
            FPS games (First-Person Shooting Games)
            a) improving aiming accuracy
            b) fully automated
                achieving high ranking without proficient skills and efforts

Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory          2
Bot Detection

       Detecting whether a character is controlled by a bot is
       difficult since a bot obeys the game rules perfectly
       No general detection methods are available today


       State of practice is identifying via human intelligence
            Detection: Bots may show regular or peculiar behavior;
            Confirmation: Bots cannot talk like humans
            Labor-intensive and may annoy innocent players



Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   3
Earlier Bot Prevention / Detection Work
       Prevention
            CAPTCHA tests
            (Completely Automated Public
         Turing test to tell Computer and Human Apart)



       Detection
            Process monitoring at client side
                  Constantly changing the bot program’s signature
            Traffic analysis at the network
                  Remove bot traffic’s regularity by heavy-tailed random delays
            Aiming bot detection using Dynamic Bayesian Network
                  Specific to aiming bots that help aim the target accurately
Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory             4
CAPTCHA in a Japanese Online Game




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   5
Our Goal for Bot Detection

        Passive detection
           No intrusion in players’ gaming experience
        No client software is required
        Generalizable schemes (for other games and other
        game genres)




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   6
Our Solution: Trajectory-based Detection

       Based on the avatar’s moving trajectory in game
       Applicable for all genres of games where players control
       the avatar’s movement directly
       Avatar’s trajectory is high-dimensional (both in time
       and spatial domains)
          Use manifold learning to distinguish the trajectories
       of human players and game bots




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   7
The Rationale behind Our Scheme

       The trajectory of the avatar controlled by a human
       player is hard to simulate for two reasons:
            Complex context information:
            Players control the movement of avatars based on their
            knowledge, experience, intuition, and a great deal of
            information provided in the game.
            Human is not always logical and optimal
       How to model and simulate realistic movements is still
       an open question in the AI field?!


Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   8
Bot Detection: A Decision Problem
                 Q: Whether a bot is controlling a game client given
                    the movement trajectory of the avatar?
                 A: Yes / No?




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   9
Talk Progress

                Overview
                Data Description
                Proposed Schemes
                     Feature-based
                     Manifold learning:
                     Dimensionality Reduction using Isomap
                Conclusion




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   10
Case Study: Quake 2

       Choose Quake 2 as our case study
            A classic FPS game
            Many real-life human traces are available on the Internet
              more realistic than traces collected in experiments




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   11
A Screen Shot of Quake 2




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   12
Data Collection
       Human traces downloaded from GotFrag Quake, Planet Quake,
       Demo Squad, and Revilla Quake Sites
       Bot traces collected on our own Quake server
            CR BOT 1.14
            Eraser Bot 1.01
            ICE Bot 1.0
       Each cut into 1,000-second segments
       Totally 143.8 hours of traces were collected




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   13
Data Representation




            t               (X, Y)                   (X, Y)             (X, Y)



Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory            14
Trails of Human Players




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   15
Trails of CRBot




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   16
Trails of Eraser Bot




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   17
Trails of ICE Bot




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   18
Talk Progress

                Overview
                Data Description
                Proposed Schemes
                     Feature-based
                     Manifold learning:
                     Dimensionality Reduction using Isomap
                Conclusion




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   19
Proposed Schemes

       Scheme 1 – Feature Based: Extraction of Important
       Features, Combined with Decision Tree
            ON/OFF Activity
            Pace
            Path
            Turn
       Scheme 2 – Manifold Learning Based
            High-dimensional data
            Dimension reduction


Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   20
Feature Extraction

       Given a segment of a trajectory, {xt, yt}, 1 ≤ t ≤ T, we
       extract the following features from this two-dimensional
       time series:
            ON/OFF Activity
            Pace
            Path
            Turn




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   21
Movement Trail Analysis
       Activity
            mean/sd of ON/OFF periods
       Pace (1 step)
            speed/offset in each time period
            teleportation frequency
       Path (several steps)
            linger frequency/length
            smoothness
            detourness
       Turn
            frequency of mild turns, wild turns, and U-turns

Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   22
ON/OFF Activity Features




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   23
Pace-Related Features




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   24
Path-Related Features




                                                                               path length
                                                                detourness =
                                                                                  effset
Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory                        25
Turn-Related Features




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   26
Data Point Mapping using the First Three
                      Principle Components




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   27
Classification Results using Decision Tree




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   28
Proposed Schemes

       Scheme 1 – Feature Based: Extraction of Important
       Features, Combined with Decision Tree
            ON/OFF Activity
            Pace
            Path
            Turn
       Scheme 2 – Manifold Learning Based
            High-dimensional data
            Dimension reduction


Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   29
The Complete Process: Overview




                                                     Decision


Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   30
Step 1. Pace Vector Construction

       For trace sn , we compute the pace in consecutive two
       seconds by

             sn,i+1 − sn,i =                     (sn,i+1 − sn,i )T (sn,i+1 − sn,i )

       We then compute the distribution of pace lengths with a
       fixed bin size by

                        Fn = (fn,1 , fn,2 , . . . , fn,B )

       where B is the number of bins in the distribution.

Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory                 31
Examples of Pace Vectors




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   32
Step 2. Dimension Reduction with Isomap
       Pace vectors have 201 dimensions
       We adopt Isomap for dimension reduction for
            Better performance
            Reduce computation overhead in classification
       Isomap
            Assume data points lie on a smooth manifold
            Construct the neighborhood graph by kNN (k-nearest
            neighbors)
            Compute the shortest path for each pair of points
            Reconstruct data by MDS (multidimensional scaling)

Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   33
A Graphic Representation of Isomap




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   34
Distance Measure between Pace Vectors

   1. Euclidean Distance
   2. Kullback-Leibler divergence (or KL distance)



       where P & Q are feature vectors of dimension d
       Because KL distance is not symmetric, we use a
       symmetric version instead




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   35
PCA (Linear) vs. Isomap (Nonlinear)




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   36
Step 3. Classification

       Apply a supervised classifier on the Isomap-reduced
       pace vectors
       To decide whether a pace vector belongs to a bot or a
       human player




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   37
Five Methods for Comparison


         Method                                                   Data Input
         kNN
         Linear SVM                                               Pace Vectors
         Nonlinear SVM
         Isomap + kNN                                             Isomap-reduced Pace
         Isomap + Nonlinear SVM                                   Vectors




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory                   38
Evaluation Results


                                                                        Error Rate



       False Positive Rate                                              False Negative Rate




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory                         39
Talk Progress

                Overview
                Data Description
                Proposed Schemes
                     Feature-based
                     Manifold learning:
                     Dimensionality Reduction using Isomap
                Conclusion




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   40
Conclusion

       We propose a trajectory-based approach for detecting
       game bots.
       Feature-based method shows descent result
       We can improve the result and efficiency further by
       Isomap + nonlinear SVM approach.
       Human’s logic in controlling avatars is hard to simulate
          we believe this approach has the potential to be a
       general yet robust bot detection methodology


Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   41
Questions?




ICEC IFIP 2008
Thank You!



                 Hsing-Kuo Kenneth Pao




ICEC IFIP 2008
Addition of Gaussian Noise

       Bot programmers can try to evade from detection by
       adding random perturbation into bots’ movement
       behavior


       Evaluate the robustness of our scheme by adding
       Gaussian noise into bots’ trajectories




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory   44
Addition of Gaussian Noise (cont)

                     Human                                              Bots




                      Gaussian Noise                                    Bots with Noise




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory                     45
Evaluation Results


                                                                        Error Rate



       False Positive Rate                                               False Negative Rate




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory                          46
Cross-Maps Validation

       Sometimes human movement may be restricted by the
       environment around him/her.
       Whether a classifier trained for a map can be used for
       detecting bots on another map?

              The Edge                            The Frag Pipe         Warehouse




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory               47
Evaluation Results


                                                                         Error Rate



       False Postive Rate                                               False Negative Rate




Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory                         48

Weitere ähnliche Inhalte

Mehr von Academia Sinica

Computational Social Science:The Collaborative Futures of Big Data, Computer ...
Computational Social Science:The Collaborative Futures of Big Data, Computer ...Computational Social Science:The Collaborative Futures of Big Data, Computer ...
Computational Social Science:The Collaborative Futures of Big Data, Computer ...Academia Sinica
 
Games on Demand: Are We There Yet?
Games on Demand: Are We There Yet?Games on Demand: Are We There Yet?
Games on Demand: Are We There Yet?Academia Sinica
 
Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...
Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...
Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...Academia Sinica
 
Cloud Gaming Onward: Research Opportunities and Outlook
Cloud Gaming Onward: Research Opportunities and OutlookCloud Gaming Onward: Research Opportunities and Outlook
Cloud Gaming Onward: Research Opportunities and OutlookAcademia Sinica
 
Quantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud GamesQuantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud GamesAcademia Sinica
 
量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值
量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值
量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值Academia Sinica
 
On The Battle between Online Gamers and Lags
On The Battle between Online Gamers and LagsOn The Battle between Online Gamers and Lags
On The Battle between Online Gamers and LagsAcademia Sinica
 
Understanding The Performance of Thin-Client Gaming
Understanding The Performance of Thin-Client GamingUnderstanding The Performance of Thin-Client Gaming
Understanding The Performance of Thin-Client GamingAcademia Sinica
 
Quantifying QoS Requirements of Network Services: A Cheat-Proof Framework
Quantifying QoS Requirements of Network Services: A Cheat-Proof FrameworkQuantifying QoS Requirements of Network Services: A Cheat-Proof Framework
Quantifying QoS Requirements of Network Services: A Cheat-Proof FrameworkAcademia Sinica
 
Online Game QoE Evaluation using Paired Comparisons
Online Game QoE Evaluation using Paired ComparisonsOnline Game QoE Evaluation using Paired Comparisons
Online Game QoE Evaluation using Paired ComparisonsAcademia Sinica
 
GamingAnywhere: An Open Cloud Gaming System
GamingAnywhere: An Open Cloud Gaming SystemGamingAnywhere: An Open Cloud Gaming System
GamingAnywhere: An Open Cloud Gaming SystemAcademia Sinica
 
Are All Games Equally Cloud-Gaming-Friendly? An Electromyographic Approach
Are All Games Equally Cloud-Gaming-Friendly? An Electromyographic ApproachAre All Games Equally Cloud-Gaming-Friendly? An Electromyographic Approach
Are All Games Equally Cloud-Gaming-Friendly? An Electromyographic ApproachAcademia Sinica
 
Forecasting Online Game Addictiveness
Forecasting Online Game AddictivenessForecasting Online Game Addictiveness
Forecasting Online Game AddictivenessAcademia Sinica
 
Toward an Understanding of the Processing Delay of Peer-to-Peer Relay Nodes
Toward an Understanding of the Processing Delay of Peer-to-Peer Relay NodesToward an Understanding of the Processing Delay of Peer-to-Peer Relay Nodes
Toward an Understanding of the Processing Delay of Peer-to-Peer Relay NodesAcademia Sinica
 
Inferring Speech Activity from Encrypted Skype Traffic
Inferring Speech Activity from Encrypted Skype TrafficInferring Speech Activity from Encrypted Skype Traffic
Inferring Speech Activity from Encrypted Skype TrafficAcademia Sinica
 
Improving Reliability of Web 2.0-based Rating Systems Using Per-user Trustiness
Improving Reliability of Web 2.0-based Rating Systems Using Per-user TrustinessImproving Reliability of Web 2.0-based Rating Systems Using Per-user Trustiness
Improving Reliability of Web 2.0-based Rating Systems Using Per-user TrustinessAcademia Sinica
 
A Collusion-Resistant Automation Scheme for Social Moderation Systems
A Collusion-Resistant Automation Scheme for Social Moderation SystemsA Collusion-Resistant Automation Scheme for Social Moderation Systems
A Collusion-Resistant Automation Scheme for Social Moderation SystemsAcademia Sinica
 
Tuning Skype’s Redundancy Control Algorithm for User Satisfaction
Tuning Skype’s Redundancy Control Algorithm for User SatisfactionTuning Skype’s Redundancy Control Algorithm for User Satisfaction
Tuning Skype’s Redundancy Control Algorithm for User SatisfactionAcademia Sinica
 
Network Game Design: Hints and Implications of Player Interaction
Network Game Design: Hints and Implications of Player InteractionNetwork Game Design: Hints and Implications of Player Interaction
Network Game Design: Hints and Implications of Player InteractionAcademia Sinica
 
Mitigating Active Attacks Towards Client Networks Using the Bitmap Filter
Mitigating Active Attacks Towards Client Networks Using the Bitmap FilterMitigating Active Attacks Towards Client Networks Using the Bitmap Filter
Mitigating Active Attacks Towards Client Networks Using the Bitmap FilterAcademia Sinica
 

Mehr von Academia Sinica (20)

Computational Social Science:The Collaborative Futures of Big Data, Computer ...
Computational Social Science:The Collaborative Futures of Big Data, Computer ...Computational Social Science:The Collaborative Futures of Big Data, Computer ...
Computational Social Science:The Collaborative Futures of Big Data, Computer ...
 
Games on Demand: Are We There Yet?
Games on Demand: Are We There Yet?Games on Demand: Are We There Yet?
Games on Demand: Are We There Yet?
 
Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...
Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...
Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on ...
 
Cloud Gaming Onward: Research Opportunities and Outlook
Cloud Gaming Onward: Research Opportunities and OutlookCloud Gaming Onward: Research Opportunities and Outlook
Cloud Gaming Onward: Research Opportunities and Outlook
 
Quantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud GamesQuantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud Games
 
量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值
量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值
量化「樂趣」-以心理生理量測探究數位娛樂商品之市場價值
 
On The Battle between Online Gamers and Lags
On The Battle between Online Gamers and LagsOn The Battle between Online Gamers and Lags
On The Battle between Online Gamers and Lags
 
Understanding The Performance of Thin-Client Gaming
Understanding The Performance of Thin-Client GamingUnderstanding The Performance of Thin-Client Gaming
Understanding The Performance of Thin-Client Gaming
 
Quantifying QoS Requirements of Network Services: A Cheat-Proof Framework
Quantifying QoS Requirements of Network Services: A Cheat-Proof FrameworkQuantifying QoS Requirements of Network Services: A Cheat-Proof Framework
Quantifying QoS Requirements of Network Services: A Cheat-Proof Framework
 
Online Game QoE Evaluation using Paired Comparisons
Online Game QoE Evaluation using Paired ComparisonsOnline Game QoE Evaluation using Paired Comparisons
Online Game QoE Evaluation using Paired Comparisons
 
GamingAnywhere: An Open Cloud Gaming System
GamingAnywhere: An Open Cloud Gaming SystemGamingAnywhere: An Open Cloud Gaming System
GamingAnywhere: An Open Cloud Gaming System
 
Are All Games Equally Cloud-Gaming-Friendly? An Electromyographic Approach
Are All Games Equally Cloud-Gaming-Friendly? An Electromyographic ApproachAre All Games Equally Cloud-Gaming-Friendly? An Electromyographic Approach
Are All Games Equally Cloud-Gaming-Friendly? An Electromyographic Approach
 
Forecasting Online Game Addictiveness
Forecasting Online Game AddictivenessForecasting Online Game Addictiveness
Forecasting Online Game Addictiveness
 
Toward an Understanding of the Processing Delay of Peer-to-Peer Relay Nodes
Toward an Understanding of the Processing Delay of Peer-to-Peer Relay NodesToward an Understanding of the Processing Delay of Peer-to-Peer Relay Nodes
Toward an Understanding of the Processing Delay of Peer-to-Peer Relay Nodes
 
Inferring Speech Activity from Encrypted Skype Traffic
Inferring Speech Activity from Encrypted Skype TrafficInferring Speech Activity from Encrypted Skype Traffic
Inferring Speech Activity from Encrypted Skype Traffic
 
Improving Reliability of Web 2.0-based Rating Systems Using Per-user Trustiness
Improving Reliability of Web 2.0-based Rating Systems Using Per-user TrustinessImproving Reliability of Web 2.0-based Rating Systems Using Per-user Trustiness
Improving Reliability of Web 2.0-based Rating Systems Using Per-user Trustiness
 
A Collusion-Resistant Automation Scheme for Social Moderation Systems
A Collusion-Resistant Automation Scheme for Social Moderation SystemsA Collusion-Resistant Automation Scheme for Social Moderation Systems
A Collusion-Resistant Automation Scheme for Social Moderation Systems
 
Tuning Skype’s Redundancy Control Algorithm for User Satisfaction
Tuning Skype’s Redundancy Control Algorithm for User SatisfactionTuning Skype’s Redundancy Control Algorithm for User Satisfaction
Tuning Skype’s Redundancy Control Algorithm for User Satisfaction
 
Network Game Design: Hints and Implications of Player Interaction
Network Game Design: Hints and Implications of Player InteractionNetwork Game Design: Hints and Implications of Player Interaction
Network Game Design: Hints and Implications of Player Interaction
 
Mitigating Active Attacks Towards Client Networks Using the Bitmap Filter
Mitigating Active Attacks Towards Client Networks Using the Bitmap FilterMitigating Active Attacks Towards Client Networks Using the Bitmap Filter
Mitigating Active Attacks Towards Client Networks Using the Bitmap Filter
 

Kürzlich hochgeladen

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Kürzlich hochgeladen (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Game Bot Detection Based on Avatar Trajectory

  • 1. Game Bot Detection Based on Avatar Trajectories Kuan-Ta Chen Academia Sinica Andrew Liao NTU Hsing-Kuo Kenneth Pao NTUST Hao-Hua Chu NTU ICEC IFIP 2008
  • 2. Game Bots AI programs that can perform some tasks in place of gamers Popular in MMORPG and FPS games MMORPGs (Massive Multiplayer Role Playing Games) accumulating rewards efficiently in 24 hours a day breaking the balance of power and economies in games FPS games (First-Person Shooting Games) a) improving aiming accuracy b) fully automated achieving high ranking without proficient skills and efforts Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 2
  • 3. Bot Detection Detecting whether a character is controlled by a bot is difficult since a bot obeys the game rules perfectly No general detection methods are available today State of practice is identifying via human intelligence Detection: Bots may show regular or peculiar behavior; Confirmation: Bots cannot talk like humans Labor-intensive and may annoy innocent players Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 3
  • 4. Earlier Bot Prevention / Detection Work Prevention CAPTCHA tests (Completely Automated Public Turing test to tell Computer and Human Apart) Detection Process monitoring at client side Constantly changing the bot program’s signature Traffic analysis at the network Remove bot traffic’s regularity by heavy-tailed random delays Aiming bot detection using Dynamic Bayesian Network Specific to aiming bots that help aim the target accurately Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 4
  • 5. CAPTCHA in a Japanese Online Game Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 5
  • 6. Our Goal for Bot Detection Passive detection No intrusion in players’ gaming experience No client software is required Generalizable schemes (for other games and other game genres) Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 6
  • 7. Our Solution: Trajectory-based Detection Based on the avatar’s moving trajectory in game Applicable for all genres of games where players control the avatar’s movement directly Avatar’s trajectory is high-dimensional (both in time and spatial domains) Use manifold learning to distinguish the trajectories of human players and game bots Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 7
  • 8. The Rationale behind Our Scheme The trajectory of the avatar controlled by a human player is hard to simulate for two reasons: Complex context information: Players control the movement of avatars based on their knowledge, experience, intuition, and a great deal of information provided in the game. Human is not always logical and optimal How to model and simulate realistic movements is still an open question in the AI field?! Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 8
  • 9. Bot Detection: A Decision Problem Q: Whether a bot is controlling a game client given the movement trajectory of the avatar? A: Yes / No? Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 9
  • 10. Talk Progress Overview Data Description Proposed Schemes Feature-based Manifold learning: Dimensionality Reduction using Isomap Conclusion Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 10
  • 11. Case Study: Quake 2 Choose Quake 2 as our case study A classic FPS game Many real-life human traces are available on the Internet more realistic than traces collected in experiments Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 11
  • 12. A Screen Shot of Quake 2 Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 12
  • 13. Data Collection Human traces downloaded from GotFrag Quake, Planet Quake, Demo Squad, and Revilla Quake Sites Bot traces collected on our own Quake server CR BOT 1.14 Eraser Bot 1.01 ICE Bot 1.0 Each cut into 1,000-second segments Totally 143.8 hours of traces were collected Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 13
  • 14. Data Representation t (X, Y) (X, Y) (X, Y) Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 14
  • 15. Trails of Human Players Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 15
  • 16. Trails of CRBot Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 16
  • 17. Trails of Eraser Bot Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 17
  • 18. Trails of ICE Bot Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 18
  • 19. Talk Progress Overview Data Description Proposed Schemes Feature-based Manifold learning: Dimensionality Reduction using Isomap Conclusion Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 19
  • 20. Proposed Schemes Scheme 1 – Feature Based: Extraction of Important Features, Combined with Decision Tree ON/OFF Activity Pace Path Turn Scheme 2 – Manifold Learning Based High-dimensional data Dimension reduction Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 20
  • 21. Feature Extraction Given a segment of a trajectory, {xt, yt}, 1 ≤ t ≤ T, we extract the following features from this two-dimensional time series: ON/OFF Activity Pace Path Turn Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 21
  • 22. Movement Trail Analysis Activity mean/sd of ON/OFF periods Pace (1 step) speed/offset in each time period teleportation frequency Path (several steps) linger frequency/length smoothness detourness Turn frequency of mild turns, wild turns, and U-turns Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 22
  • 23. ON/OFF Activity Features Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 23
  • 24. Pace-Related Features Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 24
  • 25. Path-Related Features path length detourness = effset Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 25
  • 26. Turn-Related Features Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 26
  • 27. Data Point Mapping using the First Three Principle Components Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 27
  • 28. Classification Results using Decision Tree Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 28
  • 29. Proposed Schemes Scheme 1 – Feature Based: Extraction of Important Features, Combined with Decision Tree ON/OFF Activity Pace Path Turn Scheme 2 – Manifold Learning Based High-dimensional data Dimension reduction Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 29
  • 30. The Complete Process: Overview Decision Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 30
  • 31. Step 1. Pace Vector Construction For trace sn , we compute the pace in consecutive two seconds by sn,i+1 − sn,i = (sn,i+1 − sn,i )T (sn,i+1 − sn,i ) We then compute the distribution of pace lengths with a fixed bin size by Fn = (fn,1 , fn,2 , . . . , fn,B ) where B is the number of bins in the distribution. Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 31
  • 32. Examples of Pace Vectors Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 32
  • 33. Step 2. Dimension Reduction with Isomap Pace vectors have 201 dimensions We adopt Isomap for dimension reduction for Better performance Reduce computation overhead in classification Isomap Assume data points lie on a smooth manifold Construct the neighborhood graph by kNN (k-nearest neighbors) Compute the shortest path for each pair of points Reconstruct data by MDS (multidimensional scaling) Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 33
  • 34. A Graphic Representation of Isomap Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 34
  • 35. Distance Measure between Pace Vectors 1. Euclidean Distance 2. Kullback-Leibler divergence (or KL distance) where P & Q are feature vectors of dimension d Because KL distance is not symmetric, we use a symmetric version instead Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 35
  • 36. PCA (Linear) vs. Isomap (Nonlinear) Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 36
  • 37. Step 3. Classification Apply a supervised classifier on the Isomap-reduced pace vectors To decide whether a pace vector belongs to a bot or a human player Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 37
  • 38. Five Methods for Comparison Method Data Input kNN Linear SVM Pace Vectors Nonlinear SVM Isomap + kNN Isomap-reduced Pace Isomap + Nonlinear SVM Vectors Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 38
  • 39. Evaluation Results Error Rate False Positive Rate False Negative Rate Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 39
  • 40. Talk Progress Overview Data Description Proposed Schemes Feature-based Manifold learning: Dimensionality Reduction using Isomap Conclusion Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 40
  • 41. Conclusion We propose a trajectory-based approach for detecting game bots. Feature-based method shows descent result We can improve the result and efficiency further by Isomap + nonlinear SVM approach. Human’s logic in controlling avatars is hard to simulate we believe this approach has the potential to be a general yet robust bot detection methodology Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 41
  • 43. Thank You! Hsing-Kuo Kenneth Pao ICEC IFIP 2008
  • 44. Addition of Gaussian Noise Bot programmers can try to evade from detection by adding random perturbation into bots’ movement behavior Evaluate the robustness of our scheme by adding Gaussian noise into bots’ trajectories Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 44
  • 45. Addition of Gaussian Noise (cont) Human Bots Gaussian Noise Bots with Noise Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 45
  • 46. Evaluation Results Error Rate False Positive Rate False Negative Rate Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 46
  • 47. Cross-Maps Validation Sometimes human movement may be restricted by the environment around him/her. Whether a classifier trained for a map can be used for detecting bots on another map? The Edge The Frag Pipe Warehouse Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 47
  • 48. Evaluation Results Error Rate False Postive Rate False Negative Rate Hsing-Kuo Kenneth Pao / Game Bot Detection Based on Avatar Trajectory 48