Techniques › T1059.007 › AN0733
AN0733 Analytic 0733
Windows · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detects JavaScript execution through WSH (wscript.exe, cscript.exe) or HTA (mshta.exe), particularly when spawned from Office macros, web browsers, or abnormal user paths. Correlates script execution with outbound network activity or system modification.</p>
- Detects
- T1059.007 JavaScript
- Part of
- DET0264 Cross-Platform Detection of JavaScript Execution Abuse
Log sources and channels
Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.
| Log source | Channel | Data component |
|---|---|---|
| WinEventLog:Sysmon | EventCode=1 | DC0032 Process Creation |
| m365:defender | ScriptBlockLogging + AMSI | DC0029 Script Execution |
| WinEventLog:Sysmon | EventCode=7 | DC0016 Module Load |
Mutable elements
Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.
| Field | Description |
|---|---|
ParentProcess | Execution of wscript.exe, cscript.exe, or mshta.exe from suspicious parent like Excel or Outlook. |
ScriptPath | Script loaded from %TEMP%, user download folder, or via UNC/web path. |
TimeWindow | Execution of JavaScript during non-business or patch windows. |
UserContext | Execution by accounts not typically authorized for scripting (e.g., non-admin users). |
EntropyScore | Obfuscated JS with high entropy detected by AMSI or ScriptBlock logging. |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2013-3346 | Adobe Reader and Acrobat | Mapped |
| CVE-2015-5119 | Adobe Flash Player | Mapped |
| CVE-2018-4990 | Adobe Acrobat and Reader | Mapped |
| CVE-2021-21148 | Google Chromium V8 | Mapped |
| CVE-2021-21166 | Google Chromium | Mapped |
| CVE-2021-21206 | Google Chromium Blink | Mapped |
| CVE-2021-30554 | Google Chromium WebGL | Mapped |
| CVE-2021-37975 | Google Chromium V8 | Mapped |
| CVE-2022-22963 | VMware Tanzu Spring Cloud | Mapped |
| CVE-2022-24682 | Synacor Zimbra Collaborate Suite (ZCS) | Mapped |
| CVE-2023-22515 | Atlassian Confluence Data Center and Server | Mapped |
| CVE-2023-26360 | Adobe ColdFusion | Mapped |
| CVE-2023-5631 | Roundcube Webmail | Mapped |
| CVE-2025-34028 | Commvault Command Center | Mapped |