Windows process creation matching EmpireMonkey-style jscript execution from Temp Errors.bat
Alerts on Windows executions that combine /e:jscript with a \Local\Temp\Errors.bat batch path.
- Product
- windows
- Category
- process_creation
- Author
- Markus Neis, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2019-04-02
- Updated
- 2026-07-31
ATT&CK techniques
Defense EvasionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags Windows process creation events whose command line contains both an inline jscript execution switch and a reference to a temporary Errors.bat file. Attackers may use script-based execution from writable temp locations to run malicious payloads with fewer visible artifacts. The detection relies on process creation telemetry with full command-line data that includes both of these substrings.
Reporting behind it
- securelist.comhttps://securelist.com/fin7-5-the-infamous-cybercrime-rig-fin7-continues-its-activities/90703/
- malpedia.caad.fkie.fraunhofer.dehttps://malpedia.caad.fkie.fraunhofer.de/actor/anthropoid_spider
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2019/TA/EmpireMonkey/proc_creation_win_apt_empiremonkey.yml
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows process creation matching EmpireMonkey-style jscript execution from Temp Errors.bat
id: 80e39858-55bb-4886-8046-dd93f9058957
status: test
description: This rule flags Windows process creation events whose command line contains both an inline jscript execution switch and a reference to a temporary Errors.bat file. Attackers may use script-based execution from writable temp locations to run malicious payloads with fewer visible artifacts. The detection relies on process creation telemetry with full command-line data that includes both of these substrings.
references:
- https://securelist.com/fin7-5-the-infamous-cybercrime-rig-fin7-continues-its-activities/90703/
- https://malpedia.caad.fkie.fraunhofer.de/actor/anthropoid_spider
- https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2019/TA/EmpireMonkey/proc_creation_win_apt_empiremonkey.yml
author: Markus Neis, Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2019-04-02
modified: 2023-03-09
tags:
- attack.stealth
- attack.t1218.010
- detection.emerging-threats
logsource:
category: process_creation
product: windows
detection:
selection:
CommandLine|contains|all:
- /e:jscript
- \Local\Temp\Errors.bat
condition: selection
falsepositives:
- Unlikely
level: high
license: DRL-1.1
related:
- id: 10152a7b-b566-438f-a33c-390b607d1c8d
type: derived