0% found this document useful (0 votes)
11 views10 pages

Network Evidence Collection Strategies

This document discusses the importance of collecting network evidence during an incident response investigation. It focuses on preparing to collect evidence from network devices and traffic, which can provide critical information about external threats communicating with internal systems or exfiltrating data. Some key sources of network evidence mentioned include switches, routers, firewalls, intrusion detection/prevention systems, web proxies, domain controllers, DHCP servers and their various log files which may contain useful details like network mappings, traffic logs, login activity and more. Having proper preparations like network documentation, log management solutions and addressing legal issues can aid in acquiring this evidence in a timely manner during an investigation.

Uploaded by

SADRONU
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views10 pages

Network Evidence Collection Strategies

This document discusses the importance of collecting network evidence during an incident response investigation. It focuses on preparing to collect evidence from network devices and traffic, which can provide critical information about external threats communicating with internal systems or exfiltrating data. Some key sources of network evidence mentioned include switches, routers, firewalls, intrusion detection/prevention systems, web proxies, domain controllers, DHCP servers and their various log files which may contain useful details like network mappings, traffic logs, login activity and more. Having proper preparations like network documentation, log management solutions and addressing legal issues can aid in acquiring this evidence in a timely manner during an investigation.

Uploaded by

SADRONU
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Network Evidence Collection

3
The traditional focus of digital forensics has been to locate evidence on the host hard drive.
Law enforcement officers interested in criminal activity such as fraud or child exploitation
can find the vast majority of evidence required for prosecution on a single hard drive. In the
realm of incident response though, it is critical that the focus goes far beyond a suspected
compromised system. For example, there is a wealth of information to be obtained within
the points along the flow of traffic from a compromised host to an external C2 server.

This chapter focuses on the preparation, identification, and collection of evidence that is
commonly found among network devices and along the traffic routes within an internal
network. This collection is critical during an incident where an external threat source is in
the process of commanding internal systems or is in the process of pilfering data out of the
network. Network-based evidence is also useful when examining host evidence as it
provides a second source of event corroboration, which is extremely useful in determining
the root cause of an incident.

Preparation
The ability to acquire network-based evidence is largely dependent on the preparations that
are undertaken by an organization prior to an incident. Without some critical components
of a proper infrastructure security program, key pieces of evidence will not be available for
incident responders in a timely manner. The result is that evidence may be lost as the CSIRT
members hunt down critical pieces of information. In terms of preparation, organizations
can aid the CSIRT by having proper network documentation, up-to-date configurations of
network devices, and a central log management solution in place.
Network Evidence Collection

Aside from the technical issues regarding log management, there are legal issues that must
be addressed. The following are some issues that should be addressed by the CSIRT and its
legal support prior to any incident:

Establish logging as a normal business practice: Depending on the type of


business and the jurisdiction, users may have a reasonable expectation of privacy
absent any expressly stated monitoring policy. In addition, if logs are enabled
strictly to determine a user's potential malicious activity, there may be legal
issues. As a result, the logging policy should establish that logging of network
activity is part of the normal business activity and that users do not have a
reasonable expectation of privacy.
Logging as close to the event: This is not so much an issue with automated
logging as logs are often created almost as the event occurs. From an evidentiary
standpoint, logs that are not created close to the event lose their value as evidence
in a courtroom.
Knowledgable personnel: The value of logs is often dependent on who created
the entry and whether or not they were knowledgable about the event. In the case
of logs from network devices, the logging software addresses this issue. As long
as the software can be demonstrated to be functioning properly, there should be
no issue.
Comprehensive logging: Enterprise logging should be configured for as much of
the enterprise as possible. In addition, logging should be consistent. A pattern of
logging that is random will have less value in a court than a consistent pattern of
logging across the entire enterprise.
Qualified custodian: The logging policy should name a data custodian. This
individual would speak to the logging and the types of software utilized to create
the logs. They would also be responsible for testifying to the accuracy of the logs
and the logging software used.
Document failures: Prolonged failures or a history of failures in the logging of
events may diminish their value in a courtroom. It is imperative that any logging
failure should be documented and a reason is associated with such failure.
Log file discovery: Organizations should be made aware that logs utilized within
a courtroom proceeding are going to be made available to opposing legal counsel.
Logs from compromised systems: Logs that originate from a known
compromised system are suspect. In the event that these logs are to be introduced
as evidence, the custodian or incident responder will often have to testify at
length concerning the veracity of the data contained within the logs.

[ 57 ]
Network Evidence Collection

Original copies are preferred: Log files can be copied from the log source to
media. As a further step, any logs should be archived off the system as well.
Incident responders should establish a chain of custody for each log file used
throughout the incident and these logs are maintained as part of the case until an
order from the court is obtained allowing their destruction.

Network device evidence


There are a number of log sources that can provide CSIRT personnel and incident
responders with good information. A range of manufacturers provides each of these
network devices. As a preparation task, CSIRT personnel should become familiar on how to
access these devices and obtain the necessary evidence:

Switches: These are spread throughout a network through a combination of core


switches that handle traffic from a range of network segments and edge switches
that handle the traffic for individual segments. As a result, traffic that originates
on a host and travels out the internal network will traverse a number of switches.
Switches have two key points of evidence that should be addressed by incident
responders. First is the content addressable memory (CAM) table. This CAM
table maps the physical ports on the switch to the Network Interface Card (NIC)
on each device connected to the switch. Incident responders in tracing
connections to specific network jacks can utilize this information. This can aid in
the identification of possible rogue devices. The second way switches can aid in
an incident investigation is through facilitating network traffic capture.
Routers: Routers allow organizations to connect multiple LANs into either
Metropolitan Area Networks (MAN) or Wide Area Networks (WAN). As a
result, they handle an extensive amount of traffic. The key piece of evidentiary
information that routers contain is the routing table. This table holds the
information for specific physical ports that map to the networks. Routers can also
be configured to deny specific traffic between networks and maintain logs on
allowed traffic and data flow.
Firewalls: Firewalls have changed significantly since the days when they were
considered just a different type of router. Next-generation firewalls contain a
wide variety of features such as intrusion detection and prevention, web filtering,
data loss prevention, and detailed logs about allowed and denied traffic.
Firewalls oftentimes serve as the detection mechanism that alerts security
personnel to potential incidents. Incident responders should have as much
visibility into how their organization's firewalls function and what data can be
obtained prior to an incident.

[ 58 ]
Network Evidence Collection

Network intrusion detection and prevention systems: These systems were


purposefully designed to provide security personnel and incident responders
with information concerning potential malicious activity on the network
infrastructure. These systems utilize a combination of network monitoring and
rulesets to determine whether there is malicious activity. Intrusion Detection
Systems (IDSes) are often configured to alert to specific malicious activity while
Intrusion Prevention Systems (IPSes) can detect, but also block potential
malicious activity. In either case, both types of platform's logs are an excellent
place for incident responders to locate specific evidence on malicious activity.
Web proxy servers: Organization often utilize web proxy servers to control how
users interact with websites and other internet-based resources. As a result, these
devices can give an enterprise-wide picture of web traffic that both originates and
is destined for internal hosts. Web proxies also have the additional feature set of
alerting to connections to known malware C2 servers or websites that serve up
malware. A review of web proxy logs in conjunction with a possible
compromised host may identify a source of malicious traffic or a C2 server
exerting control over the host.
Domain controllers or authentication servers: Serving the entire network
domain, authentication servers are the primary location that incident responders
can leverage for details on successful or unsuccessful logins, credentials
manipulation, or other credentials use.
DHCP server: Maintaining a list of assigned IP addresses to workstations or
laptops within the organization requires an inordinate amount of upkeep. The
use of Dynamic Host Configuration Protocol (DHCP) allows for the dynamic
assignment of IP addresses to systems on the LAN. The DHCP servers often
contain logs on the assignment of IP addresses mapped to the MAC address of
the host's NIC. This becomes important if an incident responder has to track
down a specific workstation or laptop that was connected to the network at a
specific data and time.
Application servers: A wide range of applications from email to web applications
is housed on network servers. Each of these can provide logs specific to the type
are application.

Network devices such as switches, routers, and firewalls also have their own internal logs
that maintain data on access and changes. Incident responders should become familiar with
the types of network devices on their organization's network and also be able to access
these logs in the event of an incident.

[ 59 ]
Network Evidence Collection

A variety of sources from security controls to SQL databases are configured to send logs to
the SIEM. In this case, the SQL database located at [Link] indicates that the user
account USSalesSyncAcct was utilized to copy a database to the remote host located at
[Link]. The SIEM allows for quick examination of this type of activity. For example, if
it is determined that the account USSalesSyncAcct had been compromised, CSIRT analysts
can quickly query the SIEM for any usage of that account. From there, they would be able to
see the log entry that indicated a copy of a database to the remote host. Without that SIEM,
CSIRT analysts would have to search each individual system that might have been
accessed, a process that may be prohibitive.

From the SIEM platform, security and network analysts have the ability to perform a
number of different tasks related to incident response:

Log aggregation:Typical enterprises have several thousand devices within the


internal network, each with their own logs; the SIEM can be deployed to
aggregate these logs in a central location.
Log retention:Another key feature that SIEM platforms provide is a platform to
retain logs. Compliance frameworks such as the Payment Card Industry Data
Security Standard (PCI-DSS) stipulate that logs should be maintained for a
period of 1 year with 90 days immediately available. SIEM platforms can aid with
log management by providing a system that archives logs in an orderly fashion
and allows for the immediate retrieval.
Routine analysis: It is advisable with a SIEM platform to conduct period reviews
of the information. SIEM platforms often provide a dashboard that highlights key
elements such as the number of connections, data flow, and any critical alerts.
SIEMs also allow for reporting so that stakeholders can keep informed of activity.
Alerting: SIEM platforms have the ability to alert to specific conditions that may
indicate malicious activity. This can include alerting from security controls such
as anti-virus, intrusion prevention, or detection systems. Another key feature of
SIEM platforms is event correlation. This technique examines the log files and
determines whether there is a link or any commonality in the events. The SIEM
then has the capability to alert on these types of events. For example, if a user
account attempts multiple logins across a number of systems in the enterprise,
the SIEM can identify that activity and alert to it.

[ 61 ]

Common questions

Powered by AI

CSIRT personnel can prepare by familiarizing themselves with accessing key network devices and understanding the type of evidence they collect. Switches provide connection tracing through their CAM tables, aiding in the identification of rogue devices, whereas routers offer routing tables and logs of data flow that show traffic patterns between networks. This preparation ensures that incident responders can swiftly gather needed evidence during an incident and identify compromised systems effectively .

SIEM platforms enhance incident response by aggregating vast amounts of log data across the organization and enabling centralized analysis. They support event correlation by identifying links between seemingly disparate events, which aids in quickly pinpointing potential security incidents. Additionally, SIEMs provide alerting mechanisms for suspicious activities, ensure compliance through log retention practices, and facilitate communication with stakeholders via reporting tools .

Challenges with logging failures include the potential loss of evidence and reduced trust in the integrity of the logs. Prolonged or repeated failures may undermine the logs' evidentiary value in court. Solutions include documenting all logging failures with reasons for the failures, ensuring that logs are backed up and secured, and having a logging policy that assigns a qualified custodian responsible for maintaining and verifying the logs' integrity .

Application server logs offer significant value by recording interactions specific to applications, such as emails or web application transactions. These logs capture detailed operations, user actions, and errors, which are instrumental in reconstructing the sequence of an incident and identifying unauthorized actions or access attempts. This helps incident responders trace malicious activities back to their source, and understand the scope of an incident .

DHCP server logs are crucial as they map IP addresses to the MAC addresses of hosts, aiding incident responders in tracing activities to specific physical devices. By providing records of dynamic IP allocations, they help identify which hardware was assigned a particular IP at any given time, facilitating the tracking down of devices involved in suspicious activities and ensuring the proper attribution of network events .

Comprehensive and consistent enterprise logging is essential because it ensures that a wide range of activities is systematically documented, thereby increasing the reliability and legal admissibility of these logs in court. Random or inconsistent logging patterns diminish the evidentiary value of logs. Additionally, consistency shows due diligence and helps establish the validity of logs as evidence by providing a clear, traceable record of network activities .

Web proxy servers assist by controlling user access to internet resources and logging web traffic patterns, which can highlight abnormal activity leading to malicious sites. They can alert to connections to known command and control (C2) servers or malware-hosting websites. Reviewing web proxy logs provides a comprehensive picture of web interactions, which can be crucial in tracing the source or intent of network compromises .

The chain of custody is vital because it ensures that log files remain unaltered from collection to presentation in a legal context, thereby maintaining their integrity and admissibility as evidence. This process involves documenting every step of the log's handling, which helps defend against claims of tampering or negligence. Without a clear chain of custody, the authenticity of evidence could be questioned, undermining its usefulness in court .

Network evidence provides a secondary source of corroboration to host evidence, which is crucial for determining the root cause of an incident. While traditional digital forensics emphasizes evidence on a host hard drive, network evidence captures the traffic flow between compromised systems and external control servers, providing insights into the scope and nature of an attack. Thus, it helps identify and verify the actions taken during an incident beyond the data available on the host itself .

Next-generation firewalls are critical because they integrate features such as intrusion detection and prevention, web filtering, and data-loss prevention, alongside traditional traffic control functions. They maintain detailed logs that capture both allowed and blocked traffic events, which help security teams identify potential incidents early. Their ability to alert security personnel to suspicious activities makes them valuable for both detection and initial response actions .

You might also like