Windows: Execution of ScriptRunner.exe with appvscript Argument

Flags ScriptRunner.exe executions that include the " -appvscript " parameter in the command line.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-07-01
Updated
2026-07-31
title: "Windows: Execution of ScriptRunner.exe with appvscript Argument"
id: 8587c1e3-d228-4a62-9d61-29a70f94ecb3
status: test
description: This rule identifies process creation events where ScriptRunner.exe is launched and the command line contains the string ' -appvscript '. An attacker can use ScriptRunner.exe to proxy or wrap execution in a way that may help evade allowlist or application-control checks. The detection relies on Windows process creation telemetry, specifically the executable path/name and the command-line contents.
references:
  - https://lolbas-project.github.io/lolbas/Binaries/Scriptrunner/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_lolbin_scriptrunner.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-07-01
tags:
  - attack.execution
  - attack.stealth
  - attack.t1218
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    - Image|endswith: \ScriptRunner.exe
    - OriginalFileName: ScriptRunner.exe
  selection_cli:
    CommandLine|contains: " -appvscript "
  condition: all of selection*
falsepositives:
  - Legitimate use when App-v is deployed
level: medium
license: DRL-1.1
related:
  - id: 64760eef-87f7-4ed3-93fd-655668ea9420
    type: derived