Phase 1 – Set up the Infrastructure!
- Created a dedicated Ubuntu Server VM in Parallels for Elastic SIEM
- Installed Elasticsearch
- Installed and configured Kibana
- Confirmed dashboard access via browser
Step 1: Prep the System
sudo apt update
sudo apt upgrade -y
sudo apt install -y curl apt-transport-https ca-certificates gnupgStep 2: Add Elastic GPG Key
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | \
sudo gpg --dearmor -o /usr/share/keyrings/elastic-keyring.gpgStep 3: Add Elastic APT Repository
echo "deb [signed-by=/usr/share/keyrings/elastic-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | \
sudo tee /etc/apt/sources.list.d/elastic-8.x.listStep 4: Update Repository List
sudo apt updateStep 5: Install Elasticsearch
sudo apt install -y elasticsearchStep 6: Enable and Start Elasticsearch
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch
sudo systemctl start elasticsearchStep 7: Verify Elasticsearch
sudo systemctl status elasticsearchStep 8: Generate / Reset Elastic Password
sudo /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elasticStep 9: Install Kibana
sudo apt install -y kibanaStep 10: Enable & Start Kibana
sudo systemctl enable kibana
sudo systemctl start kibanaStep 11: Verify Kibana Running
sudo systemctl status kibanaStep 12: Allow remote access to Kibana
sudo nano /etc/kibana/kibana.ymlEdit the localhost line #server.host: "localhost" and replace it with server.host: "0.0.0.0". Note to remove the # sign to uncomment the line.
Step 13: Generate Kibana Enrollment Token
sudo /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibanaPaste the token into Browser
Step 14: Get the Kibana Verification Code
sudo /usr/share/kibana/bin/kibana-verification-codeStep 15: Access Kibana Dashboard
https://<KIBANA_VM_IP>:5601Coming Next
Phase 2 will cover Elastic Agent deployment on the target endpoint, log ingestion, and attack simulation. Phase 3 will focus on custom detection rules (KQL), MITRE ATT&CK mapping, and alert investigation in Kibana. I’ll update this page as each phase is completed.