Malware infects Android-based automotive head unit firmware

Malware infects Android-based automotive head unit firmware

Kaspersky expert has discovered new Android malware designed to serve ads and build a proxy botnet. It's delivered through legitimate software for Do Fun head units. While monitoring Android threats in June 2026, we discovered a new piece of Android malware. What struck us as unusual was that it installed like an ordinary user app yet made no attempt to disguise itself as legitimate software: it had no user interface at all. This led us to suspect the app might be reaching users’ devices without their knowledge. Further investigation confirmed that hypothesis and allowed us to reconstruct the entire infection chain. Kaspersky solutions detect the threats described below under the following detection names: A head unit is a system that combines multimedia functions with partial control over certain vehicle functions. Head units may come as part of a car’s factory equipment or as an aftermarket upgrade. The main attack vectors for these systems are compromise via physical access and vulnerabilities in the head unit’s OS or components, both of which we’ve covered previously . In some cases, head units run on Android, primarily because it’s convenient for manufacturers: Android’s source code already accounts for use cases within automotive head units. Android also allows manufacturers to add their own system applications during the build process, which they can use for a range of purposes: customizing the UI, adding system components tailored to the vendor’s needs, and more. Most apps developed for Android devices can also run on an Android-based head unit, and that is true for malware as well. That said, it’s hard to imagine certain categories of smartphone-targeted malware being used to attack a head unit. Banking Trojans are a good example: since mobile banking is used almost exclusively on smartphones, infecting a head unit with a banking Trojan would be a waste of the attacker’s resources. It’s worth noting that head units often include SIM card slots and can connect to the internet, enabling features like navigation and software updates.

Since a head unit typically holds nothing of value to an attacker, one of the more likely attack scenarios using “classic” Android malware is infecting the device to recruit it into a botnet – similar to attacks on IoT devices. During our research, we found exactly that kind of malware. The design of firmware for Do Fun head units enabled attackers to distribute malware. We notified the vendor about the distribution scheme, and they subsequently reported fixing the security issues. TWCore is a legitimate system application responsible for collecting analytics data and updating the head unit software. Let’s take a closer look at how the update function works. The process is fairly simple. An MQTT message broker hosted on the subdomain cardoor[.]cn sends a message containing information about the APK files that need to be downloaded and installed on the head unit. Notably, the object describing this message includes an install Not Exists field, a Boolean flag that can be set to true or false. This flag allows TWCore to install apps that weren’t originally present on the device. TWCore only checks whether an app is already installed on the device when install Not Exists = false The APK file is downloaded to /push/apk/ for installation. Our telemetry revealed previously unknown malware at these file paths. On top of that, our data indicates that in every observed case, the malware was installed by an app with the package name com.tw.core , which matches the TWCore package name. Next, we’ll break down the malware installed by TWCore: the Jar Service dropper. As mentioned earlier, Jar Service is a small dropper app with no UI of any kind.

It decrypts data stored as encrypted blocks within the Trojan’s code. Each block is XOR-encrypted with a single-byte key that shifts linearly from block to block. The decrypted data contains serialized information about the payload version and entry point, along with the malware’s own code for further loading. Decrypting and deserializing information about the stage 2 payload In the version of Jar Service we analyzed, the entry point for the next-stage payload was the wa method of the com.c.j.qbh class. This stage’s payload is a malicious loader. Its code contains encrypted strings that are later used as class names to execute the stage 3 payload using the reflection mechanism. The loader sends implant information to one of the attackers’ servers via a POST request. Example of a request to the C2 server: In response to the POST request, the C2 server returns a link for downloading the stage 3 payload. An example of a C2 response is shown below. The Trojan uses the link in the dex Url field of the data object to download serialized data for loading the next stage. This data begins with a single-byte integer, a key used to decrypt the strings in the loader’s code. Immediately following this number is a four-byte floating-point value used to XOR-decrypt the stage 3 payload, which itself is located after these keys. In the decrypted payload, the entry point is the init method of the com.ast.sdk.

Sources cited: 📰 Hacker News ↗

⚡ Effects Interpreter

🌍World Economy

  • Cross-border money flows can quietly change direction after events like this.
  • Economies far from the headline can still catch the aftershocks.

🏙️Local Economy

  • Prices at your local shops could feel a gentle, indirect squeeze from this.
  • Everyday costs in your town could drift as the wider economy reacts.

🏦Rates & Banks

  • Any move in rates would probably come later, not overnight.
  • Interest rates and mortgage bills are unlikely to jump straight away from this alone.

❤️Health

  • Neighbours and families might feel more anxious until the dust settles.
  • Looking after mental health is worth it when headlines feel heavy.

💷Wealth

  • Your pension or investments might sway a touch as markets digest this.
  • Savings and portfolios can see short-lived ups and downs after a story like this.

🏠Housing

  • House prices and rents are unlikely to shift the moment this news breaks.
  • The property market tends to move slowly, so expect any change to take time.
Share: 𝕏 Twitter Facebook LinkedIn WhatsApp

Editorial note: This analysis was produced by the News Effects Interpreter, an AI editorial tool that cross-references 1 independent news sources and contextualises events in terms of their real-world impact on ordinary people. Original reporting is linked above. News Effects does not alter the facts of source reports.