Whilst it's common for cyber incidents to leave indicators such as unauthorised access, network anomalies and ransomware, to truly understand what has occurred it's often necessary to conduct a detailed review of digital evidence.

Digital forensic analysis can be undertaken to capture, protect and analyse digital data from computers, networking, mobiles and cloud in order to piece together what has occurred, and assess both malicious actions and the scale of the incident.

Whilst it's important for companies to identify those who have committed cyber incidents and to recover from them, digital forensics also allows companies to assess the nature of and impact of cyber incidents and to comply with any investigations. Crucially, it enables companies to also learn lessons with a view to preventing reoccurrence.

em360tech image

What Is Digital Forensics?

Digital forensics is used to locate, gather, secure and analyse digital evidence. It can be applied to digital devices, systems and digital spaces in order to ascertain what, when and (where possible) by whom or what has occurred.

Although strongly linked to criminal investigations, digital forensics is also highly relevant in relation to corporate cybersecurity. Companies apply digital forensic techniques to investigate a variety of cyber issues, such as data breaches, ransomware, insider and unauthorised access.

Sources of digital evidence include:

  • Computers and servers: files, system information, application and operating system information and access data.
  • Networking: network traffic, firewall information, intrusion detection alerts and network access information.
  • Mobile devices: text and application information, call and location data and other mobile information.
  • Cloud: authentication and access information, cloud storage and configuration, together with audit information.
  • Digital communications: email, collaboration, texting and file sharing.

It's important to gather accurate information to create a true picture of what has happened. Whilst locating and analysing digital evidence is key, it's also vital to ensure that this has not been altered and that conclusions are drawn from sound factual information.

Why Is Digital Forensics Important?

Alongside recognising if a company has experienced a cyber incident, it's crucial for companies to ascertain how that company’s data has been accessed, what has been impacted by an incident and whether data has been leaked. It's also important to recognise if a threat is ongoing.

Without an appropriate information gathering process, decisions may be based upon inaccurate or assumed information. Digital forensics can assist in a number of ways with these concerns:

1. Assessing how cyber-attacks occur

One of the most important areas of cybersecurity investigation is ascertaining how a company’s data has been accessed.

Digital forensics can show whether unauthorised access has arisen as a result of credentials theft, exploiting a weakness, malicious attachments or unsecured devices, for example. Subsequent actions such as lateral movement, elevation of access rights and data access can also be analysed.

By piecing together this information, it's possible to conclude the type of attack that has been used.

2. Identifying the scale of a data breach

Whilst an alert can indicate that a data breach has occurred, the scale of this breach may not always become fully apparent. Attackers can often access numerous devices, create extra accounts or steal data. Further, they may remain hidden within a system for significant periods of time.

By analysing data relating to the affected areas, the investigation can establish which devices and accounts were accessed and what data may have been accessed or shared.

This is especially important in companies’ efforts to assess data leakage, advise relevant people and to comply with reporting rules.

3. Assisting legal and regulatory investigations

Digital evidence can be pivotal to internal, legal, administrative and criminal investigations.

For instance, in an investigation into alleged intellectual property misappropriation, an organisation may wish to establish whether an employee has accessed particular confidential information, and then either exported this data to an external device or shared it with another party.

To effectively support investigations, information must be collected and managed correctly. Investigators must keep a clear record of how, by whom and whether evidence has been altered.

4. Improving a company’s security

Following an investigation, in addition to comprehending the events that have transpired, the investigation can also identify areas for improvement. These may include access, security, monitoring and employee practice. Insights can then be used to improve an organisation’s security policy, its approach to managing vulnerabilities and its methods for protecting identities and for investigating and responding to incidents.

Thus digital forensics allows companies to not only react to, but to address, underlying issues that can lead to cyber incidents.

How Does Digital Forensics Work?

Whilst the exact method of digital forensics will depend on both the nature of the incident and the devices and systems involved, there is typically a standard process which is followed.

1. Locating evidence

Firstly, the investigation team identifies which devices, systems and data sources may have relevant information.

They will investigate the extent of an incident and pinpoint where evidence may be located. Potential evidence can include infected computers, network data, cloud servers, email accounts and mobile devices.

As mentioned above, time is of great significance. Information, such as that held in a computer’s temporary memory or network transient data, can be lost if a device or system is switched off or rebooted. Investigation teams must therefore decide which evidence should be secured and how best to gather it in a manner that doesn’t unnecessarily interfere with the contaminated area.

2. Gathering and securing evidence

Once evidence sources have been identified, a member of the investigation team gathers the evidence using suitable digital forensic methods.

This may include creation of a forensic image of a data storage medium, exporting system data, capturing network data or obtaining information from the cloud service provider.

A forensic image is a sector-for-sector reproduction of a data storage media. Cryptographic hashing is often used to confirm that data has not been altered following its gathering.

Investigation teams must also record details of the source, timing of and individuals involved in the evidence collection process, and how this evidence has been stored.

Such records form a ‘chain of custody’. This is the official documentation of the journey travelled by evidence from the time it's gathered through to its analysis and presentation. Where a company’s investigation may feed into legal, regulatory or disciplinary processes, a correct chain of custody is fundamental.

3. Analysis

Having secured evidence, the investigation then analyses this in relation to the investigation topic. Depending upon the issue under investigation, this process may include recovery of deleted items, analysis of system data, web browsing information evaluation, password review and identification of anomalous network data.

Investigation teams may also analyse links between different evidence types. For example, an unusual login may be followed by a sequence of access information and then by suspicious data sharing.

Analysis of these interconnections can enable the investigation team to establish a timeline and so to understand how an incident occurred.

Whilst it's important to recognise potentially problematic evidence, it's also key that this evidence is analysed so that the difference can be made between legitimate and questionable actions. Further, it's important to assess evidence that supports or refutes initial hypotheses.

4. Reconstructing events

Having analysed the evidence, authorities endeavour to piece together the sequence of events.

They identify how access was obtained, which devices were impacted and what actions were taken and how the incident unfolded.

For example, during an investigation into a ransomware incident, it may be shown that an attacker had accessed an employee’s account using stolen credentials. Subsequently, they had accessed additional devices with enhanced access rights and had then been able to obtain the ransom money and introduce this into the company network.

By studying a time lapse, members of a company’s security function can gain an understanding of an attacker’s progression and pinpoint where a company’s security systems either failed or could have been interfered with.

5. Producing and presenting analysis

In the final step, the investigation results are collated. A typical forensic investigation report will usually set out the scope of and aspects investigated, together with the methods employed. It will also present the investigation team’s findings and note any factors which may have impacted upon these findings.

Distinction should be drawn within a report between factual information, reasonable assumptions and information which couldn’t be determined.

This is especially important since digital forensic investigations don’t always yield definite conclusions. Evidence may not be fully available or log information may have lapsed. Further, some activity may have occurred outside of the areas an investigation can access.

An accurately produced report allows a company to clearly comprehend what it does and doesn’t know together with what needs to be done.

What Are the Various Types of Digital Forensics?

Digital forensics encompasses a number of disciplines and is concerned with the analysis of different digital information sources.

Computer

INTEGRA’s computer digital forensics relates to computers (both desktops and laptops), servers and data storage. Team members review files and computer information including operating system and application data to understand what has occurred on a given device.

Network

This area of digital forensics focuses on communications between systems. Network data, access and firewall logs are analysed to identify potentially problematic information. Further, the pathway that an attacker may have taken within a system can be explored.

Mobile

Mobile digital forensics relates to cell phones and tablets (and similar devices). Investigation teams review a mobile’s text, application, call and location data and other mobile information.

Cloud

Cloud digital forensics relates to incidents in which cloud-based applications, data and storage are affected. Investigation can centre around cloud authentication and access data, API information, virtual machine and configuration data.

Memory

Memory digital forensics is concerned with analysing non-permanent memory (such as RAM) on a device. This can identify information which may not be retrievable from a device’s disk along with details of current processes and network connections. Specific traces can also be ascertained.

As business environments continue to become more dispersed, frequently a combination of the above digital forensic disciplines is required to obtain a thorough understanding of a cyber incident.

The Difficulties in Undertaking Digital Forensics in Today’s World

As well as utilising cloud services, employees are working remotely and there are now many smart, connected and automated devices. Consequently, digital forensics is becoming ever more intricate. Key challenges include:

Growingly complex information technology

Previously, an investigation typically focused on specific computers, servers or data storage media. Now, however, corporate data is often spread across cloud, remote and third party systems and applications. This can make it more challenging to discover where relevant information is, and who can access it.

Further complexities arise in relation to cloud services. For instance, information such as logs may need to be obtained from a cloud service provider. Moreover, data retention rules can impact the volume of data that’s available for an investigation.

Information retention and e-volatility

Digital information doesn’t necessarily endure indefinitely. System logs can be replaced and transient information erased. Furthermore, different cloud services retain varying types of data and for differing lengths of time.

If companies lack appropriate information retention and logging rules in place, key data may no longer be available at the point when an investigation is required to be conducted. Therefore, actively ensuring information can be retained is a key element of a company’s cybersecurity strategy.

Encryption and access control

Are you enjoying the content so far?

Whilst encryption is used to prevent unauthorised access to confidential information, it can also present challenges to digital forensic teams. Investigation teams may need to access encrypted devices, texts or cloud data. In order to do so they often need specific access credentials and permissions.

Although encryption is a key element of data security, it's also important for companies to have appropriate access control and investigation mechanisms so that digital forensics can be successfully executed and in accordance with relevant legal and policy guidance.

Ensuring information integrity

Digital information can be altered, replicated and even unintentionally modified. Indeed, even opening files or rebooting a device can result in changes to information.

Investigation teams thus require specialist tools and protocols to ensure that digital evidence is as unaltered as possible and to record their procedures.

AI generated and manipulated information

AI is adding new layers of complexity to digital forensics. It can produce images, audio and deepfake data and manipulate information. This can all make it more difficult to assess whether digital information is genuine.

There is an increasingly strong emphasis on not only the content of digital material but also its source, meta-data and integrity. Merely because digital material appears genuine, it's no longer sufficient to assume that it's indeed so.

Although AI can be highly effective in analysing extensive information and spotting trends, the results still need to be examined and validated by humans.

Digital Forensics and Incident Response: What’s the Difference?

Despite close links, digital forensics and incident response do have differences. Incident response is concerned with detecting, controlling, removing and remedying cyber incidents. Initially, this discipline centres on minimising the impact of an incident, restoring normal functioning and avoiding further data compromise.

Digital forensics, on the other hand, is used to analyse data in order to ascertain what has occurred and to underpin robust investigation. Digital forensics and incident response are frequently employed together to complement each other.

On recognition of a ransomware incident, for example, incident responders can disconnect infected devices and disable rogue accounts in order to reduce damage. Concurrently, digital forensics experts will investigate evidence so as to understand how an attacker accessed a company’s data, which devices were affected and whether data has been shared.

Understanding the interaction between these two disciplines is key. As incident response investigation and remediation functions can themselves influence evidence, digital forensics requirements should be considered when designing incident response protocols.

How Can Companies Prepare for Digital Forensics?

Digital forensic preparedness is about a company’s capacity to secure and retrieve relevant digital information.

Rather than only responding to data breaches, companies can put in place procedures to enhance the effectiveness of data breach investigations. Companies can for example:

  • Develop good logging processes: Ensuring that suitable logging is conducted for key systems, applications, end-points and cloud services.
  • Determine information retention: Deciding for each type of log/data how long it should be held, having regard to relevant legal, operational and investigation requirements.
  • Deploy a centralised monitoring function: utilising security information and event management (SIEM) to consolidate and analyse pertinent security data from different areas.
  • Formulate information securing processes: setting out how evidence should be recognised, gathered, stored and managed.

Identify who can investigate, access systems and bring in external digital forensics experts to clearly define cyber incident response roles and responsibilities. Test incident response procedures by undertaking exercises to ascertain how best to secure evidence and to manage cyber incident response and remediation.

Companies should also evaluate their interactions with external entities. Third parties, such as cloud and managed service providers, may hold relevant information. Therefore, it's useful for companies to understand what information is available from such sources, together with how promptly this can be retrieved and for how long it's retained. This can help ensure that, in the event of a cyber incident, there are no avoidable delays in information gathering.

Why Digital Forensics Is Increasingly Integral to Cybersecurity

As the technology that businesses utilise becomes further interlinked, so too does the importance of understanding digital environments.

Although early warning systems can detect potentially problematic behaviour and monitoring systems can raise alerts, and cyber incident response can control threats, these don’t automatically provide a complete picture of what has transpired and why.

Digital forensics addresses this by analysing information so that this can be used as evidence. It thus enables companies to better understand the ramifications of cyber incidents. In turn, this can help to determine accountability and to comply with rules. Lessons can also be learnt so that areas requiring improvement can be addressed.

Ultimately, in achieving strong security, it's not enough merely to avoid or manage cyber incidents. It's also important to have both the awareness and the investigation facilities to understand what has occurred where prevention has not been effective.

For companies, therefore, the ability to do this is becoming an increasingly important facet of ensuring security, as well as of sustaining resilience and engendering trust. Follow EM360Tech’s Security feed for the latest advances in cybersecurity practices and protect your organisation.