Digital Forensics

CompTIA Security+ Certification (SY0-501) Chapter 10 - Dealing with Incidents
11 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€91.73
List Price:  €128.43
You save:  €36.69
£78.50
List Price:  £109.90
You save:  £31.40
CA$135.42
List Price:  CA$189.60
You save:  CA$54.17
A$152.22
List Price:  A$213.12
You save:  A$60.89
S$133.77
List Price:  S$187.28
You save:  S$53.51
HK$781.89
List Price:  HK$1,094.68
You save:  HK$312.79
CHF 88.30
List Price:  CHF 123.63
You save:  CHF 35.32
NOK kr1,058
List Price:  NOK kr1,481.24
You save:  NOK kr423.24
DKK kr684.10
List Price:  DKK kr957.77
You save:  DKK kr273.66
NZ$164.15
List Price:  NZ$229.81
You save:  NZ$65.66
د.إ367.20
List Price:  د.إ514.09
You save:  د.إ146.89
৳10,978.23
List Price:  ৳15,369.96
You save:  ৳4,391.73
₹8,290.53
List Price:  ₹11,607.08
You save:  ₹3,316.54
RM471.80
List Price:  RM660.54
You save:  RM188.74
₦156,534.34
List Price:  ₦219,154.34
You save:  ₦62,620
₨27,950.66
List Price:  ₨39,132.05
You save:  ₨11,181.38
฿3,595.26
List Price:  ฿5,033.51
You save:  ฿1,438.25
₺3,229.78
List Price:  ₺4,521.83
You save:  ₺1,292.04
B$499.40
List Price:  B$699.18
You save:  B$199.78
R1,883.20
List Price:  R2,636.56
You save:  R753.35
Лв179.42
List Price:  Лв251.19
You save:  Лв71.77
₩133,286.20
List Price:  ₩186,606.01
You save:  ₩53,319.81
₪365.03
List Price:  ₪511.06
You save:  ₪146.02
₱5,561.09
List Price:  ₱7,785.75
You save:  ₱2,224.66
¥14,911.76
List Price:  ¥20,877.07
You save:  ¥5,965.30
MX$1,670.32
List Price:  MX$2,338.52
You save:  MX$668.19
QR364.82
List Price:  QR510.77
You save:  QR145.94
P1,359.04
List Price:  P1,902.71
You save:  P543.67
KSh13,398.66
List Price:  KSh18,758.66
You save:  KSh5,360
E£4,718.65
List Price:  E£6,606.31
You save:  E£1,887.65
ብር5,656.15
List Price:  ብር7,918.84
You save:  ብር2,262.68
Kz83,512.74
List Price:  Kz116,921.18
You save:  Kz33,408.44
CLP$93,810.03
List Price:  CLP$131,337.80
You save:  CLP$37,527.76
CN¥710.61
List Price:  CN¥994.89
You save:  CN¥284.27
RD$5,917.87
List Price:  RD$8,285.25
You save:  RD$2,367.38
DA13,435.55
List Price:  DA18,810.31
You save:  DA5,374.76
FJ$226.69
List Price:  FJ$317.37
You save:  FJ$90.68
Q780.94
List Price:  Q1,093.35
You save:  Q312.40
GY$20,949.18
List Price:  GY$29,329.69
You save:  GY$8,380.51
ISK kr13,659.63
List Price:  ISK kr19,124.03
You save:  ISK kr5,464.40
DH1,002.67
List Price:  DH1,403.78
You save:  DH401.11
L1,768.33
List Price:  L2,475.73
You save:  L707.40
ден5,652.42
List Price:  ден7,913.61
You save:  ден2,261.19
MOP$805.88
List Price:  MOP$1,128.27
You save:  MOP$322.38
N$1,866.55
List Price:  N$2,613.25
You save:  N$746.69
C$3,681.10
List Price:  C$5,153.70
You save:  C$1,472.59
रु13,266.49
List Price:  रु18,573.62
You save:  रु5,307.13
S/368.83
List Price:  S/516.39
You save:  S/147.55
K382.06
List Price:  K534.91
You save:  K152.84
SAR375
List Price:  SAR525.02
You save:  SAR150.01
ZK2,508.19
List Price:  ZK3,511.57
You save:  ZK1,003.37
L456.04
List Price:  L638.48
You save:  L182.43
Kč2,310.02
List Price:  Kč3,234.13
You save:  Kč924.10
Ft36,211.46
List Price:  Ft50,697.50
You save:  Ft14,486.03
SEK kr1,038.11
List Price:  SEK kr1,453.39
You save:  SEK kr415.28
ARS$85,066.49
List Price:  ARS$119,096.49
You save:  ARS$34,030
Bs691.23
List Price:  Bs967.75
You save:  Bs276.52
COP$389,029.38
List Price:  COP$544,656.70
You save:  COP$155,627.31
₡50,979.09
List Price:  ₡71,372.77
You save:  ₡20,393.67
L2,470.17
List Price:  L3,458.33
You save:  L988.16
₲730,160.41
List Price:  ₲1,022,253.79
You save:  ₲292,093.37
$U3,841.23
List Price:  $U5,377.88
You save:  $U1,536.64
zł395.31
List Price:  zł553.46
You save:  zł158.14
Already have an account? Log In

Transcript

Digital Forensics is the art, the science of collecting, storing and quantifying digital evidence to be used as the result of some action that takes place. Now, in our world, most forensics are going to take place from one of two reasons. Number one, there's going to be some incident that takes place in house, somebody has broken an important policy. And we need to be able to document that they've done this and we have to go through a process of forensics. The other place this can happen is from a legal hold. Legal holds are documents that are sent to an organization from another organization to let them know that they are going to be doing some exploratory information, and that we have to provide that information for them in such a way that they can do whatever legal discovery they need to do to take care of that.

Now, before I get into a lot of detail here for the exam. Digital first forensics is pretty basic, the whole concept of digital forensics is huge. You can get a doctorate in digital forensics these days. But as far as the exam is concerned, if you really think in terms of one computer where one person has done something naughty, you'll usually be in better shape. So probably the first thing I want to talk about is the idea of chain of custody. The whole idea behind Chain of Custody is the fact that you or someone underneath your purview is going to be gathering evidence against somebody or something, and that somebody or something has a chance of losing their job or losing money or losing freedom or even, you know, losing honor, whatever it might be.

If we are going to be presenting evidence, we have to show that the data that we've collected is of high integrity. We don't want somebody going, Oh, well, he changed that name or Oh, that didn't come from here or no, that was gathered days later. So the whole idea of chain of custody is to show good integrity of the evidence itself. So the best way to do this is Let's march through the chain of custody process. The cornerstone of chain of custody is a Chain of Custody form. Here's an example form that I got from the NIS T. To give you an idea of how this looks.

Basically, we're looking for very specific types of information. Number one, we define the evidence, what are we actually collecting here? And what does it look like? Well, how does it form, it could be an image of a hard drive, it could be an image from a thumb drive, it could be a video, whatever it might be what we define it. Number two, we document the collection method. One of the big things that we have to worry about is that people will challenge us that we may have changed data.

So there's a number of collection methods that allow us to grab data from mass storage without affecting it. Number three, date and time collected, it can be very important that we determine exactly when this particular evidence was collected. Number four, the people handling the evidence, we need to know the names and that includes contact information, email, that type of information. Exactly telling who's handled the evidence. And we're not just talking about the people who collected it, anybody down the chain as well. Number five, the function of the person handling the evidence that actually means is this person and in house IT person, whatever it might be.

In particular, we do this to show that these people are qualified to do whatever part of the chain of custody they're involved in. And last is locations of the evidence. Evidence. We'll move over time from the initial collection to being stored in a storage room to potentially be moved to the law enforcement We need to be able to document all of those steps. When you approach a computer to begin gathering data. One big concern is the order of volatility.

A computer is got all kinds of ones and zeros start all over it. And our job is to try to grab as much of this data as we can. So the order of volatility is basically a checklist that says, What do you go first, then what do you go to? And then what do you do after that? So number one is going to be memory. Now when we're talking about memory, certainly all the processes and services that are running on the computer are important.

But there's a lot of other stuff in there too, as well. For example, caches even CPU caches can be absolutely critical. We could have routing tables which have can change back and forth on a system. You could have an ARP table, wouldn't it be great to know the MAC addresses of everybody that that particular system has been talking to adjust this very given moment. So dealing with memory is very, very important. Now luckily for us, there are tons of great programs out there that are Great at grabbing and dumping memory, and they have very clever names like dump it or volatility.

Yeah, I know it's volatile volatility. Okay, funny joke. These are well known programs. And basically you just take a thumb drive, you run the program, they have a tiny, tiny memory footprint. And their job is just to grab everything in memory and dump into a file after memory is data on the disk itself. Now, certainly when we talk about data on disk, and by the way, this could be equally true, for example, optical media or a flash drive, whatever it might be.

When a system is up and running, there's a lot of data on that disk that will probably disappear when the system shut down. For example, things like cache files, you got a big swap file on there, you might want to grab that data as well. There could be temp files that are very, very important to whatever you're going to be doing with this. Now in this type of situation, there are literally hundreds of programs that are out there and designed to grab the data. All of these probes grams are designed to work in some form of what we call right block something where you could say in a court of law, there, it's impossible for me to write on the system because this piece of hardware, for example, will only grab data, it's not capable of actually writing back to it. If you're looking for simple software, even a program like Linux is wonderful DD program does a great job of doing a detailed grab of the entire image.

Now, once we're done with the system, you're not really done yet. The other thing you need to consider is remotely logged data. If something is going wrong here, a lot of times there are two connections that are taking place. So if you're worried that someone's doing something on a web site, there might be logs on that remote website. If you're worried that somebody's doing something on a file server, there might be something on the file server in terms of when did they access it or something like that, that can be very, very important for you to grab logs. tend to last a fairly good amount of time.

But it's important for you to grab it as quickly as possible. The last part of order volatility are backups. backups are going to be terrible in telling you what happened right now. But they can be a wonderful tool for looking for trends. Oh, this person has done this multiple times in the past, we've had this exact situation take place five times in the last year. However, backups, even though they have very low volatility, it can often take a while to grab all of that data.

So be comfortable with the order of volatility. All right. I guess the last thing we need to do is actually take a look at the process of gathering this data. So what I'm going to be doing here and this is not a particular order, but basically a checklist of issues you should be thinking about when you're performing digital forensics. Number one, capture the system image you would be hard pressed to come up with a scenario where you're not grabbing the system image from whatever system is in question, what tool you use is up to you. But keep in mind, right blocking tools are often very common for this type of situation.

Number two, grab network traffic and logs. Not only will there be some logs on the system itself, but here's the opportunity to go over to the domain controller to go over to what other servers that this system might be accessing, and get an idea of where this person has been in what they're doing. Number three is capture video now that has two different meanings to me. Number one, if I'm in a forensic situation, and I'm approaching the system, I will videotape physically, the workstation everything laid around it so that it's well documented what I approached. Secondly, though, capturing video can mean if you're finding media, and when I say video, this could even include audio on a system You would go ahead and want to capture all that too, which would be normally part of the system image itself. Last, you might want to look around for security cameras.

Are there any other cameras that are part of a broader physical security system that might be appropriate to this particular situation? Anytime you're dealing with video, always record a time offset, make sure people know what they're seeing and when it happened. Next, take hashes. Take hashes of everything. Hash every file, hash every image, just keep on hashing. Most good forensics tools actually have built in auto hashing functions for you.

But the hash is your ultimate proof to show the integrity of any single piece of data that you've handled. Next, take screenshots when you walk up, grab a screen capture, take a look at what's happening. And be sure to capture all these and again, be sure to record date and time. Next time Interview witnesses, anybody who's been nearby, anybody who a communication was taking place, get these interviews done quickly get the documentation, contact information, and their job function within that organization so that if necessary, law enforcement can speak to them. And the last one this is interesting is track the man hours. You are costing people money by doing these forensics, for example, you might have budget issues in terms of how hard your organization is going to be defending a particular issue.

Or you might have an insurance issue where your organization is going to be paid back for your hard work. The bottom line is, every moment you're working, you're tracking those man hours. The whole world of digital forensics is absolutely fascinating. I have spent decades working both in the public and private sector dealing with digital forensics. And I can tell you, not only is it interesting, it's also a very, very good career. So for the exam, we're only doing the lightest of touches.

You're not going to be seeing much on there other than definitions of what is chain of custody, what is order of volatility, but if you really want to get into it, I can't recommend it enough. It's actually a lot of fun.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.