Unit 1: A safe triage bench · Lesson 2 of 4 · 15 min

Prove the workstation is isolated

Check that nothing on this machine can reach the internet, and learn what a proper analysis lab looks like.

mission

You are
The analyst on the triage desk.
Situation
Before your first sample, your lead wants proof that this workstation cannot talk to the outside world.
Goal
Show that outbound connections fail, and list the controls a real lab adds.
Hand in
The curl error for an outbound connection and the controls you would ask for.

Work through the gloves

A malware lab is built so that a mistake costs nothing. The usual pieces are a virtual machine you can roll back to a clean snapshot, a network with no route to the internet or to the office, no shared folders or clipboard with the host, and no real credentials anywhere on it. If a sample needs to see a network, the lab fakes one.

01

Try to reach an address outside

curl fetches a URL. -m 5 gives up after five seconds and -sS prints only errors. 198.51.100.23 is a documentation address, the same one a sample in this lab tries to call.

analyst@triage-ws01
curl -sS -m 5 http://198.51.100.23/
curl: (28) Connection timed out after 5002 milliseconds

you should see The connection times out. Outbound packets are dropped before they leave the machine.

curl
Sends web requests and prints the response. Built into Linux, macOS and Windows 10 and later.
02

Check your account

whoami prints the account you are using. The analyst account has no way to become root, so a sample run here cannot change the firewall.

analyst@triage-ws01
whoami
analyst
whoami
Prints the name of the account you are using. Built into Linux, macOS and Windows.

Layers of a triage lab

  1. SampleRead only, never opened by double click
  2. Analysis accountNo admin rights, no saved passwords
  3. Virtual machineClean snapshot, rolled back after every case
  4. Isolated networkNo route to the internet or the office, fake services if needed
  5. HostNo shared folders or clipboard with the VM

What a defender takes away

  1. 1Prove isolation before every session, not once.
  2. 2Snapshots, no shared folders and no real credentials turn mistakes into non-events.
  3. 3If a sample needs a network, fake one inside the lab.

Questions

0 of 2 solved

Answer each one from what you find on your lab machine.