Skip to content
Commentary technologyprofessional-services

"Looks LLM-Written": What the Evidence Supports When Vendors Say Malware Was Machine-Generated

Two vendor write-ups from the same week make a similar remark about attacker code. In its SCKit analysis, Huntress captions a figure: “The C# source code of the RelayTrap executable appears to have been generated by an LLM, based on the detailed source code references and comments that explain exactly what it is intended to do.” In its Citrus Ransomware report, Securelist writes of two commands: “Both commands come with comments, something attackers rarely bother with, so the comments very likely point to LLM use.” It also says one version of a PowerShell script “contained comments suggesting that it was likely edited with an LLM.”

Both statements are hedged, though the sources are not uniformly hedged: Securelist’s opening says the attackers “integrate LLMs (large language models) into the process of infrastructure compromise” and it describes “commands generated by LLMs” flatly. The hedged sentences are the ones that state the evidence, which is why we focus on them. Both are reasonable observations. They are also easy to over-read. This piece is about what that kind of evidence can carry.

What the evidence is

For the LLM-use claims specifically, the basis is stylistic: unusually thorough comments, and code that explains its own intent. The vendors reason from the artifact. As of 2026-11-16, neither of the two posts we opened reports a prompt log, an API record, a model name or any infrastructure link to an AI service. Huntress says “appears”; Securelist says “very likely” for one case and “likely” for another. We take those hedges at face value.

What it supports

  • Some of the code was probably written or edited with help from a model. That is a modest claim and the hedged wording matches it.
  • Operators are willing to use such tools in live intrusions. Securelist describes LLM-assisted commands and scripts in a ransomware operation. Huntress describes a large toolkit with a self-explanatory source file. Neither is a lab demonstration.

What it does not support

  • Capability. A commented script does not show that the author could not write it unaided, or that the model made the operation more effective. Our assessment is that the reports show convenience, not demonstrated uplift.
  • Novel technique. Neither report, as we read them, describes a technique that defenders could not already detect. The detection content in both is conventional: process, file, scheduled task and network indicators.
  • Attribution. Style is weak evidence of who wrote code. Comments are as easily left in by an inexperienced human. Securelist’s link between Citrus and another cluster, Toy Ghouls, rests partly on shared TTPs and tools stored in the same directories, on both groups being Russian-speaking and attacking only Russian companies, and on the same infrastructure being compromised simultaneously by both in several incidents. Securelist also says their infrastructures do not directly overlap. It does not rest on LLM use, and nothing in the LLM observation should be used to extend it.
  • Scale or speed. Huntress’s 288 hosts in about 90 minutes is attributed to panel access and a Run Command feature, not to an AI component. We would not credit the LLM remark with any of that tempo.

What would raise confidence

Our assessment is that a claim like this becomes much stronger with any of the following, none of which we saw in the two posts: recovered prompts or chat transcripts from attacker infrastructure; API keys or billing records tied to an AI service; repeated, measurable stylistic markers across many samples compared against a baseline of human-written malware; or a vendor demonstration that a model reproduces the sample from a plausible prompt. Each is hard to obtain, which is why the hedged wording the vendors chose is appropriate. It is also why readers should resist upgrading it.

A fair counterpoint: defenders do not need proof to act on the trend. If operators can generate commented, working scripts quickly, the cost of producing per-host variants falls, and Huntress notes that file hashes are weak indicators for SCKit partly because scripts are rebuilt and the trap binary is compiled per host. That supports behaviour-based detection. It does not require the LLM claim to be proven.

Why the distinction matters

Reports are quoted. A hedged caption becomes a headline, then a board slide, then a purchasing argument. Each step drops the qualifier. If a team writes “attackers are using AI to build malware” into a risk register, that is defensible. If it writes “this campaign was AI-driven”, the source evidence does not say so.

There is also an analytic cost. Tagging code “LLM-generated” can crowd out the questions that change a response: how did they get in, what did they persist with, what did they touch. In the SCKit case, Huntress’s most actionable material is the extension flaw, the artifact list and the do-not-connect-through-ScreenConnect guidance. None of it depends on whether a model wrote RelayTrap.

What to do with this

  1. Record LLM-use observations as an attribute of the artifact with the confidence the vendor gave, not as a property of the campaign.
  2. Keep detections keyed on behaviour and artifacts. Comments and style are not durable indicators, since the next build can drop them.
  3. Do not use “LLM-written” as an attribution input without independent evidence such as infrastructure, access records or a shared pipeline.
  4. Treat the claim as a trend signal and ask vendors to publish the basis (comment samples, versions, any recovered prompts) so others can test it.

What we could not establish

  • We did not examine the malware samples ourselves. Our reading is of the two published reports.
  • We cannot say how widespread LLM-assisted tooling is among attackers. As of 2026-11-16 we found no systematic measurement in the sources we opened.
  • We opened the Huntress and Securelist pages only for this piece. Other vendors may have published stronger evidence that we did not review.
  • The conclusions on capability and attribution are our assessment.