2019-01-16 23:36:31 +01:00
|
|
|
title: WSF/JSE/JS/VBA/VBE File Execution
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 1e33157c-53b1-41ad-bbcc-780b80b58288
|
2023-03-06 00:39:26 +01:00
|
|
|
related:
|
|
|
|
|
- id: 23250293-eed5-4c39-b57a-841c8933a57d
|
|
|
|
|
type: obsoletes
|
2021-11-27 11:33:14 +01:00
|
|
|
status: test
|
2019-01-16 23:36:31 +01:00
|
|
|
description: Detects suspicious file execution by wscript and cscript
|
|
|
|
|
author: Michael Haag
|
2020-01-30 16:07:37 +01:00
|
|
|
date: 2019/01/16
|
2023-03-06 00:39:26 +01:00
|
|
|
modified: 2023/03/02
|
2022-10-28 15:06:36 +02:00
|
|
|
tags:
|
|
|
|
|
- attack.execution
|
|
|
|
|
- attack.t1059.005
|
|
|
|
|
- attack.t1059.007
|
|
|
|
|
|
2019-01-16 23:36:31 +01:00
|
|
|
logsource:
|
2022-10-28 15:06:36 +02:00
|
|
|
category: process_creation
|
|
|
|
|
product: windows
|
2019-01-16 23:36:31 +01:00
|
|
|
detection:
|
2023-03-06 00:39:26 +01:00
|
|
|
selection_img:
|
|
|
|
|
- OriginalFileName:
|
|
|
|
|
- 'wscript.exe'
|
|
|
|
|
- 'cscript.exe'
|
|
|
|
|
- Image|endswith:
|
2022-10-28 15:06:36 +02:00
|
|
|
- '\wscript.exe'
|
|
|
|
|
- '\cscript.exe'
|
2023-03-06 00:39:26 +01:00
|
|
|
selection_cli:
|
2022-10-28 15:06:36 +02:00
|
|
|
CommandLine|contains:
|
|
|
|
|
- '.js'
|
2023-03-06 00:39:26 +01:00
|
|
|
- '.jse'
|
2022-10-28 15:06:36 +02:00
|
|
|
- '.vba'
|
2023-03-06 00:39:26 +01:00
|
|
|
- '.vbe'
|
|
|
|
|
- '.vbs'
|
|
|
|
|
condition: all of selection_*
|
2019-01-16 23:36:31 +01:00
|
|
|
fields:
|
2022-10-28 15:06:36 +02:00
|
|
|
- CommandLine
|
|
|
|
|
- ParentCommandLine
|
2019-01-16 23:36:31 +01:00
|
|
|
falsepositives:
|
2022-10-28 15:06:36 +02:00
|
|
|
- Will need to be tuned. I recommend adding the user profile path in CommandLine if it is getting too noisy.
|
2019-01-16 23:36:31 +01:00
|
|
|
level: medium
|