ATT&CK Reference
Portfolio

TA0002 · EXECUTION

JavaScript

T1059.007Sub-technique of Command and Scripting InterpreterWindows · macOS · Linuxattack.mitre.org

Adversaries may abuse various implementations of JavaScript for execution.

Detect it with

Monitor for events associated with scripting execution, such as process activity, usage of the Windows Script Host (typically cscript.exe or wscript.exe), file activity involving scripts, or loading of modules associated with scripting languages (ex: JScript.dll).

Why it matters on shift

JavaScript is one of the concrete ways adversaries achieve execution. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After execution, the next tactic is usually Persistence. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforeInitial AccessExecutionafter →Persistence