Levelling Up Security @ Riot Games

Mark Hillick (Head of Player Security · Riot Games)

BruCON 0x0A · Day 1

Overview

In this BruCON 2018 talk, Mark Hillick, Head of Player Security at Riot Games, provides an illuminating retrospective and forward-looking view of the company's security journey. Titled "Levelling Up Security @ Riot Games," the presentation details the evolution of Riot's security posture from a reactive, firefighting approach in 2015 to a more proactive, integrated, and metric-driven strategy by 2018. Hillick emphasizes the unique challenges of securing a global, player-centric gaming company experiencing hyper-growth, where security decisions must always consider the player experience.

Watch on YouTube

Visual summary for Levelling Up Security @ Riot Games by Mark Hillick
Visual summary for Levelling Up Security @ Riot Games by Mark Hillick

Key moments

  1. 0:00 Introduction: Scaling security for millions of players
  2. 4:07 Lessons from 2013 password database breach
  3. 8:10 Building collaborative security culture: T-shirts and RFCs
  4. 18:48 Combating advanced in-game cheating at kernel level
  5. 27:00 Solving leaked AWS API keys with temporary credentials
  6. 31:40 The "Murderball" incident: Learning from cloud mistakes
  7. 50:00 Q&A: Addressing insider threat in a sharing culture

Levelling Up Security @ Riot Games

Speakers: Mark Hillick, Head of Player Security, Riot Games

Conference: BruCON

YouTube: https://www.youtube.com/watch?v=j14UhtS-NQ8

Overview

In this BruCON 2018 talk, Mark Hillick, Head of Player Security at Riot Games, provides an illuminating retrospective and forward-looking view of the company's security journey. Titled "Levelling Up Security @ Riot Games," the presentation details the evolution of Riot's security posture from a reactive, firefighting approach in 2015 to a more proactive, integrated, and metric-driven strategy by 2018. Hillick emphasizes the unique challenges of securing a global, player-centric gaming company experiencing hyper-growth, where security decisions must always consider the player experience.

The talk highlights Riot's transition from a state of limited visibility and significant technical debt to one characterized by robust automation, centralized logging, and a deep cultural shift towards security ownership across engineering teams. Hillick discusses how Riot Games tackled issues ranging from cloud security sprawl and secrets management to the complex landscape of in-game cheating and insider threats. His insights offer valuable lessons for organizations grappling with rapid expansion, diverse infrastructure, and the necessity of embedding security deeply within their operational DNA.

This article delves into the methodologies, tools, and cultural transformations that enabled Riot Games to significantly "level up" its security, offering practical takeaways for security professionals in any industry. It underscores the importance of collaboration, transparency, and continuous measurement in building an effective and resilient security program.

Background

▶ Watch: Introduction: Scaling security for millions of players (0:00)

Riot Games, renowned for its immensely popular game League of Legends, operates on a massive scale, serving millions of players globally. This vast player base necessitates a diverse, hybrid infrastructure spread across the world, presenting significant challenges for incident response and information security. Hillick illustrates this scale by noting that eSports players for League of Legends hold the same working visas as elite professional athletes, underscoring the game's cultural and economic impact. The core philosophy driving Riot's operations, and consequently its security strategy, is an unwavering focus on the player experience. This means security decisions are not merely a balance of risk versus business, but rather a consideration of how security measures will affect player enjoyment and accessibility. For instance, in 2015, Riot deliberately delayed patching the POODLE vulnerability due to a large segment of its player base, particularly in Asia, still running Windows XP which required older SSLv3 ciphers.

The genesis of Riot's security transformation can be traced back to a significant incident in 2013, just three months into Hillick's tenure. The company suffered a major breach, losing its password database and experiencing the leak of a prototype unreleased game via a founder's Twitter profile. This incident exposed a severe lack of visibility within Riot's network, with incident response relying on manual log collection from individual servers. The rapid "hockey stick" growth of League of Legends had led to security becoming an afterthought, as the immediate priority was always to add capacity and serve the player. This resulted in a constant state of "firefighting" against emergent vulnerabilities like Heartbleed, Shellshock, and various web application issues.

The move to cloud infrastructure further exacerbated these challenges. Developers, eager for rapid deployment, bypassed traditional operations teams, leading to a "Wild Wild West" environment characterized by a "Spaghetti Junction" of connections, wide blast radii for incidents, and "shared accountability" that often translated to no accountability. This period accumulated a substantial amount of tech debt. Recognizing the unsustainability of this approach, Riot's security team consciously shifted its strategy in 2015. Their goal was to move from being an isolated "security team in the corner" to being an "embraced" and collaborative partner, integrated into projects from the outset. Early initiatives included rewarding security champions with custom t-shirts and implementing Request for Comments (RFCs) – a collaborative process for developing security philosophies and proposals, mirroring Riot's existing engineering practices. By November 2014, Riot had also launched a bug bounty program with HackerOne, initially consuming 70% of the OPSEC team's sprint time, which quickly reduced to 15-20% and eventually 5% as processes matured.

Key Findings

▶ Watch: Building collaborative security culture: T-shirts and RFCs (8:10)

Riot Games' security evolution from 2015 to 2018 yielded several pivotal findings and strategic shifts, fundamentally altering its security posture.

Firstly, the security team itself underwent significant growth and specialization, doubling in size to approximately 50 people. This expansion allowed for the formation of distinct teams: Platform Security (accountable for bare metal and multi-cloud infrastructure), Sec Ops (incident response, threat intelligence, Red Team/Blue Team operations), Riot Security (office and development infrastructure, replacing "corporate security"), and OPSEC (application security, now including Anti-Cheat). This structured approach enabled more focused and effective security efforts.

A major success was the global adoption and iteration of RFC 242, the Secure Office RFC. Within three years, this initiative achieved compliance across over 20 worldwide offices, restricting code access to only necessary personnel (e.g., finance and publishing offices no longer had code access). The solution leveraged SaltStack for automation and provided centralized logging, network visibility, and host visibility. Crucially, each office was represented by a machine-readable JSON file, allowing for programmatic querying of security status. This infrastructure also integrated Riot's bespoke threat intelligence, proving more effective than standard vendor signatures for their unique threat landscape. The second version of their packet capture solution, utilizing Moloch and Suricata (replacing Security Onion), reduced costs by 60% while increasing automation and visibility.

The inclusion of an Anti-Cheat team was a direct response to the unique challenges of the gaming industry. Hillick noted a concerning trend: individuals who once wrote malware were increasingly turning to game cheats, often operating at the kernel and driver level, given the perceived lower legal risk. Riot's strategy for anti-cheat is multi-faceted: prevention (in-game client software for memory encryption), detection (behavioral models by data scientists, device ID technology), and deterrence (legal action against sophisticated "scripting suites" that operate like businesses).

The bug bounty program continued to mature, growing to nearly 220 private researchers and paying out approximately $1.8 million since its 2014 launch. Notable changes included the introduction of legal safe harbor for researchers and increased transparency around payout structures, with some remote code execution (RCE) bugs on player machines fetching $10,000, and the largest single payout being around $70,000-$75,000. Trend analysis revealed a decrease in domain hijackings and cross-site scripting (XSS) due to improved tools and collaboration, but an increase in improper authentication vulnerabilities.

A significant shift occurred in secrets management, particularly concerning AWS API keys. Recognizing the rapid exploitation of leaked keys (GitGuardian detected a leak in 1 minute, an attacker used it in 7 minutes, while bug bounty reports took 3 days), Riot developed an internal tool, AWS Key CLI. This tool provides temporary API keys, integrates with multi-factor authentication (MFA), and is designed to fit seamlessly into developer workflows. Crucially, its adoption and usage are measured via an ELK stack, providing metrics on unique users, key generations, and requests.

Perhaps the most impactful finding was the necessity of enforcing cloud resource ownership and attribution. An incident in October 2016, where an internal tool (dubbed "Murderbot" or Cloud Inquisitor) inadvertently took down the "Clubs" feature in League of Legends due to untagged EC2 instances lacking disaster recovery, highlighted this. This led to the development of an RFC for AWS tagging enforcement, focusing on three key tags (owner, project, environment). Cloud Inquisitor, later open-sourced, systematically identifies and removes untagged, unowned, or insecurely configured AWS resources (e.g., EC2 instances, EBS volumes, S3 buckets), leading to a reduction of 3,500 EC2 instances and substantial cost savings. This painful but transparent incident fostered closer collaboration with engineering teams and reinforced the importance of clear communication and measurement.

Overall, the key findings underscore a transition from reactive security to one that is proactive, deeply integrated into engineering workflows, culturally embraced, and continuously measured for effectiveness.

Technical Deep Dive

▶ Watch: Combating advanced in-game cheating at kernel level (18:48)

Riot Games' security evolution is marked by several technically sophisticated initiatives designed to operate at scale and address specific challenges.

The Secure Office RFC (RFC 242) represents a significant technical undertaking. While seemingly basic, its global implementation across 20+ offices, many operating outside core development, required robust automation. Riot leveraged SaltStack for configuration management and automation of office infrastructure, ensuring consistent security baselines. A key innovation was treating each office as code, represented by a machine-readable JSON file. This allowed the security team to query the security posture of any office programmatically, a stark contrast to previous manual methods. Centralized logging and pervasive network and host visibility were foundational, enabling the integration of bespoke threat intelligence tailored to gaming-specific threats that standard vendor signatures often missed. For network packet capture, Riot transitioned from Security Onion to a more customized and cost-effective solution built around Moloch (version 2, reducing costs by 60%) and Suricata, with custom additions for enhanced detection capabilities. This stack provided a unified dashboard for all Intrusion Detection System (IDS) alerts, offering deep drill-down capabilities.

The Anti-Cheat strategy involves cutting-edge techniques to combat sophisticated adversaries. Recognizing that many cheat developers possess skills akin to malware authors and are operating at the kernel and driver level, Riot has developed its own in-game client software to perform memory encryption, raising the bar for exploit developers. Detection relies heavily on data scientists who build behavioral models to identify anomalous player patterns, such as sudden increases in win rates, rapid champion changes, or unusual MMR (Matchmaking Rating) fluctuations. Device ID technology within the client further aids in tracking and identifying repeat offenders or account sharing. Deterrence involves legal action against "scripting suites," which are often organized like businesses with engineering, marketing, and sales teams.

The bug bounty program on HackerOne was refined to be researcher-focused, offering clear guidelines and transparent payouts. Payouts are structured, with significant rewards for critical vulnerabilities like arbitrary code execution on a player's machine via the game client, launcher, or mobile applications, often reaching $10,000. The largest single payout recorded was between $70,000 and $75,000 for a particularly severe exploit, likely RCE.

Secrets management was revolutionized by the development of AWS Key CLI, an internal tool designed to mitigate the risks of leaked permanent AWS API keys. The impetus came from observing that a leaked API key could be detected by GitGuardian on GitHub within a minute, exploited by an attacker in seven minutes, but only reported via the bug bounty program after three days. AWS Key CLI generates temporary (ephemeral) API keys linked to Riot's internal multi-factor authentication (MFA) system, significantly reducing the window of opportunity for attackers. The tool offers both a user-friendly web UI and a command-line interface, integrating seamlessly into engineers' daily workflows. To measure its effectiveness and adoption, Riot implemented an ELK stack (Elasticsearch, Logstash, Kibana) to track metrics such as unique users, number of push requests, OTP (One-Time Password) requests, and keys generated, providing crucial insights into its impact.

The Cloud Inquisitor tool, famously nicknamed "Murderbot," is a cornerstone of Riot's cloud security strategy. Born from the painful lesson of an incident caused by untagged AWS resources, Cloud Inquisitor automates the enforcement of metadata tagging (owner, project, environment) on AWS assets, starting with EC2 instances, then expanding to EBS volumes and S3 buckets. The tool operates on a staggered schedule of notifications, shutdowns, and terminations over a 12-week period to allow teams to remediate. Architecturally, Cloud Inquisitor runs within Riot's dedicated security AWS account, using STS (Security Token Service) ephemeral credentials to query resources across multiple other Riot accounts. Its backend consists of an EC2 front-end running Nginx, a Python Flask application with SQLAlchemy, and an RDS MySQL database. Beyond tagging, it checks for essential security services (e.g., centralized logging enabled), manages policy enforcement, and detects potential domain hijacking. The tool's UI provides a transparent view of security posture per account, displaying metrics like running instances, public IPs, and missing tags, with email notifications providing actionable remediation steps. Cloud Inquisitor was open-sourced at AWS re:Invent, making its capabilities available to the wider community.

Demo / Proof of Concept

▶ Watch: The "Murderball" incident: Learning from cloud mistakes (31:40)

While the talk did not feature a live, interactive demonstration in the traditional sense, Mark Hillick effectively conveyed the functionality and impact of Riot Games' security tools through various visual aids. He presented screenshots and diagrams of internal dashboards and tool outputs that served as compelling proof-of-concept for the systems discussed.

For instance, Hillick showed a unified dashboard illustrating how all IDS (Intrusion Detection System) systems feed into a central point, allowing for detailed drill-down into individual system data. He also displayed a screenshot of Moloch, demonstrating its utility for packet capture and network visibility. The AWS Key CLI tool was showcased with both its web UI for generating temporary keys and its command-line interface output, highlighting its ease of use and integration into developer workflows. Metrics from the ELK stack monitoring AWS Key CLI adoption were presented, visually demonstrating user engagement and key generation trends.

Perhaps most notably, the Cloud Inquisitor (Murderbot) UI was shown, providing a clear visual representation of its capabilities. This included dashboards displaying the number of running instances, public IP addresses, and the tagging status across different AWS accounts, along with the email notification format that guides developers on how to bring their resources into compliance. These visual representations, though static, effectively illustrated the transparency, measurability, and user-centric design principles behind Riot's custom security solutions.

Defensive Implications

▶ Watch: Q&A: Addressing insider threat in a sharing culture (50:00)

Riot Games' journey provides several critical defensive implications for organizations aiming to strengthen their security posture, particularly those operating at scale or in rapidly evolving environments.

  1. Prioritize Visibility and Centralized Logging: The initial 2013 breach stemmed from a severe lack of visibility. Riot's subsequent focus on centralized logging, network, and host visibility (e.g., using Moloch and Suricata) is paramount. Defenders must ensure all critical infrastructure, especially cloud resources, feeds logs into a central analytics platform for effective incident detection and response.
  2. Enforce Secure Configurations Through Automation and Culture: The success of RFC 242 and Cloud Inquisitor highlights the need for automated enforcement of security policies. Treating infrastructure as code (e.g., JSON files for office configurations) and using tools like SaltStack or Cloud Inquisitor to ensure compliance is crucial. This must be backed by a cultural shift where security is embraced, not just mandated, by engineering teams.
  3. Adopt Ephemeral Credentials: The rapid compromise of leaked AWS API keys underscores the danger of permanent credentials. Organizations should prioritize migrating to temporary/ephemeral credentials wherever possible, integrating them with multi-factor authentication and existing developer workflows. Building or adopting tools like Riot's AWS Key CLI can significantly reduce the attack surface.
  4. Measure and Communicate Security Effectiveness: If security efforts aren't measured, their value cannot be proven. Implementing metrics (e.g., via an ELK stack) to track tool adoption, compliance rates, and risk reduction is vital. This data not only validates security investments but also fosters transparency and engagement with engineering and leadership.
  5. Tailor Solutions to Unique Threat Landscapes: Generic security solutions may not suffice for industry-specific threats. Riot's anti-cheat efforts, addressing kernel-level malware-like attacks, demonstrate the need for bespoke solutions and specialized teams (e.g., data scientists for behavioral analytics, in-game memory encryption). Defenders should analyze their unique threat models and adapt accordingly.
  6. Embed Security into Development Workflows: Moving security "left" by integrating it directly into developer workflows (e.g., RFCs as code, security tools that are part of daily routines) is more effective than acting as a gatekeeper. Provide actionable feedback, speak the developers' language, and collaborate on solutions rather than just pointing out problems.
  7. Don't Neglect Cloud Disaster Recovery: The "Clubs" incident serves as a stark reminder that the cloud is not magic; physical aspects like backups and disaster recovery still apply. Organizations must ensure comprehensive DR plans are in place for all cloud resources, with clear ownership and regular testing.
  8. Leverage and Contribute to Open Source: Riot's use of Moloch, Suricata, and GitGuardian, alongside its open-sourcing of Cloud Inquisitor, illustrates the power of community. Defenders should actively evaluate and contribute to open-source security tools, fostering collective defense.
  9. Address Insider Threat with Data and Culture: While Riot values an open culture, it acknowledges the inherent risk of insider threats. Combining robust logging and data analysis with a culture of accountability and, when necessary, targeted access restrictions for highly sensitive information, is a balanced approach.

Key Takeaways

  • Shift from Reactive to Proactive and Metric-Driven Security: Riot Games successfully transitioned from a firefighting mode to a strategic, data-informed security program by prioritizing visibility, automation, and continuous measurement of tool adoption and risk reduction.
  • Embrace Collaboration and Integrate Security into Engineering Culture: By adopting RFCs, creating security champions, and building tools that seamlessly fit into developer workflows, Riot fostered a culture where security is seen as a shared responsibility rather than an external blocker.
  • Address Unique Industry Threats with Specialized Solutions: The gaming industry's specific challenges, such as sophisticated in-game cheating operating at the kernel level and insider threats, necessitated bespoke anti-cheat technologies and tailored security strategies beyond generic enterprise solutions.
  • Automate Cloud Security and Enforce Resource Ownership: The "Murderbot" (Cloud Inquisitor) incident highlighted the critical need for automated tagging enforcement, temporary credentials, and clear ownership of cloud resources to mitigate sprawl, reduce risk, and control costs.
  • Transparency and Communication are Paramount During Incidents: The handling of the "Clubs" outage, though initially painful, demonstrated that transparent root cause analysis and open communication can rebuild trust and even strengthen relationships with engineering teams.
  • Leaders Must Model Self-Care to Prevent Burnout: Mark Hillick's personal reflection on burnout underscores the importance for security leaders to prioritize work-life balance, as a burnt-out workforce is less effective and more prone to errors.

About the Speaker(s)

Mark Hillick is the Head of Player Security at Riot Games. Originally from Ireland, he moved to Los Angeles, California, before the BruCON 2018 talk, where he enjoys surfing in his free time. As of the talk, Hillick had been with Riot Games for five and a half years, bringing approximately 17 to 18 years of industry experience to his role. He previously presented at BruCON in 2015, making this talk a continuation of his insights into Riot's evolving security landscape. His leadership has been instrumental in guiding Riot Games through significant security transformations, emphasizing a player-centric approach and fostering a collaborative security culture.

Reviews

→ Top-rated talks at BruCON 0x0A

All talks from BruCON 0x0A