Ransomware abuses Genshin Impact's kernel mode anti-cheat to bypass antivirus protection

Some code in purple and white whooshing away from the screen. A genshin impact emoticon with the character Paimon being surprised by the wooshing is in the corner.
(Image credit: Negative Space edited by Jon Bolding)

Update: HoYoVerse PR sent PC Gamer this statement: "The HoYoverse team takes information security very seriously. We're currently working on this case, and will find a solution as soon as possible to safeguard players' safety and stop potential abuse of the anti-cheat function. We will keep you posted once we have further progress."

Original Story: Security skeptics and advocates have worried for some time now that exploits able to take advantage of anti-cheat kernel-mode drivers could wreak serious havoc on PC security. Now it seems to have happened: The anti-cheat driver used by Genshin Impact, the popular free-to-play RPG, has been abused by a ransomware actor to stop antivirus processes and enable the mass deployment of their ransomware.

A new whitepaper published August 24th to Trend Micro explains how the perfectly legitimate driver mhyprot2.sys was used, absent any other parts of Genshin Impact, to gain root access to a system. 

"Security teams and defenders should note that mhyprot2.sys can be integrated into any malware," wrote authors Ryan Soliven and Hitomi Kimura. 

"Genshin Impact does not need to be installed on a victim’s device for this to work; the use of this driver is independent of the game."

Kernel-mode drivers are at the very core of your computer's system. At the risk of gross oversimplification, software at the kernel level generally has more control over your PC than you do. Genshin Impact's anti-cheat was previously under scrutiny for continuing to run—at the kernel level—even after you closed the game. Developer HoYoVerse, then known as MiHoYo, later changed that.

The paper is clear that this is a severe security breach of the entire Windows operating environment. It notes that the driver module "cannot be erased once distributed" and isn't inherently malicious—simply an abusable piece of otherwise-legitimate software. 

"This module is very easy to obtain and will be available to everyone until it is erased from existence," the paper states. "It could remain for a long time as a useful utility for bypassing privileges. Certificate revocation and antivirus detection might help to discourage the abuse, but there are no solutions at this time because it is a legitimate module."

This is hardly the first time that kernel level anti-cheat has been a security concern for the games industry. A double whammy hit in May 2020 when both Riot Games' Valorant and Doom Eternal released with kernel mode anti-cheat. At the time, Riot noted that plenty of other kernel-level anti-cheat software already existed—although not to the extent of Riot's Vanguard software, which begins when Windows boots up. 

But kernel level anti-cheat technology is generally effective, and for some gamers who are sick of dealing with cheaters, that makes the risk worthwhile. By the end of last year, for instance, Call of Duty players were unhappy enough with cheaters that some welcomed Activision Blizzard having access to every bit of memory on their entire PC.

No matter the history and now-widespread usage, this kind of abuse is exactly what those who feared the spread of kernel-mode anti-cheat were warning of. If a vulnerability has been found, what follows could be significantly worse than vulnerabilities in normal, user-level anti-cheat software. I've reached out to MiHoYo for comment on the report, and will update if I receive a reply.

Contributor

Jon Bolding is a games writer and critic with an extensive background in strategy games. When he's not on his PC, he can be found playing every tabletop game under the sun.

Read more
Mister Fantastic giving a thumbs up
A Marvel Rivals player has uncovered 'one of the most dangerous vulnerabilities a game can have' that'll let cheaters take over your PC and find your passwords
Path of Exile 2 early access class key art
Around 66 accounts in Path of Exile 2 were compromised, due to a one-two punch of an old unused Steam account and a backend bug
Steam logo
A web3 free-to-play survival game found to be a front for installing malware on your PC has finally been removed from Steam
A Path of Exile 2 sorceress casting flaming skulls in a hellish landscape
'We are incredibly sorry': Path of Exile 2 devs apologise for data breach that saw 66 accounts snatched and personal info potentially stolen
Marvel Rivals units - Three superheroes
Marvel Rivals admits that it accidentally banned some players for trying to run the game in a different operating system, which isn't cheating
Zenless Zone Zero Nicole build - Nicole flipping a coin
'Gooner 9/11' averted as Zenless Zone Zero's butt-obfuscation technology is rolled back in the face of horny outrage
Latest in RPG
No Rest for the Wicked Steam early access screenshots
No Rest for the Wicked developer Moon Studios is now 'fully independent' after acquiring the rights to the game from Take-Two
Project C4 teaser still
It's another day of Disco Elysium-related announcements trying to kneecap each other: Studio ZA/UM has put out a teaser for its first new game since 2019, and it's not Disco Elysium 2
Monster Hunter Wilds - a player yells in despair with their arms out, kneeling on the ground.
Some Monster Hunter Wilds players are skipping the endgame weapon grind because they just freaking hate how they look
Art of a woman smoking a cigarette on teal background wearing leather jacket, challenging the viewer.
After suing a Disco Elysium writer to prevent him from making his own game, a tech CEO who's allegedly banned from the Disco Elysium subreddit is trying to crowdfund a spiritual successor
Atelier Ryza's protagonist, Ryza, looks surprised as magic flares around her.
Japanese game producer argues that thick thighs on anime girls are a natural byproduct of economic recession
Monster Hunter Wilds official art
If you've captured them for a minute, monsters in Monster Hunter Wilds are legally allowed to leave
Latest in News
A masked man with an axe in the woods
Rebellion CEO seems kind of awed by major studios making massive videogames: 'How do you organize a game that has 2,000 people working on it?'
A young witch watering a smiling mushroom in a magic garden
Here's a roguelite dungeon crawler Steam reviewers call 'a botanical Diablo' and 'like Cult of the Lamb' except you manage a mystical garden
Destiny 2 Rite of the Nine: The Emissary, massive, ominously standing at the edge of a water basin.
Oops! Bungie rolled out Destiny 2's Rite of the Nine event three weeks early, and new loot is already dropping
Chatacabra from Monster Hunter Wilds
The latest Monster Hunter Wilds event quest gives piles of Armor Spheres for hunting a Chatacabra, making this a very bad week to be a frog in the Forbidden Lands
No Rest for the Wicked Steam early access screenshots
No Rest for the Wicked developer Moon Studios is now 'fully independent' after acquiring the rights to the game from Take-Two
A hunter posing with an absurd Blangonga outfit in Monster Hunter Wilds.
Attention, fashion hunters: There's a Monster Hunter Wilds mod to disable all those obnoxious glowing buff effects that distract from your fits