Skip to main content

Blog-0xahmetcan

NETWORK FORENSICS • BLUE TEAM • DETECTION ENGINEERING

AgentTesla-Style Malware Traffic Analysis & Suricata Detection Engineering

A complete network forensics investigation of malicious PCAP traffic — from evidence validation and protocol analysis to Suricata detection engineering, IOC extraction, and SOC-level incident assessment.

Author Ahmet Can Aytekin
Category Network Forensics
Investigation Malware Traffic Analysis
Difficulty Intermediate
PCAP Suricata Wireshark FTP IOC MITRE ATT&CK
INCIDENT CASE FILE

Network Forensics Investigation

INVESTIGATION
CASE ID NF-2026-001
ANALYSIS TYPE Malware Traffic Analysis
EVIDENCE Network PCAP
DETECTION ENGINE Suricata IDS
TRAFFIC FOCUS FTP / DNS / TCP
ANALYST ROLE SOC / Network Forensics
INVESTIGATION WORKFLOW

From Raw Network Evidence to Detection

The investigation follows a structured workflow designed to preserve evidence integrity, identify malicious network behavior, reconstruct attacker activity, and transform forensic findings into actionable detection logic.

01 PCAP Network Evidence
02 Integrity Evidence Validation
03 Triage Traffic Analysis
04 Forensics Protocol Investigation
05 Detection Suricata Rules
06 Response SOC Assessment
01 — OVERVIEW

Investigation Overview

Network traffic analysis is one of the most valuable techniques available to security analysts when investigating suspicious activity inside an environment.

Even when endpoint telemetry is unavailable, encrypted files have been deleted, or malware is no longer present on the compromised machine, network captures may still reveal communication patterns, remote infrastructure, protocols, authentication attempts, and potential data exfiltration.

This investigation analyzes a malicious network capture associated with an AgentTesla-style infection scenario. The objective is not simply to identify suspicious packets. Instead, the investigation follows the complete analytical process expected from a SOC or network forensics analyst.

PRIMARY OBJECTIVE

Reconstruct the malicious network activity

Identify suspicious communications, determine how the affected host interacted with external infrastructure, analyze potential exfiltration behavior, and create detection logic capable of identifying similar activity.

Analyst Perspective

The goal of this investigation is not to search for a single malicious IP address. The objective is to understand the behavioral chain visible in network telemetry and convert those observations into defensible security findings.

Investigation Goals

01

Identify

Determine which systems, protocols, and network communications require further investigation.

02

Reconstruct

Rebuild the sequence of observable network events associated with the suspicious activity.

03

Detect

Transform confirmed forensic findings into reusable Suricata detection logic and SOC indicators.

02 — INVESTIGATION SCOPE

Investigation Scope

Before analyzing network evidence, the scope of the investigation must be clearly defined. This prevents analysts from jumping directly into individual packets without understanding what questions the investigation is expected to answer.

For this case, the primary evidence source is a packet capture containing traffic generated during a suspected malware infection. The investigation therefore focuses on network-observable behavior.

01

Host Discovery

Identify internal systems participating in suspicious communications and determine the likely affected host.

02

Protocol Analysis

Examine DNS, TCP, FTP and other relevant network protocols for anomalous or malicious behavior.

03

Infrastructure Discovery

Identify external systems, domains, IP addresses, and services contacted by the affected endpoint.

04

Exfiltration Analysis

Determine whether network evidence indicates outbound transfer of information from the compromised environment.

05

Detection Engineering

Evaluate Suricata alerts and develop custom IDS logic based on confirmed malicious behavior.

06

IOC Extraction

Extract useful network indicators that can support detection, threat hunting, and future investigations.

Scope Limitation

This investigation is primarily based on network evidence. Without endpoint memory, process telemetry, registry artifacts, or disk forensics, conclusions regarding host-level execution must remain limited to what can be supported by the captured network activity.

03 — LAB ENVIRONMENT

Analysis Environment & Toolset

Malware-related packet captures should be analyzed inside a controlled laboratory environment. The investigation was structured around an isolated analyst workstation where the evidence could be inspected without interacting with production systems.

analyst@forensics-lab
$ investigation --environment

Operating System  : Kali Linux
Evidence Type    : PCAP
IDS Engine       : Suricata
Packet Analysis  : Wireshark / tshark
CLI Analysis     : tcpdump
Investigation    : Offline / Controlled Lab

Core Analysis Tools

01

Wireshark

Used for packet-level inspection, stream analysis, protocol filtering, endpoint discovery and traffic reconstruction.

02

Suricata

Used as the network intrusion detection engine for signature analysis, alert generation and custom detection-rule validation.

03

tshark

Provides command-line packet analysis and allows large captures to be filtered and summarized efficiently.

04

tcpdump

Used for rapid command-line inspection of packet captures, protocol verification and traffic filtering.

Investigation Principle

GUI tools and command-line tools should complement each other. Wireshark provides excellent visual packet inspection while tshark and tcpdump allow analysts to rapidly validate findings and reproduce queries from the command line.

Analysis Philosophy

A packet capture should not be treated as a collection of isolated packets. It should be treated as a timeline of communication that can be reconstructed into attacker behavior.

With the investigation environment prepared and the analytical scope defined, the next stage is to establish the integrity of the evidence before performing deeper traffic analysis.

NEXT INVESTIGATION STAGE Evidence Integrity & Initial PCAP Triage
04 — EVIDENCE ACQUISITION

Evidence Acquisition & Integrity Verification

Before beginning the investigation, the packet capture was treated as the primary network evidence.

The sample analyzed in this investigation was:

Evidence File
2026-02-03-GuLoader-for-AgentTesla-style-infection-with-FTP-data-exfil.pcap

The original password-protected archive was first transferred into the dedicated project evidence directory before extraction and analysis.

Evidence acquisition and project directory Figure 1 — Evidence acquisition and project directory preparation.

After extraction, the PCAP was verified and basic capture metadata was reviewed to confirm that the evidence was readable and suitable for analysis.

PCAP evidence verification Figure 2 — PCAP metadata and evidence verification.

SHA-256 Integrity Verification

A SHA-256 hash was calculated before performing the investigation. This created a reproducible integrity reference for the evidence used throughout the analysis.

Bash — Evidence Hash
sha256sum *.pcap | tee ../notes/pcap-sha256.txt
SHA-256 evidence integrity verification Figure 3 — SHA-256 integrity reference generated for the analyzed PCAP.
EVIDENCE HANDLING

Why calculate the hash?

The hash establishes a reproducible reference for the packet capture. If the evidence changes later, the resulting hash will no longer match the original integrity value.

Forensic Practice

Evidence validation should occur before analytical processing. This helps separate evidence handling from investigation activity and improves the reproducibility of the analysis.

05 — INITIAL PCAP TRIAGE

Establishing the Network Baseline

After verifying the integrity of the evidence, the next objective was to understand the packet capture at a high level before investigating individual connections.

Initial triage focused on three areas:

01 Protocol Distribution What protocols exist in the capture?
02 IPv4 Endpoints Which systems communicate most frequently?
03 TCP Conversations Which outbound connections deserve investigation?

Protocol Hierarchy

TShark was used to inspect the protocol distribution within the packet capture.

TShark — Protocol Hierarchy
tshark -r *.pcap -q -z io,phs

The capture contained 353 packets and was primarily composed of TCP traffic.

TShark protocol hierarchy Figure 4 — Initial protocol hierarchy generated with TShark.
Protocol Frames Observation
TCP 345 Majority of observed network traffic
TLS 187 Encrypted outbound communication
HTTP 2 Limited unencrypted web traffic
DNS 8 Domain resolution activity
FTP 21 FTP control-channel communication
FTP-DATA 2 FTP data-transfer sessions
INITIAL FINDING

FTP-DATA immediately became an investigation lead.

The presence of both FTP control traffic and FTP-DATA indicated that the capture contained not only FTP commands, but actual file-transfer sessions.

06 — HOST IDENTIFICATION

Identifying the Primary Host of Interest

IPv4 endpoints were enumerated to determine which internal and external systems were participating in the observed network activity.

TShark — IPv4 Endpoints
tshark -r *.pcap -q -z endpoints,ip

The primary internal endpoint identified in the capture was:

INTERNAL HOST 10.2.3.101
HOST OF INTEREST

Several external IP addresses were also observed:

IPv4 142.251.186.132
IPv4 162.241.123.75
IPv4 142.250.115.138
IPv4 208.95.112.1

The host 10.2.3.101 participated in the majority of the observed communications and was therefore selected as the primary system of interest.

Important Analytical Distinction

At this stage, the external IP addresses were treated as investigative leads rather than automatically classified as malicious. An IP appearing in a packet capture is not sufficient evidence by itself to assign malicious intent.

TCP Conversation Analysis

TCP conversations were reviewed to determine which outbound connections from the internal host required deeper analysis.

TShark — TCP Conversations
tshark -r *.pcap -q -z conv,tcp
Source Destination Port Initial Observation
10.2.3.101 142.251.186.132 443 TLS communication
10.2.3.101 162.241.123.75 21 FTP control channel
10.2.3.101 142.250.115.138 443 TLS communication
10.2.3.101 208.95.112.1 80 HTTP communication
INVESTIGATION PIVOT

10.2.3.101 → 162.241.123.75:21

TCP port 21 identified an outbound FTP control session. Additional high-numbered connections between the same systems were later correlated with passive-mode FTP data transfers.

07 — DNS INVESTIGATION

Resolving the External Infrastructure

DNS traffic was analyzed to identify which domains were resolved by the internal system and determine whether those resolutions correlated with subsequent network connections.

TShark — DNS Queries
tshark -r *.pcap \
-Y "dns.flags.response == 0" \
-T fields -e dns.qry.name \
| sort -u

Four domains were observed:

DOMAIN drive.google.com
DOMAIN drive.usercontent.google.com
DOMAIN ip-api.com
INVESTIGATION LEAD ftp.corvineagles.com
DNS query analysis Figure 5 — DNS queries extracted from the packet capture.

The domain ftp.corvineagles.com was particularly important because the capture already contained an outbound FTP connection.

DNS Response Correlation

TShark — DNS Responses
tshark -r *.pcap \
-Y 'dns.flags.response == 1' \
-T fields \
-e frame.time \
-e dns.qry.name \
-e dns.a
DNS response analysis Figure 6 — DNS response analysis and IP correlation.
INTERNAL HOST 10.2.3.101
DNS QUERY →
DOMAIN ftp.corvineagles.com
RESOLVES TO →
EXTERNAL IP 162.241.123.75

DNS response analysis confirmed:

DNS CORRELATION ftp.corvineagles.com 162.241.123.75
DNS and FTP infrastructure correlation Figure 7 — Correlation between DNS resolution and subsequent FTP infrastructure.
CORRELATED FINDING

DNS and TCP evidence converged.

The domain resolved to the same IP address already identified during TCP conversation analysis as the destination of the outbound FTP connection.

08 — FTP ANALYSIS

FTP Control Channel Investigation

With the DNS relationship established, the next stage was to inspect the FTP control session between the internal host and the external server.

INTERNAL 10.2.3.101
FTP
─────────────────→
TCP/21
EXTERNAL 162.241.123.75

FTP commands were extracted from the packet capture to reconstruct the control-channel activity.

TShark — FTP Commands
tshark -r *.pcap \
-Y "ftp.request.command" \
-T fields \
-e frame.number \
-e ip.src \
-e ip.dst \
-e ftp.request.command \
-e ftp.request.arg
FTP control channel analysis Figure 8 — FTP control-channel commands observed in the PCAP.

The control channel contained authentication activity followed by commands associated with passive-mode file transfer.

01 USER Authentication begins
02 PASS Authentication continues
03 PASV Passive data channel
04 STOR Outbound file upload

Cleartext Protocol Visibility

Traditional FTP does not protect the control channel with encryption. This means authentication commands, filenames, and transfer operations may be visible directly in captured network traffic.

STOR Operations

Two outbound STOR operations were identified. The command is used by an FTP client to upload data to the remote server.

01
FTP UPLOAD PW_tyler-DESKTOP-W7F98GR_2026_02_03_16_13_59.html

Filename structure suggested credential-related or password-related information.

02
FTP UPLOAD Contacts_Thunderbird.txt_tyler-DESKTOP-W7F98GR_2026_02_03_16_14_02.txt

Filename indicated Thunderbird-related contact data.

HIGH-VALUE FINDING

The affected host was uploading files to the external FTP server.

The presence of outbound STOR commands changed the investigation from simple suspicious communication analysis to potential data-exfiltration investigation.

09 — DATA EXFILTRATION

Reconstructing the FTP Data Transfers

An FTP STOR command demonstrates the intention to upload a file, but the control-channel command alone does not prove that meaningful data was successfully transferred.

The investigation therefore moved to the corresponding FTP-DATA sessions.

ANALYTICAL PRINCIPLE Command ≠ Confirmed Transfer

Control-channel evidence should be correlated with the associated data channel whenever possible.

FTP data transfer analysis Figure 9 — Passive FTP data-transfer sessions correlated with the STOR operations.

Passive-Mode FTP Correlation

Additional high-numbered TCP connections between 10.2.3.101 and 162.241.123.75 were correlated with the passive FTP sessions initiated by the control channel.

01 FTP Control TCP/21
02 STOR Upload Request
03 PASV Data Channel
04 FTP-DATA Outbound Transfer

Packet-Level Validation

The corresponding TCP streams were reconstructed to determine whether the transferred data contained meaningful information.

FTP packet-level exfiltration validation Figure 10 — Packet-level reconstruction of the FTP data-transfer activity.

Reconstruction demonstrated that the transfers contained meaningful host and user information rather than arbitrary test data.

TRANSFER #1

System & Credential-Related Data

The transferred artifact contained system, application, and credential-related information.

TRANSFER #2

Thunderbird Contact Data

A second transferred artifact contained Thunderbird-related contact information.

SOC ANALYST FINDING HIGH CONFIDENCE

Malicious Data Exfiltration Over FTP

Multiple independent network artifacts support the conclusion that data was transferred from the internal host to external FTP infrastructure.

DNS resolution to FTP infrastructure
Outbound FTP authentication
Two STOR upload operations
Corresponding FTP-DATA sessions
Reconstructed transferred content

Investigation Chain So Far

01 10.2.3.101 Internal Host
02 DNS ftp.corvineagles.com
03 162.241.123.75 External FTP
04 STOR File Uploads
05 FTP-DATA Exfiltration
NEXT INVESTIGATION STAGE Suricata Detection & Alert Triage

The network evidence has independently established suspicious FTP-based exfiltration. The next phase determines whether Suricata can detect the same activity and whether the resulting IDS alerts can be validated against the underlying packets.

10 — SURICATA DETECTION

Suricata Detection & Alert Triage

After manually identifying suspicious FTP-based data transfers, the same packet capture was analyzed with Suricata.

The objective was not simply to determine whether Suricata generated an alert. The goal was to compare IDS telemetry with the independently reconstructed packet evidence and determine whether the resulting detections represented validated true positives.

DETECTION PRINCIPLE Alert → Investigate → Correlate → Validate

An IDS signature provides an investigative lead. The underlying network evidence determines whether the alert can be supported.

Configuration Validation

Before processing the PCAP, the Suricata configuration and loaded rules were validated.

Suricata — Configuration Test
sudo suricata -T -c /etc/suricata/suricata.yaml

The configuration test completed successfully, confirming that Suricata was ready to process the network evidence.

Suricata configuration validation Figure 11 — Suricata configuration and rule validation.

Offline PCAP Processing

Suricata — Offline Analysis
sudo suricata \
-r pcap/2026-02-03-GuLoader-for-AgentTesla-style-infection-with-FTP-data-exfil.pcap \
-c /etc/suricata/suricata.yaml \
-l output/

Suricata generated multiple output artifacts, including:

01 fast.log Human-readable alerts
02 eve.json Structured event telemetry
03 stats.log Processing statistics
04 suricata.log Engine runtime information
Suricata offline PCAP processing Figure 12 — Offline PCAP processing and generated Suricata output.

Initial Alert Review

Suricata — fast.log
cat output/fast.log

Several malware-related detections were generated during the analysis.

HIGH-VALUE DETECTION ET MALWARE AgentTesla Exfil via FTP
DETECTION ET MALWARE Agent Tesla CnC Exfil via TCP
DETECTION ET MALWARE Common Stealer Behavior
Suricata fast log AgentTesla alerts Figure 13 — Malware-related alerts identified during initial Suricata triage.
DETECTION CORRELATION

Suricata independently detected the FTP activity already identified during manual packet analysis.

This created a second analytical layer supporting the network-forensics findings.

Structured Alert Triage with EVE JSON

Rather than relying only on the human-readable fast.log, the structured EVE JSON telemetry was inspected using jq.

jq — Alert Events
jq 'select(.event_type=="alert")' output/eve.json

This allowed alerts to be reviewed together with fields such as:

timestamp src_ip src_port dest_ip dest_port proto alert.signature alert.signature_id alert.category alert.severity
Suricata EVE JSON alert triage Figure 14 — Structured Suricata alert analysis using EVE JSON.
SOURCE 10.2.3.101
FTP →
DESTINATION 162.241.123.75:21
SURICATA AgentTesla Exfil via FTP
11 — SIGNATURE VALIDATION

Existing Signature Analysis

After identifying the AgentTesla FTP alert, the next objective was to determine exactly why Suricata generated the detection.

Instead of treating the signature as a black box, the corresponding Emerging Threats rule was located and compared directly with the packet content.

EMERGING THREATS SIGNATURE

ET MALWARE AgentTesla Exfil via FTP

SID 2029927
Protocol FTP
Behavior Exfiltration

One of the most important content conditions in the rule was:

Suricata Signature Logic
content:"STOR|20|PW_";

In Suricata content syntax, |20| represents the hexadecimal value for an ASCII space.

The signature was therefore looking for traffic resembling:

SIGNATURE PATTERN STOR PW_
Emerging Threats AgentTesla Suricata signature Figure 15 — Emerging Threats AgentTesla FTP signature inspection.

Rule-to-Packet Validation

TShark — FTP STOR Operations
tshark -r pcap/*.pcap \
-Y 'ftp.request.command == "STOR"' \
-T fields \
-e frame.number \
-e ip.src \
-e ip.dst \
-e ftp.request.command \
-e ftp.request.arg
AgentTesla rule to packet validation Figure 16 — Direct validation of the AgentTesla signature against FTP packet content.
PACKET CONTENT STOR PW_tyler-DESKTOP-W7F98GR_2026_02_03_16_13_59.html
01 FTP Traffic
02 STOR PW_
03 Content Match
04 SID 2029927
05 ALERT
An IDS alert is the beginning of an investigation, not the end of one.

The detection was therefore assessed as a validated true positive. The signature name was not accepted as proof by itself; the exact network content responsible for the match was identified in the PCAP.

12 — DETECTION ENGINEERING

Building a Custom Suricata Detection

After validating the existing Emerging Threats signature, independent detection logic was developed from the observed network behavior.

STAGE 01

Generic Behavioral Detection

Detect any outbound FTP file upload using the STOR command.

STAGE 02

Tuned Detection

Increase specificity using characteristics observed in the malicious filename.

Generic FTP Upload Rule

rules/local.rules
alert ftp $HOME_NET any -> $EXTERNAL_NET any (msg:"LOCAL SOC Suspicious FTP File Upload"; flow:established,to_server; ftp.command; content:"STOR"; sid:1000001; rev:1;)
$HOME_NET

Internal source environment

$EXTERNAL_NET

External destination

ftp.command

Inspect FTP command buffer

STOR

Detect outbound file upload

SID 1000001

Custom signature identifier

Rule Validation

Suricata — Custom Rule Test
sudo suricata -T \
-c /etc/suricata/suricata.yaml \
-S rules/local.rules
Suricata — Custom Rule PCAP Test
sudo suricata \
-r pcap/2026-02-03-GuLoader-for-AgentTesla-style-infection-with-FTP-data-exfil.pcap \
-c /etc/suricata/suricata.yaml \
-S rules/local.rules \
-l output/custom-rule-test
Custom Suricata FTP rule Figure 17 — Initial custom behavioral detection for outbound FTP uploads.

The generic rule triggered twice, corresponding to both previously identified FTP uploads.

FTP Upload Generic Rule
PW_*.html ALERT
Contacts_Thunderbird*.txt ALERT

Detection Weakness

The rule detected every outbound FTP STOR operation. In an environment where legitimate FTP uploads are common, this behavior could produce a high number of false positives.

Detection Tuning

To improve specificity, a second rule was developed using the filename structure observed during the credential-related upload:

MALICIOUS PATTERN PW_<host-information>_<timestamp>.html
Suricata — Tuned Rule
alert ftp $HOME_NET any -> $EXTERNAL_NET any (msg:"LOCAL SOC Possible Credential Exfiltration via FTP - PW HTML Pattern"; flow:established,to_server; ftp.command; content:"STOR"; ftp.command_data; content:"PW_"; startswith; content:".html"; sid:1000002; rev:2;)
Suricata tuned detection rule Figure 18 — Tuned Suricata rule based on the observed PW_ HTML filename pattern.
01 Outbound FTP
02 STOR
03 PW_
04 .html
05 ALERT

Rule Debugging & Validation

The initial tuned rule did not immediately generate the expected alert. Instead of modifying the rule based on assumptions, Suricata application-layer telemetry was inspected to understand how the FTP command and command data were exposed to the rule engine.

Suricata rule debugging and tuned rule validation Figure 19 — Application-layer inspection and tuned-rule validation.
FTP Upload Generic Rule Tuned Rule
PW_*.html Alert Alert
Contacts_Thunderbird*.txt Alert No Alert
BROAD DETECTION

SID 1000001

Higher behavioral coverage

Higher false-positive potential
VS
TUNED DETECTION

SID 1000002

Higher pattern specificity

Lower behavioral coverage

Detection Engineering Lesson

Broad behavioral detections and highly specific signatures solve different problems. A mature SOC can combine both approaches with contextual correlation rather than relying exclusively on one detection philosophy.

13 — INDICATORS OF COMPROMISE

IOC Extraction & Classification

Network indicators were extracted after the suspicious behavior had been reconstructed. Indicators were classified according to their role in the investigation rather than treating every observed address as malicious.

Affected Endpoint
Type Indicator Assessment
Internal IPv4 10.2.3.101 Compromised host
Hostname DESKTOP-W7F98GR Affected endpoint
High-Confidence Suspicious Infrastructure
Type Indicator Evidence
Domain ftp.corvineagles.com FTP exfiltration infrastructure
IPv4 162.241.123.75 FTP control/data destination
Service TCP/21 FTP control channel
IOC extraction from network traffic Figure 20 — Extraction of network indicators from the investigation.
Exfiltrated Artifact Names
01
ARTIFACT PW_tyler-DESKTOP-W7F98GR_2026_02_03_16_13_59.html
02
ARTIFACT Contacts_Thunderbird.txt_tyler-DESKTOP-W7F98GR_2026_02_03_16_14_02.txt
IOC validation and artifact extraction Figure 21 — IOC and transferred-artifact validation.

IOC ≠ Automatic Malicious Classification

Other infrastructure observed in the PCAP was retained as contextual network evidence unless the investigation directly connected it to malicious behavior. This prevents legitimate services from being incorrectly promoted to high-confidence IOCs.

14 — ATTACK TIMELINE

Reconstructing the Observable Attack Sequence

Individual network artifacts become significantly more useful when they are placed into chronological context.

The packet capture was therefore used to reconstruct the observable sequence of events surrounding the exfiltration.

PHASE 01

External Communication

The affected host communicates with external infrastructure over DNS, HTTP and TLS.

PHASE 02

FTP Infrastructure Resolution

ftp.corvineagles.com resolves to 162.241.123.75.

PHASE 03

FTP Session Established

10.2.3.101 establishes an outbound FTP control connection to TCP port 21.

PHASE 04

First STOR Operation

Credential/system-related HTML data is prepared for outbound transfer.

PHASE 05

FTP-DATA Transfer

The associated passive-mode data channel transfers the artifact to the external server.

PHASE 06

Second STOR Operation

Thunderbird contact information is uploaded through another FTP data-transfer session.

Attack timeline reconstruction Figure 22 — Timeline reconstruction from packet timestamps and protocol events.
FTP exfiltration timeline Figure 23 — Chronological correlation of FTP control and data-transfer activity.
15 — MITRE ATT&CK

Mapping the Observed Behavior

MITRE ATT&CK was used to describe behaviors supported by the available network evidence and reconstructed transferred content.

EXFILTRATION T1048.003

Exfiltration Over Unencrypted Non-C2 Protocol

FTP was used to transfer information from the affected host to external infrastructure.

HIGH CONFIDENCE
DISCOVERY T1082

System Information Discovery

System-related information was present in the reconstructed transferred content.

CONTEXTUAL / SUPPORTED
CREDENTIAL ACCESS T1555

Credentials from Password Stores

Credential-related information was observed in the transferred material.

CONTEXTUAL / SUPPORTED
COLLECTION T1114

Email Collection

Thunderbird-related information was observed in the exfiltrated artifacts.

CONTEXTUAL / SUPPORTED

Evidence-Aware ATT&CK Mapping

Technique mappings should reflect the confidence supported by the available evidence. The FTP exfiltration technique is directly visible in network telemetry, while host-level collection and credential-access behaviors have more limited visibility from a PCAP-only investigation.

16 — GROUND TRUTH VALIDATION

Validating the Independent Investigation

Ground-truth documentation was intentionally reviewed only after the network investigation had produced an independent assessment.

This prevented the expected answer from influencing the initial interpretation of the packet evidence.

01 Analyze PCAP Without ground truth
02 Develop Findings Independent assessment
03 Review Ground Truth Expected scenario
04 Compare Validate conclusions

Independently Identified Activity

Internal host 10.2.3.101 identified.
FTP infrastructure correlated through DNS.
FTP authentication and STOR operations reconstructed.
FTP-DATA transfers confirmed.
Credential/system-related and Thunderbird data identified.
AgentTesla-style Suricata detection independently validated.
Ground truth validation Figure 24 — Final comparison between independent findings and the supplied ground truth.
VALIDATION RESULT

The independent packet analysis aligned with the AgentTesla-style exfiltration activity described by the ground-truth material.

This strengthened confidence that the conclusions were derived from observable evidence rather than from prior knowledge of the expected scenario.

17 — INCIDENT ASSESSMENT

Final SOC Analyst Verdict

The investigation produced multiple mutually supporting sources of evidence demonstrating malicious outbound data transfer from the internal endpoint.

INCIDENT CLASSIFICATION TRUE POSITIVE

Malware-Related Data Exfiltration

Affected Host 10.2.3.101
Hostname DESKTOP-W7F98GR
External Infrastructure 162.241.123.75
Protocol FTP
Observed Behavior Data Exfiltration
Confidence High

Evidence Supporting the Verdict

01

Network Metadata

Identified the internal host and external FTP infrastructure.

02

FTP Control Traffic

Demonstrated authentication and outbound STOR operations.

03

FTP-DATA

Confirmed corresponding data-transfer sessions.

04

Stream Reconstruction

Demonstrated that meaningful host/user information was transferred.

05

Suricata Detection

Independently detected AgentTesla-style FTP exfiltration.

06

Rule Validation

Connected the IDS signature directly to packet-level content.

ANALYST VERDICT VALIDATED TRUE POSITIVE

Confirmed FTP-Based Data Exfiltration

The affected endpoint established communication with external FTP infrastructure and transmitted system, credential-related, and Thunderbird-related information through outbound FTP data-transfer sessions.

Suricata independently generated detections consistent with AgentTesla-style exfiltration, and the relevant signature was validated directly against the underlying packet content.

18 — INCIDENT RESPONSE

Recommended Response Actions

Based on the network evidence, the affected endpoint should be treated as compromised and escalated through the incident-response process.

01

Isolate the Endpoint

Remove the affected system from normal network access while preserving evidence required for further analysis.

02

Preserve Host Evidence

Acquire endpoint telemetry, memory and relevant disk artifacts before destructive remediation where feasible.

03

Investigate Credentials

Identify potentially exposed credentials and initiate appropriate credential-reset and session-revocation procedures.

04

Block Confirmed Infrastructure

Apply network controls against infrastructure confirmed by the investigation, according to organizational policy.

05

Hunt Across the Environment

Search historical network and endpoint telemetry for related indicators and behavioral patterns.

06

Deploy Detection Logic

Operationalize appropriate Suricata signatures and correlate FTP upload behavior with endpoint context.

CONCLUSION

From Packet Capture to Defensible Detection

This investigation demonstrated how a relatively small packet capture can be transformed into a complete network-forensics case when the analysis focuses on correlation rather than isolated indicators.

Starting from raw PCAP evidence, the investigation identified the affected endpoint, reconstructed DNS and FTP activity, validated outbound data transfers, correlated Suricata alerts with packet content, and translated the observed behavior into custom IDS detection logic.

Evidence
Triage
Investigation
Validation
Detection
Response
Effective SOC analysis is not about collecting the largest number of alerts. It is about turning telemetry into evidence, evidence into understanding, and understanding into detection.
PROJECT AUTHOR

Ahmet Can Aytekin

Cyber Security • SOC Analysis • Network Forensics • Detection Engineering