WEBVTT

00:00.580 --> 00:06.700
Welcome to Section 7 Network forensics we're going introduce the topics of network forensics and networking

00:06.970 --> 00:13.000
with an emphasis on the TCAP IP protocol suite then will cover the capturing a network packets and subsequent

00:13.000 --> 00:16.870
forensic analysis of captured traffic with wireshark.

00:16.870 --> 00:22.270
Now let's move on to Introduction to network forensics will introduce the topic of network forensics

00:22.330 --> 00:28.360
and then basic theory about networking with a particular emphasis on the ISO psi model and the TCAP

00:28.360 --> 00:29.900
IP protocol suite.

00:30.130 --> 00:35.500
So far we've covered host based forensics which is the acquisition and analysis of data from a host

00:35.500 --> 00:38.470
nonvolatile memory and volatile memory.

00:38.470 --> 00:43.600
Now we're going to see how to acquire and analyze data network packets flowing on the network from one

00:43.600 --> 00:48.820
host to another network forensics is a bridge of digital forensics that's often treated as a separate

00:48.820 --> 00:52.670
topic and has much in common with network security monitoring.

00:52.750 --> 00:57.610
It's typically conducted during live in the response and allows the examiner to reveal the activity

00:57.640 --> 01:00.280
of an attacker or of a malware on the network.

01:00.460 --> 01:05.290
Inspecting the connections and packets transmitted before diving into the hands on part.

01:05.380 --> 01:10.840
It's therefore useful to recall the basics of networking as the network forensic examiner shall be proficient

01:10.870 --> 01:14.490
in reading and understanding the structure of protocols and packets.

01:15.510 --> 01:21.060
Networking is structured according to the ISO o Esai or open systems interconnection model.

01:21.060 --> 01:28.740
It has seven main layers which go from highest to lowest application presentation session transport

01:29.220 --> 01:31.760
network data link and physical.

01:31.860 --> 01:37.380
Each of the layers has its protocols that describe how the data is transmitted in the form of packets

01:37.760 --> 01:40.980
a packet is typically comprised of a header and a data payload.

01:40.980 --> 01:43.090
Each protocol has its own typical header.

01:43.200 --> 01:48.210
That's prepended to the packet when the letter goes down the layer stack before being sent and removed

01:48.510 --> 01:50.750
when goes up the stack after it's received.

01:50.850 --> 01:56.280
For the sake of brevity in this video I will briefly describe the TCAP IP protocol suite that operates

01:56.310 --> 02:01.530
at the transport and network layer respectively the main network layer protocol is the Internet Protocol

02:01.590 --> 02:08.310
or IP which the version 4 is still the most used IP protocol performs the functions of addressing and

02:08.310 --> 02:13.850
routing packets the main fields of the IP header are the source and destination address fields.

02:13.910 --> 02:20.220
There are 32 bits each as we could see in this diagram IP version 4 addresses are divided into four

02:20.220 --> 02:29.610
octets separated by periods each octet has 256 possible values ranging from 0 to 255 in decimal notation

02:29.790 --> 02:31.700
in the classes our domain routing.

02:31.800 --> 02:38.400
Or C ID are addressing IP addresses are comprised of two groups most significant bits are the network

02:38.400 --> 02:44.680
address which identify a whole network or subnet while the others identify the host address.

02:44.700 --> 02:53.250
For example the address 192 point 168 point 0.1 slashed 24 identifies a network address of 24 bits and

02:53.250 --> 02:56.390
a host address formed by the remaining eight bits.

02:56.400 --> 03:04.950
The number 24 after the slash is called the network mask in IP V-6 the addresses are 128 bits long greatly

03:04.950 --> 03:11.430
extending the range of possible IP addresses IP V-6 addresses are written in hexadecimal and are divided

03:11.430 --> 03:14.330
into eight groups of 16 bits each.

03:14.340 --> 03:22.050
The main TradeSports their protocols are to TCAP and UDP TCAP transmission control protocol and UDP

03:22.290 --> 03:23.850
user datagram protocol.

03:23.910 --> 03:27.990
TCAP is a connection oriented and reliable transmission protocol.

03:28.020 --> 03:34.560
It prepares its own header to an IP packet to form a TCAP segment as we see in this diagram the TZP

03:34.560 --> 03:41.670
Hetter has two main 16 bit long fields source port and destination port TZP control state and flow of

03:41.670 --> 03:46.950
connections through ops sectoral flags and the sequence in acknowledgment numbers in the TCAP header.

03:47.100 --> 03:54.840
The main control flaks our sin ack r s t and fin each flag is a single bit that can be sent or not a

03:54.840 --> 04:00.720
TCAP connection is established through a sequence called threeway handshake the initiating host sends

04:00.720 --> 04:04.210
a packet with the sin flag set to initiate a connection.

04:04.200 --> 04:09.060
The responder replies with a packet that has the sin and acts like set and the initiator sends back

04:09.060 --> 04:12.120
an X packet to confirm the connections request.

04:12.120 --> 04:18.630
Similarly the at X flags are used to close a connection while R S T is used to reset a connection the

04:18.630 --> 04:23.100
sequence number keeps track of the bytes of data sent while the acknowledgement number of the bytes

04:23.100 --> 04:25.000
of data received by the other end.

04:25.050 --> 04:27.870
So the packets that have not been acknowledged are sent again.

04:28.110 --> 04:31.960
The other import and widely used transport layer protocol is UDP.

04:32.130 --> 04:38.310
It's a connection list an unreliable protocol and it's used by the DNS or domain name system.

04:38.360 --> 04:44.690
SMP simple network management protocol and for real time data streaming we could see it's Hetter structure

04:44.700 --> 04:46.720
in this diagram like TCAP.

04:46.770 --> 04:51.310
It uses the 16 bits field source and destination ports.

04:51.330 --> 04:57.750
Great job in this video we introduced network forensic and the basic theory of networking TCAP IP protocols

04:57.810 --> 05:03.270
particularly next video we're going to see how to capture network traffic flowing from one host to another

05:03.450 --> 05:04.460
with wireshark.
