Skip to content

Commit 2b39cf4

Browse files
committed
fix(rules): Use ps.name field in Macro execution via script interpreter
The condition on whether the Microsoft Office process is spawned by the script interpreter should be evaluated on the ps.name field.
1 parent cca922a commit 2b39cf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/initial_access_macro_execution_via_script_interpreter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Macro execution via script interpreter
22
id: 845404de-df6f-472f-bd74-72148a7f5166
3-
version: 1.0.2
3+
version: 1.0.3
44
description: |
55
Identifies the execution of the Windows scripting interpreter spawning
66
a Microsoft Office process to execute suspicious Visual Basic macro.
@@ -18,7 +18,7 @@ labels:
1818
condition: >
1919
sequence
2020
maxspan 5m
21-
|spawn_process and ps.parent.name iin script_interpreters and ps.child.name iin msoffice_binaries| by ps.child.uuid
21+
|spawn_process and ps.name iin script_interpreters and ps.child.name iin msoffice_binaries| by ps.child.uuid
2222
|ps.name iin msoffice_binaries and thread.callstack.modules imatches '*vbe?.dll'
2323
and
2424
(spawn_process or (create_remote_thread) or (modify_registry) or (create_file)

0 commit comments

Comments
 (0)