WEBVTT

00:00:03.140 --> 00:00:07.440
Welcome everyone to Network Analysis with Arkime. My name is Josh Stroschein,

00:00:07.440 --> 00:00:09.350
and I'll be your instructor for this course.

00:00:09.840 --> 00:00:11.540
I'm really excited that you're here,

00:00:11.550 --> 00:00:14.040
so let's get started with some of the background information

00:00:14.040 --> 00:00:18.210
about Arkime. Arkime was originally created by Andy Wick and

00:00:18.210 --> 00:00:19.910
is formally known as Moloch.

00:00:19.920 --> 00:00:23.740
Arkime augments your current security infrastructure to allow you to

00:00:23.740 --> 00:00:26.970
store and index network traffic in standard PCAP format.

00:00:27.340 --> 00:00:30.850
The power of this is that it provides fast, indexed access.

00:00:31.240 --> 00:00:35.450
It has an intuitive and simple web interface provided for PCAP browsing,

00:00:35.560 --> 00:00:37.360
searching, and even exporting.

00:00:38.340 --> 00:00:42.060
This project is large scale, open source, and provides

00:00:42.070 --> 00:00:44.160
indexed packet capture and search.

00:00:44.640 --> 00:00:48.440
It is currently available under the Apache 2.0 open‑source license,

00:00:48.440 --> 00:00:50.670
and you can download it at arkime.com.

00:00:51.330 --> 00:00:54.320
There are three components that comprise the Arkime project,

00:00:54.320 --> 00:00:56.070
and you'll learn about those in this course.

00:00:56.540 --> 00:00:58.430
The first is the capture component.

00:00:58.470 --> 00:01:02.200
This is a threaded C application that is used to capture the network traffic.

00:01:02.460 --> 00:01:06.450
This can either capture traffic live on the network or it can process PCAPs,

00:01:06.460 --> 00:01:10.140
which is what we'll do in this course. There is a viewer, which is

00:01:10.140 --> 00:01:13.840
an intuitive Node.js application and where we'll spend most of our

00:01:13.840 --> 00:01:15.750
time performing traffic analysis.

00:01:16.140 --> 00:01:17.760
And finally, there's Elastic,

00:01:17.760 --> 00:01:23.360
which can be installed as part of the default Arkime setup. Before we get

00:01:23.360 --> 00:01:26.700
into all the technical details of Arkime, let's spend a few moments

00:01:26.700 --> 00:01:29.550
discussing some of the different cybersecurity frameworks.

00:01:29.940 --> 00:01:32.250
First up is the NIST Cybersecurity Framework.

00:01:32.740 --> 00:01:37.220
This framework provides for the ability to manage cybersecurity risks across

00:01:37.220 --> 00:01:40.360
the enterprise with both internal and external stakeholders.

00:01:40.650 --> 00:01:41.340
At its core,

00:01:41.340 --> 00:01:43.760
it provides a set of functions to achieve specific

00:01:43.760 --> 00:01:46.360
cybersecurity outcomes, which you can see here,

00:01:46.370 --> 00:01:49.470
identify, protect, detect, respond, and recover.

00:01:49.840 --> 00:01:53.970
Each function can be further broken down into categories and are closely

00:01:53.970 --> 00:01:57.820
tied to the programmatic needs and particular activities to defend an

00:01:57.820 --> 00:02:02.360
organization. Arkime helps an organization fill the gaps in the Anomalies

00:02:02.360 --> 00:02:07.360
and Events and Security Continuous Monitoring categories. We can break this

00:02:07.360 --> 00:02:12.360
down even further because the CSF provides subcategories tied to specific

00:02:12.360 --> 00:02:13.560
technical activities.

00:02:14.240 --> 00:02:17.520
Arkime, then can help to ensure that detected events are analyzed to

00:02:17.520 --> 00:02:21.010
understand attack targets and methods, the impact of events is

00:02:21.010 --> 00:02:24.910
determined during analysis, and that the network is monitored to

00:02:24.910 --> 00:02:27.000
detect potential cybersecurity events.

00:02:27.320 --> 00:02:29.450
The demonstrations that we'll have later in this course

00:02:29.450 --> 00:02:31.510
will help tie these concepts together.

00:02:32.640 --> 00:02:33.320
Next up,

00:02:33.330 --> 00:02:37.220
let's take a look at MITRE ATT&CK. MITRE ATT&CK provides different attack

00:02:37.220 --> 00:02:39.960
techniques that adversaries can use against an organization.

00:02:40.440 --> 00:02:43.610
For this course, we're going to look specifically at network analysis.

00:02:43.830 --> 00:02:47.750
And while Arkime can provide the ability to view all of the

00:02:47.750 --> 00:02:51.180
traffic that goes across your network, we're specifically going

00:02:51.180 --> 00:02:53.430
to focus on prevalent attack techniques.

00:02:53.780 --> 00:02:57.710
The first one is phishing, and more precisely, spearfishing attachments.

00:02:58.140 --> 00:03:01.170
We're also going to take a look at application layer protocols.

00:03:01.390 --> 00:03:06.400
It is very common for attackers to utilize common web protocols such as HTTP

00:03:06.410 --> 00:03:08.850
when they're communicating with command and control nodes.

00:03:10.540 --> 00:03:13.870
And finally, we'll take a look at exfiltration over C2 channels.

00:03:16.940 --> 00:03:20.100
MITRE SHIELD is another framework that helps you to map

00:03:20.110 --> 00:03:23.130
the different attack techniques to steps you can take in

00:03:23.130 --> 00:03:24.650
order to defend your network.

00:03:25.840 --> 00:03:30.120
So if we map the attack techniques and sub‑techniques to MITRE Shield, we'll be

00:03:30.120 --> 00:03:35.290
able to look a different categories such as DTE0021 ‑ Hunting: The process of

00:03:35.290 --> 00:03:41.270
searching for the presence of or information about an adversary. DTE0027 ‑

00:03:41.280 --> 00:03:45.190
Network Monitoring in that the defender can implement network monitoring for an

00:03:45.190 --> 00:03:47.120
alert on anomalous traffic patterns,

00:03:47.130 --> 00:03:49.780
large or unexpected data transfers, and other activity that

00:03:49.780 --> 00:03:51.760
may reveal the presence of an adversary.

00:03:52.340 --> 00:03:52.620
Well,

00:03:52.620 --> 00:03:55.990
we're not going to use Arkime to generate alerts. Arkime does

00:03:55.990 --> 00:03:58.900
allow us, then to investigate and perform network traffic

00:03:58.900 --> 00:04:00.770
analysis to identify these patterns.

00:04:01.140 --> 00:04:04.320
Arkime also has the ability to integrate with popular and

00:04:04.330 --> 00:04:07.190
open‑source intrusion detection systems, so you can potentially

00:04:07.190 --> 00:04:09.360
get alert information into your Arkime setup.

00:04:10.740 --> 00:04:14.350
And finally, we have DTE0028 ‑ PCAP Collection.

00:04:14.530 --> 00:04:17.899
That's one of the main capabilities that Arkime provides is the ability

00:04:17.899 --> 00:04:20.490
to collect full packet capture of all network traffic.

00:04:20.680 --> 00:04:23.680
This allows you to review historically what's happened over

00:04:23.680 --> 00:04:25.890
your network to help reconstruct events,

00:04:25.970 --> 00:04:29.820
identify patterns that maybe were previously undiscovered, and overall

00:04:29.820 --> 00:04:32.150
have a greater capability to defend your network.

00:04:33.540 --> 00:04:36.750
So where does Arkime fit in to a standard enterprise setup?

00:04:37.240 --> 00:04:37.560
Well,

00:04:37.560 --> 00:04:42.620
the deployment really depends on where you want to have coverage. Arkime, at

00:04:42.620 --> 00:04:45.770
its core, Arkime needs to be able to monitor network traffic.

00:04:45.900 --> 00:04:48.780
So, any segment on your network that you want to provide

00:04:48.780 --> 00:04:51.590
that full packet capture ability is where you want to

00:04:51.590 --> 00:04:53.560
consider placing an Arkime sensor.

00:04:56.040 --> 00:04:57.950
Once an Arkime sensor is deployed,

00:04:57.960 --> 00:05:01.080
it begins performing not only the full packet capture, but

00:05:01.080 --> 00:05:03.150
also submitting data to an Elastic cluster.

00:05:03.640 --> 00:05:07.470
What Arkime submits to Elastic is just metadata about the traffic,

00:05:07.550 --> 00:05:09.970
and this is the content that you'll see in the viewer.

00:05:10.340 --> 00:05:13.020
This is what gives you the ability to search through your network

00:05:13.020 --> 00:05:17.090
traffic data. When you need to look at the data that was not part of

00:05:17.090 --> 00:05:19.820
this index metadata, it also has the ability,

00:05:19.820 --> 00:05:20.400
through the viewer,

00:05:20.400 --> 00:05:22.930
to load that data for you or allow you to export the

00:05:22.930 --> 00:05:25.190
PCAP for more detailed analysis.

00:05:26.440 --> 00:05:28.140
As we wrap up this introduction,

00:05:28.150 --> 00:05:30.890
there is a common attack scenario that I want you to keep in

00:05:30.890 --> 00:05:33.840
mind as we're going through the different demonstrations and

00:05:33.840 --> 00:05:35.790
performing our network traffic analysis.

00:05:36.080 --> 00:05:40.120
This is a very common pattern that we see right now, that is that a threat

00:05:40.120 --> 00:05:44.770
actor group or an adversary decides to attach an office document to an email

00:05:44.840 --> 00:05:47.060
and try to get that in front of a potential victim.

00:05:47.600 --> 00:05:51.000
Those office documents, then oftentimes contained macros, and those

00:05:51.000 --> 00:05:53.660
macros, while a normal part of the office suite,

00:05:54.040 --> 00:05:55.980
those are used to achieve code execution.

00:05:56.360 --> 00:05:59.690
If the user can be social engineered into enabling that content,

00:05:59.700 --> 00:06:02.560
then there is typically additional stages that occur.

00:06:03.040 --> 00:06:06.400
PowerShell may be executed or used to download the next stage payload.

00:06:06.410 --> 00:06:08.310
There's really any number of different techniques

00:06:08.310 --> 00:06:09.970
that can be utilized at this stage.

00:06:10.640 --> 00:06:11.820
Eventually, though,

00:06:11.830 --> 00:06:14.670
the malware is dropped in the environment, and we

00:06:14.670 --> 00:06:16.460
move into a post‑infection phase.

00:06:17.440 --> 00:06:21.390
During this time, there is often key network activity that occurs.

00:06:22.240 --> 00:06:27.000
It is very common to see HTTP used to request the executable,

00:06:27.090 --> 00:06:30.850
and those executable are oftentimes stored to compromised hosts, legitimate

00:06:30.850 --> 00:06:34.590
websites that have been compromised in order to host the malware. Once the

00:06:34.590 --> 00:06:36.800
malware has been introduced into the environment,

00:06:36.950 --> 00:06:40.550
then we'll see a shift in the command and control, the infrastructure that it's

00:06:40.550 --> 00:06:44.060
using in order to check in to receive further instructions and to exfiltrate

00:06:44.070 --> 00:06:48.010
data. It's at these later stages of initial attack that we're going to be

00:06:48.010 --> 00:06:50.160
looking at and analyzing the network traffic.

00:06:51.140 --> 00:06:53.220
I hope you're ready to get hands on with our Arkime.

00:06:53.290 --> 00:06:54.050
Let's get started.
