Remote Linux RAM Acquisition with LiME and Netcat?
Short answer
B Load the LiME kernel module on the suspect Linux host with a TCP export path, then have the forensic workstation use Netcat to receive the RAM dump.
Question
Key Takeaways
This question tests which side of a remote Linux memory acquisition loads LiME and which side receives the Netcat stream; the trap is reversing those roles or treating a local dd file as remote acquisition.
Remote Linux RAM acquisition is performed by loading LiME on the suspect host with a TCP export path and receiving the stream with Netcat on the forensic workstation. This page establishes why the suspect-side LiME sequence in option B is the forensically sound choice over reversed or local-only variants.
Common mistake: The common wrong pick is C, because dd if=/dev/fmem | nc is a documented remote-memory technique, but it relies on the fmem device and raw dd rather than the LiME TCP export the item is testing.
Expert Analysis
Why the Answer Is Correct
Option B keeps the acquisition on the suspect machine, which is essential because the RAM belongs to that Linux host and the investigator cannot access it physically. Loading the LiME kernel module on the suspect with path=tcp:<port> format=lime exposes a memory image over TCP, and the forensic workstation uses Netcat to connect to that TCP endpoint and redirect the stream into filename.mem. LiME is purpose-built for Linux memory acquisition, so this sequence is the forensically sound remote path the question targets.
Why the Other Options Are Wrong
Option A reverses the roles: insmod lime-.ko on the forensic workstation cannot capture the suspect's RAM, and running Netcat on the suspect would not create the intended remote dump. Option C describes the documented dd if=/dev/fmem | nc alternative, but it depends on the fmem device and raw dd, and as written it does not establish the suspect-to-workstation LiME export that the question's forensically sound sequence requires. Option D writes a local file on the suspect with dd if=/dev/fmem of=... and never pipes the data through Netcat, so no remote RAM dump reaches the forensic workstation.
Community Comment Notes
Elb points to the LiME-and-Netcat remote acquisition procedure and later clarifies, "I meant to answer B". db902ec quotes the dd-/dev/fmem-over-Netcat procedure, which explains why option C attracted votes even though it is a different acquisition path. The vote split reflects that both methods appear in training material, but the question's focus on a purpose-built remote RAM dump makes B the stronger answer.
Official Reference
https://github.com/504ensicsLabs/LiME
This link opens the official vendor documentation in a new tab.
Exam Strategy
For remote RAM acquisition questions, first identify which side owns the memory and must export it; the suspect machine loads the acquisition module, and the investigator’s workstation receives the stream. Eliminate options that put insmod on the forensic workstation or leave the dump stored only on the suspect host.
Frequently Asked Questions
Why is option C's dd if=/dev/fmem | nc sequence not the best answer?
Which machine should run insmod lime-<kernel>.ko in remote RAM acquisition?
Community Votes
75% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
Elb 👍 1 Answered BTo acquire RAM remotely over a network, the investigator must start a listening session on a suspect machine using tcp:port Command: insmod lime-<kernel_module>.ko “path=tcp:<port> format=lime” On the forensics workstation, the investigator should establish connection with the suspect machine using netcat and dump RAM data over the network Command: nc <IP Address of the Suspect Machine>:<port> > filename.mem
-
db902ec 👍 1 Answered C"To acquire RAM remotely over a network, the investigator must start a listening session on a forensic workstation using netcat. Command: nc -l <port> > filename.dd ▪ On the suspect machine, the investigator should use dd command and pipe the output using Netcat. Command: dd if=/dev/fmem bs=1024 | nc <IP Address of the Suspect Machine> <port> " Page 338
-
Elb 👍 1 Answered BB and C Both options are for remote acquisition.. Step 4.2.1: Acquire Volatile Data from a Linux Machine Using dd and Netcat (Remote Acquisition) Step 4.2.2: Acquire Volatile Data from a Linux Machine Using LiME and Netcat (Remote Acquisition)
-
Elb 👍 1D < | https://github.com/504ensicsLabs/LiME https://ioflood.com/blog/nc-linux-command/
-
Elb 👍 1 Answered BI meant to answer B
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.