WEBVTT

00:00.430 --> 00:01.950
Hi everyone and welcome to the next video.

00:01.950 --> 00:09.180
So in this video or in be going over logging and backups now I'm just going to briefly show you this

00:09.240 --> 00:11.940
in this video about where they are and how to do it.

00:11.970 --> 00:17.640
However each firewall tends to do it a different way but in since sense they made it relatively easy.

00:17.670 --> 00:23.140
So if we wanted to do a backup we would go to diagnostics backup and restore.

00:23.460 --> 00:26.990
Now the backup area depends on what you wanted to actually do.

00:27.000 --> 00:33.900
So in our case in most cases you're going to want to do all and then not back Part D R D data which

00:33.900 --> 00:35.430
is fine.

00:35.430 --> 00:38.040
And then we would normally encrypted data and provided a password

00:40.700 --> 00:42.330
download as well.

00:42.570 --> 00:46.320
So what this does is this downloads it and off we go.

00:46.320 --> 00:46.990
That's it.

00:47.030 --> 00:51.690
It's all it takes to download a file or to download the

00:54.540 --> 00:55.570
backup configuration.

00:55.700 --> 00:56.620
So if we go at it

01:00.600 --> 01:02.830
we can see it is encrypted.

01:02.850 --> 01:03.990
Perfect.

01:03.990 --> 01:06.210
Now what happens if we didn't encrypted what does it look like.

01:06.810 --> 01:11.660
Let's go ahead and download it again see here with

01:14.550 --> 01:15.580
text on it.

01:15.630 --> 01:21.780
So now we can see we actually have the college team out which is the actual configuration so it's important

01:21.940 --> 01:28.680
to backup machines not just a firewall but for any network device and any machine.

01:28.700 --> 01:34.280
Now it's also important when you're writing your own tools as a red team or you need to be able to if

01:34.280 --> 01:39.080
you're if you're running a if you wrote a service as an example a phishing service you would need to

01:39.080 --> 01:45.680
perform the backups of a database that you're working with or have some way to back the data or leverage

01:45.680 --> 01:50.870
a database or some other medium that somebody else's are in the company is already using that's backed

01:50.870 --> 01:52.760
up on a frequent basis.

01:52.910 --> 01:58.050
Now to restore it's the same thing you just tell it which restore areas in this case that's all.

01:58.070 --> 02:02.840
And then we browser config file if the configuration is encrypted we give it the password and then off

02:02.840 --> 02:06.530
it goes this will reboot the firewall so the network will drop.

02:06.530 --> 02:11.710
This is the the main point of contact for the network and for the organization.

02:11.720 --> 02:13.530
So that needs to be done in the maintenance window.

02:13.610 --> 02:18.410
And I would recommend doing the backup during a maintenance window as well.

02:18.440 --> 02:22.340
Now the other half of this is as a logs.

02:22.370 --> 02:22.670
Right.

02:22.670 --> 02:27.350
So if we go into status system logs we'll see there's a lot of options here.

02:27.350 --> 02:32.750
So this is the standard general log that we can see here so sinking firewall also when things reload

02:32.750 --> 02:39.050
on the system are peasant issues anything being started is going be here for example you see the SSA

02:39.140 --> 02:42.460
starting the web configured which is the web UI starting.

02:42.620 --> 02:44.440
So we go over Gateway.

02:44.510 --> 02:49.940
This is the actual lead the way in Gateway which sends the sending out its intervals.

02:50.000 --> 02:55.220
So we have firewall in our case we've got our default block rules in place so we see there's a lot of

02:55.220 --> 02:56.590
blocks going on.

02:57.050 --> 03:01.580
So this would tell you if something got blocked from the firewall from a rule it ends up in this log

03:02.450 --> 03:04.610
DHB we can see that right here.

03:04.670 --> 03:11.540
We got our our new address and this is all the information from the DCP service from the router.

03:11.540 --> 03:14.300
And then what we worked on in the previous video was an IP section.

03:14.340 --> 03:20.010
So if you go under here under IP SEC you would see your logs here.

03:20.060 --> 03:24.950
Now this only is going to happen if you actually go and try to start the tunnel in your case since you

03:24.950 --> 03:26.930
guys followed the video and you try to start the tunnel.

03:27.050 --> 03:29.090
You should see logs here.

03:29.090 --> 03:34.190
And if you don't then tunnel it knows that the other end of the tunnel is not it's not available so

03:34.190 --> 03:37.160
it doesn't even attempt to log it which is perfectly fine.

03:37.160 --> 03:41.540
So when you go through that in the next video when you guys build the other half of the tunnel you will

03:41.540 --> 03:46.400
then start seeing logging here and this can be used for debugging purposes in case the tunnel doesn't

03:46.400 --> 03:48.800
come up for whatever reason.

03:48.800 --> 03:51.830
Now this also works for VPN which is slightly different.

03:51.830 --> 03:59.620
This is the under the LP to LTE LTE 2p version of the tunnels.

03:59.750 --> 04:03.660
We can end up load balancing open VPN and any settings that change.

04:04.100 --> 04:08.550
And this is more along the lines of If we want to send this log somewhere if we want to.

04:08.560 --> 04:15.120
So for example a remote logging if we need to send it out use this log what do we want to send out.

04:15.200 --> 04:17.840
How big can the files be before they're rotated.

04:17.840 --> 04:22.460
So go ahead and play around some of the settings here look at the logs that you've generated already

04:22.910 --> 04:29.000
and then understand what is being provided to you and what I also want you to do is go ahead and take

04:29.000 --> 04:35.750
a backup of the config the whole machine and then go ahead and restore it just so you understand what

04:35.750 --> 04:38.150
the process looks like and how long it actually takes.
