top of page

Cybersecurity Home Lab - Deploying Splunk

  • Writer: Jv Cyberguard
    Jv Cyberguard
  • Mar 12, 2023
  • 2 min read

Updated: Jul 18, 2023

Installing Splunk on an Ubuntu Server

ree


Part 5- Installing Splunk on an Ubuntu Server





Part 5- Installing Splunk on an Ubuntu Server


We will now install Splunk on an Ubuntu Server for security monitoring. Use the manual server installation to get the iso.


ree

When going through the wizard give the machine a name such as Splunk or SIEM.


ree

For disk space use the following.

ree

We will click customize hardware and remove the sound card, printer, and USB connection.

Select try and install ubuntu server once it is powered on. When you get to the setup follow the screenshots below.



ree


ree

For keyboard config accept what works for you.

ree

For the choose type of install page, select the default install not the minimized one.

ree

Accept default here. You will notice that the IP assigned to the interface does not match our topology but that is fine for now this will get addressed at length later.

ree

No proxy needed.

ree

For Configure Ubuntu archive mirror - accept default.

Then in the below step accept default as well


ree


Accept default on the storage configuration page too. Then finally confirm the "destructive action". Essentially it will begin the install.


ree

The next step is profile setup. Simple enter the information needed.

ree

Select the following

ree

It will begin the install on the following page.


After it reboots. It may prompt you to remove cdrom. Right click the VM and unmount the install disk.


We will then login and use 'tasksel to allow us to install a gui on the server. Run the below command. At the y/n prompt select y.

ree

Next we will install the ubuntu desktop using sudo apt install ubuntu-desktop.

It may take a while. Press enter when the GUI comes up and then enter reboot

ree

Upon reboot you will now have a graphical user interface on your ubuntu server

ree

Accept the defaults in the wizard.

If your machine does not have Firefox. You want to go ahead and install it.

ree

Navigate to splunk.com and click on free Splunk. Be careful not to download the cloud platform trial. We want to install it on the server so find the 60 day Splunk Enterprise for free trial. Then fill out the form for downloads.

ree

ree

Download the below.

ree

When it is finished downloading we can now go into terminal and get this unzipped and installed on our machine.

ree

To unzip we will use tar. Specifically the command below then the file name and then press enter. If you want more insight on what each of the switches mean enter tar --help separately.

Tar -xvzf splunk

After it unzips, then there will be a Splunk folder in downloads, navigate to it.

ree

Once you are in bin then run. Tip: press spacebar to scroll to the bottom after the terms come up.



Agree to the licensing and then create admin creds for Splunk.

ree

When it is done, you should see the following

ree

Enter the URL they gave in the browser and boom! Login with the creds that you set.

ree

This is what the home screen looks like.

ree

In the next part, we will get windows events from the machines on the victim network ingested into Splunk using the universal forwarder.






Comments


©2025 by The SOC spot

bottom of page