update
|
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 321 KiB |
|
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 176 KiB |
BIN
doc/ElasticStackImport/12-AddingColumns.png
Normal file
|
After Width: | Height: | Size: 122 KiB |
BIN
doc/ElasticStackImport/13-RecommendedColumns.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
doc/ElasticStackImport/14-DicoverWithColumns.png
Normal file
|
After Width: | Height: | Size: 504 KiB |
@@ -27,18 +27,19 @@ Click the sidebar icon in top-lefthand corner and open `Integrations`.
|
||||
|
||||

|
||||
|
||||
Type in `csv` in the search bar and click `Upload a file`.
|
||||
Type in `csv` in the search bar and click `Upload a file`:
|
||||
|
||||

|
||||
|
||||
After uploading the CSV file, click `Override settings` to specify the correct timestamp format.
|
||||
After uploading the CSV file, click `Override settings` to specify the correct timestamp format:
|
||||
|
||||

|
||||
|
||||
Perform the following changes and then click `Apply`:
|
||||
1. Change `Timestamp format` to `custom`.
|
||||
2. Specify the format as `yyyy-MM-dd HH:mm:ss.SSS XXX`
|
||||
3. Change the `Time field` to `Timestamp`.
|
||||
|
||||
1. Change `Timestamp format` to `custom`.
|
||||
2. Specify the format as `yyyy-MM-dd HH:mm:ss.SSS XXX`
|
||||
3. Change the `Time field` to `Timestamp`.
|
||||
|
||||

|
||||
|
||||
@@ -46,11 +47,21 @@ Now click `Import` in the bottom left-hand corner.
|
||||
|
||||

|
||||
|
||||
Click on `Advanced` and perform the following settings:
|
||||
1. Title the `Index name` as `evtxlogs-hayabusa`.
|
||||
2. Under `Index settings`, add `, "number_of_replicas": 0` so that the index health status does not turn yellow.
|
||||
3. Under `Mappings`, change the `RuleTitle` type of `text` to `keyword` so that we can do statistics on the rule titles.
|
||||
4. Under `Ingest pipeline`, add `, "field": "Timestamp"` under the `remove` section. Timestamps will be displayed as `@timestamp` so this duplicate field is not needed.
|
||||
Click on `Advanced` and perform the following settings before clicking `Import`:
|
||||
|
||||
1. Title the `Index name` as `evtxlogs-hayabusa`.
|
||||
2. Under `Index settings`, add `, "number_of_replicas": 0` so that the index health status does not turn yellow.
|
||||
3. Under `Mappings`, change the `RuleTitle` type of `text` to `keyword` so that we can do statistics on the rule titles and change the `EventID` type of `long` to `keyword` in order to import without errors.
|
||||
4. Under `Ingest pipeline`, add `, "field": "Timestamp"` under the `remove` section. Timestamps will be displayed as `@timestamp` so this duplicate field is not needed. Also, delete the following in order to import without errors:
|
||||
```
|
||||
{
|
||||
"convert": {
|
||||
"field": "EventID",
|
||||
"type": "long",
|
||||
"ignore_missing": true
|
||||
}
|
||||
},
|
||||
```
|
||||
|
||||
Settings should look similar to below:
|
||||
|
||||
@@ -68,12 +79,26 @@ The default Discover view should look similar to this:
|
||||
|
||||

|
||||
|
||||
You can get an overview of when the events happened and frequency of events by looking at the histogram at top. You can filter with KQL to search for certain events and alerts. For example:
|
||||
* `Level: "critical"`: Just show critical alerts.
|
||||
* `Level: "critical" or Level: "high"`: Show high and critical alerts.
|
||||
* `NOT Level:info`: Do not show informational events, only alerts.
|
||||
* `*LatMov*`: Show events and alerts related to lateral movement.
|
||||
* `"Password Spray"`: Only show specific attacks such as "Password Spray".
|
||||
* `"LID: 0x8724ead"`: Display all activity associated with Logon ID 0x8724ead.
|
||||
|
||||
On the left side sidebar, you can select with fields you want to display in columns:
|
||||
|
||||
Level: "critical"
|
||||

|
||||
|
||||
To start off, we recommend the following columns:
|
||||
|
||||

|
||||
|
||||
Your Discover view should now look like this:
|
||||
|
||||

|
||||
|
||||
*LatMov*
|
||||
"Password Spray"
|
||||
|
||||
|
||||
https://qiita.com/kzzzzo2/items/ead8ccc77b7609143749
|
||||