Deploying AI agents securely: how Kaspersky products mitigate AI threats
What Happened — Kaspersky’s SecureList article outlines how AI‑driven agents (e.g., Claude, OpenAI’s ChatGPT, local LLM tools) are increasingly used in corporate environments and can be abused to run commands, access data, or download malicious “skills.” The vendor describes new detection‑and‑control capabilities built into its Endpoint Detection and Response (EDR), Application Control, Web Control, and Scan Engine products, plus threat‑intel profiles in its portal, to identify, block, and isolate AI‑agent activity on endpoints.
AI agents are now a routine part of corporate environments, capable of running with user privileges to fetch data, execute commands and call out to external services. The rapid spread of these tools has created a new attack surface, especially when they are deployed without oversight from security teams or without clear policies. Kaspersky’s research team says that detecting, tracking and controlling AI agents has become one of the most urgent tasks for defenders, prompting the vendor to embed dedicated expertise across its product suite.
To give analysts a clearer picture of the threat, Kaspersky added detailed AI‑agent profiles to its Threat Intelligence Portal, describing how malicious actors weaponize the programs and the processes they spawn. Endpoint Detection and Response (EDR) components now include specially crafted detection rules that flag the launch of AI agents, monitor their activity and can automatically stop suspicious processes, block the behavior or isolate the host. Kaspersky Endpoint Security—now also marketed as Kaspersky Next—leverages two core modules for this purpose: Application Control, which categorises and regulates every executable on an endpoint, and Web Control, which governs access to web resources. The Kaspersky Scan Engine further inspects installed applications and even scans large‑language‑model (LLM) files for hidden malicious code.
Telemetry collected in September 2026 shows that tools from Anthropic and OpenAI dominate usage among Kaspersky customers. The ten most common AI products are Claude, Claude Code, Codex, OpenCode, Zed, Wispr Flow, LM Studio, ZCode, Chatbox and Cherry Studio, with the top five cloud services being ChatGPT, Google Gemini, Claude, Grammarly and DeepSeek. During 2025‑2026, more than 2,500 vulnerabilities have been disclosed in LLMs, AI tools and related plugins, a sharp increase that Kaspersky’s analysts say underscores the urgency of robust controls.
Application Control operates under two configurable modes. In the default “Denylist” mode, all applications are permitted except those explicitly blocked by rules; the “Allowlist” mode reverses this, permitting only applications that have been pre‑approved. Administrators using the Kaspersky Security Center can assign KL categories to AI‑related software, then block the entire “AI Tools” category so that any attempt to launch an agent triggers a notification and prevents execution. Web Control works in parallel, denying access to websites that host AI‑as‑a‑service offerings and displaying a warning when a user tries to reach a prohibited URL. These mechanisms give security teams granular, policy‑driven control over both local AI agents and the external services they may contact.
To an endpoint detection and response (EDR) platform, an AI‑driven assistant appears as any other process: it has its own executable, spawns child processes, and generates network traffic that must be watched for anomalies. Threat actors can exploit such agents as automation tools, and they may also embed them in ClickFix‑style attacks where a malicious instruction arrives from an untrusted source—such as a document, web page, or email—and the agent executes it. However, Kaspersky notes that not every risky‑looking action by an agent signals an intrusion; a user might simply trigger a benign command without understanding its impact. For that reason, Kaspersky EDR (KEDR) combines its traditional behavioral signatures with a set of rules specifically tuned to flag the behavior of AI utilities, helping analysts pinpoint which tool is involved in suspicious activity.
In a recent investigation of the Armored Likho campaign, Kaspersky analysts observed that the group leveraged AI to generate both loader and dropper binaries that were later packaged with the Nullsoft Scriptable Install System (NSIS). The code bore unmistakable AI fingerprints: unusually large icon blocks embedded in the scripts and verbose comments on every function—features rarely seen in manually written malware. The same operators continued to churn out new modules for their BusySnake Stealer and BusySnake RAT families, including an AI‑crafted component that scans for virtual‑environment artifacts, computes a risk score, and either proceeds with execution or exits with code 0. Although the initial‑access payloads and their modules were AI‑produced, the commands they launch—rundll32 calls and PowerShell scripts—are caught by KEDR’s shell_creation_by_rundll32 and suspicious_powershell_cmd_or_script_spawning signatures. Kaspersky emphasizes that detection hinges on the observable actions (process trees, command lines, network flows), not on who wrote the code.
KEDR therefore ships a suite of AI‑focused rules. The ai_agent_*_access_to_sensitive_file_ family (for example, ai_agent_opencode_access_to_sensitive_file_win) raises alerts whenever an assistant reads files that store credentials, tokens, or keys. The ai_agent_dangerous_execution_mode rule flags agents started in “YOLO” mode—auto‑approving all actions—or with sandboxing disabled, settings that alone do not prove malicious intent but enable high‑risk behavior. A separate suspicious_mcp_server_artifact rule triggers when MCP server scripts appear in hidden, temporary, or cache directories, a technique attackers use to silently link a server to the agent for command delivery and data exfiltration. Finally, llm_api_access_by_unusual_apps alerts on any Windows, Linux, or macOS application that contacts a known external large‑language‑model API outside of predefined exclusions, surfacing atypical model usage. Some rules, such as the ai_agent__execution series and local_ai_model_artifact, merely tag events for later investigation, recording launches of known agents and the creation or modification of local AI model files in standard application, runtime, or cache locations.
The Kaspersky Threat Intelligence Portal (TIP) now hosts extensive profiles for AI agents, sortable by the ai_ prefix. A profile for Claude Desktop, for instance, details the software’s required privileges, supported operating systems, and threat‑actor groups that have employed it, while mapping its capabilities to MITRE ATT&CK tactics and techniques. Detection guidance lists the audit‑log and Sysmon events to monitor on Windows, syscall‑audit and Sysmon events on Linux, and the network protocols the tool typically uses. Artifact lists include command‑line strings, launch parameters, service and scheduled‑task names, and characteristic network traffic. In December 2025, TIP introduced Hunt Hub, a dedicated repository of detection rules that analysts can browse to see the logic behind EDR, NDR, and NGFW signatures—including those targeting AI agents. Each rule card supplies a detailed description, severity and confidence scores, alert format, detection tips, false‑positive notes, supported platforms, the MITRE tactics/techniques covered, and the cyber‑criminal groups known to employ the technique.
The detection logic behind Kaspersky’s AI‑agent safeguards is exposed through a rule card in the Hunt Hub, which feeds directly into the Kaspersky Scan Engine. Skills—pre‑written natural‑language instruction sets that extend an agent’s capabilities—can embed additional programs, helper scripts (often Python), or outright malicious commands. Because a seemingly benign agent can be turned hostile simply by loading a compromised skill, Kaspersky requires that any externally sourced skill be scanned before execution. The Scan Engine is positioned as a cyber‑threat detection and response tool that integrates with a range of applications, flagging malicious code not only in the skill itself but also in any associated scripts or files the agent generates.
Trained large language models (LLMs) arrive in formats such as PTH, PT, PKL, KERS and others, each containing parameters, weights and sometimes the original training data. These model files can also hide malicious code, prompting Kaspersky to treat them as high‑risk assets. The Scan Engine deserializes and analyses models of any size, scanning for infected data regardless of the underlying format. This capability allows the engine to identify and block LLMs that have been tampered with before they are loaded into production environments.
Kaspersky’s broader portfolio reinforces a layered defence against AI‑agent threats. The Threat Intelligence Portal (TIP) supplies up‑to‑date scenarios of AI‑agent abuse, while its Hunt Hub section offers ready‑made detection rules. Endpoint Detection and Response (EDR) watches for AI agents on the network, logs suspicious activity, alerts security‑operations centres and can terminate processes or isolate compromised hosts. Application Control leverages categorisation to outright block unauthorized AI agents, and Web Control limits access to AI‑as‑a‑service (AIaaS) web resources. By embedding the Scan Engine into existing workflows, organisations can scan any file—including agent skills and LLMs—for malicious payloads before it reaches endpoints.
The article lists its contributors as Dmitry Latokhin, Vladimir Kuskov, Maxim Zheltikov, Konstantin Germanov, Alexander Kirichenko, Evgeny Kuskov, Vasily Kolesnikov, Kirill Antonov, Nikolay Sabelfild, Gleb Ivanov, Sergey Kireev and Denis Parinov. The site notes that Akismet is employed to reduce spam, and the page’s navigation includes sections on TIP, EDR, application control, web control, AI‑agent profiles, Hunt Hub and the Scan Engine.
Why It Matters for Trust & Control Assurance — The story tests the control objective of application‑level access control and continuous monitoring of privileged processes, a single control that satisfies requirements across NIST CSF 2.0, ISO 27001, and other frameworks.
Who Is Affected — Enterprises that permit AI‑assistant tools for development, knowledge work, or customer‑facing functions; software‑development firms; IT and security teams responsible for endpoint hygiene.
Recommended Actions
- Define an allow‑list/deny‑list policy for AI‑agent executables using application‑control tooling.
- Deploy EDR rules that flag AI‑agent process trees, suspicious LLM API calls, and “skill” execution.
- Integrate threat‑intel feeds (e.g., Kaspersky TIP) to keep profiles of emerging AI tools up‑to‑date.
- Scan all downloaded AI model files and skill scripts with a dedicated scan engine before execution.
Source: https://securelist.com/tr/how-to-secure-ai-agents/121444/
Technical Notes — AI agents run as regular OS processes; abuse stems from privilege escalation, unsupervised skill execution, and external LLM API calls. Kaspersky’s detection rules target process‑relationship anomalies, auto‑approval (“YOLO”) modes, and access to credential stores. The Scan Engine can deserialize and analyze model formats (PTH, PKL, etc.) for embedded malicious code. Source: https://securelist.com/tr/how-to-secure-ai-agents/121444/