[Hunt] Remove Default Namespace from indexes (#4866)
* [Hunt] Remove Default Namespace from indexes * markdown
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
## Query
|
||||
|
||||
```sql
|
||||
from logs-endpoint.events.file-*, logs-windows.sysmon_operational-default-*
|
||||
from logs-endpoint.events.file-*, logs-windows.sysmon_operational-*
|
||||
| where @timestamp > now() - 7 day
|
||||
| where host.os.family == "windows" and event.category == "file" and event.action in ("creation", "FileCreate") and
|
||||
file.path rlike """(C:\\Users\\.+\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\.+*|C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\StartUp\\.+)"""
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
## Query
|
||||
|
||||
```sql
|
||||
from logs-system.security-default-*
|
||||
from logs-system.security-*
|
||||
| where @timestamp > now() - 7 day
|
||||
| where host.os.family == "windows" and event.code == "4698" and event.action == "scheduled-task-created"
|
||||
/* parsing unstructured data from winlog message to extract a scheduled task Exec command */
|
||||
|
||||
@@ -14,7 +14,7 @@ notes = [
|
||||
mitre = [ "T1547", "T1547.001"]
|
||||
query = [
|
||||
'''
|
||||
from logs-endpoint.events.file-*, logs-windows.sysmon_operational-default-*
|
||||
from logs-endpoint.events.file-*, logs-windows.sysmon_operational-*
|
||||
| where @timestamp > now() - 7 day
|
||||
| where host.os.family == "windows" and event.category == "file" and event.action in ("creation", "FileCreate") and
|
||||
file.path rlike """(C:\\Users\\.+\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\.+*|C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\StartUp\\.+)"""
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ notes = [
|
||||
mitre = [ "T1053", "T1053.005"]
|
||||
query = [
|
||||
'''
|
||||
from logs-system.security-default-*
|
||||
from logs-system.security-*
|
||||
| where @timestamp > now() - 7 day
|
||||
| where host.os.family == "windows" and event.code == "4698" and event.action == "scheduled-task-created"
|
||||
/* parsing unstructured data from winlog message to extract a scheduled task Exec command */
|
||||
|
||||
Reference in New Issue
Block a user