|
@@ -38,24 +38,43 @@ Ensure FIPS is enable
|
|
|
|
|
|
`cat /proc/sys/crypto/fips_enabled`
|
|
|
|
|
|
-set home directory to /opt/splunksoar
|
|
|
-set port to 8443
|
|
|
+Why use /opt/phantom? So i don't have to change the notes and i am afraid of hidden errors where splunk team forgot to change the code and it still has a static folder reference to /opt/phantom.
|
|
|
|
|
|
-Download the .tar.gz file to your home dir
|
|
|
+`cd /opt`
|
|
|
+Download the .tar.gz file to /opt/ (it has enough room for the large size)
|
|
|
Extract .tar
|
|
|
|
|
|
-as your XDR user run `sudo splunk-soar/soar-prepare-system --no-spinners --splunk-soar-home /opt/splunksoar --https-port 8443`
|
|
|
+as your XDR user run `sudo ./splunk-soar/soar-prepare-system --no-spinners --splunk-soar-home /opt/phantom --https-port 8443`
|
|
|
|
|
|
+Yes download packages in the the default repos
|
|
|
No GlusterFS we are not using external file share
|
|
|
No ntpd ( we are using chronyd )
|
|
|
Yes to basic firewall
|
|
|
No to https redirect ( let the LB do that)
|
|
|
-Yes to create phantom user
|
|
|
+Yes to create non-priviledged user
|
|
|
+Yes to create password for phantom user
|
|
|
+Yes to adjust file descriptor limits (/etc/security/limits.d/25-phantom-limits.conf)
|
|
|
|
|
|
-`splunk-soar/soar-install --splunk-soar-home /opt/splunksoar --https-port 8443 --ignore-warnings`
|
|
|
+copy the .tar, change it's owner to phantom and extract it again in /opt/phantom as hte phantom user.
|
|
|
+
|
|
|
+Give phantom cron permissions
|
|
|
+```
|
|
|
+chmod +w /etc/cron.allow
|
|
|
+vim /etc/cron.allow
|
|
|
+chmod -w /etc/cron.allow
|
|
|
+
|
|
|
+tmux
|
|
|
+splunk-soar/soar-install --splunk-soar-home /opt/phantom --https-port 8443 --ignore-warnings
|
|
|
+```
|
|
|
|
|
|
ignore warnings about space issues if in TEST.
|
|
|
|
|
|
+### External DB setup
|
|
|
+
|
|
|
+Follow docs associated with AWS RDS
|
|
|
+
|
|
|
+psql --host splunk-soar.c5cmrfedysrr.us-gov-east-1.rds.amazonaws.com --port 5432 --username postgres --echo-all --dbname phantom --command "CREATE ROLE pgbouncer WITH PASSWORD '[input-password-here]' login;"
|
|
|
+
|
|
|
## Phantom pgbouncer Issue (legacy)
|
|
|
|
|
|
```
|