<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Serafim Pinto on Medium]]></title>
        <description><![CDATA[Stories by Serafim Pinto on Medium]]></description>
        <link>https://medium.com/@serafimpinto?source=rss-fafa56342c74------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*EhXVeUlZsU8MCmyHd4jirQ.jpeg</url>
            <title>Stories by Serafim Pinto on Medium</title>
            <link>https://medium.com/@serafimpinto?source=rss-fafa56342c74------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:58:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@serafimpinto/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Client-Side vs Server-Side Anti-Cheat]]></title>
            <link>https://medium.com/anybrain/client-side-vs-server-side-anti-cheat-6721d38eb347?source=rss-fafa56342c74------2</link>
            <guid isPermaLink="false">https://medium.com/p/6721d38eb347</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[videogames]]></category>
            <category><![CDATA[anticheat]]></category>
            <category><![CDATA[gaming]]></category>
            <dc:creator><![CDATA[Serafim Pinto]]></dc:creator>
            <pubDate>Fri, 27 May 2022 13:34:18 GMT</pubDate>
            <atom:updated>2022-05-27T16:05:29.902Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWwJY9cd_hiREvs86GygPQ.png" /><figcaption>Anybrain: Client-Side vs Server-Side</figcaption></figure><p>This topic is not an easy one to talk about, I will not approach it by telling which one is better, but only compare the two contexts in practice and describe the fundamentals, pros, and cons of the anti-cheat solutions and some techniques that are in the gaming industry right now.</p><p>Nowadays any big and competitive game is “protected” by its own solution or they are using the most well-known anti-cheats in the industry. These types of systems have the main objective of deterring and detecting bad actors, such as hackers and cheaters. By itself, a game using an AC (anti-cheat) always has an impact that goes through stopping the most traditional cheaters, however, this does not happen in all games out there. But the perception of a game being protected by an anti-cheat, I believe always has that positive impact in this fight against cheaters.</p><p>Hacking and developing cheats is a growing reality, and it’s not easy to stop or just end it. There are communities, forums, and groups of organized people who have a lot of motivation to develop hacks and cheats for games. Cheaters will always exist, and it will always be the endless game of cat and mouse. Hackers will always try to hack games and anti-cheats if only for the monetary value they can get out of it by selling exploits and cheats on the internet. And of course, with our gaming industry growing, the effort to stop needs to be even bigger.</p><h3>Understanding the client-side…</h3><p>Cheating is a problem that plagues every event that involves one human competing with another, whether it’s poker, sports, or online gaming. In most cases, you can avoid cheating by reducing all forms of privacy and having some person check every player for cards, opponents, or whatever. However, when playing online, you must inherently trust the client.</p><p>Gamers wonder why companies that run large competitive games rely solely or primarily on client-side verification, and of course, there is an answer to that. It is not so much why to rely on the client-side, but why there is no other viable model to protect the game from some known ways of modifying the game. For example, digital rights management (DRM) is the use of technology to control and manage access to copyrighted material. Another meaning of DRM is to take control of digital content from the owner and hand it over to a computer program, using a secret key, encrypting the content to make it impossible to access so that only those who have the key can decrypt and watch it. This type of software has mitigations to prevent the client from pooking too much, but of course, this must be implemented on the client-side to prevent the client from accessing or doing things the company doesn’t want them to do.</p><p>The technology of an anti-cheat is based on the same foundation, information that is collected from the client-side, and if it is detected doing things it shouldn’t, through sophisticated routines that are checked during the use of the application, that information about the client’s bad behavior is sent to the server which subsequently applies the ban. You can put all the protections in the world on the client, but hackers can exploit these protections, allowing themselves to cheat.</p><h4>Windows 11 new security features</h4><p>There are other things that can help reduce the impact of cheaters in video games. Microsoft recently released Windows 11 with at least one interesting thing called TPM security that I think can really help and increase the level of security when developing a game, and make it harder to bypass it.</p><blockquote>Trusted Platform Module, or TPM, is a secure cryptoprocessor that secures a computer via an integrated cryptographic key. But in more basic terms, it’s like a security alarm for your computer to prevent hackers or malware from accessing data. (<a href="https://www.tomsguide.com/news/what-is-a-tpm-and-heres-why-you-need-it-for-windows-11">source</a>)</blockquote><p>The new Windows 11 TPM feature may actually help developers in the future to solve the privilege problem by adding some assurance of trusted computing and not having strange things running in the kernel, there is a completely safe state in user mode that you can trust. And it will also help with the privacy concerns that exist with anti-cheats accessing at the kernel level.</p><p>So, in summary, having a good client anti-fraud solution is good because it can get the job done most of the time, but relying on client-side security alone may not be the best position to be in. Since a breach can happen with the right tools and expertise, it is only a matter of time. And when it happens, an update needs to be patched, and in that time, some players will abuse and take advantage.</p><p>However, there is also a need for client-side cheating detection due to the fact that games depend on the skill of the player. This means that cheating can happen on several levels: hardware, input, and software. Software is only the most convenient, there is usually very little that can be done to protect against a proficient bot, but here at <a href="https://anybrain.gg/">Anybrain</a> we have the right tools to efficiently <a href="https://blog.anybrain.gg/bots-in-videogames-the-future-of-hacking-5fe1166461b9">detect bots</a> and input changes. If there is no protection on the client-side, this eliminates all chances that may exist to stop or detect any hacker. At <a href="https://anybrain.gg/">Anybrain</a>, through behavioral analysis sent to the server, it is possible to detect these types of cheats through hardware or input modifications, and we are very proud of that.</p><p>Developing hacks and cheats requires a lot of trial and error and even having full access to the source code, every time there is an update all this work needs to be done again, so client-side protection works in general because the amount of skill and effort that needs to be put in is enormous and if you are found the consequences are severe.</p><h3>Is server-side the solution?</h3><p>Other types of approaches can protect the game in a more subtle way, without having to rely so heavily on the anti-cheat client side. There is the possibility to limit the use of cheats, a good example of this is the cheat wallhack type for FPS games. I will explain that this is achieved by the simple way of not feeding the client with so much information, if the client does not have this information, it is impossible to hack and create the cheat by manipulating this data.</p><p>So there is no need to send data about things that the player cannot see or hear, such as their location. This can reduce the amount of data that the game client needs to manipulate. So by design, this will reduce the mechanisms by which they can hack or create a cheat. It should not be reasonable to use the client to tell which enemy I have shot, because that way it would be easy to exploit my client and say I shot another player. Instead, the client should send the position when shooting, and the server can validate if the player hit.</p><h4>But is it really that simple? What is the cost of strengthening the server-side and preventing the client from receiving data?</h4><p>For example, in an online poker game, you simply must not send the value of any cards to the player that he cannot know. So even if he does hack the client, there is nothing hidden that he can reveal and no cheat he can do that he cannot do with a normal client. But does this work for all games? Of course not, modern games are much more complex.</p><p>In an FPS game, it is not so easy to decide if and how well you can see another player. You can say that it is easy, if there is a wall between the two of you, you can’t see. And for those simple cases, modern games can already select the enemy player from your view, so you can’t get the position where he is. But once the enemy is in a dark, barely visible corner, the game still needs to send his position to you so that your graphics device can paint him there.</p><p>LAG can also be a problem, in a first-person shooter game, you will normally move the mouse very fast and see the screen rendering super fast. But sending this action over the network and waiting for the result to appear on the screen will take longer than rendering locally. With a fast internet connection, you may be lucky, but not all connections are stable and the delay can sometimes increase. And a game that reacts slowly will not be a very fun game for sure, the experience would be horrible.</p><p>Another example is sound, a stereo sound requires a 3D localization of the source. To play a step sound, your client needs to know exactly where the step came from, you could convert it into a wallhack, right? Restricting server-side protection is not enough, you need more than that.</p><h3>ML server-side can help?</h3><p>Absolutely yes, we love it! For a <a href="https://en.wikipedia.org/wiki/AAA_(video_game_industry)">AAA</a> with millions of players, it is crucial to have an ML (machine learning) system that monitors analytics to identify cheating and enhanced investigation processes to detect and deter cheaters. There is no one solution, you need everything combined, and ML is part of that. Nothing is a silver bullet, but ML can help a lot especially when you are a AAA game.</p><h3>Final thoughts</h3><p>Passing all calculations to the server can be exorbitantly expensive. Therefore, the client would need to save all user interactions and the time they occurred. Moving all this information to the server to do the analysis may not be reasonable, so instead some of the computation is sent to the client. So it is really necessary to perform a cost-benefit analysis and find the right balance between computing costs and risk management.</p><p>Investing in sophisticated server-side routines will definitely increase the security level in many ways, and cloud gaming is a good example of this, but is this enough? If a bad actor tries to access a streaming game, by design, it is very limited what you can do. You don’t have access to the exe/dll files and their inputs, and there is no modifiable code either. This is what cloud game security offers, a significant leap forward in fraud protection. But there are always a ton of opportunities to cheat which cannot easily be defeated by traditional anti-cheat software. What about letting a robot play for you? Or even things like DDoS attacks from a botnet on your enemy team to disturb their communications?</p><p>So, having an anti-cheat client-side with an extra layer of security where the code cannot be touched and applying data science can be a scenario that can ensure you don’t have honest players to be punished, but as I said before nothing is a silver bullet and there is no perfect solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6721d38eb347" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anybrain/client-side-vs-server-side-anti-cheat-6721d38eb347">Client-Side vs Server-Side Anti-Cheat</a> was originally published in <a href="https://medium.com/anybrain">Anybrain</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud-Based Gaming: A Game Changer For Security?]]></title>
            <link>https://medium.com/anybrain/cloud-based-gaming-a-game-changer-for-security-70dd0f831869?source=rss-fafa56342c74------2</link>
            <guid isPermaLink="false">https://medium.com/p/70dd0f831869</guid>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[anticheat]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud-gaming]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[Serafim Pinto]]></dc:creator>
            <pubDate>Thu, 07 Jan 2021 16:44:39 GMT</pubDate>
            <atom:updated>2021-01-07T16:44:39.725Z</atom:updated>
            <content:encoded><![CDATA[<p>A study of cloud-based gaming security and its risks</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dc2axzoxgLm3aXjdaXEnTA.png" /><figcaption>Anybrain: Cloud Gaming</figcaption></figure><p>Well… more or less! First, let’s understand what cloud gaming is, and then we’re going to take a look at its security and risks.</p><h3>What is cloud gaming?</h3><p>A consensual and generic definition of what cloud gaming is —</p><blockquote>Cloud gaming, sometimes called gaming on demand or gaming-as-a-service, is a type of online gaming that runs video games on remote servers and streams them directly to a user’s device, or, more colloquially, playing a game remotely from a cloud. It contrasts with traditional means of gaming, wherein a game runs locally on a user’s video game console, personal computer, or mobile device. [<a href="https://en.wikipedia.org/wiki/Cloud_gaming">source</a>]</blockquote><p>Normally, you’d put a CD into your computer or console, or download a game to your drive. The game runs smoothly enough and looks great because you need the necessary computing power to make it happen.</p><p>With cloud gaming, you are playing games via a remote server instead of a local machine. You stream games, just like you’d stream a Netflix video, the difference is that cloud gaming relies on the user sending inputs back to the cloud server while receiving video and audio simultaneously. Every time you press a button for your character to do an action, that input gets sent to a remote server, tells the game what you’ve done, and sends you a new video frame that shows you the result.</p><p>This project seemed too ambitious a few years ago. Latency, low bandwidth, and a few other things could already make that difficult for someone playing on a local machine, let alone streaming it themselves. But it seems like these companies are all-in on eliminating those issues, so playing games via the cloud can already be a good experience and one as good as playing on a local machine like a console, computer, or smartphone. Cloud gaming requires significant infrastructure for the services to work, including servers for running the games, and high bandwidth internet connections with low latency for delivering the stream to the users.</p><p>So what’s the current state of cloud gaming? In this article, I will not focus on this, not even specify each service and their features or pricing, because it is not the point, but I will still give you a quick overview of this already crowded space:</p><ul><li>Google Stadia</li><li>Nvidia GeForce NOW</li><li>xCloud -Xbox Game Pass Ultimate</li><li>Amazon Luna</li><li>Shadow PC</li><li>Maximum Settings</li><li>Blacknut Cloud Gaming</li></ul><p>These are not all the services that are available today, but these are what I considered the most popular and most relevant cloud gaming platforms at the moment.</p><h3>Cloud-based gaming is here to stay</h3><p>Cloud computing provides new opportunities to the gaming industry and can solve some of its issues as well. The level of security when playing through a cloud-based platform prevents external interruptions such as hacking or bypassing the client. On those platforms, the information is stored inside of a virtual space which makes it less exposed and open compared to traditional game client-server architecture.</p><p>Here’s a list of some benefits:</p><ul><li><strong>security</strong> — traditional bypass of the game client, interrupting, or hacking will be harder as the game data is not stored in a local machine.</li><li><strong>privacy</strong> — your information is protected by industry standards (so little opportunity for hackers).</li><li><strong>reduced costs</strong> — the cloud-based systems follow a “pay as you go” in which companies pay only for what they use.</li><li><strong>game support</strong> — if your computer breaks, you won’t lose the game progress. Cloud gaming also eliminates the need to install games and content updates.</li><li><strong>devices of any type</strong> — allows users to play high-end games on low-end machines, so you can experience excellent quality even with a cheap laptop.</li><li><strong>easy access to multiple games</strong> — users can play multiple games and switch between them easily.</li><li><strong>reduce chances of piracy</strong> — without physical gaming software copies, piracy is much harder, so the cloud reduces the chances of unauthorized manipulation.</li><li><strong>any game, any device, at any location</strong> — cloud gaming supports the use of multiple devices such as smartphones, laptops, desktops, etc. The users can play from anywhere in the world without even carrying a console.</li></ul><p>In summary: a lot of benefits, more security, but, of course, there are also a few threats that we need to talk about. The most obvious and the most popular threat to the cloud-based gaming industry is the distributed denial of service (<a href="https://en.wikipedia.org/wiki/Denial-of-service_attack">DDoS</a>) attack. The user account and saved games are stored in the cloud. So with the service down, it would be impossible to play any game. These attacks are executed directly to the game servers. However, they can also be the target along with the entire gaming platform and cause serious damage. They could also take the entire system offline, denying access to authentications on cloud-based accounts and saved games, for example. The good news is there are several DDoS mitigation methods available for cloud-based game servers that studios can put in place to prevent these types of attacks.</p><p>Traditional online multiplayer games always rely on a balance between a server and a client application. With cloud-based games architectures, it uses a server-side application that takes away control from the user and minimizes exploits options for hackers and cheaters. So regarding the question in this section, the answer is — yes, absolutely yes — cloud-based gaming is a lot more secure against “bad actors” because it is a lot more difficult to exploit and manage game data.</p><h3>Is a cloud-based game bulletproof against cheaters and hackers?</h3><p>These “bad actors” are most common on the PC platforms — and are a big issue for game developers and game studios. Cheaters can destroy the success of a multiplayer game in various ways: changing skills, using scripting hacks, wallhack, obtain infinity or unlimited money, health, ammo, achievements, etc.</p><p>This leads to a lesser number of active players in a game, a toxic community, and, in the end, an obvious impact on sales. <a href="https://www.statista.com/statistics/748044/number-video-gamers-world/">Statistica</a> estimates that, by 2023, there will be 3.07 billion active gamers worldwide. So, with millions of dollars at stake, hackers and cheaters’ exploits can have even more devastating effects and completely prevent the success of a game, while erasing so many years and effort in development. A not-so-new phenomenon that studios shouldn’t take lightly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YRuHzQCI4p2-4smK6zxopA.png" /><figcaption>Anybrain: Gamers Growth</figcaption></figure><p>Cloud computing has solved many problems experienced by gamers and publishers but…</p><h3>Are we there yet?</h3><p>In my opinion, no, and I will explain why. It is still possible to cheat in a cloud-based game, not in the same way as the traditional approach (bypassing the game client, using code injection, memory changes, etc), but it is possible. Here are some examples.</p><ul><li><strong>Scripting</strong> — is a technique that allows the cheating player to automate certain tasks, or to perform them with unnatural velocity, artificially increasing the player’s performance. These techniques are generally implemented using specific software or by exploiting features of the game (e.g. assigning the fire action to the scroll of the mouse to fire at much faster rates). One such example is the automatic reloading of a gun when certain conditions are met or rapid-fire actions.</li><li><strong>Boosting (you can check </strong><a href="https://medium.com/anybrain/how-and-why-boosting-affects-the-gaming-industry-48b485dea9a4"><strong>here</strong></a><strong> the impact in your video game)</strong> — or stat-padding is a method through which a player will use multiple accounts and play one against the other, with the main goal to boost (i.e. significantly improve) the player’s standing in tournament rankings and league tables to allow participation in more valuable competitions and get more sponsorship money. This can also be carried out by multiple players, in which one or several players agree to allow the cheating player to win, allowing her/him to artificially improve their personal best number of points.</li></ul><p>A few days ago I watched a<a href="https://www.youtube.com/watch?v=nJ3p96TevMw"> video</a> explaining how to use<a href="https://www.tensorflow.org/"> TensorFlow</a> (open source machine learning platform) to analyze the video frames inside a game window (the game was CS: GO) to detect objects — the goal was to find the center of rectangles on the enemies, move the mouse to the center and shoot them. For those unfamiliar with it, this is Aimbot cheat, as simple as that! I was very surprised by the final result, an efficient cheat without too many lines of code.</p><p>Of course, this video was captured on a normal PC game. But with a similar approach, you could very easily hack a cloud-based title, as you don’t even need to bypass the game. It would work perfectly and be very difficult to catch.</p><p>The hackers’ creativity is limitless and they will always find new ways to cheat in a cloud-based game. This was just one example.</p><h3>How can we fight them?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k6euKF-oblLcVeOqBog1dQ.png" /><figcaption>Anybrain: Security, Privacy and Integrity</figcaption></figure><p>Cheating in games goes back for decades, the main difference now is that the online, cloud-based gaming infrastructures have significantly increased the scale and impact. As a result, cloud gaming companies should actively scan for vulnerabilities that could be exploited by cheaters as well as suspicious user activity that could indicate cheating.</p><p>Traditional and well-known anti-cheats in the market currently use strategies to prevent mostly a bypass into the game, looking for suspicious malware running in your machine, memory-poking attacks, code injection, network traffic forgery, etc., working very similar to an anti-virus.</p><p>Many anti-cheating controls have been put in place, some more effective than others. But that approach makes no sense for cloud-based games because the local machine is receiving only a stream and the game itself is miles and miles away. One efficient way to catch these cheaters is analyzing <strong>behavioral biometrics, telemetry, or in-game data</strong> <strong>statistics</strong> and trying to detect anomalies for the user’s behavior and identify that as a type of cheat.</p><h3>References</h3><ol><li><a href="https://www.pcgamer.com/what-you-need-to-know-about-the-current-state-of-cloud-gaming/">https://www.pcgamer.com/what-you-need-to-know-about-the-current-state-of-cloud-gaming/</a></li><li><a href="https://www.digitaltrends.com/gaming/cloud-gaming-vs-console-gaming/">https://www.digitaltrends.com/gaming/cloud-gaming-vs-console-gaming/</a></li><li><a href="https://www.theverge.com/2019/6/19/18683382/what-is-cloud-gaming-google-stadia-microsoft-xcloud-faq-explainer">https://www.theverge.com/2019/6/19/18683382/what-is-cloud-gaming-google-stadia-microsoft-xcloud-faq-explainer</a></li><li><a href="https://searchcloudsecurity.techtarget.com/tip/How-to-combat-cloud-based-gaming-security-risks">https://searchcloudsecurity.techtarget.com/tip/How-to-combat-cloud-based-gaming-security-risks</a></li><li><a href="https://www.ideaminetech.com/blog/top-8-benefits-cloud-computing-gaming-industry/">https://www.ideaminetech.com/blog/top-8-benefits-cloud-computing-gaming-industry/</a></li><li><a href="https://en.wikipedia.org/wiki/Cloud_gaming">https://en.wikipedia.org/wiki/Cloud_gaming</a></li><li><a href="https://www.statista.com/statistics/748044/number-video-gamers-world/">https://www.statista.com/statistics/748044/number-video-gamers-world/</a></li><li><a href="https://vexxhost.com/blog/cloud-computing-in-gaming/">https://vexxhost.com/blog/cloud-computing-in-gaming/</a></li><li><a href="https://www.cloudsigma.com/seven-aspects-you-should-consider-before-developing-or-streaming-games-in-the-cloud/">https://www.cloudsigma.com/seven-aspects-you-should-consider-before-developing-or-streaming-games-in-the-cloud/</a></li><li><a href="https://medium.com/datadriveninvestor/how-cloud-based-solutions-are-transforming-the-online-gaming-industry-66c8a88690ec">https://medium.com/datadriveninvestor/how-cloud-based-solutions-are-transforming-the-online-gaming-industry-66c8a88690ec</a></li><li><a href="https://medium.com/anybrain/how-and-why-boosting-affects-the-gaming-industry-48b485dea9a4">https://medium.com/anybrain/how-and-why-boosting-affects-the-gaming-industry-48b485dea9a4</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70dd0f831869" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anybrain/cloud-based-gaming-a-game-changer-for-security-70dd0f831869">Cloud-Based Gaming: A Game Changer For Security?</a> was originally published in <a href="https://medium.com/anybrain">Anybrain</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>