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
Copy file name to clipboardExpand all lines: docs/exporting.md
+21-23Lines changed: 21 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,46 +40,44 @@ You can do this by going to the channel, then clicking on the channel's name. Th
40
40
41
41
## STIX
42
42
43
-
If you want to export alerts to your TAXII server using STIX format, change ```export_to``` variable to export to STIX, and Slips will automatically generate a
44
-
```STIX_data.json``` containing all alerts it detects.
43
+
If you want to export alerts to your TAXII 2 server using STIX 2.1 format,
44
+
set ```export_to``` to ```stix``` and Slips will automatically generate a
45
+
```STIX_data.json``` bundle containing the indicators it detects and push it to
46
+
your collection.
45
47
46
48
47
49
[ExportingAlerts]
48
50
export_to = [stix]
49
51
50
52
51
-
You can add your TAXII server details in the following variables:
53
+
Configure the TAXII client by editing the following variables:
52
54
53
-
```TAXII_server```: link to your TAXII server
55
+
```TAXII_server```: host name or IP address of the TAXII server.
54
56
55
-
```port```: port to be used
57
+
```port```: TCP port (optional, defaults to 80/443).
56
58
57
-
```use_https```: use https or not.
59
+
```use_https```: set to true to connect over HTTPS (be careful that the default TAXII server in SlipsWeb, Medallion, do not support HTTPS yet)
58
60
59
-
```discovery_path``` and ```inbox_path``` should contain URIs not full urls. For example:
61
+
```discovery_path```: TAXII discovery endpoint path or full URL
62
+
(for example ```/taxii2/```).
60
63
61
-
```python
62
-
discovery_path =/services/discovery-a
63
-
inbox_path =/services/inbox-a
64
-
```
65
-
66
-
```collection_name```: the collection on the server you want to push your STIX data to.
67
-
68
-
```push_delay```: the time to wait before pushing STIX data to server (in seconds).
69
-
It is used when slips is running non-stop (e.g with -i )
64
+
```collection_name```: ID or title of the TAXII collection that should receive your indicators. Be default `Alerts`.
70
65
71
-
```taxii_username```: TAXII server user credentials
66
+
```push_delay```: time between automatic pushes (in seconds) when Slips is
67
+
running continuously.
72
68
73
-
```taxii_password```: TAXII server user password
69
+
```taxii_username``` / ```taxii_password```: credentials used for HTTP Basic authentication.
74
70
75
-
```jwt_auth_path```: auth path if JWT based authentication is used. It's usually /management/auth. this is what we
76
-
use to get a token.
71
+
**Change the default config password of the TAXII servers you are going to export to in ```config/medallion_config.yaml```**
77
72
78
73
79
-
if your TAXII server is a remote server, you can set the ```port``` to 443 or 80.
74
+
Slips stores the generated bundle for each run in the output directory of that
75
+
execution (for example `output/<run_id>/STIX_data.json`), so you can inspect the
76
+
exact STIX objects that were pushed.
80
77
81
-
If running on a file, Slips will export to server after analysis is done.
82
-
If running on an interface, Slips will export to server every push_delay seconds. by default it's 1h.
78
+
If running on a file, Slips will export once before shutdown.
79
+
If running on an interface, Slips will export to the server every
Copy file name to clipboardExpand all lines: docs/installation.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,26 +203,25 @@ You can read more about it [here](https://stratospherelinuxips.readthedocs.io/en
203
203
204
204
## Installing Slips natively
205
205
206
-
Slips is dependent on three major elements:
206
+
Slips depends on three major elements:
207
207
208
208
- Python 3.10.12
209
209
- Zeek 8.0.0
210
210
- Redis database 7.0.4
211
211
212
-
To install these elements we will use APT package manager. After that, we will install python packages required for Slips to run and its modules to work. Also, Slips' interface Kalipso depend on Node.JS and several npm packages.
213
212
213
+
To install these elements, the script will use the APT package manager. After that, it will install python packages required for Slips to run and its modules to work. Also, Slips' interface Kalipso depend on Node JS and several npm packages.
214
214
215
215
216
216
**Instructions to download everything for Slips are below.**
217
217
<br>
218
218
219
219
### Install Slips using shell script
220
-
You can install it using install.sh
220
+
You can install it using [install.sh](https://github.com/stratosphereips/StratosphereLinuxIPS/blob/master/install/install.sh)
221
221
222
222
sudo chmod +x install.sh
223
223
sudo ./install.sh
224
224
225
-
226
225
### Installing Slips manually
227
226
#### Installing Python, Redis, NodeJs, and required python and npm libraries.
228
227
@@ -314,6 +313,7 @@ You can kill this redis database by running:
314
313
```
315
314
then choosing 1.
316
315
316
+
After these steps, if you need the submodules, you will need to clone them as done in the `install.sh` script.
To see the alerts of Slips in a visual way, the methodology is the following
4
+
5
+
1. Slips must be configured to export the alerts in STIX format to a TAXII server, as explained in [exporting](https://stratospherelinuxips.readthedocs.io/en/develop/exporting.html).
6
+
2. You need to install a TAXII server (available in the SlipsWeb submodule folder). See its README.md
7
+
3. Use the program `SlipsWeb` that is availbale in the StratosphereWeb submodule that reads from the TAXII server.
8
+
9
+
All the setup does not consume many resources, so you can run this visualization even in small servers like a Raspberry Pi. However, by having many Slips exporting to the same server you can centralize the visualization of many sensors in a unique location, probably with more hardware if needed.
0 commit comments