Detection rules › Sigma
Use of Scriptrunner.exe
The "ScriptRunner.exe" binary can be abused to proxy execution through it and bypass possible whitelisting
Known false positives
- Legitimate use when App-v is deployed
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
Rule body
title: Use of Scriptrunner.exe
id: 64760eef-87f7-4ed3-93fd-655668ea9420
status: test
description: The "ScriptRunner.exe" binary can be abused to proxy execution through it and bypass possible whitelisting
references:
- https://lolbas-project.github.io/lolbas/Binaries/Scriptrunner/
author: Nasreddine Bencherchali (Nextron Systems)
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
Stages and Predicates
Stage 0: condition
all of selection*Stage 1: selection_img
selection_img:
- Image|endswith: '\ScriptRunner.exe'
- OriginalFileName: 'ScriptRunner.exe'
Stage 2: selection_cli
selection_cli:
CommandLine|contains: ' -appvscript '
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CommandLine | match |
| field:"CommandLine" kind:match value:" -appvscript " |
Image | ends_with |
| field:"Image" kind:ends_with value:"\ScriptRunner.exe" |
OriginalFileName | eq |
| field:"OriginalFileName" kind:eq value:"ScriptRunner.exe" |