← Back to Writeups
CyberDefenders · Hunter Lab · Disk Forensics · Insider Threat

Hunter
The Insider Threat
Investigation

Full Disk Forensics Walkthrough · Windows 8.1 · FTK Imager · Autopsy · EZ Tools
Disk Image Forensics Registry Analysis Email & Artifact Recovery Anti-Forensics Detection
00 — Background

The Case: Illegal Port Scanning From Inside the Network

The SOC team was alerted to illegal port scanning activity originating from an employee's system. When confronted, the employee — identified only as Hunter — claimed to have no knowledge of the activity and suggested the system may have been compromised by malware.

The investigation tells a very different story. A disk image of Hunter's Windows 8.1 Enterprise machine was acquired and handed to us for analysis. What we found was not malware. It was a deliberate, methodical insider threat operation — an employee who had recently been denied a salary raise, who sought outside help, and who was building capability to exfiltrate sensitive data while actively covering their tracks.

⚠️ Investigator's Theory — Before We Begin
The evidence strongly suggests Hunter intentionally installed offensive tools, was planning something beyond simple port scanning, sought outside technical assistance due to weak personal skills, and began an active data exfiltration operation before being caught.
Computer Name
4ORENSICS
IP Address
10.0.2.15
Operating System
Windows 8.1 Enterprise
Suspect Email
ehptmsgs@gmail.com
Computer SID
S-1-5-21-2489440558-275430...
DHCP Lease
21/06/2016 02:24:12 UTC
01 — Acquisition & System Triage

Mounting the Image & Establishing Ground Truth

The disk image was provided in .ad1 format — FTK Imager's proprietary format. We mounted it using FTK Imager as a logical drive, then loaded it into Autopsy 4.22.1 as a local disk data source for full artifact ingestion.

With the image mounted, the first step was establishing system context — who is this machine, what OS, when was it last active — using Registry Explorer against the SYSTEM and SOFTWARE hives.

registry explorer — system hive — machine identity
# SYSTEM hive → ComputerName
Computer Name: 4ORENSICS
IP Address: 10.0.2.15
Timezone: PST (UTC-07:00)
DHCP Lease: 21/06/2016 02:24:12 UTC

# SOFTWARE hive → OS details & SID
OS: Microsoft Windows 8.1 Enterprise
SID: S-1-5-21-2489440558-2754304563-710705792

# SAM hive → user account details
User: Hunter
Total Logins: 3
Last Login: 2016-06-21 01:42:40
Profile Path: C:\Users\Hunter
02 — The Port Scanning Activity

Nmap + Zenmap — The Trigger That Started It All

The SOC alert was triggered by port scanning activity. Autopsy's Run Programs analysis confirmed two suspicious programs were executed — Nmap and its GUI frontend Zenmap — both installed and run deliberately.

🔍 Key Finding — No Setup Program Detected
Critically, no installer executable was found in the prefetch or run program artifacts. Nmap was installed without a standard setup wizard — highly suspicious and consistent with installation by a technically skilled outsider who knew how to avoid leaving obvious traces.
autopsy — run programs — nmap activity
# Nmap execution history from prefetch files:
Program: NMAP.EXE
Path: /PROGRAM FILES (X86)/NMAP
Run Count: 4 times
Status: NOT running at time of image acquisition

Program: ZENMAP.EXE (Nmap GUI)
Path: /PROGRAM FILES (X86)/NMAP
Last Run: 2016-06-21 12:08:13 UTC
Status: Possibly still running at image time

# Setup installer: NOT FOUND in prefetch
# No NMAP-7.12-SETUP.EXE execution trace found

The Scan Results — nmapscan.xml

Recent Documents analysis in Autopsy revealed the existence of nmapscan.xml on Hunter's Desktop — the output file from the completed network scan. Analyzing its contents revealed the full scope of the scanning activity:

nmapscan.xml — scan results analysis
# Scan metadata:
Scanner Version: Nmap 7.12
Scan Completed: Tue Jun 21 05:12:09 2016
Total Ports Scanned: 1000
Closed Ports: 994

# Open / filtered ports found:
22/tcp open ssh OpenSSH 6.6.1p1 Ubuntu
25/tcp filtered smtp
26/tcp filtered rsftp
80/tcp open http Apache httpd 2.4.7 (Ubuntu)
9929/tcp open nping-echo Nping echo
31337/tcp open ssl/ncat-chat Ncat chat

# Port 31337 — "elite" hacker port, Ncat listener
# HTTP title: "Go ahead and ScanMe!" — nmap.org test server
03 — Email Evidence

backup.pst — The Smoking Gun

Autopsy's email analysis module parsed backup.pst — an Outlook PST file found in Hunter's Outlook Files directory — and recovered 47 email messages. What they revealed confirmed this was no malware infection. Hunter was actively coordinating with an external attacker.

The External Contact

A series of emails between Hunter (ehptmsgs@gmail.com) and an outside contact (linux-rul3z@hotmail.com, Skype: linux-rul3z) documented the full collaboration:

email chain reconstruction — backup.pst
# Email 1 — TeamViewer coordination
From: Hunter → linux-rul3z
Subject: RE: TeamViewer
"I just wanted to confirm the installation of TeamViewer
as requested. When can we continue our discussion?"

# Reply from linux-rul3z:
"I am currently at work. Let us meet after I finish work.
I will ping you on Skype."

# Email 2 — Data exfiltration staging
From: Hunter → linux-rul3z
Subject: RE: Pics
"Attached is a 7z archive of some of the pictures I told
you about. The password will be given to you using Skype."

# Email 3 — DNS exfiltration training
From: linux-rul3z → ehptmsgs@gmail.com
Subject: DNS Exfil Videos
"Some Exfil videos you might want to check:"
[6 YouTube links to DNS exfiltration tutorials]
"Happy hunting Hunter :)"
🚨 Confirmed Insider Threat Collaboration
The email chain confirms: Hunter installed TeamViewer on the outsider's request to provide remote access. Files were archived and sent as email attachments. The outsider was actively teaching Hunter DNS exfiltration techniques. This is a coordinated insider-outsider attack.

Further investigation revealed Hunter had also sent network design diagrams to the outsider — and later deleted them after the outsider warned they might get caught. This deliberate deletion is a significant anti-forensics indicator.

04 — The Offensive Toolkit

What Was on Hunter's Machine

Autopsy's filesystem analysis revealed Hunter's Desktop and Downloads directory contained a concerning collection of offensive security tools — far beyond what any normal employee would have installed.

Desktop Contents

autopsy — /Users/Hunter/Desktop
# Tools found on Hunter's Desktop:
Tor Browser → /Desktop/Tor Browser/Browser/firefox.exe
# App ID: aa287709s4eaeaaa — used to bypass network monitoring
Zenmap → Nmap GUI shortcut
OllyDBG → Shortcut (debugger/RE tool)
pscp.exe → Shortcut (SCP file transfer)
putty.exe → Shortcut (SSH client)
nmapscan.xml → Network scan output file

Downloads Directory

autopsy — /Users/Hunter/Downloads
burpsuite-free_v1.7.03.jar
# Burp Suite — web exploitation & network traffic manipulation tool
# No legitimate reason for this on a standard employee machine

NMAP-7.12-SETUP.EXE → downloaded but no execution trace
# Setup file exists but was not run via installer
# Nmap installed by other means — consistent with outside help

Documents Directory

autopsy — /Users/Hunter/Documents
Ryan-VanAntwerp-thesis.pdf
# Academic thesis discussing data exfiltration techniques
# Hunter was actively researching how to exfiltrate data

defcon-16-ricks.pdf
DEFCON-22-Zoltan-Balazs-Bypass-firewall...pdf
how_do_threat_actors_steal_your_data.pdf
# Collection of security research papers — not typical for a non-security employee
🧠 Analyst Note — Tor Browser Usage
JLECmd jumplist analysis confirmed Tor Browser was actively used from C:\Users\Hunter\Desktop\Tor Browser\Browser\firefox.exe. Tor was specifically chosen to bypass network security monitoring controls — the employee was aware their activity might be logged and took deliberate steps to hide it.
05 — Data Staging & Exfiltration

How Hunter Planned to Get the Data Out

The Exfil Folder

Autopsy's Shell Bags analysis revealed Hunter had created a dedicated staging folder with a name that left nothing to the imagination:

autopsy — shell bags — staging directory
# Shell bag entry — folder accessed by Hunter:
Path: My Computer\C:\Users\Hunte\Picture\Exfi
Last Write: 2016-06-21 12:17:36 IST
Full path: C:\Users\Hunter\Pictures\Exfil

# A folder literally named "Exfil" created to stage data
# Hunter was collecting data to exfiltrate here

Pictures.7z — Email Exfiltration Attempt

Cross-referencing the email evidence with filesystem artifacts confirmed Hunter attempted to exfiltrate data by archiving staged files into a password-protected 7z archive named Pictures.7z and sending it as an email attachment — with the password communicated separately over Skype to avoid leaving it in email logs.

The XSS Payload — Hidden in an Image

The Recycle Bin contained an unusual artifact — a file masquerading as a .jpg image. Extracting the text content revealed it was not a normal image:

recycle bin artifact — file masquerading as .jpg
# File in Recycle Bin — appears to be a .jpg
Original: 1920x1200 .jpg image of a kitten
Status: BROKEN — corrupted/modified

# Extracted text content reveals embedded script:
Content: inline frame tags + script content
# → XSS payload embedded in image file
# → Would execute once uploaded to a webpage
# → Technique: stored XSS via image upload
🚨 Steganography / Payload Embedding
A kitten image with an XSS payload embedded inside it — disguised as a normal photo. This level of sophistication is consistent with outside help from a technically skilled attacker. Hunter's own skills were described as weak; this was not something they built alone.
06 — Anti-Forensics

Covering the Tracks — BCWipe & Deleted Evidence

Perhaps the most damning evidence of intent: Hunter didn't just exfiltrate data — they actively tried to destroy evidence of what they were doing.

BCWipe — File Shredder

BCWipe by Jetico is a professional-grade file wiping and disk shredding tool. Finding it on an employee's machine is a major red flag in any insider threat investigation. Autopsy confirmed it was not only installed but actively used:

autopsy + prefetch — bcwipe execution evidence
# BCWipe installation path:
Path: /Program Files (x86)/Jetico/BCWipe

# Prefetch analysis — execution count:
BCWIPE.EXE executed: 5 times

# UnInstall.log also reveals "Crypto Swap" — disk encryption app
Crypto Swap: disk encryption application — also installed

# Total prefetch files: 174 (after filtering 0-byte files)
🗑️ Evidence of Active Evidence Destruction
BCWipe executed 5 times. The outsider explicitly warned Hunter they "might get caught" — and Hunter deleted the network design diagrams they had sent. This is deliberate, conscious evidence destruction. MITRE ATT&CK: T1485 — Data Destruction and T1070 — Indicator Removal.

USB Devices — Data Exfiltration via Physical Media

Autopsy's USB device analysis combined with SYSTEM registry hive lookup revealed two USB storage devices had been connected to Hunter's machine:

system registry — USB storage devices
# USB devices connected to Hunter's machine:
Device 1 Serial: 07B20C03C80830A9
Device 2 Serial: AA16UXDKZDVSE9OU

# Two separate USB devices — possible data staging/transfer
07 — Full Attack Timeline

Reconstructing What Hunter Did

Before 2016-06-21 — Prior Context
Salary Raise Rejected
Hunter requests a salary increase. Request is denied. Behaviour becomes abnormal. Hunter begins planning — reaches out to external contact linux-rul3z for assistance.
2016-06-21 01:42:40
Last Login — Activity Begins
Hunter logs into the machine. SAM hive records this as the 3rd and final login. The day's activity begins.
2016-06-21 02:24:12 UTC
DHCP Lease Obtained
Machine connects to network. IP 10.0.2.15 assigned.
2016-06-21 04:44 AM
BCWipe Installed — Anti-Forensics Begins
BCWipe file shredder installed at 04:44 AM. Crypto Swap disk encryption also installed. Evidence destruction capability established before major activity.
2016-06-21 05:12:09
Nmap Scan Completed
Network scan of target finishes. 1000 ports scanned, 6 open/filtered ports identified including SSH (22), HTTP (80), and port 31337 (Ncat). Results saved to nmapscan.xml on Desktop.
2016-06-21 09:37–09:38
Exfil Folder Created & Accessed
Shell bags record creation and access of C:\Users\Hunter\Pictures\Exfil — a staging directory for data to be exfiltrated.
2016-06-21 11:06
Hash Suite Downloaded — Credential Harvesting
Hash_Suite_Free downloaded to machine. A password hash extraction and cracking tool — indicates credential harvesting intent.
2016-06-21 12:08:13 UTC
Zenmap Executed — Possibly Still Running
Zenmap (Nmap GUI) runs. Prefetch indicates it may still have been active when the disk image was taken.
2016-06-21 — SOC Alert Triggered
Port Scanning Detected — Investigation Begins
SOC team detects illegal port scanning from Hunter's machine. Disk image acquired. Hunter claims malware. Investigation begins.
08 — MITRE ATT&CK Mapping

Techniques Observed

T1046
Network Service Discovery
Nmap/Zenmap used to scan 1000 ports on target network
T1219
Remote Access Software
TeamViewer installed on outsider's request for remote access
T1048
Exfiltration Over Alt Protocol
DNS exfiltration techniques being learned; data sent via email attachments
T1560
Archive Collected Data
Pictures.7z password-protected archive created for exfiltration
T1485
Data Destruction
BCWipe run 5 times; network diagrams deleted after outsider warned of discovery risk
T1070
Indicator Removal
Files deliberately deleted to remove evidence of exfiltration activity
T1090
Proxy — Tor
Tor Browser used to bypass network security monitoring controls
T1027
Obfuscated Files
XSS payload embedded in .jpg image file disguised as kitten photo
T1052
Exfiltration Over Physical Medium
Two USB storage devices connected — possible physical data transfer
T1110
Brute Force
Hash Suite Free downloaded — password hash extraction and cracking capability
09 — Key Artifacts Summary

Evidence Recovered

ArtifactValue / LocationTypeSignificance
Suspect Emailehptmsgs@gmail.comIdentityHIGH
External Contactlinux-rul3z@hotmail.comIdentityHIGH
Network Scan OutputDesktop/nmapscan.xmlFileHIGH
Exfil Staging FolderC:\Users\Hunter\Pictures\ExfilDirectoryHIGH
Data ArchivePictures.7z — password protectedFileHIGH
File ShredderProgram Files (x86)/Jetico/BCWipe — run 5xSoftwareHIGH
Tor BrowserDesktop/Tor Browser/Browser/firefox.exeSoftwareHIGH
Web Exploitation ToolDownloads/burpsuite-free_v1.7.03.jarSoftwareHIGH
XSS PayloadEmbedded in .jpg in Recycle BinMalicious FileHIGH
USB Device 107B20C03C80830A9HardwareMEDIUM
USB Device 2AA16UXDKZDVSE9OUHardwareMEDIUM
Exfil ResearchRyan-VanAntwerp-thesis.pdfDocumentMEDIUM
10 — Takeaways

What This Investigation Teaches Us

Insider Threats Are Human Stories

Every other investigation in this series involved external attackers. Hunter is different — this is someone who sat at a desk, had a salary conversation that didn't go their way, and made a series of deliberate decisions over weeks. The artifacts don't lie: the rejection, the outside contact, the tools, the staging folder named "Exfil". The motive is written into every artifact.

Anti-Forensics Leaves Its Own Footprint

BCWipe run 5 times. Files deleted after the outsider warned of discovery risk. Ironically, these actions are themselves evidence. The act of trying to destroy evidence proves consciousness of guilt. Prefetch files recorded every BCWipe execution. Shell bags recorded every folder accessed including the Exfil staging directory. The very tools used to hide the activity became part of the evidence trail.

Disk Forensics Recovers What People Think Is Gone

Hunter deleted the network diagrams. The Recycle Bin still had artifacts. Prefetch still recorded execution history. Shell bags still showed folder access. Registry hives still held USB serial numbers. Disk forensics reconstructs the full picture even when the suspect believes they've cleaned up — because the OS keeps records in more places than most people realize.

No Setup Installer = Outside Hands

The absence of a Nmap setup executable in the prefetch — combined with Nmap being fully installed and running — was a key indicator that someone more technically skilled was involved. Forensic absence of evidence is itself evidence. When something that should exist doesn't, that's a finding.

Tools Used — This Investigation
FTK Imager — .ad1 disk image mounting and filesystem browsing
Autopsy 4.22.1 — Full artifact ingestion, email analysis, prefetch, shell bags
Registry Explorer — SYSTEM, SOFTWARE, SAM hive analysis
JLECmd (EZ Tools) — Jumplist analysis confirming Tor Browser usage
MITRE ATT&CK — TTP mapping and technique identification