Thursday, July 11, 2019

Extracting Pcap from a Memory Image

Continuing from ""
where memory was captured remotely with the Windows Sysinternal's tool, psexec.exe, and memory capture tool, dumpit.exe.

This post will test the net capture extractor feature of the bulk extractor tool against the previously created memory image "memdump.mem".

From bulk extractor found here:

The command that will be used is:

bulk_extractor64.exe -x all -e net -o test/ memdump.mem
This command uses the "-x all" to disable all scanners.  And the "-e net" for the net scanner option of the tool.

The "-o test/" signifies the directory to which to output the extracted net objects.

*As a note network connections related to a memory image are a great way to try and see what the machine was connected to at the time of the memory capture.
Using, the memory forensics tool, Volatility's netscan module, will provide insightful data regarding network connections at the time of the capture.  Including source and destination IP addresses, ports, protocols, and process ids (PIDs).

After running the above command the output of the bulk_extractor64.exe tool is located in the "test/" directory is as follows:
There now contains text files detailing network artifacts from the image

This being a memory capture from a Windows 10 machine, and with the bulk extractor open source from a few years back.  I tend to wonder if offsets and structure locations in memory have changed to where certain outputs may be effected by the net scanner.

However we do get a pcap, and can view in wireshark.
It is not a complete packet capture that one may get from a network sensor.  And timestamps are off.

Can select from the wireshark menu
Statistics --> Conversations

This will show IP address talking to each other, ports, and packet/byte numbers

We see a potential IP of interest:

Checking the reputation of the IP address on virus total we see a communicating file reported:

With a pretty high red reported malicious reputation:

And a description of Emotet Trojan

This is just a brief over view of a method to extract pcap from a memory image with the bulk extractor tool.  The goal would be to extract possible network indications from an image.  As previously noted the volatility suite is a great option for memory analysis.  But this may serve as a potential secondary method.


SANS Internet Storm Center. (2016). SANS ISC: Extracting pcap from memory - SANS Internet Storm Center
Retrieved from pcap from memory/20639/


  1. Very cool...I did the same thing in "Investigating Windows Systems"!

    Thanks for sharing this!

  2. A participant could also be} given the chance to hold a number of} reels earlier than spinning, which means they will not't} be spun however as a substitute retain their displayed symbols yet in 다 파벳 우회 주소 any other case count usually for that play. This can generally increase the prospect of successful, particularly if two or more reels are held. Mechanical slot machines and their coin acceptors had been generally prone to dishonest gadgets and other scams.