by Lovely Antonio & Lance Go
There’s this running joke about how a game of Uno can destroy relationships and put life-long friendships under strain. I mean, what could be worse than being given a stack of +4 cards by your significant other, or catching a "Reverse" when victory is all but certain? Well, it turns out there are worse things that could happen. In this version of Uno, it’ll be a malware you’ll get rather than just a couple of +4 cards.
We’ve recently uncovered an UnoPlay game client built as an Electron application. However, rather than just allowing players to play Uno and slap their friends with Uno reverse cards, it also allows a threat actor to steal data from the victim using a Java based RAT.
Using UNO as a cover to distribute malware makes for an effective lure given how widespread and well known the game itself is. An original version of the UNO game application shows us just how popular it is, with over 100 million downloads.
The application itself is built as an Electron application. Deploying desktop programs with Electron can be more efficient as it allows a developer to just reuse an existing web codebase. Other big name desktop applications also use the Electron framework, such as Discord and Slack. Aside from just being a convenient platform to deploy desktop programs, it also makes for a neat malware distribution method.
In this case, IRAHook is deployed via an UnoPlay game client using an Electron framework. We’ve seen threat actors deploy stealers before with Electron applications, usually in the form of JavaScript based malware that would’ve worked too if it was deployed in a webpage. However, this sample in particular doesn’t employ that usual method. Instead, it uses a fake Electron application to directly deploy a heavily obfuscated Java archive (JAR). The JAR has a payload associated with IRAHook – a remote access trojan (RAT) and stealer.
We extracted the archive using: npx @electron/asar extract app.asar app_asar_extracted.
After extraction, two files were of particular importance: package.json and index.js. The package.json file identifies the application and its main JavaScript entry point. The index.js file contains the logic responsible for launching the bundled Java runtime.
Dissecting this command there are several things that stood out. First, the malware uses javaw.exe instead of java.exe. Unlike java.exe, javaw.exe does not normally open a console window. Second, the launcher enables native access and additional Java reflection permissions. These options are relevant because the malware later uses reflection and native Windows APIs. Finally, the launcher specifies a class named V. This is important because Java archives can contain a main class defined in their manifest. But the Electron launcher directly executes V.
Inside the Java Payload
The bundled Java archive is named "91b65073a47c.jar". We first listed its contents.
The archive contains more than 3,000 Java class files, but not all these classes belonged to the malware itself. The JAR also contains third-party Java libraries, including components associated with HTTP communication, WebSockets, databases, and native Windows API access. Most of the malicious classes belong to a package namespace beginning with: izini_birakir_arkasinda_geceler. This is a Turkish phrase "İzini bırakır arkasında geceler" that translates to English as "Nights leave their mark behind" or "Nights leave a trace behind." We found several Turkish-language artifacts, suggesting that the malware may have been created by a Turkish-speaking developer.
Why the Java Code was Difficult to Analyze
At first glance, the Java code was almost unreadable. Instead of descriptive class and method names, the malware used names made up of visually similar characters. The repeated use of uppercase I, lowercase l, and lowercase i makes it difficult to distinguish one name from another as seen in Figure X. But confusing names were only one part of the problem.
We identified several protection techniques.
Control-flow obfuscation: The malware contains heavily modified control flow. Instead of following a simple sequence of instructions, many methods use complex branching structures and large lookupswitch instructions. This makes it harder for decompilers to reconstruct readable Java code. A function that originally performed a few simple operations could appear as a much larger method containing numerous branches and calculations.
Encrypted strings: Important strings were also protected. Rather than storing all command names, URLs, and configuration values as readable text, the malware reconstructed many of them during runtime. This means that searching the original JAR for suspicious strings could miss important functionality.
Hidden method calls: Another challenge was the extensive use of Java's invokedynamic instruction. Normally, we see a recognizable Java API call such as Cipher.getInstance("AES/CTR/NoPadding"). The protected code can use invokedynamic to hide the actual method being called. The target method is resolved when the program runs. This made it difficult to understand some operations from the original bytecode alone.
Although graphical Java decompilers were useful for an initial overview, we also relied on Java's built-in disassembler, javap. The command we used is javap -classpath 91b65073a47c.jar -p -c -v V.
This allowed us to inspect the actual Java bytecode, including Method descriptors, Static fields, invokedynamic instructions, Bootstrap method information and References to Java APIs. Even when a decompiler could not produce readable Java source code, javap could still expose useful information.
Using the Malware’s own Code to Deobfuscate it
Instead of trying to manually reverse every encrypted string and hidden method call, we used a different approach. The technique was inspired by earlier IRA-Stealer research from the Slatewell Team. The basic idea is simple. The malware will eventually decrypt its own strings and resolve its own method calls to function. If we can examine the program after that information has been reconstructed, we may be able to recover it. For IRAHook, an important part of this process happens during Java class initialization.
Java classes can contain a special method called <clinit>. This method is responsible for initializing static fields. When a class is initialized, Java executes its initialization logic.
In IRAHook, this process also reconstructs many protected values. An example is one class may initially contain an encrypted string stored inside a static array. During initialization, the malware decrypts the string and stores the result in a field. After initialization, the field may contain the readable value. We used this behavior to recover information.
One of the first classes we examined was V, the Java entry point used by the Electron launcher.
After initialization, the earlier extraction recovered strings such as:
- --ens
- --websocket
- --antivm
- --recovery
- --recoverysend
- --module-upd
- --vs264
- --test-elevate
- ens-refresh
- net-check
- recovery_dump
- browser_dump_
These strings provide clues about the malware's functionality. The string --ens and ens-refresh suggest an Ethereum ENS-related component. The recovery-related strings point towards data collection or recovery functions. The recovered strings did not explain every operation on their own, but they helped us identify which classes warranted further investigation.
Strings were not the only useful information. The malware also uses Java MethodHandle objects. A MethodHandle is a Java object that refers to a method, constructor, or field operation. IRAHook stores many of these objects in arrays. After class initialization, we inspected the resolved method references.
Some extraction recovered references to SecretKeyFactory.getInstance, SecretKeyFactory.generateSecret, Base64.Decoder.decode, Cipher.getInstance, Cipher.init, and Cipher.doFinal.
These method names are much easier to understand than the original obfuscated identifiers. They also reveal which Java APIs the code uses. This helped us investigate functions that were originally hidden behind indirect method calls.
The extraction did not automatically restore the original Java source code. Many methods remained heavily obfuscated. But still it gave us a searchable collection of strings, method references, and other data.
We could then connect those findings to the original bytecode. This greatly reduced the amount of code we needed to investigate manually. Instead of examining hundreds of classes without context, we could identify groups of classes associated with specific functions.
Mapping IRAHook's Components
Using the recovered information, we began mapping the malware's internal architecture. We grouped classes based on their strings, Java API references, method structures, and other supporting evidence. We also assigned readable names to important classes.
IRAHook’s Components
Now that we have an overview of the deobfuscated components, the next section goes into more detail of what each component is capable of.
Command-and-Control Mechanism
One of the more interesting discoveries was how IRAHook locates its command-and-control (C2) infrastructure. Instead of relying only on a fixed server address, the malware contains code that retrieves configuration data through Ethereum Name Service. ENS is a naming system built around Ethereum. It allows readable names to be associated with blockchain-related records. IRAHook uses Ethereum JSON-RPC requests to retrieve an ENS text record.
This technique has become increasingly common since 2023, with threat actors using it to conceal their C2 infrastructure.
Now back to IRAHook, during deobfuscation, we recovered strings such as:
- eth_call
- wss://
- /ws
- ens-refresh
We also identified references to the following Ethereum RPC services:
eth.drpc.org
ethereum-rpc.publicnode.com
These are legitimate Ethereum RPC providers. Their presence is not malicious by itself. But in this sample, the malware uses them as part of its configuration discovery process. The recovered code indicates that IRAHook retrieves information using an Ethereum JSON-RPC request.
We then attempted to verify this behavior in our internal lab environment. The goal was to observe how IRAHook communicated with the RPC service without contacting the actual C2 infrastructure.
We observed the malware sending an HTTPS request containing the JSON-RPC method:
The request contained the function selector 0x59d1d43c. This corresponds to the ENS text-record function:
text(bytes32,string). We also examined the encoded text-record key. The request contained 657761. Converting these hexadecimal bytes to text gives ewa as the ENS text key record and the observed chain uses the name el.turko.eth. With the use of ENS Website to query and look if el.turko.eth exists. Once the sample establishes a WebSocket connection, this is where the malware transitions into RAT functionality.
The live ENS record value was not retrieved during this analysis and no live WebSocket C2 endpoint was contacted.
Browser Credential and Session Collection
The browser collector supports both Chromium-family and Gecko/Firefox-family stores. Recovered artifacts and SQL strings support collection of saved logins, cookies, payment cards, browsing history, autofill records and downloads. Session/token-related output is also present. Firefox handling explicitly references NSS and PK11SDR_Decrypt.
Hidden Remote Desktop and HVNC
Another major component is associated with hidden virtual network computing, commonly called HVNC.
HVNC allows remote interaction with a desktop or application environment that may not be visible to the person using the computer.
Several command markers are:
- HVNC_INPUT|
- HVNC_APP|
- HVNC_STARTED|
- HVNC_STOPPED
- HVNC_CLIP_GET
- HVNC_CLIP_SET|
- HVNC_ACTIVATE|
- HVNC_CLOSE_APP|
These strings suggest that the malware contains a command protocol for controlling applications, user input, and clipboard-related operations.
Screen, Video, Webcam and Input Capture
We also identified classes related to screen capture and video streaming.
Recovered strings included:
- screenshot.jpg
- openh264
- vs_h264
- 720p
- 1080p
- keyframes=
- bitrate=
- sentBytes=
These strings are consistent with screenshot generation and video encoding. The malware also contains commands associated with starting, stopping, and managing streams. OpenH264-related references were especially useful because they pointed toward video compression functionality.
Keylogging is exposed through .keylog_start/.keylog_stop/.keylog_clear. Window/input control and clipboard classes support keyboard/mouse manipulation and clipboard get/set behavior.
Conclusion
This research shows another instance of threat actors continuing to abuse legitimate and familiar applications to deploy sophisticated malware. By disguising IRAHook as an UNO game, the threat actor can utilize a seemingly harmless application to spread Java based malware.
What makes this variant of IRAHook particularly interesting is the range of capabilities observed together with the rather interesting delivery method. It also uses obfuscation extensively to hamper analysis or detection efforts. This further highlight the importance of looking beyond what decompilers can reveal.
Ultimately, this case serves as a good reminder that not all familiar applications are guaranteed to be safe. Electron framework and Java are legitimate tools that can genuinely be helpful, but their abuse also has the ability to turn ordinary software into a custom malware delivery method.
Because sometimes, the biggest threat isn’t your friend playing you a +4 card, but the game itself.
IoC List
Installer SHA-256
0e167b5df8098eb17ba0f013e195137d588d5195d4d4448c8ad61d7dbafa6102
app.asar SHA-256
906574866dc74bef6a7e72180b9c535cc4ec1701bd45b987112cba9d015adfbe
JAR SHA-256
e0dd7aee39e9e3400ead179fdbce18efac9b54e414d0313fa8ec2e657b66107e
Electron product
PlayUno / playuno
Java entry point
V ira-6000bc16
ENS name
el.turko[.]eth
ENS text key
ewa
ENS registry
0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e
ENS namehash
586f498af8a0c8706396613b8867f92dfb07f5c7cd1bbe372cc5c4aa2a2ccd92
Build marker
build-version: 2025-08-30-V11
MITRE ATT&CK
Defense Evasion
- T1027 – Obfuscated Files or Information: Obfuscated JavaScript; I/l/i Java symbols; encrypted literals; invokedynamic indirection.
- T1497 – Virtualization/Sandbox Evasion: Anti-VM/sandbox scoring controller and native anti-VM strings.
Credential Access
- T1555 – Credentials from Password Stores: Chromium Login Data and Firefox NSS credential paths.
Collection
- T1056.001 – Input Capture: Keylogging: .keylog_start, .keylog_stop, and .keylog_clear command set.
- T1113 – Screen Capture: .ss and screenshot/video capture subsystem.
- T1125 – Video Capture: .cam, .camlist, and streaming commands.
Command and Control
- T1071.001 – Application Layer Protocol: Web Protocols: WebSocket command channel and HTTP/JSON-RPC ENS resolution.
Execution
- T1059.003 – Command and Scripting Interpreter: Windows Command Shell: .cmd, .admin, and process execution helpers.
Discovery
- T1057 – Process Discovery: .processes command and process-management helpers.
Impact
- T1529 – System Shutdown/Reboot: .shutdown and .reboot commands.
















