You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -58,9 +58,9 @@ PowerShell is a powerful scripting language and command-line shell used for task
58
58
- Restore any affected files or system components from known good backups to ensure system integrity and functionality.
59
59
- Escalate the incident to the security operations center (SOC) or incident response team for further analysis and to determine if additional systems are compromised.
60
60
- Implement additional monitoring and logging for PowerShell activities across the network to enhance detection of similar threats in the future."""
61
-
risk_score = 73
61
+
risk_score = 47
62
62
rule_id = "83bf249e-4348-47ba-9741-1202a09556ad"
63
-
severity = "high"
63
+
severity = "medium"
64
64
tags = [
65
65
"Domain: Endpoint",
66
66
"OS: Windows",
@@ -79,9 +79,15 @@ type = "eql"
79
79
query = '''
80
80
process where host.os.type == "windows" and event.type == "start" and
81
81
process.name : "powershell.exe" and
82
+
83
+
not (
84
+
user.id == "S-1-5-18" and
85
+
/* Don't apply the user.id exclusion to Sysmon for compatibility */
86
+
not event.dataset : ("windows.sysmon_operational", "windows.sysmon")
87
+
) and
88
+
82
89
(
83
-
process.command_line :
84
-
(
90
+
process.command_line : (
85
91
"*^*^*^*^*^*^*^*^*^*",
86
92
"*`*`*`*`*",
87
93
"*+*+*+*+*+*+*",
@@ -103,6 +109,7 @@ process where host.os.type == "windows" and event.type == "start" and
103
109
"*DownloadString*",
104
110
"* iex*",
105
111
"* iwr*",
112
+
"* aQB3AHIAIABpA*",
106
113
"*Reflection.Assembly*",
107
114
"*Assembly.GetType*",
108
115
"*$env:temp\\*start*",
@@ -124,21 +131,36 @@ process where host.os.type == "windows" and event.type == "start" and
124
131
"*.content|i''Ex*",
125
132
"*//:sptth*",
126
133
"*//:ptth*",
134
+
"*h''t''t''p*",
135
+
"*'tp'':''/'*",
136
+
"*$env:T\"E\"MP*",
137
+
"*;cmd /c $?",
138
+
"*s''t''a''r*",
127
139
"*$*=Get-Content*AppData*.SubString(*$*",
128
-
"*=cat *AppData*.substring(*);*$*"
129
-
) or
130
-
131
-
(process.args : "-c" and process.args : "&{'*") or
132
-
133
-
(process.args : "-Outfile" and process.args : "Start*") or
134
-
135
-
(process.args : "-bxor" and process.args : "0x*") or
136
-
137
-
process.args : "$*$*;set-alias" or
138
-
139
-
(process.parent.name : ("explorer.exe", "cmd.exe") and
0 commit comments