Configuring Iptables/UFW and Auditd with Ansible
00:00 - Introduction why you should setup logging
01:50 - Start of configuring UFW, enabling UFW and setting the policy to accept all
04:00 - Showing how to insert IPTABLES Rules into UFW's Config
05:10 - Using the LineInFile Ansible Module to add our IPTABLES Line to Log SYN Packets on the INPUT Chain
05:50 - The IPTABLES Rule that logs all SYN Packets on INPUT
08:20 - Finding out rsyslog is disabled, enabling it
10:20 - Showing that we are now logging when boxes initiates a connection to us
12:20 - Moving our UFW Logging into our main playbook as a role
13:40 - Start of talking about AuditD
14:30 - Start of configuring the Playbook to install/configure AuditD
15:40 - Downloading auditd.rules from Florian Roth's github
21:30 - Showing ausearch that allows us to search through Audit Logs
22:40 - Installing Laurel to make auditd logs a bit easier for us to read
23:50 - Creating the _laurel user and needed directories
27:00 - Downloading the Laurel Configuration Files
30:30 - Using get_file to download and install the laurel binary
37:00 - Laurel did not work, troubleshooting the error. Laurel may not have been able to read the config but our read-users config was also bad
40:50 - Showing Laurel working, we now have auditd logs in JSON Format
43:50 - Cleaning up our playbook a little bit with loops and copying it to our main playbook as a role
50:30 - Testing the playbook on a fresh install of parrot
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from IppSec · IppSec · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
HHC2016 - Analytics
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Lazy
IppSec
Camp CTF 2015 - Bitterman
IppSec
HackTheBox - Devel
IppSec
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
HackTheBox - Granny and Grandpa
IppSec
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
HackTheBox - Optimum
IppSec
HackTheBox - Charon
IppSec
HackTheBox - Sneaky
IppSec
HackTheBox - Holiday
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - Shrek
IppSec
HackTheBox - Mirai
IppSec
HackTheBox - Shocker
IppSec
HackTheBox - Mantis
IppSec
HackTheBox - Node
IppSec
HackTheBox - Kotarak
IppSec
HackTheBox - Enterprise
IppSec
HackTheBox - Sense
IppSec
HackTheBox - Minion
IppSec
VulnHub - Sokar
IppSec
VulnHub - Pinkys Palace v2
IppSec
HackTheBox - Inception
IppSec
Vulnhub - Trollcave 1.2
IppSec
HackTheBox - Ariekei
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
How To Create Empire Modules
IppSec
HackTheBox - Nightmare
IppSec
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
HackTheBox - Bart
IppSec
HackTheBox - Aragog
IppSec
HackTheBox - Valentine
IppSec
HackTheBox - Silo
IppSec
HackTheBox - Rabbit
IppSec
HackTheBox - Celestial
IppSec
HackTheBox - Stratosphere
IppSec
HackTheBox - Poison
IppSec
HackTheBox - Canape
IppSec
HackTheBox - Olympus
IppSec
HackTheBox - Sunday
IppSec
HackTheBox - Fighter
IppSec
HackTheBox - Bounty
IppSec
Related AI Lessons
⚡
⚡
⚡
⚡
Wie oft sollte man einen Text vor Abgabe prüfen?
Dev.to AI
How to Keep Humanity in the Writing of a Technical World
Medium · Machine Learning
How copywriters attract leads right now: Proven 10x plays (not 2x tactics)
Copyhackers
The authority book move that separates you from every copywriter with a ChatGPT account
Copyhackers
Chapters (20)
Introduction why you should setup logging
1:50
Start of configuring UFW, enabling UFW and setting the policy to accept all
4:00
Showing how to insert IPTABLES Rules into UFW's Config
5:10
Using the LineInFile Ansible Module to add our IPTABLES Line to Log SYN Packet
5:50
The IPTABLES Rule that logs all SYN Packets on INPUT
8:20
Finding out rsyslog is disabled, enabling it
10:20
Showing that we are now logging when boxes initiates a connection to us
12:20
Moving our UFW Logging into our main playbook as a role
13:40
Start of talking about AuditD
14:30
Start of configuring the Playbook to install/configure AuditD
15:40
Downloading auditd.rules from Florian Roth's github
21:30
Showing ausearch that allows us to search through Audit Logs
22:40
Installing Laurel to make auditd logs a bit easier for us to read
23:50
Creating the _laurel user and needed directories
27:00
Downloading the Laurel Configuration Files
30:30
Using get_file to download and install the laurel binary
37:00
Laurel did not work, troubleshooting the error. Laurel may not have been able
40:50
Showing Laurel working, we now have auditd logs in JSON Format
43:50
Cleaning up our playbook a little bit with loops and copying it to our main pl
50:30
Testing the playbook on a fresh install of parrot
🎓
Tutor Explanation
DeepCamp AI