← Back to Writeups
CyberDefenders · HawkEye Lab · Network Forensics · PCAP Analysis

HawkEye
The Accountant,
The Invoice, and The Keylogger

Full Network Forensics Walkthrough · Wireshark · SMTP Exfiltration · HawkEye Keylogger Reborn v9
PCAP Analysis Wireshark SMTP Exfiltration HawkEye Keylogger Credential Theft
00 — Background

The Case: An Invoice Nobody Ordered

An accountant at an organization received an email containing an invoice with a download link. It looked routine. It wasn't. Suspicious network traffic was detected shortly after the email was opened — possible exfiltration attempts flagged by the security team. A network capture file was handed to us for analysis: stealer.pcap.

This is a pure network forensics investigation. No disk image, no memory dump — just packets. Every answer is buried somewhere in 4003 of them. The challenge is knowing which protocols to filter, which streams to follow, and which bytes to decode.

🔬 Investigation Approach
Network forensics is about following the conversation. Packets tell a story — who talked to whom, when, what they said, and what changed hands. The analyst's job is to reconstruct that conversation from raw traffic and find the moment everything went wrong.
PCAP File
stealer.pcap
Total Packets
4,003
Capture Start
2019-04-10 20:37:07
Duration
201:03:41
Malware
HawkEye Keylogger Reborn v9
Victim
roman.mcguire @ Beijing-5cd1-PC
01 — Network Triage

Who Is On This Network?

Before chasing traffic, the first step is mapping the environment. Wireshark's Statistics → Endpoints revealed the private IP space in use, and DHCP filtering identified the machines by name.

wireshark — statistics → endpoints — private IPs
# Private IP addresses identified on the network:
10.4.10.2 ← gateway
10.4.10.4 ← DNS server
10.4.10.132 ← most active machine
10.4.10.255 ← broadcast

# Most active computer by packet count:
MAC: 00:08:02:1C:47:ae
# MAC lookup → Manufacturer: Hewlett-Packard (HP)
# HQ: 1501 Page Mill Road, Palo Alto, California, USA

# DHCP filter → hostname of most active machine:
Hostname: Beijing-5cd1-PC [10.4.10.132]

# DNS filter → DNS server:
DNS Server: 10.4.10.4
🖥️ Beijing-5cd1-PC
The most active machine on the network — the one sending the most traffic — has a hostname suggesting it's registered to a user in Beijing. This is roman.mcguire's workstation. Everything we're about to find flows from this machine.
02 — The Infection Vector

The Invoice That Started Everything

The Suspicious DNS Query

Filtering DNS traffic revealed a query that stood out immediately. At packet 204, Beijing-5cd1-PC queried a domain that had no business being contacted from a corporate workstation:

wireshark — dns filter — suspicious query
# Packet 204 — DNS query from victim:
Query: proforma-invoices.com

# Packet 206 — DNS response:
Resolved IP: 217.182.138.150

# IP geolocation lookup:
Location: Hauts-de-France, France
City: Roubaix (consistent across multiple lookup tools)
# A French-hosted domain serving what appears to be invoice content

The Malicious Download

Filtering HTTP traffic and using Wireshark's Export Objects feature to list all files transferred over HTTP revealed the smoking gun. Buried in the HTTP object list was an executable masquerading as an invoice document:

wireshark — file → export objects → http
# Malicious file identified in HTTP object list:
Filename: tkraw_Protected99.exe
Source: proforma-invoices.com
MD5: 718265a0810e303866ce2a2534499a267

# Analyzing the download packet (packet 3155):
Server: LiteSpeed Software
Size: 2,025,472 bytes (~2MB)

# HTTP User-Agent from victim's requests:
OS: Windows NT 6.1 (Windows 7)
⚠️ .exe Disguised as Invoice
tkraw_Protected99.exe — a Windows executable served from a domain named to look like a legitimate invoice portal. The accountant downloaded and executed what they believed was an invoice document. Instead they executed a keylogger that would spend the next several hours silently harvesting every credential on their machine.

The Malware Checks In

Immediately after the download completed, Beijing-5cd1-PC made an unusual request that reveals the malware's first action after execution:

post-execution — malware beacon
# Immediately after tkraw_Protected99.exe executes:
DNS Query: bot.whatismyipaddress.com
Response: 173.66.146.112

# The malware is checking the victim's public IP
# This information is sent back to the attacker
# Used for target profiling and further escalation planning

# Victim's public IP confirmed: 173.66.146.112
03 — The Exfiltration Channel

SMTP — Credentials Flying Out Every 10 Minutes

Filtering for SMTP traffic revealed the exfiltration mechanism. The malware was not using a custom C2 protocol or encrypted channel — it was using plain email to send stolen data to an attacker-controlled address. Simple, effective, and easy to miss in environments that don't monitor outbound SMTP.

wireshark — smtp filter — exfiltration traffic
# SMTP traffic destination:
C2 Email Server: 23.229.162.69
Location: United States, Arizona (GoDaddy hosted)
Server: p3plcpnl0413.prod.phx3.secureserver.net
MTA: Exim 4.91

# SMTP authentication — attacker's email account:
EHLO: Beijing-5cd1-PC ← victim's hostname identifying itself
MAIL FROM: sales.del@macwinlogistics.in
RCPT TO: sales.del@macwinlogistics.in
# Sending to itself — attacker-controlled inbox

# SMTP password — base64 encoded in traffic:
Encoded: U2FsZXNAMjM=
Decoded: Sales@23
⏱️ Exfiltration Every 10 Minutes
Analyzing the EHLO command timestamps across SMTP sessions revealed the exfiltration frequency: 604.356451 seconds ≈ 10 minutes. HawkEye was running on a timer, bundling stolen credentials and sending them to the attacker's inbox every 10 minutes like clockwork. Every credential harvested between intervals was queued and sent in the next batch.
04 — The Reveal

Following the TCP Stream — HawkEye Unmasked

Following the TCP stream of the SMTP packets revealed the email body — base64 encoded, as expected for MIME email content. Decoding it is where everything became clear.

HawkEye Keylogger — Reborn v9

The decoded email body opened with a header that identified the malware immediately:

base64 decoded — smtp email body
HawkEye Keylogger - Reborn v9
Passwords Logs
roman.mcguire \ BEIJING-5CD1-PC
# Followed by complete credential dump...

HawkEye Keylogger Reborn v9 is a well-documented commercial infostealer and keylogger that has been active since at least 2013 and has gone through multiple "reborn" versions with expanding capability. It is specifically designed to harvest credentials from browsers, email clients, FTP clients, and any other application that stores login data. The "v9" variant represents one of its most feature-rich iterations — targeting browser password databases directly, logging keystrokes, capturing screenshots, and exfiltrating everything via SMTP on a configurable timer.

05 — The Credential Dump

What roman.mcguire Lost

The decoded email body contained a complete credential report — every saved password HawkEye could find on the machine. The scope of what was stolen makes clear why financial institution workstations are high-value targets.

🔓 Stolen Credentials — roman.mcguire \ BEIJING-5CD1-PC
🏦 Bank of America
BrowserChrome
Usernameroman.mcguire
PasswordP@ssw0rd$
SourceChrome Login Data — C:\Users\roman.mcguire\AppData\Local\Google\Chrome\User Data\Default\Login Data
📧 AOL Mail
BrowserInternet Explorer 7.0–9.0
Usernameroman.mcguire914@aol.com
PasswordP@ssw0rd$
URLhttps://login.aol.com/account/challenge/password
📮 Microsoft Outlook (POP3)
ApplicationMS Outlook 2002/2003/2007/2010
Emailroman.mcguire@pizzajukebox.com
Serverpop.pizzajukebox.com:995
SMTPsmtp.pizzajukebox.com:587
PasswordP@ssw0rd$
SecuredNo
💀 Password Reuse — The Force Multiplier
Every single credential uses the same password: P@ssw0rd$. Bank of America. AOL. Outlook. One stolen password unlocks everything. This is exactly why credential stuffing attacks are so devastatingly effective — attackers know that most people reuse passwords across accounts. HawkEye didn't need to crack anything. It just read the Chrome Login Data file and walked away with the keys to roman.mcguire's digital life.

How HawkEye Got the Browser Passwords

The Chrome credentials weren't harvested via keylogging — they were extracted directly from Chrome's saved password database. Chrome stores credentials in an SQLite database at a predictable, well-known location:

chrome credential extraction path
# Chrome Login Data file location:
C:\Users\roman.mcguire\AppData\Local\Google\Chrome\
User Data\Default\Login Data

# Login Data is an SQLite database
# Contains: URLs, usernames, encrypted passwords
# Encryption uses Windows DPAPI — tied to the user session
# Malware running in user context can decrypt it trivially

# This is why browser-saved passwords are a security risk:
# Any malware running as the user can access them
# No additional authentication required
🧠 Browser Password Storage Risk
This is a critical lesson that applies far beyond this case. Modern browsers make it convenient to save passwords — but that convenience comes with a serious security tradeoff. Any malware running under the user's account can access the Login Data file and decrypt its contents using the Windows Data Protection API (DPAPI). HawkEye, StrelaStealer, RedLine, and dozens of other infostealers specifically target this file as their primary credential source. A dedicated password manager with a master password — combined with MFA — provides protection that browser-saved passwords simply cannot.
06 — Full Attack Chain

Reconstructing What Happened

01
Phishing Email Delivered
roman.mcguire receives an email containing an invoice with a download link. The email appears legitimate — an invoice is expected behavior for an accountant. No red flags at the email level.
T1566.002 — Spearphishing Link
02
DNS Query — proforma-invoices.com
Beijing-5cd1-PC resolves proforma-invoices.com → 217.182.138.150 (Roubaix, France). The victim clicks the download link.
T1583.001 — Acquire Infrastructure: Domains
03
tkraw_Protected99.exe Downloaded and Executed
2MB executable served by LiteSpeed server downloads to the victim's machine. Victim opens it believing it is an invoice. HawkEye Keylogger Reborn v9 executes under roman.mcguire's session.
T1204.002 — User Execution: Malicious File
04
Malware Checks Victim's Public IP
Immediately after execution, HawkEye queries bot.whatismyipaddress.com — identifies victim's public IP as 173.66.146.112 and sends this back to the attacker for target profiling.
T1016 — System Network Configuration Discovery
05
Credential Harvesting Begins
HawkEye reads Chrome's Login Data SQLite database — Bank of America, AOL credentials extracted. Outlook profile credentials harvested. Keylogger active for any new credentials entered.
T1555.003 — Credentials from Web Browsers
06
SMTP Exfiltration — Every 10 Minutes
Every ~604 seconds, HawkEye authenticates to p3plcpnl0413.prod.phx3.secureserver.net as sales.del@macwinlogistics.in (password: Sales@23) and emails a complete credential dump to the attacker's inbox in Arizona.
T1048.003 — Exfiltration Over Unencrypted Protocol
07 — MITRE ATT&CK Mapping

Techniques Observed

T1566.002
Spearphishing Link
Invoice email with malicious download link targeting accountant
T1204.002
User Execution: Malicious File
Victim executes tkraw_Protected99.exe believing it to be an invoice
T1016
System Network Configuration Discovery
Malware queries whatismyipaddress.com to identify victim's public IP
T1555.003
Credentials from Web Browsers
Chrome Login Data SQLite database extracted and decrypted
T1555
Credentials from Password Stores
Outlook and AOL credentials harvested from application stores
T1056.001
Keylogging
HawkEye logs keystrokes to capture credentials entered after infection
T1048.003
Exfiltration Over Unencrypted Protocol
Plaintext SMTP used to exfiltrate credentials every ~10 minutes
T1583.001
Acquire Infrastructure: Domains
proforma-invoices.com registered to host malware delivery
08 — IOC Summary

Indicators of Compromise

IndicatorValueTypeConfidence
Malware Delivery Domainproforma-invoices.comDomainHIGH
Delivery Server IP217.182.138.150 (Roubaix, France)IPHIGH
Malicious Filetkraw_Protected99.exeFileHIGH
MD5 Hash718265a0810e303866ce2a2534499a267HashHIGH
C2 Exfil Server23.229.162.69 (Arizona, GoDaddy)IPHIGH
C2 Email Addresssales.del@macwinlogistics.inEmailHIGH
C2 SMTP PasswordSales@23 (decoded from U2FsZXNAMjM=)CredentialHIGH
Malware FamilyHawkEye Keylogger Reborn v9AttributionHIGH
Victim MachineBeijing-5cd1-PC [10.4.10.132]HostHIGH
Victim Public IP173.66.146.112IPHIGH
IP Recon Domainbot.whatismyipaddress.comDomainHIGH
Exfil Frequency~604 seconds (≈ 10 minutes)BehaviorHIGH
09 — Takeaways

What This Investigation Teaches Us

Accountants Are High-Value Targets

This wasn't a random phishing campaign. The lure was an invoice — exactly what an accountant opens dozens of every week. The attacker understood their target's workflow. Spearphishing works because it matches the context of the victim's daily activity. A generic phishing email triggers suspicion. An invoice link does not.

Network Forensics Reveals What Endpoint Tools Miss

The SMTP exfiltration was plaintext, unencrypted, and sent on a 10-minute timer. Any network monitoring solution logging outbound SMTP connections from a workstation — something that should never originate email — would have caught this immediately. Endpoint detection is essential, but network visibility catches the things that slip past it.

Browser-Saved Passwords Are a Single Point of Failure

HawkEye didn't need to keylog a single character of roman.mcguire's Bank of America password. It read the Chrome Login Data file and walked away with everything. The browser's convenience feature — save this password — became the attacker's convenience feature. A dedicated password manager with a master password, combined with MFA on financial accounts, would have made this credential harvest useless even after the infection.

Password Reuse Turns One Breach Into Many

P@ssw0rd$. Bank of America. AOL. Outlook. Same password, every account. This is the force multiplier that makes infostealers so devastating — a single successful harvest doesn't compromise one account. It compromises everything the victim has ever saved a password for. One stolen credential becomes a skeleton key.

Follow the Stream, Find the Truth

The base64 encoded email body looked like noise. Following the TCP stream and decoding it revealed the malware's identity, the victim's machine name, and a complete credential dump. In network forensics, the most valuable data is often hidden inside encoded payloads inside mundane-looking protocols. Always follow the stream.

Tools Used — This Investigation
Wireshark — PCAP analysis, protocol filtering, TCP stream following, object export
Statistics → Endpoints — Network host enumeration
Export Objects → HTTP — Malicious file identification
Base64 Decode — SMTP payload decoding revealing HawkEye identity
macvendors.com — MAC address manufacturer lookup
iplocation.net — IP geolocation cross-verification
MITRE ATT&CK — TTP mapping and technique identification