Slashdot Mirror


Windows Forensic Analysis

Don Wolf writes "Computer forensics is a rapidly growing discipline and an even faster growing business. Whether it's the natural progression of technological science pertaining to crime or perhaps the digression of a few elite information security professionals, computer forensics is every so slowly gaining credibility in the otherwise PhD dominated field of criminal science. Computer evidence continues to be showcased in some of the most high-profile and controversial court cases in history, from the murder case of Lasie Peterson to the multi-billion dollar Enron scandal. Whether society will allow it or not, computer forensics geeks will play pivotal roles in the prevalence of justice." Keep reading for the rest of Don's review. Windows Forensic Analysis DVD Toolkit author Harlan Carvey pages 416 publisher Syngress rating 9 reviewer Don Wolf ISBN 9781597491563 summary Incident Response and Cybercrime Investigation Secrets While on the road to computer forensic enlightenment I realized early on that many parallels existed between computer forensics and incident response. A number of great authors have published books on incident response, one of which is a gentleman by the name of Harlan Carvey. So when a friendly but cleverly personalized bookstore email rolled in with Harlan's newest book showcased, I thought it might be worthwhile to see what he's been up to.

The book titled "Windows Forensic Analysis", takes a hands-on and in-depth approach to forensic discovery of Windows systems. Some may scoff at the mere suggestion that a point-and-click operating system necessitates the granular analysis of forensics, but make no mistake, beyond Windows' simplicity are numerous complex elements, sometimes cryptic, and many undocumented.

Always looking for a tip here and there, I found more Windows forensics tips here than I have anywhere else. While I've read only about half-a-dozen books on operating system forensics, this one stands out because the material is clearly drawn from the author's experience which, in my opinion, lends real credibility to the book. Granted, technical books are always reviewed for accuracy and truthfulness, but this one carries its own weight with the sheer amount of tips and real-life sidebars. No hash tables, no unnecessary screen dumps, and certainly no reprinted Microsoft documentation. The author does a great job on footnoting and includes plenty of links to additional information. Additionally, there are sections dedicated for FAQ's, as well as "tools and traps".

Having read the book through, I can tell you it flows well from chapter to chapter and continues to draw you in, somewhat unusual for a technical reference — when was the last time you were drawn into a textbook? I'm not sure how one decides to organize the chapters, but I suspect it was not a random decision. Looking back I can see that there is a logical order to the chapter sequence, perhaps suggesting an order in which to forensically process a Windows computer. The book starts with 'live' response, followed by memory analysis, registry analysis, file analysis, and finally rootkit detection — analysis in order of volatility I suppose.

I've heard a lot of praise regarding this books chapter on registry analysis, some claiming it to be worth the price of the book alone. Don't be mislead to believe that it is the crux or single focus of the book, it's not. In my opinion the reason the chapter stands out is because most forensics analysts I've met aren't particularly strong in the area of registry analysis and therefore may find the chapter a revelation. It's true, the chapter is strong and offers exceptional insight, however, I found the book to be almost equally weighted chapter by chapter.

I personally found the chapter regarding memory analysis to be a stand-out. RAM has the potential to store a ton of evidence, however, it's always been viewed as extremely volatile. Not only is it likely to be flushed with a power-cycle, but it's also susceptible to be purged simply through the normal actions of a computer user, or in our case, forensic analysts. I was happy to see a good section on the pros and cons of dumping the many different areas of physical memory. The author proves that there is life after a reboot and demonstrates how to recover at least partial RAM contents from various areas.

Overall there is plenty of theory, plenty of technique, and plenty of command-line examples. On the subject of command-line examples, the author provides a great collection of scripts and examples on the accompanying DVD. The examples all appear to work as describe, a rarity given the many possible computer configurations, just the same the author is thoughtful enough to point out possible exceptions and explanations when there is an opportunity for a particular command or technique to fail.

If I can quote a comment made by one of my associates, he said "The book provided more than just tips and techniques, it provides food for thought and helps one develop their own personal approach to Windows forensics". I totally agree. Furthermore, I found that while I learned a few new things, I also finished the book with lots of questions in mind. Is that a shortcoming of the book? No. Based on the detailed coverage of the book, I was able to identify my own shortcomings and areas I need to explore further. If you want to pursue Windows forensics and already have a good understanding of the principals and ethics of computer forensics, I highly suggest starting with this book.

You can purchase Windows Forensic Analysis DVD Toolkit from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

82 comments

  1. Lots of online stuff too by BadAnalogyGuy · · Score: 2, Interesting

    I stumbled across this guide to deconstructing a C++ exception.

    http://blogs.msdn.com/slavao/archive/2005/01/30/363428.aspx

    Lots of this is applicable to any platform, not just Windows.

    1. Re:Lots of online stuff too by Jansingal · · Score: 1

      there is soooo much available FREE online.... why buy books?

  2. Oh... by heteromonomer · · Score: 1, Funny

    Looking at the title I thought it's about forensic analysis of why my windows died.

    1. Re:Oh... by Afrosheen · · Score: 3, Funny

      That baseball might be a good clue, let's investigate that first.

  3. I don't have any experience in this myself. by Paranatural · · Score: 5, Funny

    However I did have a friend who ended up working for the feds 'Internet Crimes Division'. I.E. Child Porn. There are a lot of neat tools out this, write blockers and whatnot.

    However, what I am really writing to say is that people used to ask him what he did for a living, and he'd respond:

    "Oh, I'm in the child porn business."

    Guys who are in that line of work tend to have rather dark senses of humor :)

    1. Re:I don't have any experience in this myself. by s_p_oneil · · Score: 1

      Given how agents occasionally get into the business they're investigating (i.e. CIA agents running drugs and that sort of thing), he may not have been joking.

    2. Re:I don't have any experience in this myself. by gardyloo · · Score: 4, Funny

      That's a rather touching story.

            Oh. Waaaaiiiiitttt.....

    3. Re:I don't have any experience in this myself. by antdude · · Score: 1

      Why don't you have a seat over there? [grin]

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    4. Re:I don't have any experience in this myself. by gardyloo · · Score: 1

      Why don't you have a seat over there? [grin] I do, and one over there, and over there, and . . .. Hey, Billy. Do you like gladiator movies?
  4. The problem is the WHO that is doing the analysis by Anonymous Coward · · Score: 1, Informative

    Most of the time, the person doing the analysis is the crooked cop who placed the bogus "evidence" on the computer in the first place, or the same person who is then going to try to "find" that "evidence" in a laboratory situation.

    Anyone who believes there is even *ONE* honest law enforcement agent in the entire U.S.A, probably even the entire world, is incredibly naive.

    --Signed... an unfortunate victim of a crooked cop who planted bogus evidence on my computer systems after perjuring himself on affidavit's to get search warrants for them... who was never held accountable for that perjury even though it was blatant, and would have been obvious to anyone who had bothered to read it... showing clearly that the judge did not bother reading all 27 pages... again.. the fact that it was 27 pages was so that the judge WOULDN'T bother to read the whole thing.

    Exactly that type of nonsense can be found in nearly every piece of paperwork filed by any prosecutor or police officer.

  5. Where's the chapter on... by UncleTogie · · Score: 2, Interesting

    ..getting certified in your local area? Texas, for example, requires you have a P.I. license for computer forensic work, but online resources on how to actually GET one are mighty scarce...

    --
    Don't tell me to get a life. I'm a gamer; I have LOTS of lives!
    1. Re:Where's the chapter on... by querist · · Score: 3, Insightful

      South Carolina is considering such a law, and there are several states that already have one.

      Also, there are several good certifications out there, such as CCE and GCFA (SANS/GIAC). I know there are others that are only available to law enforcement (which I am not).

      I find two things troubling about this trend:

      1. It seems to be an effort for PIs to grab a new market and ensure their exclusive access to a market. (I know - police can do this, but I'm talking about making a profit doing it.)

      2. Whenever governments start to regulate qualifications for a profession, qualified people are going to be left out or unqualified people will be let in. Either they insist on one specific certification or accreditation, and excellent people without the cert suffer, or they "grandfather" current practitioners and we obtain people who are not qualified. An alternative to the traditional "grandfather" clause could be to "grandfather" current practitioners and give them a license cycle (or some other reasonable period) to meet the requirements. E.g., if the license lasts for two years, you have two years to meet the official requirements or your license will lapse.

      I would strongly recommend continuing ed (which the good certs require) as well, just like doctors, nurses, and engineers (as well as others).

    2. Re:Where's the chapter on... by jusDfaqs · · Score: 1

      The chapter on ethics! Seems that this is more in the realm of Tech Law to me, what most people are terming "Forensics" (Which a quick g00g13 list almost 2 million hits) are actually firms or individuals that reverse engineer application code for the proving of intellectual property violations, provide "expert technical" testimony in court or, in some other way use their grasp of technology to the detriment of any soul that has the unfortunate turn of events that leads you to cross in front of them.

      Hell given a few minutes with your laptop and my trusty U3 drive you could become on of the biggest child pron (misspelled I know) distributors on the web, at least that is what the evidence would say!

      Just my baby diaper on the subject.

      --
      There are only two steps in the gathering of ultimate knowledge. Open your eyes and, RTFM!
    3. Re:Where's the chapter on... by Profane+MuthaFucka · · Score: 5, Funny

      If you can't dig up the instructions on how to become a PI, then perhaps that line of work is not for you!

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    4. Re:Where's the chapter on... by 0racle · · Score: 1

      Technically, you only need a PI license if you're going to be testifying in a court room.

      --
      "I use a Mac because I'm just better than you are."
    5. Re:Where's the chapter on... by UncleTogie · · Score: 1

      Technically, you only need a PI license if you're going to be testifying in a court room.

      Technically, no. Check the bolded text here:

      "The Private Security Act construes an investigator as one who obtains information related to the "identity, habits, business, occupation, knowledge, efficiency, loyalty, movement, location, affiliations, associations, transactions, acts, reputation, or character of a person; the location, disposition, or recovery of lost or stolen property; the cause or responsibility for a fire, libel, loss, accident, damage, or injury to a person or to property; or for the purpose of securing evidence for use in court.

      It also covers insurance claims, t'would appear...

      --
      Don't tell me to get a life. I'm a gamer; I have LOTS of lives!
  6. Getting a P.I. in Texas is very difficult. by Anonymous Coward · · Score: 2, Insightful

    If you look at all the requirements to getting a P.I. license in Texas, you can't help but come to the conclusion that a very powerful law enforcement political lobby has over the years carefully and craftily influenced and "engineered" the legislation in such a way that there seems to be overt intent that the whole P.I. industry to be owned, operated, and staffed by former or retired cops, to the exclusion of everyone else. The laws don't explicitly prohibit someone coming from a non-former-law-enforcement career from getting their P.I. license, but the barriers to entry in the field are structured such that it is almost totally impractical for someone who's not an ex-cop to actually achieve getting their license.

    In other words, the whole P.I. industry has been hijacked in order to make it become a protected, lucrative, cushy-job, 2nd-career market for retired cops to get rich, and the "good ol' boy" network now keeps it that way.

    1. Re:Getting a P.I. in Texas is very difficult. by TXISDude · · Score: 1

      This is one where bureaucracy has gone awry. . .

      I understnad the desire by the State of Texas to regulate a marketplace that has significant opportunities for abuse/legal ramifications. Hence, getting a Private Investigators license makes sense, as does a variety of security consultants. These people can carry guns, can directly interface with the populace and if the wrong characters were introduced to the field, well a lot of bad things could happen to people directly. So, I understand and agree with this form of regulation.

      But then, it gets expanded in scope, without expanding the nature of the licenses . . .

      Quoting from the Texas Private Security Bureau's http://www.txdps.state.tx.us/psb/docs/psb_opin_sum.pdfpoint paper shows that computer forensics investigators - those that

      "For example, when the service provider is charged with reviewing the client's computer-based data for evidence of employee malfeasance, and a report is produced that describes the computer-related activities of an employee, it has conducted an investigation and has therefore provided a regulated service. On the other hand, if the company simply collects and processes electronic data (whether in the form of hidden, deleted, encrypted files, or otherwise), and provides it to the client in a form that can then be reviewed and analyzed for content by others (such as by an attorney or an investigator), then no regulated service has been provided."

      clear, huh . . .

      and then

      "The Private Security Act construes an investigator as one who obtains information related to the "identity, habits, business, occupation, knowledge, efficiency, loyalty, movement, location, affiliations, associations, transactions, acts, reputation, or character of a person; the location, disposition, or recovery of lost or stolen property; the cause or responsibility for a fire, libel, loss, accident, damage, or injury to a person or to property; or for the purpose of securing evidence for use in court. Tex. Occ. Code 1702.104. Consequently, we would conclude that the provider of computer forensic services must be licensed as an investigator, insofar as the service involves the analysis of the data for the purposes described above."

      but in a cave to e-discovery (maybe they realized that this would open a big hornet's nest)

      "With respect to the statutory reference to "securing evidence for use in court," we would suggest that the mere accumulation of data, or even the organization and cataloging of data for discovery purposes, is not a regulated service."

      but, it gets better, later in the same document

      "Thus, the industries that are directly regulated are the same industries about which one cannot consult without a license. Because the Private Security Bureau does not regulate software designers, installers, or suppliers, it also does not regulate those who provide consulting services related to computer network security."

      This means that for a true computer forensic analyst - sitting in cube, analyzing digital evidence, they must be licensed, probably as a Class A PI, and work for a firm that is also licensed. But if you or your firm does network security work (risk assessments, pen testing, etc.) then you don't need a license.

      As a computer security professional, with a PhD in the subject, and hears of experience, I can easily remember numerous risk assessments that also uncovered forensic evidence of separate unauthorized activity - so at what point do I stop and put on my PI hat and uniform?

      Texas has made it simple for me - I will continue to consult in Texas, but only to Federal clients, where the state rules do not apply. Until the bureaucrats figure out how to do it right . . . erm, well don't hold your breath, this debate has been cooking for years.

      --
      Hope is the worst of evils, for it prolongs the torment of man. -- Friedrich Nietzsche
  7. And the moral is... by Pig+Hogger · · Score: 1

    Encrypt early, encrypt often (and do it properly).

    1. Re:And the moral is... by gallwapa · · Score: 1

      Properly?

      Like what, encrypting your disk? Or encrypting your memory? Or realizing that both memory encryption and full disk encryption can both be defeated with physical access?

    2. Re:And the moral is... by DMUTPeregrine · · Score: 1

      Don't leave your passphrase on a post-it. Don't use a short passphrase. Don't use known-weak algorithms (MD5, SHA1 for hashing, DES for encryption, etc.) Don't leave your pagefile unencrypted, etc, etc. Install a case-open detector that will pull the power.

      --
      Not a sentence!
    3. Re:And the moral is... by gallwapa · · Score: 1

      Don't install firewire cards?

      Firewire is a security risk.

  8. If society doesn't allow it? by cbreaker · · Score: 1

    "Whether society will allow it or not, computer forensics geeks will play pivotal roles in the prevalence of justice."

    If society won't allow something, it wouldn't play a pivotal role.

    --
    - It's not the Macs I hate. It's Digg users. -
    1. Re:If society doesn't allow it? by Jansingal · · Score: 1

      who said that?

  9. I took a class on Forensics last bi-term. by Zombie+Ryushu · · Score: 1

    And I can say without a doubt that Windows is a huge boon for anyone wanting to dig up dirt on anything anyone else does. That class, which was a 400 level State University class taught me every registry key and every hiding place Windows uses to record everything the user does. Its scary.

    1. Re:I took a class on Forensics last bi-term. by Anonymous Coward · · Score: 0

      Linux can be just as bad if you know what you're looking for. Yes, Microsoft keeps a lot of cruft around, but so does Linux. Firefox stores browsing histories and these can be recovered through forensic analysis. Files can be recovered from slack space. The applications attempt to be more hygienic in their use of disk space and their cleanup procedures, but if I suddenly cut the power to your machine and these cleanup procedures don't run, I can find a lot on your Linux system.

      Bonus: captcha as "decipher"

    2. Re:I took a class on Forensics last bi-term. by value_added · · Score: 2, Insightful

      That class, which was a 400 level State University class taught me every registry key and every hiding place Windows uses to record everything the user does. Its scary.

      Hiding place?

      Windows has to store the result of all your pointing and clicking and radio button selection somewhere. How do you expect the back button in Windows Explorer to work, for example, if your last visited directory wasn't recorded somewhere?

      The only scary part in all this is the registry itself. Almost as bad is that if you don't have an intimate understanding of the registry, you most certainly don't understand Windows, both from an architectural perspective, and from a day to day operational one as well. And, unsurprisingly, most (sysadmins included) don't understand the registry.

    3. Re:I took a class on Forensics last bi-term. by Zero__Kelvin · · Score: 0

      "Linux can be just as bad if you know what you're looking for. Yes, Microsoft keeps a lot of cruft around, but so does Linux. Firefox stores browsing histories and these can be recovered through forensic analysis."
      Windows and Linux are Operating Systems. Firefox is an application which happens to run on both platforms. Keep searching for the Linux registry, and let us know when you find it ...
      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    4. Re:I took a class on Forensics last bi-term. by mgblst · · Score: 1

      Well, windows explorer could record it in memory. It is not like you can close down explorer, run it again and use the back button, so why does it need to store it anywhere over than in its own memory.

    5. Re:I took a class on Forensics last bi-term. by value_added · · Score: 1

      Well, windows explorer could record it in memory. It is not like you can close down explorer, run it again and use the back button, so why does it need to store it anywhere over than in its own memory.

      I cited a trivial example, but that said, there's numerous (countless, perhaps) places where history of all sorts is typically recorded, by Windows Explorer, by the Run or Open With dialog boxes, by different parts of Windows, by installed applications, and so on. Most people rely on such things as their Start Menu and drop-down lists being populated with information, their file open dialog boxes being rooted in a certain directory, their Explorer windows maintaining per-directory customisations, and so on.

      The real answer to your question is "It doesn't" (at least with respect to what's exposed), but people seem to want Windows to anticipate their next move, and Windows tries its best to accommodate that desire by dutifully tracking anything and everything where possible in an effort to "optimise" things for the user.

      Is it an invasion of privacy, simply annoying, or is all this interconnectedness a prerequisite for any desktop environment? Judge for yourself, but this is how Windows work. Personally, I find it absurd and useless.

    6. Re:I took a class on Forensics last bi-term. by Anonymous Coward · · Score: 0

      Thank you for missing my point. The vast majority of forensics done is on what applications leave behind, not the operating system they run on. The base operating system is more concerned with making I/O work and storing files on disk. The forensic investigator is more interested in the results of what you do with those applications. Looking for pages in swap for images of running programs paged out, deleted files in slack space, browsing history, and so forth. They could be stored in a registry or in dot-files in the user's home directory. It doesn't matter - it has to be stored somewhere.

      Both Windows and Linux have this issue, and to pretend that it doesn't exist in Linux is to show what a rabid, ranting fanboy you are.

    7. Re:I took a class on Forensics last bi-term. by Jansingal · · Score: 1

      boon means good, right :)

    8. Re:I took a class on Forensics last bi-term. by Zero__Kelvin · · Score: 1

      Thank you for missing my point. The vast majority of forensics done is on what applications leave behind, not the operating system they run on."
      Well, again, that is certainly true if you leave Windows out of the equation, but is complete Bullshit in a Windows scenario. From your first post:

      "Yes, Microsoft keeps a lot of cruft around, but so does Linux."
      So how did I miss your point again? You don't say Firefox keeps a lot of cruft around, you say both Operating Systems do, which, again, is complete bullshit.

      "The base operating system is more concerned with making I/O work and storing files on disk. "
      Microsoft Windows has a registry, and can almost be defined as an OS designed with keeping "cruft" around as the core of it's philosophy. You should have said: "an OS should be more concerned with making I/O work and storing files on disk, but Windows diverges widely from this wise OS theory." Linux, which is an OS, does not keep cruft; Windows, also an OS, does.

      As you rightly point out in your second post, in an Orwellian "I am saying, and I have always said, regardless of what I wrote" kind of way, various applications that run on both platforms do keep "cruft."

      One person in this thread is missing the point, and it is not me (OK, two if you count the under-educated soul who modded my post "Overrated" when it hadn't received any bump points.)

      Essentially your complaint here is that I missed the point you wanted to make when I accurately interpreted the erroneous one you mistakenly made in its place.
      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  10. Careers in computer forensics by AgentPhunk · · Score: 1
    How much of a demand is out there for people with strong computer forensic skills? Are most of the jobs 'outsourced' through Service Providers and security vendors, or is there an internal need inside medium-to-large Enterprises?

    I have a strong background in security, networking, PCs/desktop (going all the way back to WFW 3.11), servers, databases, firewalls, IPS, etc, and was looking at adding Forensics to my skillset. I'm genuinely interested in the topic and think I'd be good at it if I put my mind to it, but I get the impression that it is its own microcosm of specialties that excludes being involved in other activities. (In other words, to be really good (and employable) at Forensics, I'd need to be -just- a systems forensics guy that also keeps up-to-date on almost EVERY new exploit as they're released and how they impact the end-system.)

    So what I suppose I'm asking is: could some currently-employed Forensic guys/gals (or the people that are looking to hire them) please talk about what they think makes a good Forensic Engineer and who should/should not get into the field.

    1. Re:Careers in computer forensics by Anonymous Coward · · Score: 1, Informative

      I actually have a degree in Computer Forensics, and the only place looking to hire me were police departments, and all of them wanted me to become a police officer for several years before I could even think about doing forensics work.

    2. Re:Careers in computer forensics by Don+Wolf · · Score: 1

      Sounds like you have the best possible background for computer forensic work. Go do a bio on Harlan, you'll see he has had similar experience. You've also caught on that it is it's own microcosm of specialties. Like any job, you get better with the more time and effort you put into it.

    3. Re:Careers in computer forensics by cdrguru · · Score: 1

      Corporate security jobs, which you seem to be alluding to, are few and far between in requiring any real "forensic" background or knowledge.

      Most of the people I know and work with that are in computer forensics are either in law enforcement or consulting work. Some very large corporations have the need of a forensic analyst or two but not many. The general preference is to hire an outsider to do the work, someone that is not part of the corporate political scene.

      The one other place that hires forensic analysts is government agencies and other places where they have extreme auditing requirements. The Inspector Generals office for EPA, for example. I would expect to find a couple of people working at the Red Cross as well.

      Law enforcement computer forensics is almost totally dedicated to child porn and criminal copyright prosecution. If looking at thumbnails of adults doing stuff with 3-year-olds isn't your bag, you might want to skip the law enforcement side. It is true that in some places they want to hire-from-within (i.e., promoting sworn officers) but in other departments the forensic analysts are civilians - they don't get to wear guns.

    4. Re:Careers in computer forensics by billcopc · · Score: 1

      That's probably why there isn't a good cop to be found anywhere.

      Recipe for a bad cop:

      * 1 brilliant young adult with good intentions
      * 1 hopelessly corrupt legal system
      * 1 underfunded municipal system (i.e. all of them!)
      * 4 years

      Yields 1 serving of careless police agent, every time. Serve cold.

      --
      -Billco, Fnarg.com
  11. Re:Can they find out who attacked epileptics? by Gm4n · · Score: 1

    Forensics is for finding out/proving what a given person did or didn't do, it's not for tracing a crime to a person. To trace down such an event, you'd have to look through server logs, subpoena ISPs for who had which IP when, get a warrant to search their computer, then you'd use forensics to see if they really did it.

    --
    1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24
  12. See the sibling post about Texas... by Anonymous Coward · · Score: 0

    It seems to be an effort for PIs to grab a new market and ensure their exclusive access to a market. (I know - police can do this, but I'm talking about making a profit doing it.)

    It could also lead to a market grab for ex-police to take over the whole P.I. market itself, for themselves, as SC is no doubt looking at what had happened in TX and other states that have gone down that road.

    Nothing like serving as a city cop for 20 years, retiring with that pension, then going into your next career in an artificially protected P.I. market and making an easy six figures or more a year without having to deal with hepatitis infected scumbags on the street shooting at you.

  13. massive growth market by ohzero · · Score: 1

    As the reviewer mentions, forensics and IR work is a quickly growing field. The company I work for does quite a bit of this sort of thing, and even in cases where you would expect not to find much on a disk image, you almost always do. Out of 4 recent clients that we've performed this sort of work for, 3 of them had either prefab or custom malware floating around in their environments - real nasty stuff. The fourth had big fat rootkits installed all over the place. Kind of speaks volumes about the differences between where companies think they are, and what's really going on.

    --
    -- http://www.criticalassets.com
  14. RTFA? by Anonymous Coward · · Score: 0

    I'm not even going to RTFS...

    1. Re:RTFA? by Jansingal · · Score: 1

      what???

      what are those akronyms?

    2. Re:RTFA? by I)_MaLaClYpSe_(I · · Score: 1

      Read the File System? (Perhaps a mixture from NTFS and RTFA)

      Just a guess.

    3. Re:RTFA? by Jansingal · · Score: 1

      TYVM (thank you very much) no guess :)

  15. My juror experience in a computer forensics trial by Scorpinox · · Score: 4, Interesting

    Just a couple weeks ago I was a juror in a child pornography case, I was in the unique position of being the only geek on the jury in this case that was all about computer evidence.

    The case was simple, the defendant had been caught by his wife viewing the explicit material, the wife took the computer tower to the police along with several floppy disks (this was 6 years ago). The defendant had deleted all the materials, but the forensics expert found the recently viewed material still on the hard drive.

    The computer forensics expert detailed how he recovered the material, by imaging the hard drive and recovering the access dates. The floppies also contained some explicit materials, again which were deleted but then recovered, apparently it was impossible to recover the access dates on the floppy files, the forensic expert testified that some of the dates were in fact accurate, and some not, when from my brief overview, it was obvious that most of the dates were innacurate, so basically the forensics expert screwed up and didn't know what he was talking about in regards to the dates recovered from the floppy.

    The interesting part of the case was that the defendent was charged with 53 counts of "sexual exploitation of children, possession" (having child porn) and 2 counts of "sexual exploitation of children, creating, making, or preparing". Those last 2 counts were charged because the defendant copied the pictures onto a floppy disk, not because he filmed it or put it on a website, he was making a backup of the files. I'm relieved to say that the jury agreed that making a backup of the files is not the same as "creating, making, or preparing", but we did find the guy guilty for possession.

    For anyone thinking about getting into this field, you're likely to have to view a lot of really f*ing disgusting photos, then look at them closely and document everything about those photos. You really are going to need a good stomach for viewing that stuff, I know I probably couldn't do it because just seeing the photos submitted as evidence was enough to almost make me sick, I couldn't imagine having that guys job and have to be exposed to those things all the time.

  16. Physical Memory Analysis by SignalFreq · · Score: 2, Informative

    Physical memory analysis is an up and coming challenge for many law enforcement agencies. How can you guarantee that a suspect's computer was not infected by some bad memory-only malware? Current tools only address the hard drive and what it contains. There has been a lot of research into physical memory analysis over the past few years:

    Rootkit.com: has been researching physical memory for years http://www.rootkit.com/newsread.php?newsid=130, but in a slightly different context (hiding vs finding).

    BlackHat Talks:
    http://www.blackhat.com/presentations/bh-federal-06/BH-Fed-06-Burdach/bh-fed-06-burdach-up.pdf
    http://www.blackhat.com/presentations/bh-usa-07/Butler_and_Kendall/Presentation/bh-usa-07-butler_and_kendall.pdf

    Papers: http://www.stormingmedia.us/50/5037/A503754.html
    FatKit: http://www.4tphi.net/fatkit/
    Contests: The Digital Forensics Research Workshop is running a Challenge to see who can create the best linux physical memory analysis tool: http://dfrws.org/2008/challenge/index.shtml

    Now the commercial world is entering the fray: http://www.hbgary.com/hbgary_responder_datasheet.pdf

    I'm looking forward to using some tools that don't require me to keep a notebook of esoteric command lines and a usb key full of dependencies. Not to mention some report friendly output. Should be a good year!

  17. The past tense of "mislead" by doggod · · Score: 1

    When a writer doesn't appear to know that the past tense of "mislead" is "misled", I tend to take a jaundiced view of the rest of what is said. It may all be terribly astute, but I'll take my chances on ignoring it and waiting to see the opinions echoed by someone I can respect.

  18. Lassie Peterson? by QRDeNameland · · Score: 1

    Lassie Peterson? What, Scott killed the dog, too?

    --
    Momentarily, the need for the construction of new light will no longer exist.
  19. Re:The problem is the WHO that is doing the analys by mav[LAG] · · Score: 1

    Ouch dude, sorry to hear that - I've done more than my fair share of computer evidence seizures and the procedure in my country leaves no room for planting evidence anywhere.

    1. md5sum the suspect drive image
    2. dd it to an acquisition drive
    3. md5 the acquired image and the checksums must match
    4. All of this with you and your lawyer and the plaintiff's lawyer (if applicable) present so that you can make notes of the md5sum, the size of the image, the drive serial number and so on.

    The acquired image is left with the police and any analysis must be done on an exact copy. Any planting of evidence by any party would show up in court.

    --
    --- Hot Shot City is particularly good.
  20. Re:The problem is the WHO that is doing the analys by robo_mojo · · Score: 1

    Or suppose that the evidence is planted before or during seizure, before any lawyers get involved. When only one or two cops are coming to pick up someone's equipment, it is highly likely that evidence can be planted without getting noticed.

    md5summing or not, all the trust is placed in the prosecutor's lab. There are too many opportunities for wrongdoing.

  21. Re:The problem is the WHO that is doing the analys by Sancho · · Score: 1

    Encrypt your drive. When they demand the keys, get your lawyer to demand that a defense expert be involved in the extraction portion of the evidence gathering.

  22. Re:The problem is the WHO that is doing the analys by asuffield · · Score: 1

    Not specific to computer evidence, government mooks have been planting drugs this way for decades. This is why you should know how to handle a search/seize warrant. The cops who show up are going to try to shove you out and leave them to do whatever they want on their own, largely by claiming that they can and getting in your face. They're lying. You're entitled to make them stand on the doorstep while you wait for a witness to arrive and observe them, and if they don't, or do anything out of sight of the witness, it's an illegal search and the whole lot is inadmissible in court (probably; some local laws are flawed, check yours).

    Usual "reasonable" limits apply: you can call over your neighbour, you can't wait an hour for somebody to drive over from the next city.

  23. Re:The problem is the WHO that is doing the analys by asuffield · · Score: 1

    Exactly that type of nonsense can be found in nearly every piece of paperwork filed by any prosecutor or police officer.


    To be fair, half of that is regular old stupidity and incompetence, rather than actual corruption. Lawyers and police are much the same as everybody else: most of them are idiots who are not capable of doing their job correctly.
  24. Re:The problem is the WHO that is doing the analys by Anonymous Coward · · Score: 0

    This is EXACTLY what happened.
    They showed up to execute the warrant, the officer in question was inside alone "securing the premesis" for 15-20 minutes, then once the premesis was "safe" a SANS computer expert working for the local university (read: DUPE used to lend the whole charade a shred of credibility.) was brought in to "safely shut down the equipment."

    This respondent is absolutely right.. trust is given the police and the prosecutor's office (not to mention the courts) and is, in most cases, grossly misplaced!

    For those who would call me a coward for not putting my name to this: I guarantee they'd come after me AGAIN with some bogus nonsense if I went waggling my name about.

    He is a sick bastard, an addict; For him, obliterating people's lives & families is every bit as addictive as any drug. He isn't fighting his addiction either.. he revels in it.

  25. Re:The problem is the WHO that is doing the analys by westlake · · Score: 1
    Anyone who believes there is even *ONE* honest law enforcement agent in the entire U.S.A, probably even the entire world, is incredibly naive.

    and the word of the anonymous coward is to be taken as gospel truth.

    at least on Slashdot.

    the geek who brings this attitude into court has two strikes against him even if can make the argument plausible in his own case.

  26. Re:The problem is the WHO that is doing the analys by robo_mojo · · Score: 1

    How exactly does encrypting your drive protect you from evidence-planting? You forget about external drives and CDRs that may be found lying around...

  27. Any other books on computer forensics? by analog_line · · Score: 1

    The review author mentioned that he'd read other good books on computer forensics, could anyone offer a small list of titles for starting a small but good library in this field? I'm not likely or especially interested to get into the forensics field, but there have been more than a few occasions where some applied knowledge about computer forensics would've been helpful. I'm gonna take a look at this book, but a pointer to something related to Linux, MacOS, or anything else that'd be useful would be appreciated as well.

    1. Re:Any other books on computer forensics? by Rurik · · Score: 1

      Brian Carrier's File System Forensics is a staple book for anyone in forensics.

      I think that the majority of others are specialty training guides provided to those in the field, or just basic knowledge gained from experience.

      If you really want to learn more, download Sleuthkit/Autopsy (Sleuthkit is cmd line forensics tools, Autopsy is a web-based frontend to them) and just play. They're FOSS, and you'll learn more this way than any other. The tools were also written by Brian Carrier, author of the book above.

  28. Windows Machine Forensic Analysis..... by IHC+Navistar · · Score: 3, Funny

    Patient Info:

    CPU: Dual AMD dual core Opteron 276 processors.
    Sound Card: SoundBlaster Audigy II
    Video Card: ATI Radeon 8800 GT
    Memory: 4 GB PC 2700 ECC-Registered.
    Hard Disk: 2x 500GB, 1x 200GB
    Power Supply: 550W

    Notes: Prior to death, subject complained of memory loss, cognitive difficulty after recovering from sleep mode, frequent lock-ups, severe lethargy after sleeping, confusion and sluggishnes when completing complex tasks. Previous medical history notes several near-fatal seizures, necessitating the "re-learning" of basic functions on several different occasions. Cause of seizures is as yet sill unknown, as episodes appeared to happen seemingly at random, usually during inopportune moments. Previous physician notes that resuscitation of the patient was long and time consuming. Resuscitation was further complicated by the fact that the patient was revied in a "hypnotized" state, refusing tto cooperated with medicall staff unless the correct 16-digit alphanumeric "key" was spoken to them, with the key changing after each resuscitation.

    Previous Treatments Administered By Last Attending Physician:

    Prescribed one (1) copy of Linux, but patient refused.

    Time Of Death: 0832, 0901, 1055, 1129, 1344, 1508
    Method Of Death: Fatal Error
    Cause Of Death: Windows

    Precedures performed in determining occurence of death:
    Subject was BSOD on arrival
    Unresponsive to verbal stimuli: (shouting, cursing)
    Unresponsive to Sensory stimuli: (hitting, smacking with keyboard)

    Additional Notes / Instructions:

    As Coroner, it is recommended that the law enforcement agencies involved with the death of the subject investigate Mr. William Henry Gates III, and Steven Anthony Ballmer. Both subjects have known employment at Microsoft Corp. It has been determined by the Office Of The Coroner that a product known colloquially as "Windows", which was/is compiled, manufactured, and sold by Microsoft, while under the direct supervision and control of Mr. Gates and Mr. Ballmer, despite widespread reports of patients expiring from complications and/or adverse reactions after ingesting "Windows".

    --
    Knowing Google's lust for data collection, the Soviet Union is still alive and well inside the psyche of Sergey Brin....
  29. Re:The problem is the WHO that is doing the analys by glitch23 · · Score: 1

    Anyone who believes there is even *ONE* honest law enforcement agent in the entire U.S.A, probably even the entire world, is incredibly naive.

    --Signed... an unfortunate victim of a crooked cop who planted bogus evidence on my computer systems after perjuring himself on affidavit's to get search warrants for them

    Ahh yes, another over generalization brought to us by a fellow slashdot user. I think you are the naive one if you believe 1 crooked cop is representative of the whole.

    --
    this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
  30. Re:My juror experience in a computer forensics tri by oakgrove · · Score: 2, Funny
    Now see, this is the kind of stuff I just don't understand. If you are going to look at child porn or whatever, why not take the simple steps to protect yourself.

    How hard is it to slipstream a Knoppix CD with truecrypt and all of your codecs, open the case of your laptop and disconnect the hard drive (just in case), pull the battery out of your laptop so you can just pull the plug and have instant off, find a hotspot to download your porn at, boot up on the Knoppix CD, create an encrypted truecrypt volume in RAM to download your child porn directly into, download the porn, dismount the truecrypt volume, insert a USB flash drive to copy the truecrypt volume to, then just hit the power button?

    Now you have covered your bases and have no record of the password anywhere, not even mistakenly written to a swap file, and if you want to view your porn, you just boot up on the live CD again and copy the truecrypt volume from the flash drive into RAM, disconnect the flash drive (again, just in case), view your porn all completely in RAM and when you're done, just pull the plug and poof, all evidence gone.

    I don't understand why people can't just take simple precautions.

    --
    The soylentnews experiment has been a dismal failure.
  31. Re:The problem is the WHO that is doing the analys by witherstaff · · Score: 1

    A business client of mine had every computer in his home taken (I believe 5) on charges of child porn being downloaded from his cable IP address. Then the police said they found 4 videos on a PC and kept pressing for him to admit his wrong doing. Luckily he was past law enforcement, and had a lawyer, so he didn't lie. Long story short - 3 months of hassle and all charges were dropped, all equipment returned, and police admitting there were no files found.

    Open wifi along a busy road was most likely to blame.

    It's good they didn't plant evidence while trying to get a confession.

    He's decided to not pursue anything against the authorities involved, just the public knowledge of the allegation alone would destroy his business and livelihood.

  32. Beware the MD5 defense by jnv11 · · Score: 2, Interesting

    There are cases where the use of MD5, which is considered broken quite thoroughly, will get the case thrown out of court. See Bruce Schneier's blog entry about the MD5 defense. Time to upgrade your hash algorithm. Some smart lawyers are able to use the fact that MD5 is broken to make a judge believe that the evidence could have been doctored to produce an MD5 collision with planted evidence.

    1. Re:Beware the MD5 defense by mav[LAG] · · Score: 1

      Thanks for the heads up - looks like sha256 for me from here on in just to be safe. That having been said, in our courts someone would have to demonstrate how to perform such a plant with successful collision to be taken seriously. Hand-waving in the face of odds to the order of one in a few quintillion doesn't cut it.

      --
      --- Hot Shot City is particularly good.
  33. Re:My juror experience in a computer forensics tri by Scorpinox · · Score: 1

    Actually, the defendant did have some software to completely erase data hidden on a hard drive, but because his wife took the tower halfway through him viewing the stuff, he got caught with it. Plus this was 6 years ago when the guy was running windows 95 on his HP, I don't think he really knew much about this stuff.

  34. Re:My juror experience in a computer forensics tri by RUDigital · · Score: 1

    Well... I have much to say....

    First of all, I think it is unfair to say that all Police officers plant evidence. There are some really decent and intelligent LEOs out there. And.. There are some really indecent and dumb LEOs out there too..

    In my field (and Digital Forensics is my field), there is too much room for error to automatically assume that because someone has CP on their machine, they must be guilty of the criminal act of possessing it, or because they may have had in in a shared folder they must be guilty of promoting it with criminal intent. I think the really "computer literate" people here know what the possibilities are. Between the ignorance of the "dumb cops", and the ignorance of the average computer user that just uses his or her computer for checking email and browsing the Internet, there is MUCH room for an innocent person to get caught up in a scenario where they are facing jail time for something which they are not criminally culpable of. And this is why we need GOOD Forensic Examiners on both sides of this issue. Now before you belabor this paragraph with arguments, learn what "criminal intent" means, "mens rea" means, and understand that "ignorance" is not a negative word and nor does it equate to guilt; as a matter of fact, often times it proves just the opposite.

    Now I am not sure that requiring a Forensic Examiner to have a P.I. License is the right way to go. The average P.I. that has managed to get into the Computer Forensics field is going to have less than 10 years of experience, and in most cases with this becoming a booming industry, less than 5 years; now. How can these guys expect to hold a candle to people like Brian Carrier, Dan Farmer, and Andrew Rosen, who would have a hard time getting the required hours that most states expect to grant a P.I. License? So, in requiring that P.I. License for Forensic Examiners, we have eliminated the most skillful examiners from working very critical cases; that can have life altering effects on people. By requiring Computer Forensic Examiners to have a P.I. License we are forsaking TRUE skill for control of the digital forensics industry. This is not very comforting to me.

    The scariest thing about a criminal prosecution for CP related charges, is to have a "computer illiterate Jury" that can be swayed by a load of crap for a Prosecutor and/or the ignorance of a Detective. This is why a GOOD Forensic Examiner will not only know how to properly conduct a Computer Forensic Examination, but also how to explain what he or she has done in layman's terms, where a Jury can understand it. It should not be taken so lightly that the allegations that a Law Enforcement Officer might make could take 20 years of a person's life away from them.

    R U Digital?

  35. Book Reviews for Profit by bhiestand · · Score: 1

    1. Publish glowing book review on site read by millions of nerds/geeks
    2. Include link to Amazon with a referrer tag
    3. Profit!

    Thanks for helping me figure out step 2! Is this Slashdot's doing or the submitters?

    --
    SWM seeks new sig for a brief fling
  36. How to get into computer forensics field? by true_majik · · Score: 1

    I've always had an interest in getting into computer forensics field but do not wish to become a police officer. Is that the only way? What would be a basic roadmap toward a career in this field (for somebody that already has a CS degree)?

  37. the hard part is decrypting the BSODs by swschrad · · Score: 1

    every BSOD tells a story. this is because Windows is connected to the Underworld. the diabolic and maddening part is a BSOD on Manson's computer, for instance, may reveal the details of one of Henry VIIIs death orders, or one of Saddam's.

    --
    if this is supposed to be a new economy, how come they still want my old fashioned money?
  38. Re:The problem is the WHO that is doing the analys by Jansingal · · Score: 1

    good comment.
    i have seen way toooo many clueless people run forensics tools expecting to find the smoking gun.

    the tools are like 15% of the job.
    it is smartness and more to really make it work.

    sorry scriptkiddies!

  39. Re:The problem is the WHO that is doing the analys by Jansingal · · Score: 1

    yeah, but when quantum crypto starts shipping, crypto as we know it will be worthless.

  40. Re:The problem is the WHO that is doing the analys by Sancho · · Score: 1

    Strictly speaking, quantum cryptography really has nothing to do with it. Quantum cryptography has more to do with detecting when a conversation has been overheard. It's useful for transmitting session keys--if the session key conversation was overheard, just don't use those keys. If it wasn't overheard, it's fairly safe to proceed. Quantum cryptography, thus, aids in symmetric key exchange (key exchange, in general, being the hardest part of cryptography between two people--a problem solved by asymmetric keys in classical computing.)

    The advent of quantum computing has ramifications on breaking cryptographic keys, however most people don't really understand what this means.

    Symmetric key attacks can be made faster with quantum computing, but it's not a significant enough increase to make symmetric key encryption worthless. It's not nearly the same beast as using Shor's Algorithm to factor the products of primes (rendering asymmetric key algorithms close to useless). As such, increasing the length of your symmetric key is useful against a quantum computing attacks, whereas increasing your asymmetric key length doesn't help much*.

    Of course, we're talking about planting evidence here. There aren't quantum computers in existence (that we know of) that can run Shor's Algorithm to factor commonly used asymmetric key sizes. It will be a long time (if ever**) before quantum computers are ubiquitous enough that local police departments have access to them. When a resource like quantum computing is scarce enough, it's fairly hard to abuse without someone noticing.

    * It can help if they don't have a quantum computer large enough to factor the primes you used.

    ** The known applications of quantum computing are extraordinarily small in number, and unless they increase substantially, it's unlikely that there will be a consumer market for them. That's not to say that a consumer application will never be found, of course.

  41. Re:The problem is the WHO that is doing the analys by Jansingal · · Score: 1

    true.

    but who would use 50,000 megabit keys to deal with the quantum threat?

  42. Thank you for the kind review by davekleiman · · Score: 1

    Don, We really appreciate your kind review, and I believe the publisher of this book and Harlan's new book, Perl Scripting for IT Security Professionals will appreciate it as well.

  43. Haha... by Anonymous Coward · · Score: 0

    I actually worked with Harlan in which we were supposed to be doing actual forensics...which is why I think that the fact that he keeps on writing books about it is hilarious. Ask him how much experience doing forensics he actually has.

  44. Re:My juror experience in a computer forensics tri by Scorpinox · · Score: 1

    >>The scariest thing about a criminal prosecution for CP related charges, is to have a "computer illiterate Jury" that can be swayed by a load of crap for a Prosecutor and/or the ignorance of a Detective

    ^ I completely agree with that, I was worried throughout the trial that I would have to educate the jury on simple terms they used in the trial and how the defendant was found with the CP on his computer. Luckily though, it was pretty much moot, since it was obvious that he intentionally was viewing the material, and even admitted as much to his wife. I believe the only reason they plead not guilty was because of the 2 "creating, producing, making" charges (you can't plead guilty to some and not to other charges in this state). So, it never came to discussing technical details in the end. What annoyed me was that the defending lawyer admitted to not knowing anything about computers, and if he had known even a little, he could've tried to create more reasonable doubt in his closing arguments, his defense in the end was pretty weak.