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.

FreeReviewedSigma · High · v5
Product
windows
Category
process_creation
Author
Markus Neis, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2019-04-02
Updated
2026-07-31
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