WEBVTT

00:00.930 --> 00:04.180
Hey Guys welcome to memory acquisition.

00:04.440 --> 00:09.090
We're going to take a look at the memory acquisition techniques and tools and show how to acquire a

00:09.090 --> 00:15.330
ram image with Wimpey meme memory acquisition is the process of acquiring an image of the main memory

00:15.420 --> 00:16.910
of a running system.

00:16.980 --> 00:19.540
It can be done via hardware or software.

00:19.560 --> 00:25.920
The former generally uses PCI Express or Firewire devices with firewire being limited to access only

00:25.920 --> 00:31.920
the lower four gigabytes of system memory software based acquisition works by loading a kernel driver

00:32.220 --> 00:38.790
that's able to read the entire physical memory and copy to a secondary nonvolatile storage memory acquisition

00:38.790 --> 00:43.530
tools are loaded on the target system RAM and they should leave minimal footprint on it.

00:43.530 --> 00:50.160
In other words occupy the minimal amount RAM space possible CLID tools are therefore generally preferable

00:50.160 --> 00:57.120
to use as they need less memory to run software acquisition could be performed locally running the acquisition

00:57.120 --> 01:01.490
tool on the target and dumping memory to an external drive or remotely.

01:01.500 --> 01:06.450
The latter implies copying the tool on the target and running it and sending back the memory dump to

01:06.450 --> 01:13.800
the forensic workstation through netcat or S-sh software acquisition tools are dependent on the US type.

01:13.800 --> 01:17.050
Sometimes also on version running on the target system.

01:17.130 --> 01:22.290
While the majority of these tools are commercial and developer windows there are few free tools that

01:22.290 --> 01:30.270
are also available on Linux like FTA and Major and PM another tool that's available on Linux is lime

01:30.690 --> 01:32.470
or Linux memory extractor.

01:32.550 --> 01:37.410
It requires to be compiled from source for the exact kernel version of the subject system.

01:37.500 --> 01:41.950
We're going to cover P meme which is part of the recall memory analysis framework.

01:42.180 --> 01:44.130
A fork of the volatile project.

01:44.280 --> 01:50.320
The Pieman suite offers a complete memory acquisition solution and as opposed to three acquisition tools.

01:50.490 --> 01:58.810
OSX PNM wimpy mehm And Linde PM and the kernel memory drivers for the respective operating systems Team-EM

01:58.890 --> 02:03.570
saves the output memory image in the advanced forensic format for format.

02:03.570 --> 02:06.120
These tools can be downloaded from this page.

02:06.120 --> 02:12.880
Note that with the latest releases of recall HTP colon slash slash releases don't recall Dasch frenzy

02:12.970 --> 02:14.170
dot com.

02:14.220 --> 02:19.320
Note that with the latest releases of recall these tools have been integrated with the framework we

02:19.320 --> 02:26.040
have to choose version 1.6 point to because it allows to write the output of the SDD out and piping

02:26.040 --> 02:30.300
it to tools like netcat or S-sh to send over the network.

02:30.300 --> 02:34.730
We show a scenario where we have to perform a ram acquisition from a remote system.

02:34.740 --> 02:39.550
In this case we emulate with a virtual machine running Windows 7 64 bit.

02:39.690 --> 02:45.090
We assume that the network on the VM is configured as host only network and that when p.m.-I netcat

02:45.130 --> 02:51.570
binary are already copied on the target system on the Linux workstation we execute netcat in listening

02:51.570 --> 02:52.770
mode with the command.

02:52.770 --> 02:58.890
This command instructs netcat to listen on port ninety nine ninety nine and write all the data received

02:58.890 --> 03:02.900
from the netcat client on the target machine to an output image file.

03:02.910 --> 03:09.330
In this case when seven men on the target machine we execute wimpy men and pipe the output to netcat

03:09.450 --> 03:13.140
that connects to the port ninety nine ninety nine of the Kalli Linux host.

03:13.200 --> 03:15.550
We specify the standard format of the output.

03:15.600 --> 03:18.540
In this RA we must specify SDD out.

03:18.540 --> 03:21.400
Note that when Pieman always requires the output option.

03:21.570 --> 03:23.850
In this case it's the standard output.

03:23.970 --> 03:29.340
We pipe the output to netcat specifying the IP address of the Linux host and the port.

03:29.400 --> 03:35.350
Run this command and wait until next QCA completes when the execution of when Pieman on the target terminates

03:35.940 --> 03:38.940
netcat also closes the connection and exits.

03:38.940 --> 03:42.840
Let's check that the output memory image has been saved to the specified file.

03:42.900 --> 03:48.690
In this case when seven men and the size is five hundred megabytes of the target system RAM.

03:48.780 --> 03:54.270
OK in this video we introduced memory acquisition techniques and tools and showed a practical example

03:54.270 --> 03:57.400
of acquiring a memory image with wimpy men.

03:57.660 --> 04:01.620
Next we're going to introduce the volatility memory analysis framework.
