hackingincidents.ai
Incidents289Sources240Dataset2026-11-17Last sweep2026-11-17
Ledger / Aug 2025

APT41 uses Gemini for C++ and Golang code and obfuscation help on its OSSTUN C2 framework

Confirmed

Google, the model provider, states APT41 used Gemini for this code.

Model
GeminiGoogle · closed
Agent harness
Nonechat or tool use only
Attributed country
Chinaas attributed by Google Threat Intelligence Group
Sectors hit
unknownOperators' own tooling; campaigns using malicious mobile apps and exploit-hosting lures

APT41 asked Gemini for C++ and Golang code and obfuscation help on its OSSTUN command-and-control framework. GTIG dates the activity to August 2025; it was disclosed in November 2025.

“In order to support their campaigns, the actor was seeking out technical support for C++ and Golang code for multiple tools including a C2 framework called OSSTUN by the actor.”Google Threat Intelligence Group

Sources

Date
Aug 2025
Actor
APT41 (PRC) (nation state), as attributed by Google Threat Intelligence Group
Nexus
China
Targets
Operators' own tooling; campaigns using malicious mobile apps and exploit-hosting lures
What the AI did
Malware dev, Evasion
Model as named
Gemini
Model basis
The model's maker says so
Autonomy
Assisted a human
Outcome
Google disabled the assets.