(15A05806) Unit-3 Understanding Computer Forensics: IV-II SEM CSE, Cyber Security Unit - III
(15A05806) Unit-3 Understanding Computer Forensics: IV-II SEM CSE, Cyber Security Unit - III
(15A05806) Unit-3 Understanding Computer Forensics: IV-II SEM CSE, Cyber Security Unit - III
Unit - III
(15A05806)
Unit-3
Cyber forensics plays a key role in investigation of cybercrime. “Evidence” in the case of
“cyber offenses” is extremely important from legal perspective. There are legal aspects involved in
the investigation as well as handling of the digital forensics evidence. Only the technically trained
and experienced experts should be involved in the forensics activities.
The Florida Computer Crimes Act was the first computer crime law to address computer
fraud and intrusion. It was enacted in Florida in 1978.
There are two categories of computer crime: one is the criminal activity that involves using
a computer to commit a crime, and the other is a criminal activity that has a computer as a target.
Forensics means a “characteristic of evidence” that satisfies its suitability for admission as
fact and its ability to persuade based upon proof.
The goal of digital forensics isto determine the “evidential value” of crime scene and
related evidence.
Digital forensics isthe application of analyses techniques to the reliable and unbiased
collection, analysis, interpretation and presentation of digital evidence.
Page 1 of 17
CREC
IV- II SEM CSE, Cyber Security
Unit - III
(15A05806)
1. Computer forensics
It is the lawful and ethical seizure, acquisition, analysis, reporting and safeguarding of
data and metadata derived from digital devices which may contain information that is notable
and perhaps of evidentiary value to the trier of fact in managerial, administrative, civil and
criminal investigations. In other words, it is the collection of techniques and tools used to find
evidence in a computer.
2. Digital forensics
It is the use of scientifically derived and proven methods toward the preservation,
collection, validation, identification, analysis, interpretation, documentation and presentation of
digital evidence derived from digital sources for the purpose of facilitation or furthering the
reconstruction of events found to be criminal, or helping to anticipate unauthorized actions
shown to be disruptive to planned operations.
Extract data that may be hidden, deleted or otherwise not directly available. The typical
scenarios involved are:
1. Employee Internet abuse.
3. Industrial espionage.
4. Damage assessment.
6. Criminal cases.
7. Copyright violation – more about this is mentioned.
Page 2 of 17
CREC
IV- II SEM CSE, Cyber Security
Unit - III
(15A05806)
Data seen using forensics tools. FAT means file allocation table.
Chain of custody means the chronological documentation trail, etc. that indicates
the seizure, custody, control, transfer, analysis and disposition of evidence, physical or
electronic.
Fig: Hidden and miniaturized storage media.
Page 3 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III “Fungibility” means the extent to which the components of
an operation or product can be inter- changed with similar components without decreasing the
value of the operation or product.
Chain of custody is also used in most evidence situations to maintain the integrity of
the evidence by providing documentation of the control, transfer and analysis of evidence.
1. Computer forensics.
2. Network forensics.
Network forensics is the study of network traffic to search for truth in civil, criminal and
administrative mattersto protect users and resources from exploitation, invasion of privacy and
any other crime fostered by the continual expansion of network connectivity.
This is a very important discussion, especially, for those who are students of legal
courses. It was mentioned in that the Indian IT Act amended the Indian Evidence Act.
According to the “Indian Evidence Act 1872,” “Evidence” means and includes:
1. Allstatements which the court permits or requires to be made before it by witnesses, in relation
2. All documents that are produced for the inspection of the court are called documentary
evidence.
Paper evidence, the process is clear and intuitively obvious. Digital evidence by its very
nature is invisible to the eye. Therefore, the evidence must be developed using tools other than
the human eye.
There are number of contexts involved in actually identifying a piece of digital evidence:
1. Physical context: It must be definable in its physical form, that is, it should reside on a specific
piece of media.
2. Logical context: It must be identifiable as to its logical position, that is, where does it reside
3. Legal context: We must place the evidence in the correct context to read its meaning. This
may require looking at the evidence as machine language, for example, American Standard
Page 4 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III Code for Information Interchange (ASCII).
Following are some guidelines for the (digital) evidence collection phase:
1. Adhere to your site’s security policy and engage the appropriate incident handling and law
enforcement personnel.
2. Capture a picture of the system as accurately as possible.
Mail server software is a network server software that controls the flow of E-Mail and
the mail client software helps each user read, compose, send and delete messages.
1. Is admissible.
2. Is authentic.
3. Is complete.
4. Is reliable.
Page 5 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III ∙ The Digital Forensics Process
The digital forensics process needs to be understood in the legal context starting from
preparation of the evidence to testifying. Digital forensics evidence consists of exhibits, each
consisting of a sequence of bits, presented by witnesses in a legal matter to help jurors establish
the facts of the case and support or refute legal theories of the case.
Fig: Process model for understanding a seizure and handling of forensics evidence legal
framework.
Page 6 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III 1. Prepare: Case briefings engagement terms,
Investigate: Triage images, data recovery, keyword searches, hidden data review,
communicate, iterate.
4. Report: Oral vs. written, relevant document production, search statistic reports, chain of
In order to be processed and applied, evidence must first be identified asevidence. It can
happen that there is an enormous amount of potential evidence available for a legal matter, and
it is also possible that the vast majority of the potential evidence may never get identified.
Digital evidence can be collected from many sources. Obvious sources include
computers, cell phones, digital cameras, hard drives, CD-ROM, USB memory devices and so
on. Non-obvious sources include settings of digital thermometers, black boxes inside
automobiles, RFID tags and webpages (which must be preserved as they are subject to change).
Fig: Media that can hold digital evidences.
Page 7 of 17
CREC
suspect device;
2. establish and maintain the chain of custody.
Fig: Embedded memories inside computer. (a) Read-only memory (ROM)
chips; (b) erasable programmable read-only memory (EPROM) chip; (c)
programmable read-only memory (PROM) chips; (d) electrify erasable
programmable read-only memory (EEPROM) chips.
Some of the most valuable information obtained in the course of a forensics examination will
come from the computer user. An interview with the user can yield valuable information about the
system configuration, applications, encryption keys and methodology. Forensics analysis is much
easier when analysts have the user’s passphrases to access encrypted files, containers and network
servers.
Page 8 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III As a general rule, one should not examine digital
information unless one has the legal authority to do so. Amateur forensics examiners should keep
this in mind before starting any unauthorized investigation.
For the purpose of digital evidence examination, “imaging of electronic media” (on which the
evidence is believed to be residing) becomes necessary.
Analysis, interpretation and attribution of evidence are the most difficult aspects encountered
by most forensics analysts. In the digital forensics arena, there are usually only a finite number of
possible event sequences that could have produced evidence.
∙ Reporting
The following are the broad-level elements of the report
1. Identity of the reporting agency
2. Case identifier or submission number
3. Case investigator
4. Identity of the submitter
5. Date of receipt
6. Date of report
7. Descriptive list of items submitted for examination, including serial number, make and
model
8. Identity and signature of the examiner
9. Brief description of steps taken during examination, such as string searches, graphics
image searches and recovering erased files
10. Results/conclusions.
Page 9 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III
∙ Testifying
This phase involves presentation and cross-examination of expert witnesses. Depending on
the country and legal frameworks in which a cybercrime case is registered, certain standards may
apply with regard to the issues of expert witnesses.
∙ Chain of Custody Concept
1. Chain of custody is the central concept in cyber forensics/digital forensics investigation. 2.
The purpose of the chain of custody is that the proponent of a piece of evidence must
demonstrate that it is what it purports to be.
3. The chain of custody is a chronological written record of those individuals who have had
custody of the evidence from its initial acquisition until its final disposition.
∙ Network Forensics
Recall the mention of network forensics. We have already discussed that open networks
can be the source of many network-based cyberattacks. A situation like this leads to the point
that network forensics professionals need to understand how wireless networks work and the
fundamentals of related technology.
Wireless forensics is a discipline included within the computer forensics science, and
specifically, within the network forensics field. The goal of wireless forensics is to provide the
methodology and tools required to collect and analyze (wireless) network traffic that can be
presented as valid digital evidence in a court of law.
∙ Approaching a Computer Forensics Investigation
From the discussion so far, we can appreciate that computer forensics investigation is a
detailed science. Now, let us understand how a forensics investigation is typically approached
and the broad phases involved in the investigation. The phases involved are as follows:
1. Secure the subject system (from tampering or unauthorized changes during the
investigation);
2. take a copy of hard drive/disk (if applicable and appropriate);
5. study “special” areas on the drive (e.g., the residue from previously deleted files); 6.
investigate the settings and any data from applications and programs used on the
system;
7. consider the system as a whole from various perspectives, including its structure and
overall contents;
8. consider general factors relating to the user’s computer and other activity and habitsin
Page 10 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III 9. create detailed and considered report, containing an
1. Customer’s representation: Customer needs to warrant the forensics laboratory that he/she is
the owner of, and/or has the right to be in possession of, all equipment/data/media furnished to
the laboratory and that collection, possession, processing and transfer of such
equipment/data/media are in compliance with data protection laws to which customer is subject
to.
2. Legal aspects/the law side: Both the parties need to agree that the agreement shall be governed
by prevailing law in every particular way including formation and interpretation and shall be
deemed to have been made in the country where the contract is signed.
3. Data protection: The computer forensics laboratory (engaged in the investigation) will hold the
information that the customer has given verbally, electronically or in any submitted form for
the purpose of the forensics investigation to be carried out as per contracted services from the
forensics laboratory.
4. Waiver/breach of contract: The waiver by either party of a breach or default of any of the
provisions on this agreement by either party shall not be construed as a waiver of any
succeeding breach of the same or other provisions, nor shall any delay or omission on the part
of either party to exercise or avail itself of any right, power or privilege that it has, or may have
hereunder operates as a waiver of any breach or default by either party.
Page 11 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III 🡪 Solving a Computer Forensics Case
These are just some broad illustrative steps and they may vary depending on the specific
case in hand.
1. Prepare for the forensics examination.
2. Talk to key people to find out what you are looking for and what the circumstances
device in question. To do this, you will need to use an imaging software application like
the commercial in Case or the open-source Sleuth Kit/Autopsy.
5. To extract the contents of the computer in question, connect the computer you are
investigating to a portable hard drive or other storage media and then boot the computer
under investigation according to the directions for the software you are using.
6. When collecting evidence, be sure to check E-Mail records as well. Quite often, these
There are four broad types of requirements, namely, the physical space, the hardware
equipment, the software tools and the forensics procedures to be followed to aid those involved in the
cybercrime investigation.
Apart from the physical space requirement, another key requirement for a computer
forensics laboratory is the hardware items. The laboratory requires a number of computers,
Page 12 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III including a network server with a large storage capacity
(preferably configured for the standard removable hard drives).
Fig: (a) SIM card reader, (b) iButtons, (c) flash memory, (d) SIM card.
On the software side, there are several requirements for setting up a forensics laboratory. The
standard forensics software package, such as EnCase, Web Case, Forensics Tool Kit, Password
Recovery Tool Kit, etc. are expensive products.
The main issues that are attacked when evidence is presented in a court of law are credentials
and methodology. In some countries, the court may prefer the forensics evidence from government
appointed and/or neutral party laboratories rather than the evidence from private agencies where
opportunities for manipulation/exploitation are perceived.
Steganography is the art of information hiding. The threat raised by steganography is very
real. Its use is not easy to detect or intercept, asthe information does not need to be broadcast across
the Internet. the hidden message can reside unsuspectingly on a website, for example, and can be
viewed from around the world.
Steganography is the art of information hiding. The threat raised by steganography is very
real. Its use is not easy to detect or intercept, asthe information does not need to be broadcast across
the Internet. The hidden message can reside unsuspectingly on a website, for example, and can be
viewed from around the world.
Rootkits
The term rootkit is used to describe the mechanisms and techniques whereby malware
including viruses, Spyware and Trojans attempt to hide their presence from Spyware blockers,
antivirus and system management utilities.
Page 13 of 17
CREC
IV- II SEM CSE, Cyber Security Unit - III Information Hiding
Let us now have an overview of some characteristics of information hiding and then we
discuss about analysis methods for determining the existence of and potential locations of hidden
information.
The OSI 7 Layer Model is useful from computer forensics perspective because it addresses
the network protocols and network communication processes. The basic familiarity with the OSI 7
Layer Model is assumed for the discussion in this section.
Foot printing includes a combination of tools and techniques used to create a full profile of
the organization’s security posture. These include its domain names, IP addresses and network
blocks.
Page 14 of 17
CREC
IV-IT II SEM, Cyber Security (15A05806) Unit - III
Fig: Network hacking steps
The hacker will typically send a ping echo request packet to a series of target IP addresses. As
a result of this exploratory move by the hacker, the machines assigned to one of these IP address will
send out echo response thereby confirming that there is a live machine associated with that address.
Similarly, a TCP scan sends a TCP synchronization request to a series of ports and to the machines
that provide the associated service to respond.
Page 15 of 17
CREC
IV-IT II SEM, Cyber Security (15A05806) Unit - III Step 3: Gaining Access
The hacker’s ultimate goal is to gain access to your system so that he/she can perform some
malicious action, such as stealing credit card information, downloading confidential files or
manipulating critical data.
Step 4: Privilege
When a hacker gains access to the system, he will only have the privileges granted to the user or
account that is running the process that has been exploited.
Step 5: Exploit
Gaining root access gives the hacker full control on the network. Every hacker seems to have
his/her own reasons for hacking. Some hackers do it for fun or a challenge, some do it for financial
gain and others do it to “get even”.
Step 6: Retracting
Finally, most hackers will try creating provisions for entry into the network/hacked system
for later use. this, they will do by installing a backdoor to allow them access in the future.
With the rampant use of the Internet, there is so much at stake; corporate data is not safe
anymore given that almost all information assets lie on the corporate networks. We are in the era
of Net-centric digital economy.
Criminals can gather small pieces about you, about your confidential data to generate what
is known as “digital persona,” that is, they keep track about your Internet activities, what resides
on your corporate networks, etc.
Page 16 of 17
CREC
IV-IT II SEM, Cyber Security (15A05806) Unit - III These laws/legislations become relevant in the
1. The Sarbanes Oxley Act (SOX): The Act was enacted to fight corporate fraud.
2. California SB 1386
HIPAA has the primary goal for healthcare providers to improve the privacy and security
of their clients’ medical information.
Fig:
Traditional approach to forensics analysis. *denotes tools/devices mentioned
Page 17 of 17
CREC