Cyber Forensics: Process and Techniques
Cyber Forensics: Process and Techniques
UNIT-4
UNDERSTANDING COMPUTER FORENSICS
Introduction
The word “forensics” means the use of science and technology to investigate and establish facts in
criminal or civil courts of law. Forensics is the procedure of applying scientific knowledge for the
purpose of analyzing the evidence and presenting them in court.
Cyber Forensic:
Cyber forensics is a branch of forensic science which deals with the investigation, analysis
techniques on computers.
Cyber forensic also referred as computer forensic as it includes computer system indulged in
Cybercrime.
Cyber forensics aids in an investigation, collection and preservation of evidences for legal
purposes.
1. Identification
2. Preservation
3. Analysis
4. Documentation
5. Presentation
It is a branch of forensic science that focuses on retrieving and analyzing data from digital
devices including computers, and other digital storage media.
Digital Forensics’ goal is to determine the details of a digital incident, such as a cybercrime or
data security breach, in a manner that is impartial, thorough, and compatible with legal rules and
regulations.
Experts in the field of Digital Forensics must possess a thorough understanding of computer
science, programming, and data structures as well as knowledge of the laws surrounding
electronic evidence.
Now that you understand what is digital forensics, let’s look at its steps:
Identification:
This is the initial stage in which the individuals or devices to be analyzed are identified as likely sources
of significant evidence.
During this process, the relevant data related to the case is identified and extracted from the collected
evidence. This includes information such as emails, documents, images, and other types of digital files
that are relevant to the case.
Preservation:
Preserving the evidence is the next step here. This involves duplicating the digital data and ensuring that
the original data is kept undamaged. This is an important process since it ensures that the evidence will be
accepted in court and can be used to support the findings of the investigation.
It focuses on safeguarding relevant electronically stored information (ESI) by capturing and preserving
the crime scene, documenting relevant information such as visual images, and how it was obtained.
Analysis:
The collected evidence till now, is then analyzed to uncover any related information. This
involves using various Digital Forensics tools to examine the data, such as disk imaging tools,
data recovery tools, and many more.
Documentation:
These are tried-and-true procedures for documenting the analysis's conclusions, and they must allow other
competent examiners to read through and duplicate the results.
Presentation:
The final step of the Digital Forensics process is to prepare a report, document the findings of the Digital
Forensics investigation, and present the evidence in a clear and brief form to the relevant authorities or
stakeholders.
The collection of digital information, which may entail removing electronic devices from the
crime/incident scene and copying or printing the device(s), is critical to the investigation.
It aids in the recovery, analysis, and preservation of computers and related materials for the
investigating agency to present them as evidence in a court of law
It aids in determining the motive for the crime and the identity of the primary perpetrator
Creating procedures at a suspected crime scene to help ensure that the digital evidence obtained is
not tainted
Data acquisition and duplication: The process of recovering deleted files and partitions from
digital media in order to extract and validate evidence
Assists you in quickly identifying evidence and estimating the potential impact of malicious
activity on the victim
Creating a computer forensic report that provides comprehensive information on the investigation
process
i. Computer Forensics:
It analyzes digital evidence obtained from laptops, computers, and storage media to support ongoing
investigations and legal proceedings.
It entails obtaining evidence from small electronic devices such as personal digital assistants, mobile
phones, tablets, sim cards, and gaming consoles.
Network or cyber forensics depends on the data obtained from monitoring and analyzing cyber network
activities such as attacks, breaches, or system collapse caused by malicious software and abnormal
network traffic.
This sub-specialty focuses on the extraction and analysis of digital images to verify authenticity and
metadata and determine the history and information surrounding them.
This field examines audio-visual evidence to determine its authenticity or any additional information you
can extract, such as location and time intervals.
In this particular case, forensic experts try to obtain crucial pieces of information from digital data
storage media like Hard disks, USB devices, Firewire devices, CDs, DVDs, Flash Drives, Floppies, etc.
In this methodology, forensics experts sift through code to check for potentially malicious programs and
scrutinize their payload. In addition, these particular sorts of programs might comprise Trojan horses,
ransomware, or several viruses.
This branch of forensics involves hacking related crime, here forensic experts examines the malware,
Trojans to identify the hacker involves behind this.
Investigating the competence of malicious software enables the IT team to enhance the assessment of a
security incident, and may help prevent more infections. A considerable quantity of computer
intrusions entails some variety of malicious software (malware), which somehow finds its way to the
victim’s workstation or a server.
However, these Methods and Techniques of Cyber Forensics utilized by digital investigators are
a combo of tricks, tactics, and techniques with a piece of expert knowledge. Some of the
prominent techniques are as the following:
1. Cross-Drive Analysis
This particular technique associates and counterparts data-sets found on several computer drives
to look for scrutinizing and maintain info regarding a forensic analysis. Moreover, events that
enhance the hunch are dedicatedly compared with data on another drive to watch for likeness and
offer context.
2. Live Analysis:
In this particular tactic, a system is scrutinized from inside the operating system while the system
or equipment is functioning, utilizing system tools on the computer. In addition, the
corresponding analysis of volatile data is generally stored in cache memory or RAM. Several
tools were utilized to obtain the volatile data need the computer in to be in a particular state
within a forensic lab to keep up the integrity of the original source of the evidence.
4. Stochastic Forensics:-
In this technique, forensic experts scrutinize and rebuild the digital process without the usage of
digital artifacts. Furthermore, the artifacts are clues regarding a digital crime, like alterations to
file characteristics during a data heist. Moreover, stochastic forensics is continually utilized in
data breach examinations where the hacker is pretended to be an insider who might not leave any
digital artifacts behind.
5. Reverse Steganography:-
It is a basic technique utilized to conceal data within any sort of digital file, context, or data
stream. In addition, computer forensic experts reverse a steganography effort by understanding
the data hashing of a particular file to map its data of any corresponding size to a fixed
length. If, in case, any Cyber Criminal encrypts any confidential data inside an image, video, or
any other digital file, it might be able to look exactly the same prior or after to the common
perception; however, by the usage of the hash or string of data that portrays the image will
transform.
Technology such as computers can make our lives easier and more convenient. One
major way that computers are used every day is to store vast amounts of data and
information that is important to the daily operations of businesses, government
organizations, and private individuals.
Data found on computers is valuable and unfortunately vulnerable. Cybercrimes, where a
dishonest individual gains illegal access to data found in computers and networks are on
the rise and cyber criminals are becoming more and more adept at evading legal
consequences.
Because of the rise of cybercrimes, a new branch of investigation has been developed to
help law enforcement trace and find proof of illegal activity using computers. This is
computer forensics and much of their techniques involved some form of data recovery, it
is also known as digital forensics.
Computer forensic experts can go through a suspected cybercriminal’s hard drive – be it
on a computer or a mobile device – and find deleted and hidden files that serve as
evidence of illegal activity.
Much of what computer forensics does is related to data recovery. Data recovery
programs used in businesses and personal computers.
Metadata in the e-mail messages in the form of control information i.e. envelope and headers including
headers in the messages body contain information about the sender and/or the path along which the
message has traversed. Some of these may be spoofed to conceal the identity of the sender. A detailed
analysis of these headers and their correlation is performed in header analysis.
2. Bait Tactics: In bait tactics investigation an e-mail with http: “<imgsrc>” tag having image source
at some computer monitored by the investigators is send to the sender of e-mail under investigation
containing real (genuine) e-mail address. When the image is opened, along entry containing the IP
address of the recipient ( sender of the e-mail under investigation) is recorded on the http server hosting
the image and thus sender is tracked. However if the recipient (sender of the e-mail under investigation) is
using a proxy server then IP address of the proxy server is recorded. The logon proxy server can be used
to track the sender of the e-mail under investigation. If the proxy servers log is unavailable due to some
reason, then investigation may send the tactic e-mail containing
Both aiming to extract IP address of the receiver’s computer and e-mail it to the investigators.
It is worth noting that Hypertext Transfer Protocol (HTTP) and Simple Mail Transfer Protocol (SMTP)
logs are archived frequently by large Internet Service Providers (ISPs). If a log is archived, tracing
relevant emails can take a lot of time and effort, requiring decompressing and extraction techniques.
Therefore, it is best to examine the logs as soon as possible.
In some cases, logs of servers are not available. This can happen for many reasons, such as when servers
are not configured to maintain logs or when an ISPs refuses to share the log files. In such an event,
investigators can refer to the logs maintained by network devices such as switches, firewalls, and routers
to trace the source of an email message.
Sometimes, the email software used by a sender can include additional information about the message and
attached files in the email. For example, it can be found in Multipurpose Internet Mail Extensions
(MIME) content as a Transport Neutral Encapsulation Format (TNEF) or custom header. An in-depth
analysis of these sections can reveal vital details related to the sender, like the MAC address, Windows
login username of the sender, PST (personal storage table)/Data file file name, and much more.
Data Collection: The first step in the forensic process is to identify potential sources of data and
acquire data from them.
It involves identification, labeling, recording, and the acquisition of data from all the possible
relevant sources that preserve the integrity of the data and evidence collected.
Examination: After data has been collected, the next phase is to examine the data, which
involves assessing and extracting the relevant pieces of information from the collected data. This
phase may also involve bypassing or mitigating OS or application features that obscure data and
code, such as data compression, encryption, and access control mechanisms.
Analysis: Once the relevant information has been extracted, the analysis should study and
analyze the data to draw conclusions from it. The foundation of forensics is using a methodical
approach to reach appropriate conclusions based on the available data or determine that no
conclusion can yet be drawn.
This stage is the result of the examination stage. In the Analysis stage, legally justifiable methods
and techniques are used to derive useful information to address questions posed in the particular
case.
Reporting: The process of preparing and presenting the information resulting from the analysis
phase.
Vulnerabilities identified.
Recommendation for additional forensics measures that can be take
The chain of custody in digital cyber forensics is also known as the paper trail or forensic link,
or chronological documentation of the evidence.
Chain of custody indicates the collection, sequence of control, transfer and analysis.
It also documents details of each person who handled the evidence, date and time it was
collected or transferred, and the purpose of the transfer.
It demonstrates trust to the courts and to the client that the evidence has not tampered.
Digital evidence is acquired from the myriad of devices like a vast number of IoT devices,
audio evidence, video recordings, images, and other data stored on hard drives, flash drives,
and other physical media.
2. Importance of maintaining Chain of Custody?
Importance to Examiner:
Importance to the Court: If not preserved, the evidence submitted in the court might be challenged
and ruled inadmissible.
In order to assure the authenticity of the chain of custody, a series of steps must be followed. It
is important to note that the more information Forensic expert obtains concerning the evidence,
the more authentic is the created chain of custody. You should ensure that the following
procedure is followed according to the chain of custody for electronic devices:
Save the original material
Take photos of the physical evidence
Take screenshots of the digital evidence.
Document date, time, and any other information on the receipt of the evidence.
Inject a bit-for-bit clone of digital evidence content into forensic computers.
Perform a hash test analysis to authenticate the working clone.
Network Forensics
“Network forensics is a science that centers on the discovery and retrieval of information
surrounding a cybercrime within a networked environment. Common forensic activities
include the capture, recording and analysis of events that occurred on a network in order to
establish the source of Cyber Attacks.”
Network forensics is a subcategory of digital forensics that essentially deals with the
examination of the network and its traffic going across a network that is suspected to be
involved in malicious activities, and its investigation for example a network that is spreading
malware for stealing credentials or for the purpose analyzing the cyber-attacks. As the internet
grew cybercrimes also grew along with it and so did the significance of network forensics,
with the development and acceptance of network-based services such as the World Wide Web,
e-mails, and others.
With the help of network forensics, the entire data can be retrieved including messages, file
transfers, e-mails, and, web browsing history, and reconstructed to expose the original
transaction. It is also possible that the payload in the uppermost layer packet might wind up on
the disc, but the envelopes used for delivering it are only captured in network traffic. Hence,
the network protocol data that enclose each dialog is often very valuable.
For identifying the attacks investigators must understand the network protocols and
applications such as web protocols, Email protocols, Network protocols, file transfer protocols,
etc.
Investigators use network forensics to examine network traffic data gathered from the networks
that are involved or suspected of being involved in cyber-crime or any type of cyber-attack.
After that, the experts will look for data that points in the direction of any file manipulation,
human communication, etc.
Advantages:
Network forensics helps in identifying security threats and vulnerabilities.
It analyzes and monitors network performance demands.
Network forensics helps in reducing downtime.
Network resources can be used in a better way by reporting and better planning.
It helps in a detailed network search for any trace of evidence left on the network.
Disadvantage:
The only disadvantage of network forensics is that It is difficult to implement.
Engagement contract
Non-Disclosure Agreement (NDA)
Authorization
Confidentiality
Payment
Consent and acknowledgement
Limitation of liability
Social networking site is defined as web-based services that allow individuals to:
I. Although social networking sites have their uses, there are several associated security
threats. The concerns regarding social networking sites are:
Does the social networking site violate people’s intellectual property rights
Whether these sites infringe the privacy of their own users
Whether these sites promote fraudulent and illegal activities
II. Content preservation can be challenging given the dynamic, short-lived and often multi-
format nature of social media. There is generally no control over the content posted on
social media networking sites. High level of forensic skill is required to analyze and
quantify the preserved data to answer questions such as:
III. Security issues that are associated with social networking sites are:
Corporate espionage
Cross site scripting
Virus and Worms
Social networking site aggregators
Phishing
Network infiltration leading to data leakage
ID theft
Cyber bullying
Content-Based Image Retrieval (CBIR)
Spam
Stalking
Although there are well-developed forensic techniques, cybercrime investigation is not easy.
Huge amount of data is available and searching for evidence in that enormous data is not easy.
Most of the existing tools allow anyone to change the attribute associated with digital data.
Encryption is a commonly used antiforensics technique and keyword search can be defeated by
renaming file names. Cybercrime investigators often face a problem of collecting evidence from
very large groups of files. They need to use techniques like link analysis and visualization. To
find leads they need to use machine learning techniques (patterns)
There need to be a paradigm shift for network forensics techniques to analyze the real-
time data and huge amounts of data. Duration of forensics investigation may vary, some
simple cases might take a few hours and complex cases may take some years to solve.
Certain digital information other than the data itself may help in solving the case. Such
information might include, data and timestamps of files, folder structure and message
transmission tags. Real-time data collection is more complex as it needs to address
legalities and privileges involved in surveillance.
Technical Challenges
The two challenges faced in a digital forensic investigation are complexity and quantity.
The complexity problem refers to the data collected being at the lowest level or in raw
format. Non-technical people will find it difficult to understand such data.
Tools can be used to transform the data from low level format to readable format. The
quantity problem refers to the amount of data that needs to be analyzed. Data reduction
techniques can be used to group data or remove known data. Data reduction techniques
include:
Legal challenges
Digital evidence can be tampered easily, sometimes, even without any traces. It is
common for modern computers to have multiple gigabyte sized disks. Seizing and
freezing of digital evidence can no longer be accomplished just by burning a CD-ROM.
Failure to freeze the evidence prior to opening files has invalidated critical evidence.
There is also the problem of finding relevant evidence within massive amounts of data
which is a daunting task. The real legal challenges involve the artificial limitations
imposed by constitutional, statutory and procedural issues. There are many types of
personnel involved in digital/computer forensics like technicians, policy makers, and
professionals.
Technicians have sound knowledge and skills to gather information from digital devices,
understand software and hardware as well as networks. Policy makes establish forensics
policies that reflect broad considerations. Professionals are the link between policy and
execution who have extensive technical skills as well as good understanding of the legal
procedures.