Assign3 Part1
Assign3 Part1
COMP9046
Do not use WireShark for any of these tasks unless specifically instructed
For every task, I want to see your initials or full name in every screenshots that you take.
The best way to achieve this is to add those to the linux prompt.
In a Windows screenshot, you can equally create a folder that is you name, and/or you could have a
small notepad window open with your name in it.
Write everything in your own words, and if you're getting information from somewhere, include
that as a reference. Do NOT copy/paste from anywhere.
All submissions are sent to plagiarism checking software.
If there are similarities to the work of a present student, you will both receive the same sanction.
If there are similarities to a submission made by a past student, there will be consequences for both
the present and the past student, and this is viewed very seriously indeed.
This is the case for all modules on the MSc.
Note:
The usernames and passwords for the Windows machines on the CYRIN labs
are:
Windows 10 Pro : User - "CYRIN User", Password: 'SamplePass1'
Windows 7 : User - "CYRIN User", Password: 'SamplePass1'
Vincent Ryan 1
TASK 1: IDPS (Text based)
Vincent Ryan 2
Task 2 : Windows Event Logs
On the Win10 VM on CYRIN, the username is ‘Cyrin User’ and the password is ‘SamplePass1’.
Vincent Ryan 3
Task 3 : rsyslog
Designate one Kali as a rsyslog server, and another as a client.
The first lines of each section ($ModLoad imudp and $ModLoad imtcp) load the imudp
and imtcp modules, respectively. The imudp stands for input module udp, and imtcp stands
for input module tcp. These modules listen for incoming data from other syslog servers.
The second lines of each section ($UDPSerververRun 514 and $TCPServerRun 514)
indicate that rsyslog should start the respective UDP and TCP servers for these protocols listening
on port 514 (which is the syslog default port).
In this case, we will be getting both UDP and TCP connections at the same time.
restart the rsyslog service by running the command service rsyslog restart.
Your rsyslog instance is now ready to receive logs from remote hosts.
Vincent Ryan 4
Part A:
On this server, set things up so that mail facility logs of severity crit on the server are sent to the file
/var/log/mail-crit-logs
This involves creating a file inside the /etc/rsyslog.d folder usually called
10-rsyslog.conf
The @ symbol before the IP address tells rsyslog to use UDP to send the messages.
Once you write that file, restart the rsyslog service by running
# service rsyslog restart
and your logs will now start being shipped to your remote server.
Now run a suitable test on the client, and ensure that the log is received by and processed on the
server.
Vincent Ryan 5