Slashdot Mirror


Linux and Forensic Discovery

Max Pyziur writes "Found this on cryptome.org where Linux is cited in a DOJ document against Moussaoui (sometimes referred to as the "20th man"). FBI: Moussaoui E-mail Not Recoverable - January 1, 2003." An interesting read which gives some insight into how computer evidence is handled in court.

157 of 260 comments (clear)

  1. This is a great example... by craenor · · Score: 4, Informative

    Of the fact that lawyers will argue over anything.

    Heh, this seems to be a discussion about whether they used "approved methods" of retrieving a deleted email. According to one person, the LinuxGNU was the only one approved by NIST (national institute of standards and technologies). This of course, is wrong...NIST doesn't "approve" software, they just test it and declare whether or not it works.

    1. Re:This is a great example... by craenor · · Score: 1, Offtopic

      huh? my comment hasn't been moderated. It started at +2 and is still at +2 as of this writing...

    2. Re:This is a great example... by spatrick_123 · · Score: 1

      Or maybe, just maybe the original poster used their +1 bonus. I would say this is likely, considering that when looking at the comment there is no moderation information at the bottom of it. Not to mention that the site is not /.ed - I just retrieved the article without any problem. Then again, I'm probably just feeding a troll.

    3. Re:This is a great example... by craenor · · Score: 2

      this seems to be a discussion

      In saying that, I was trying to convey the message that my comments were a summary of a portion of the discussion added to provide relevance to my comments. Sorry if this was confusing.

  2. At least... by Ironica · · Score: 3, Funny

    ...someone in the government seems to realize that Microsoft can't be trusted ;-)

    --
    Don't you wish your girlfriend was a geek like me?
  3. Secure File Deletion by b1ng0 · · Score: 5, Informative

    To anyone who is concerned about having their deleted files recovered, take a look at Wipe - in its strongest mode it will make 37 passes over the data in order to be sure that electron microscopes cannot reconstruct the bit patterns.

    1. Re:Secure File Deletion by caluml · · Score: 2

      Or of course there is shred.

      From the man page: shred delete a file securely, first overwriting it to hide its contents

      It comes with the fileutils package (on RedHat anyway). Can't see any differences between wipe and shred. Apart from the fact that one comes already installed. Is there any difference?

    2. Re:Secure File Deletion by zabieru · · Score: 1

      PGP will do this too. In fact, it also has a mode that will wipe all the free space on your drives.

    3. Re:Secure File Deletion by Speare · · Score: 4, Informative

      It seems that journaling filesystems like ext3 cause hell for secure deletions, because changes aren't always committed as the application level assumes and requires. Has anyone suggested a kernel/filesystem hook to make secure media deletions possible?

      --
      [ .sig file not found ]
    4. Re:Secure File Deletion by Pathwalker · · Score: 3, Informative
      Or, for FreeBSD, you could just do rm -P.
      Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, and then 0xff again, before they are deleted.
    5. Re:Secure File Deletion by Anonymous Coward · · Score: 2, Insightful

      You can't trust those tools anymore. Today's hard drives will physically move sectors around on disk to avoid areas that are bordering on causing media errors.

    6. Re:Secure File Deletion by bloxnet · · Score: 5, Informative

      Wipe is a nice program, but it is simply overkill. It has been shown in studies that typically 3 passes of a data wiping program should make your data non-recoverable by standard means (using popular forensics tools such as EnCase, Maresware, NTI's batch of programs, or disk editors on whatever platform you are interested in). As to how much the U.S. government investigators are able to retrieve...well that falls into your urban legends category I suppose. For the most part, DoJ guildelines suggest wiping your data 7 times as part of the norm. This is because of the non precise manner in which hard drive read/write heads pass over the disk itself (more of a wobble rather than a perfect circular motion). I just recently saw a whitepaper on Encase's site that covered users of WinXP using EFS (encrypted filesystem) secure deletion (which just does 3 passes) that makes recovery of the files deleted not possible this is the whitepaper. Just as the above reference article concludes, it should be kept in mind that there is so many places to look on Windows and Unix machines other than what files were deleted. Perhaps pictures of your latest porn stash or the Word document covering your NDA violations are gone, but registry settings, file slack (as was mentioned in the parent article briefly), pagefiles, memory dumps, and many other locations that track your activities on a given machine can be used as well. Wow, I did not mean to get so long winded...I just really get into computer forensics. My personal advice for decent file security and deletion is encryption + multi-pass deletion. There are several encrypted filesystems out there for both Windows and *nix, and a few options that are viable with both (BestCrypt File system containers and also BCWipe for deletion is a good example). I don't see the need to start advertising products, so check out the options for OS level and OS independent solutions.

    7. Re:Secure File Deletion by Alsee · · Score: 3, Interesting

      byte pattern 0xff, then 0x00

      A little knowledge is a dangerous thing :)
      0xff is the value for a string of all 1's and 0x00 is the value for a string of all 0's, but harddrives actually record entirely different bit sequences. And different harddrives use different encodings. Without knowing the specific encoding the current drive uses your best bet is probably to write random values.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    8. Re:Secure File Deletion by Russ+Steffen · · Score: 3, Informative

      The hook is already there. The chattr can set a "secure delete" extented attribute on a file or directory which will make a subsequent normal rm perform a secure delete. However the man page says it's not implemented yet, but said man page hasn't been updated since kernel version 2.2.

    9. Re:Secure File Deletion by sigwinch · · Score: 3, Interesting
      0xff is the value for a string of all 1's and 0x00 is the value for a string of all 0's, but harddrives actually record entirely different bit sequences.
      Possibly even variable-length sequences, if a run-length-limited code is used. In which case writing random data a few dozen times could easily leave a big chunk of slack space untouched. Erase/write simply isn't good enough.

      The only way to be sure is to nuke the hard drive from orbit. ;-)

      --

      --
      Kuro5hin.org: where the good times never end. ;-)

    10. Re:Secure File Deletion by Your+Anus · · Score: 1

      This has been discussed before, I think in an article where the govenrment was going to donate old computers to schools. Someone was wondering what might be left on the hard drives of said computers.

      The answer from anyone with a government security background was that the physical platter must be destroyed to truly be secure, so there wouldn't be anything left. This is done with any media that has or had classified material on it, even stuff returned for warranty.

      Basically, the procedure is to grind the magnetic material off of the platters, or just dump them in an acid bath until the platters dissolve.

      Of course seven writes over the same spot more or less leaves you vulnerable only to the electron microscopy or SQUID type of analysis.

      --

      In the USA, we like stuff watered down, like beer, television, and freedom.
    11. Re:Secure File Deletion by Trolling4Dollars · · Score: 1

      Ummm... moderator: EXCUSE ME? Mod this guy up! He makes a valid point. Unless you have something to hide, you shouldn't need anything better than rm or del. Your government is never going to be interested in the data that is on "Joe User's" computer unless he's involved with something that your govenrment doesn't approve of. Considering that I am not a fan of the current government in the US (we have a monkey that I didn't vote for as our president), I still have no concern that they want to tap into my machines. And if they did, they wouldn't find a damn thing. So... no need for encryption or secure delete for me. I just figure, if you follow the rules of our collective societies, then there is nothing to worry about.

    12. Re:Secure File Deletion by Julian+Morrison · · Score: 3, Interesting

      Does anyone know of a "wipe" style utility that can also wipe ununsed disk space (deleted inodes etc) on linux?

    13. Re:Secure File Deletion by Noel · · Score: 2

      Check out secure delete.

  4. Breaking News! by chunkwhite86 · · Score: 4, Funny

    Linux is used by humans outside of the Slashdot community! Stay Tuned!

    --
    I'd rather be a conservative nutjob than a liberal with no nuts and no job.
  5. Oh Please! by Snowbeam · · Score: 5, Interesting

    How is this news? They are using "dd" a Linux utility. Seeing "Linux" in an article does not warrant a story about it. This demeans Linux by using every little scrap of news to attempt to show that it is in use. Instead we should be demostrating it's uses, rather that reporting that it is in use.

    --
    I am Lord Snowbeam. Heed my call!
    1. Re:Oh Please! by The+Turd+Report · · Score: 3, Informative

      To be honest, 'dd' is not a Linux utility. Various *nixes used it before Linux was even started.

    2. Re:Oh Please! by zabieru · · Score: 1

      Actually, it's even more demeaning, because the government DIDN'T USE Linux. They merely listed it as an option. If you read on, it was an option which was not used.

    3. Re:Oh Please! by Covener · · Score: 1

      and os/360 JCL programmers were using DD before it found its way into unix...

    4. Re:Oh Please! by kasperd · · Score: 2

      To be honest, 'dd' is not a Linux utility. Various *nixes used it before Linux was even started.

      In fact dd is even overkill for this purpose. The same could be achieved by cat or something even simpler. This task is so simple that we shouldn't really care how they did it. I could have written a 42 line Turbo Pascal program under DOS that could do it.

      --

      Do you care about the security of your wireless mouse?
    5. Re:Oh Please! by TheToon · · Score: 1

      hehe, I bet most ppl here wouldn't know a JCL if it jumped up and bit them in the... nose. :)

      But DD != dd ;)

      --
      //TheToon
    6. Re:Oh Please! by someonehasmyname · · Score: 1

      They used SafeBack

      --
      Common sense is not so common.
    7. Re:Oh Please! by TheToon · · Score: 1

      Yep. Simplified; on a mainframe batch jobs/programs are submitted to a job queue and the JCL describes the job. What execution class is should run in (execution class = priority, memory size available etc), what files or devices (datasets) it should read and write to (DD = Data Definition).

      This is all under control of HASP/JES in different versions and various operating systems.

      So basically: programmer compiles programs, submits JCL and program to JES3 and waits for it to run and get output. First hurdle is to get pass the "JCL Error" step :)

      --
      //TheToon
    8. Re:Oh Please! by finkployd · · Score: 2

      So basically: programmer compiles programs, submits JCL and program to JES3 and waits for it to run and get output.

      Not to nit pick, but significantly more shops run JES2 than JES3. JES3 in my experience was a pretty big step backwards.

      Finkployd

  6. NIST Computer Forensics Tool Testing by metatruk · · Score: 5, Informative
    From the article:
    Before addressing the authentication for the four specific computers, an error in Mr. Allison's affidavit must be corrected. In his affidavit, Mr. Allison writes: "Many methods are available to create an exact duplicate; however, only one method - the GNU/Linux routine dd - has been approved by the National Institute of Standards and Technologies." Allison Affidavit at 3. This statement is simply wrong. The National Institute of Standards and Technologies (NIST) does not "approve" software, it merely tests it and then publishes the results of its tests.

    The test reults are abailable here:
    http://www.ojp.usdoj.gov/nij/sciencetech/cftt.htm
    1. Re:NIST Computer Forensics Tool Testing by metatruk · · Score: 2, Informative

      Or more specifically, here:
      http://www.ncjrs.org/pdffiles1/nij/196352.pdf

    2. Re:NIST Computer Forensics Tool Testing by Florian+Weimer · · Score: 2

      Or more specifically, here:
      http://www.ncjrs.org/pdffiles1/nij/196352.p df


      Wow, 62 pages for an evaluation of "dd". The whole source code of the program is just 20 pages.

    3. Re:NIST Computer Forensics Tool Testing by Crus7y · · Score: 2, Funny

      Hee! Now you know why programmers hate to write documentation!

  7. electron microscopes by Alien54 · · Score: 4, Interesting
    I am confused.(yes, we all know this)

    The document states that image files were generated fo the contents of the hard drives. I do not have confidence that an image would also display latent data.

    I know myself that when I do a data recovery on a system, I can get many more megs of recovered data from file fragments, deleted folders, etc than can fit on the drive. Most of this extra stuff ias junk data, but you get the idea.

    There is no substitue for the original.

    Recovery can require a minimum of specialized software or be as complicated as looking at the platters under an electron microscope. I see nothing here that indicates use of such specialized technology, and yet this is supposed to be a national security matter.

    --
    "It is a greater offense to steal men's labor, than their clothes"
    1. Re:electron microscopes by MeanMF · · Score: 1

      dd does a complete image copy of the partition, byte by byte... It doesn't matter what's on the drive, what file system it is, etc. It copies everything.

    2. Re:electron microscopes by g4dget · · Score: 4, Interesting
      The document states that image files were generated fo the contents of the hard drives. I do not have confidence that an image would also display latent data.

      It's pretty clear what "dd" images: the entire content of the hard disk drive as it is readable by its disk controller. It won't image residual data that has been erased.

      I know myself that when I do a data recovery on a system, I can get many more megs of recovered data from file fragments, deleted folders, etc than can fit on the drive. Most of this extra stuff ias junk data, but you get the idea.

      Unless your recovery efforts involve custom hardware, the disk image obtained with "dd", together with bad block information and drive geometry, contains every bit of information you are ever going to get out of that drive. Any software-based recovery working on that image is going to be equivalent to recovery working on the original drive.

      Trying to recover data that has been physically overwritten, using analog methods or imaging, is so expensive and time consuming that it is feasible only in special cases.

    3. Re:electron microscopes by Covener · · Score: 1

      It isn't an effort to get at 'hidden' data. It's an effort to allow many people to have access to the data that was on the disk when it was imaged.

      Otherwise you're trusting someone else's report, or passing around a mechanical disk (defense attorneys wouldn't be so thrilled about either).

    4. Re:electron microscopes by Vengeance · · Score: 1

      I would suggest that airliners being crashed into skyscrapers qualifies as 'special cases'. The original hard drives should have been seized, and the contents should have been gone over by a team of experienced data recovery specialists. The kind of people you call when you've just had a bad head crash and you just learned that the same broken backup tape has been sitting in the drive for three years.

      --
      It was a joke! When you give me that look it was a joke.
  8. Re:Why not a windows tool by SwellJoe · · Score: 2

    A troll, of course, but due to lack of moderator points:

    dd /dev/hdb

    Yep. That would be much simpler under Windows.

  9. CRC/SHA-1/MD5 by MeanMF · · Score: 1, Interesting

    If the hash value of the original prior to duplication matches identically the hash value after the duplication, one may conclude that the duplicate file accurately reflects the data on the original file. The fact that the hash values match is typically more important than the hash values themselves.

    Are they saying that two different files can't have the same hash value? That's a load of crap! It's not hard at all to modify data to create any hash value that you want, especially when you're including "deleted space" in the CRC calculations... It's good at telling you if there were any random modifications caused by errors during copying, but not that the files are identical.

    1. Re:CRC/SHA-1/MD5 by Henry+V+.009 · · Score: 2

      Sure you can. But to be able to do it with something like MD5, you need to factor some very large prime numbers. Hence the security.

    2. Re:CRC/SHA-1/MD5 by Henry+V+.009 · · Score: 3, Funny

      Oops...If they were prime, they would be easy to factor. You need to factor the products of some very large primes.

      (The last post wasn't a mistake--it was my intentional FUD to keep the terrorist from figuring out RSA. Shhhh!)

    3. Re:CRC/SHA-1/MD5 by metatruk · · Score: 5, Informative
      Are they saying that two different files can't have the same hash value? That's a load of crap! It's not hard at all to modify data to create any hash value that you want

      From http://www.itl.nist.gov/fipspubs/fip180-1.htm:

      The SHA-1 is called secure because it is computationally infeasible to find a message which corresponds to a given message digest, or to find two different messages which produce the same message digest. Any change to a message in transit will, with very high probability, result in a different message digest, and the signature will fail to verify.
      So yes, two different files can have the same hash, but it's infeasible to do this. That's why hashing methods like SHA are used in cryptography; SHA-1 is used in DSA signatures.
    4. Re:CRC/SHA-1/MD5 by Edgewize · · Score: 2

      That's a load of crap! It's not hard at all to modify data to create any hash value that you want, especially when you're including "deleted space" in the CRC calculations...

      CRC-32, sure. CRC is meant to check for small random transmission errors, not to function as a secure hash algorithm. But if you've figured out a way to force data to match a given SHA-1, you better get a press agent and a secretary because every crypto nut in the world is gonna call bullshit. And no, "trying lots of combinations" doesn't count.

    5. Re:CRC/SHA-1/MD5 by kfg · · Score: 2

      No, what they are saying is that they copied a disc and the two discs had the same hash value.

      If you *don't care* what the contents of the original disc are, as is the case with forensic investigation, only that the dupe acurately reflects it, than checking the hash value of both against each is a perfectly valid test.

      What they're testing for here *is* random errors in the copy process, not intentional tampering.

      KFG

    6. Re:CRC/SHA-1/MD5 by bwt · · Score: 3, Informative

      Are they saying that two different files can't have the same hash value? That's a load of crap! It's not hard at all to modify data to create any hash value that you want, especially when you're including "deleted space" in the CRC calculations... It's good at telling you if there were any random modifications caused by errors during copying, but not that the files are identical.

      There are no known examples of two files that have the same MD5 (or SHA-1) hash values, so I think you should reevaluate your statement. While it certainly is true that such files do exist (2^128 MD5 values, > 2^128 possible files, pigeon-hole principle, etc...), that does not mean that finding them is computationally easy or even possible.

      A brute force search of files would require ~2^128 files to be search to find a match. If 2^32 computers each processed 2^16 files a second on average per year (60*60*24*365 20^30 seconds), then it would take greater than 2^50 years to find a match. Equivalently, the odds that any of the files that have ever been produced by humans have the same MD5 are pretty bad.

      It might be possbile that a cryptographic flaw in MD5 exists that could be exploited to reduce the number of files that needed to be searched. I believe no such flaw is known. If one does exist, I'm quite sure it doesn't provide dramatic benefits.

    7. Re:CRC/SHA-1/MD5 by Zeinfeld · · Score: 2
      Sure you can. But to be able to do it with something like MD5, you need to factor some very large prime numbers. Hence the security.

      Sorry, not even close.

      MD5 has been compromised in a paper by Hans Dobbertin of the German Ministry of Information. The compromise is less than a total break but it is also now 8 years old.

      MD5 uses only operations on 32 bit integers, addition, rotation and booleans. It does not use large integers of prime numbers.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    8. Re:CRC/SHA-1/MD5 by MeanMF · · Score: 3, Interesting

      There are no known examples of two files that have the same MD5 (or SHA-1) hash values

      Sorry, my original message was kind of weak :)
      The programs that the government uses to do the copy use CRC32, which is very easy to get around. The CRC32 values are listed in section 13 of the expert's affadavit. The government says that this is enough to authenticate the data.

      SafeBack and the Logicube SFK-000A incorporate reliable internal CRC verification techniques, CART procedures do not require examiners to generate separate MD5 or SH-1 hashes for computers imaged using SafeBack or Logicube SFK-000A disk duplicator....All hard drives in this case were imaged by one of the three programs used by the FBI, all of which are recognized by the scientific community as reliable imaging programs. Thus, there should be no question about the authenticity of any of the hard drives.

      In terms of autenticating evidence for use in court, shouldn't the government be using something stronger than CRC? If I were on the defense's side, I would tear this apart - the MD5 hash that they eventually received was taken well after the original image was created, leaving plenty of time to alter any data. There was ample opportunity for somebody (whether as part of a "government conspiracy" or as an overzealous investigator/prosecutor) to alter both the image and the original hard drive before taking the MD5 hash, and before the image was delivered to the defense as part of discovery. There's no use in having an MD5 hash if all it is doing is verifying that you have an exact copy of data that has been tampered with. The government should, as standard practice, take the MD5 hash before they even make the first image, and preserve that record along with other evidence. This would make it much more difficult for the defense to claim that the data presented in discovery or at trial is not authentic.

    9. Re:CRC/SHA-1/MD5 by MeanMF · · Score: 1

      What they're testing for here *is* random errors in the copy process, not intentional tampering.

      But they're trying to pass it off as testing for both:

      "Authentication" in this context means the process of ensuring that the duplicate of the hard drive provided in discovery is an exact copy of what the FBI originally acquired...All hard drives in this case were imaged by one of the three programs used by the FBI, all of which are recognized by the scientific community as reliable imaging programs. Thus, there should be no question about the authenticity of any of the hard drives

      All of these tools use CRC32.

    10. Re:CRC/SHA-1/MD5 by Paul+Jakma · · Score: 2

      that does not mean that finding them is computationally easy or even possible.

      Actually, there are well known issues with MD5 that make it susceptible to collission searches, see:

      H. Dobbertin, "The Status of MD5 After a Recent Attack", RSA Labs' CryptoBytes, Vol. 2 No. 2, Summer 1996.
      http://www.rsa.com/rsalabs/pubs/cryptobytes.html

      dont think that URL works anymore. This one does, in which Robshaw gives an overview of the problems:

      ftp://ftp.rsa.com/pub/pdfs/bulletn4.pdf

      Basically, it has been demonstrated by Dobertin in 1996 that data with a colliding hash can be found with 10 odd hours of processing from a (by now very low powered) PC. Admittedly only for the compression round of MD5, not for the full set of rounds specified by MD5, however it is feared that existing techniques (ie those used to break MD4) can be applied to MD5. (indeed this is what Dobertin demonstrated). TTBOMK there is no known collision attack against the full MD5 algorithm. (least not public knowledge anyway :) )

      So your assertion is incorrect with respect to MD5.

      SHA-1 is currently considered to be safe from hash collission attacks. However, that is not really relevant as the FBI specifically are using CRC-32 and MD5.

      However, presuming that the question is not one of the FBI having deliberately modified the images, it does not /matter/ that MD5 is on shaky ground wrt to strength against collission attacks. The use of MD5 here is to verify that the copies are the same as the original images and that there werent any errors introduced during copying. For this purpose MD5 is fine.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    11. Re:CRC/SHA-1/MD5 by TheCabal · · Score: 1

      Are they saying that two different files can't have the same hash value? That's a load of crap! It's not hard at all to modify data to create any hash value that you want, especially when you're including "deleted space" in the CRC calculations... It's good at telling you if there were any random modifications caused by errors during copying, but not that the files are identical.

      It's extremely unlikely to produce two different files that produce the same SHA-1/MD-5 hash, not impossoble. CRC, on the other had is a lot easier. If two files produce the same SHA-1 or MD-5 hash, it is very, very likely that the files are identical.

    12. Re:CRC/SHA-1/MD5 by Henry+V+.009 · · Score: 2

      A message...I don't know that it's even a complete sentence. I thought the bold just made it stand out from the rest of my post. You know, make it easy for people to see that it's a sig.

      Sorry if the over-the-top emphasis on the letters made your eyes hurt. I'm sure that a couple asprin will make the headache go away by morning.

    13. Re:CRC/SHA-1/MD5 by bwt · · Score: 2

      So your assertion is incorrect with respect to MD5.

      I disagree.

      Part of the MD5 algorithm is analytically weak, but that falls far short of an actual working attack for the whole thing. Researchers suspect that this weakness MIGHT eventually lead to an analytic attack against the whole of MD5, but as yet, no such attack exists. As Robshaw said: "While the existence of pseudo-collisions is significant on an analytical level, it is of less practical importance."

      Moreover...

      "Note that existing signatures that were generated using MD5 are likely to remain safe from compromise since it seems that current techniques used to cryptanalyze MD5 do not offer any advantage in finding a second preimage. Existing signatures should not be considered as being at risk of compromise at this point."

    14. Re:CRC/SHA-1/MD5 by bwt · · Score: 2


      You only need to do 2^64 calculations if you share the results among the participating computers, including storing the original files. I did not posit any such abiilty.

      Since there are ~2^80 atoms in the known universe, I think it unlikely that any such storage mechanism will ever be built.

    15. Re:CRC/SHA-1/MD5 by Paul+Jakma · · Score: 2

      I did state there was no publically known attack against the full rounds of MD5. However, that was 7 years ago, it is not safe to assume that no one else continued on with this work.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  10. Obvious Solitaire remark by jaymzter · · Score: 2
    Solitaire Forensics Kit, SFK-000A hand-held disk duplicator by Logicube, Inc. (hereafter "Logicube")


    I thought Solitaire only duplicated wasted work hours!
    --
    If thou see a fair woman pay court to her, for thus thou wilt obtain love
  11. Re:Why not a windows tool by SwellJoe · · Score: 2

    Argh...Once more with preview:

    dd < /dev/hda > /dev/hdb

  12. Ohhh, ohhhh.... by evilviper · · Score: 2, Insightful

    Oohhhhhh... Someone said the word ``Linux"... Better put it on the front page...

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  13. Re:Why not a windows tool by zabieru · · Score: 2, Informative

    Actually, if you read on in the article, they state that Linux dd COULD have been used, that NIST had tested it and found it acceptable, but if you read the procedures used to the four HDDs, they actually used the other methods listed exclusively.

  14. email from his pc by grub · · Score: 4, Funny


    Sept. 10, 2001

    Zach,
    We're going off flying tommorrow, hope to see you on the other side. Last one there gets the 70 ugliest virgins!

    M. Atta

    --
    Trolling is a art,
    1. Re:email from his pc by Anonymous Coward · · Score: 2, Funny

      Last one there gets the 70 ugliest virgins!

      So who did wind up getting the Slashdot editors?

  15. Re:Why not a windows tool by grub · · Score: 3, Informative

    dd is a common Unix program. The SGIs at work have it, my various BSDs at home and work have it and Linux has it.

    --
    Trolling is a art,
  16. Re:Hotmail and Privacy in this article: by zabieru · · Score: 2, Informative

    You do realize that in the event of a search warrant or subpoena that privacy policy no longer applies, right? Of course, they can't turn over anything they no longer have, but if they have it the government will too. On a side note, the libraries in my city (seattle) have a very explicit privacy policy that states that they do not ever save information about books a patron has read and returned. The only things on the books are currently checked-out items, for exactly this reason.

  17. To make up for my fp by danielsmc · · Score: 1, Informative

    The United States respectfully responds to Standby Counsel's Reply to the Government's Response to the Court's Order on Computer and E-Mail Evidence (hereafter "Reply") as follows:

    Authentication

    The foundation of standby counsel's discovery requests regarding the computer and e-mail evidence rests upon their complaints regarding the "authentication" of the hard drives provided in discovery. "Authentication" in this context means the process of ensuring that the duplicate of the hard drive provided in discovery is an exact copy of what the FBI originally acquired. As FBI Supervisory Special Agent Dara Sewell explains in her attached affidavit, the FBI uses three different methods to duplicate or image a hard drive:1
    (1) GNU/Linux routine dd command via Red Hat Linux 7.1 (hereafter "Linux dd");

    (2) Safeback version 2.18 imaging software by New Technologies (hereafter "Safeback");

    (3) Solitaire Forensics Kit, SFK-000A hand-held disk duplicator by Logicube, Inc. (hereafter "Logicube").

    Sewell Affidavit at 2. Standby counsel seek the "complete authentication information for all of the hard drives produced in discovery, particularly the information for Mr. Moussaoui's laptop, the University of Oklahoma system, and Mukkarum Ali's laptop." Reply at 8.

    Before addressing the authentication for the four specific computers, an error in Mr. Allison's affidavit must be corrected. In his affidavit, Mr. Allison writes: "Many methods are available to create an exact duplicate; however, only one method - the GNU/Linux routine dd - has been approved by the National Institute of Standards and Technologies." Allison Affidavit at 3. This statement is simply wrong. The National Institute of Standards and Technologies (NIST) does not "approve" software, it merely tests it and then publishes the results of its tests. NIST did, indeed, test Linux dd and publish the results, which included some criticism. Sewell Affidavit at 3. Like Linux dd, Safeback has also been submitted to NIST for review and its final report was published on December 13, 2002. Sewell Affidavit at 3. NIST reported criticisms of Safeback comparable to those cited for GNU/Linux routine dd. Sewell Affidavit at 3-4.2 Thus, for purposes of NIST, both Linux dd and Safeback are accurate imaging tools. With this in mind, the authentication of the four computers at issue follows.3

    More important, the manufacturers of both Safeback and Logicube engaged in extensive self-testing of their programs before marketing them. Further, both contain verification programs\functions that ensure that the image\duplicate accurately reflects the data contained on the original. Sewell Affidavit at 4-5. Finally, FBI CART has validated the use of both Safeback and Logicube during their own use of the methods on hundreds of computers. Sewell affidavit at 4-5. Both Safeback and Logicube, like Linux dd, are methods that are accepted within the forensic computer community. Sewell Affidavit at 4-5.

    Additionally, Mr. Allison writes: "Further, once the duplicate has been created, a product such as the Message Digest version 5 (MD5) or the Secure Hash Algorithm version 1 (SHA-1) should be used to confirm that the duplication process has been done properly." Allison Affidavit at 3. Mr. Allison refers to programs that generate a unique value for both the data on the original hard drive and the data on a purported duplicate of that hard drive in order to further verify the results of the duplication process. However, as set forth in detail in SSA Sewell's affidavit, both Safeback and Logicube contain self-validating programs that ensure the image or copy process generates an exact duplicate of the original. Sewell Affidavit at 4-6. Therefore, the MD5 or SHA-1 programs only provide an additional layer of verification beyond the already proven reliability of the tool itself. Sewell Affidavit at 6.

    Both defendant's and Mukkarum Ali's laptops were duplicated using the Safeback software. To eliminate any questions about authentication, the FBI employed the MD5 program suggested by Mr. Allison on both laptops. The program demonstrated that the images of both laptops provided to the defense in discovery were accurate reproductions of the originals. Sewell Affidavit at 7-10. The significance of this point is two-fold. First, there can be no question that the defense has the exact same copy of the original that the Government has, so they can conduct any further investigation on their copy that they wish. Second, the results of the MD5 program as to these two laptops further demonstrate the reliability of the Safeback program.

    Finally, standby counsel seek the BIOS (Basic Input/Output System) settings for defendant's laptop based upon the following assertion by Mr. Allison in his affidavit:
    The complete authentication information for Mr. Moussaoui's laptop is even more critical given the indication in the above documents, particularly Bates no. M-LBR-0002265, that the laptop had lost all power by the time of the government's CART examination on August 6, 2002. [Footnote omitted]. The loss of all power means that the original date and time settings cannot be retrieved, and that other settings, such as how the computer performed its boot sequence, the types of ports and peripherals enabled, and the settings regarding the hard disk and the controller, are all lost as well. All of this is essential information on how the laptop was set up.

    Allison Declaration at 3-4. As SSA Sewell makes clear in her affidavit, however, the BIOS settings for defendant's laptop were recorded at the time that it was imaged, September 11, 2001, before any loss of power. The BIOS settings are set forth in SSA Sewell's affidavit. Sewell Affidavit at 11. Therefore, no authentication issues exist as to defendant's or Mukkarum Ali's laptops.4

    Unlike the laptops, the two hard drives at the University of Oklahoma (known as "PC 11" and "PC 14") were never removed from the university and are not currently in the Government's possession. Due to the nature of the hard drives, the FBI used the Logicube hand-held disk duplicator to copy the drives and then imaged the duplicates with the Safeback program. Logicube was selected to duplicate the University of Oklahoma hard drives because of its portability. Sewell Affidavit at 3-5, 18. Like Safeback, Logicube has been verified by both its manufacturer and the FBI. Moreover, Logicube performs self-checking functions to ensure that the duplicate drive accurately reflects the contents of the original drive. Finally, although Logicube has not yet been reviewed by the NIST, hand-held disk-duplicators such as Logicube are widely accepted in the information and forensic communities. Sewell Affidavit at 5. Consequently, there can be no challenge to the authenticity of the duplicates of the University of Oklahoma hard drives.

    The Request for a Chart for the Remaining Hard Drives

    Standby counsel next seek a chart "for the approximately 140 remaining hard drives. At a minimum, the chart should include the origin/source for each drive and the significance of the drive to the case." Reply at 9.5 On November 22, 2002, the Government supplied the defense with a chart listing each hard drive produced in discovery, when it was produced, and a detailed description of its source from which the defense can assess its significance. Further, in a letter dated December 18, 2002, the Government identified the computer evidence that it believes to be relevant for this prosecution. Of course, the burden rests with the defense to determine the significance of a piece of evidence to their defense. Cf. United States v. Comosona, 848 F.2d 1110, 1115 (10 th Cir. 1988) ("The Government has no obligation to disclose possible theories of the defense to a defendant. If a statement does not contain any expressly exculpatory material, the Government need not produce that statement to the defense. To hold otherwise would impose an insuperable burden on the Government to determine what facially non-exculpatory evidence might possibly be favorable to the accused by inferential reasoning."); United States v. Nachamie, 91 F. Supp. 2d 565, 569 (S.D.N.Y. 2000) ("The clear language of Rule 16(a)(1), however, does not require the Government to identify which documents fall in each category - it only requires the production of documents responsive to any category."); United States v. Greyling, 2002 WL 424655 at *3 (S.D.N.Y. 2002) ("Fed. R. Cr. P. 16(a)(1)(C) only requires that the Government afford defendants an opportunity to inspect the documents it intends to introduce at trial. It does not require the Government to identify which documents it intends to introduce.") (emphasis in original). Therefore, this request is now moot.

    The University of Oklahoma Hard Drive

    Standby counsel next request the Court to "[o]rder the Government to confirm that the UO hard drive produced in discovery has not been contaminated and explain why the 70 GB of unused storage space on that hard drive contains material that should not be there." Reply at 9. As the affidavit of SSA Sewell makes clear, the following answers Mr. Allison's concerns about University of Oklahoma PC 11. Approximately 9.537 gigabytes of information were duplicated from PC 11's hard drive by the Logicube program onto a 40 gigabyte drive. Thereafter, all data on the Logicube 40 gigabyte drive was imaged and later restored using the Safeback program onto a 80 gigabyte hard drive, which was then turned over to the defense. The primary partition which exists on the defense 80 gigabyte duplicate hard drive accurately represents the approximately 9.529 gigabytes captured from the primary partition of PC 11 without contamination. The balance of the space on the 80 gigabyte hard drive provided to the defense contains the following:
    (1) Approximately 7.26 megabytes of data of the 9.537 gigabytes of data captured from PC 11. This information actually appeared on PC 11 outside of the primary partition and was duplicated by Logicube. Therefore, this data previously existed on the PC 11 and did not result from the imaging/duplication process;

    (2) Unused space which consists of a series of zeroes; and,

    (3) Approximately 4 megabytes of repetition of the 9.537 gigabytes of information captured from PC 11, which was created by the Logicube tool when it first began to duplicate the material contained on PC 11.6

    Sewell Affidavit at 19-20. All of this simply means that the first 9.537 gigabytes of the 80 gigabyte hard drive provided to the defense accurately contains all of the data that existed on PC 11 at the time of duplication and was not "contaminated" by any outside data.

    The Examination of Moussaoui's Laptop

    Standby counsel's fourth request questions whether the defendant's laptop was imaged before it lost power. The defendant's laptop was imaged on September 11, 2001, before the laptop lost power. Sewell Affidavit at 11. The BIOS settings for the laptop requested by standby counsel are set forth in SSA Sewell's affidavit. Sewell Affidavit at 11. Therefore, this request is now moot.

    The xdesertman@hotmail Account and Other E-Mail Accounts

    In their fifth request, standby counsel ask the Court to "[o]rder the Government to examine all of the temporary files of the computers Mr. Moussaoui used (those at UO, his laptop, and Mukkarum Ali's laptop) and determine whether information can be obtained from them concerning the xdesertman@hotmail.com account and the other email accounts listed in paragraph 33 of the Lawler Affidavit." Reply at 10. SSA Sewell's affidavit describes the unsuccessful searches of each hard drive conducted by FBI CART Field Examiner Thomas Lawler for the xdesertman@hotmail.com e-mail account as well as at least 27 variations of this account and other e-mail accounts associated with the investigation of this case. Sewell Affidavit at 15. Moreover, as previously demonstrated in the first section of this pleading addressing the authentication issues, the defense now has an exact copy of what the Government has. Therefore, there is no reason that the defense, including their computer expert, cannot conduct the same examinations of the four hard drives at issue as the Government. Consequently, this request should be denied.

    Similarly, in their sixth request, standby counsel ask the Court to order the Government to conduct an investigation at their behest when they have the same ability to conduct the investigation. The defense possesses the same subpoena power as the Government and, if they wish to serve a subpoena on Hotmail, Microsoft, or any other company, they should do so. See Fed. R. Crim. P. 17(c); 18 U.S.C. 3005. Moreover, the Group Manager for Policy Enforcement for MSN Hotmail reports that a search as suggested by Mr. Allison in his Declaration (see Allison Declaration at 6) would have no success. Sewell Affidavit at 21-22. Therefore, this request should fail.

    The Internet Provider Address for University of Oklahoma PC 11 Computer

    Next, standby counsel ask the Court to "[o]rder the Government to (A) explain the reason for the discrepancy in IP addresses for the UO PC 11 computer, (B) confirm that the UO hard drive produced to the defense in discovery (129.15.110.31) comes from the computer used by Mr. Moussaoui at the University of Oklahoma, and (C) confirm that Mr. Moussaoui did not use any other UO computer." Reply at 11. Simply put, a typographical error exists in the Lawler Affidavit submitted by the Government. The correct internet provider address for University of Oklahoma PC 11 computer is 129.15.157.31. Sewell Affidavit at 18. As discussed in the first section of this pleading regarding authentication, a duplicate of the hard drive for PC 11 has been provided to the defense. As to whether Mr. Moussaoui used any other computer at the University of Oklahoma, only the defendant definitively knows the answer. The only evidence that the Government has regarding Mr. Moussaoui's computer use at the University of Oklahoma involves PC 11 and PC 14, copies of which have been provided to the defense in discovery.

    The Kinko's in Eagan, Minnesota

    In their eighth request, standby counsel seek "more information about the procedures used by Kinko's personnel and the steps they took to clean the Kinko's system and verify that no evidence of Mr. Moussaoui's communications via Kinko's internet access still remains on the Kinko's system." Reply at 11. SSA Sewell's affidavit describes in detail the procedures used by Kinko's to overwrite ("clean") their systems. The affidavit reveals that during the month between the defendant's use of the computers at Kinko's on August 12, 2001, and September 11, 2001, Kinko's cleaned their machines at least one time and perhaps many more, since their policy was to re-image (clean) the computers weekly. Sewell Affidavit at 12. Since September 11, 2001, the computers have been re-imaged several times and Kinko's personnel adamantly state that they are unable to recover any pre-existing data from a work station hard drive after the re-imaging process. Sewell Affidavit at 13. Further supporting the inability to locate references to xdesertman@hotmail.com is the fact that FBI CART examiners searched all data related to this e-mail account on both defendant's and Mukkarum Ali's laptops as well as the University of Oklahoma computers, none of which were ever "cleansed" or overwritten, and no data was found collaborating even the existence of any such account, or its use by the defendant. Sewell Affidavit at 15-17. Thus, there is no reason to believe that a search of the Kinko's computers in Eagan, Minnesota, would recover any relevant information about the defendant's e-mail use on these computers. Sewell Affidavit at 17.7

    The "File Slack" Portions of Mukkarum Ali's Laptop

    Standby counsel next ask "the Government to confirm that the 'file slack' portions of Mukkarum Ali's computer do not contain relevant information about Mr. Moussaoui's use of the computer to send e-mails." Reply at 11. As previously stated in the first section of this pleading addressing authentication, the defense has an identical duplicate of what the Government has; therefore, they can search Mukkarum Ali's computer as they wish. Moreover, FBI Cart Examiner Thomas Lawler thoroughly reviewed Mukkarum Ali's computer, including the "file slack" portions, and found no relevant information. Sewell Affidavit at 15. Therefore, this request should be denied.

    The "Ghosting" of the University of Oklahoma Computers

    Standby counsel conclude their requests by asking "the Government to identify the procedures employed by UO personnel to 'ghost' the computer(s) allegedly used by Mr. Moussaoui and order the Government, despite the fact that it may be 'likely lost' (see Lawler Affidavit at 28), to retrieve any forensic evidence showing use of those computers by Mr. Moussaoui and what he did while using those computers." Reply at 11. Calvin Weeks, the technical security officer for the University of Oklahoma, told the FBI that the University of Oklahoma used the commercial software Norton Ghost to restore a previously recorded hard drive image. Sewell Affidavit at 21. As to the second part of standby counsel's request, the defense has in their possession a duplicate of University of Oklahoma PC 11 and PC 14; therefore, they can perform any investigation of these hard drives that the Government can. Therefore, this request should be denied.

    Conclusion

    The attached affidavit by SSA Sewell fully addresses the issues raised by standby counsel and demonstrates beyond question that the FBI properly and exhaustively examined all computer evidence in this case.

    Respectfully Submitted,

    PAUL J. McNULTY
    UNITED STATES ATTORNEY

    By: /s/

    Robert A. Spencer
    Kenneth M. Karas
    David J. Novak
    Assistant United States Attorneys

  18. Easy? I don't think so... by Subcarrier · · Score: 3, Insightful

    It's not hard at all to modify data to create any hash value that you want, especially when you're including "deleted space" in the CRC calculations...

    That kind of depends on the strength of the hash algorithm, wouldn't you say?

    --
    "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
    1. Re:Easy? I don't think so... by MeanMF · · Score: 1

      That kind of depends on the strength of the hash algorithm, wouldn't you say?

      Absolutely, which is why they shouldn't be relying on CRC32.

  19. Re:Why not a windows tool by Anonymous Coward · · Score: 1, Informative

    wrong again.

    dd if=/dev/hdax of=/dev/hdbx

    And what could be easier than using a bootCD to use dd? No need to install anything on any computer. Hell, they can just hook up their drive to the suspects computer.

  20. FBI HQ originally denied e-mail search request by michaelmalak · · Score: 4, Interesting
    See my Aug. 29, 2002 blog article FBI didn't get Moussaoui's e-mail despite having his laptop, which notes the irony that "the U.S. government is interested in the e-mail of all those in the U.S. except for alleged terrorists" and which links to an Aug. 29, 2002 Washington Post article.

    (Recall that Massaoui was already in jail before Sep. 11. These pre-Sep. 11 e-mail search requests were rebuffed, according to FBI whistleblower Colleen Rowley.)

  21. Im not the nerd I thought I was by JeanBaptiste · · Score: 1
    A detailed discussion for all 140 hard drives provided in discovery

    Mousauoiioio whatever his name is sure had a lot more computer stuff than I do...
  22. You may assume anything you wish. . . by kfg · · Score: 5, Funny

    but according to NIST, and my own experince, such is not the case. Not only is dd cheaper by thousands of dollars than the "professional" apps made to do such things, but it's often *more* effective, and almost always easier to use.

    At its heart it's just a simple copy command.

    In fact, the dd tool is so simple, and simple minded, that it would be easier to write a simple graphical front end for it than to learn the GUI of exiting Windows apps designed to do the same thing.

    I don't know quite how to break this to you, but *sometimes* language is the simpler, more powerful and more *intuitive* means of getting something across than pointing at a picture and grunting.

    Unless, of course, your intellect hasn't yet advanced to that level of sophistication.

    KFG

    1. Re:You may assume anything you wish. . . by Phil+Karn · · Score: 2
      Twenty years ago, when dd was already a decade old, hard disk drives still had hardware write protect switches. They've gotten increasingly scarce since then.

      So hey, I like Linux as much as the next guy, but I always get a little nervous when I use dd to copy a disk. I'll stare at the command for a good ten seconds before hitting "enter".

      Can you imagine being the FBI agent who has to explain how he typed dd of=/dev/hda1 if=/dev/hdc1 when he really meant dd if=/dev/hda1 of=/dev/hdc1 -- and /dev/hda just happens to be the suspect's original drive?

  23. Re:Why not a windows tool by Zemran · · Score: 2

    Great idea. dd comes as standard with Linux, do you happen to know the name of the util that comes with Windows that can do what dd can do?

    P.S. good troll :)

    --
    I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
  24. 'dd' isn't _quite_ an image by wfmcwalter · · Score: 3, Insightful
    Neglecting the STEM/SQUID recovery issues mentioned above, it's rather dissapointing to see the feds using only a generic imager like dd to image the disk, as it's not quite a full image of all the stuff on the disk.

    The contents any LBA that is in the drive's remap table (i.e. blocks that the drive electronics have previously determined either to be bad or going bad) aren't captured by dd - the drive instead sends the data payload corresponding to the LBA's remapped physical address. The bad/bad-ish block remains, and its data is quite possibly still valid (or perhaps valid but for a couple of localised errors). These blocks thus hold tiny slivers of data stored on the drive sometime in the past (the last thing written before the block went bad).

    Although this missed data represents a microscopic fraction of the total data on the disk it could, at least in theory, contain recoverable data of an evidenciary nature. The only way to see this is a drive-vendor specific low-level read - I don't know much about the other two tools the article describes, but it doesn't sound like those do that either.

    Given that there's only a handful of drive manufacturers left, and the (non-servo) parts of the firmware on their drives doesn't vary hugely between models, it really wouldn't be too hard for law-enforcement types to have proper physical-level imaging tools for any drive they're likely to encounter.

    --
    ## W.Finlay McWalter ## http://www.mcwalter.org ##
    1. Re:'dd' isn't _quite_ an image by wfmcwalter · · Score: 4, Informative
      Hey, there's something else - they're doing checksum calculation not on the disk image (/dev/hda) but on the partition image (/dev/hda1) - which means they're not entirely capturing everything that's potentially on the disk (in particular: the boot sector, the MBR, and any other partitions).

      Now, the document says the examiner determined that there was only one partition, and that he used a "a Linux Boot CD" - this implies (it's not terribly clear what that actually is) that he used linux's fdisk command (or diskdruid or something) to determine that there was indeed only one partition - by examining the current contents of the drive's partition table.

      Doing this doesn't capture any space not currently assigned to a partition - in particular, if another partition were present but was then deleted, or if the extant FAT32 partition were resized (say with partition magic).

      Infact it's rather unusual for a windows laptop to only have one FAT32 partition - many (most?) vendor-created laptops ship with a sleep-to-disk partition on the disk as well (Dell seems to always to this on windows systems).

      In a non-forensic setting, these gripes would be beyond pedantic, but given the seriousness of the crime concerned, and the alleged technical skill of the terrorist groups implicated, these omissions are not immaterial. I do hope that they're omissions only in this document and that the examiners actual procedure did properly image, checksum and examine _all_ of the disk's contents.

      --
      ## W.Finlay McWalter ## http://www.mcwalter.org ##
    2. Re:'dd' isn't _quite_ an image by GigsVT · · Score: 1

      The thing is, it's usually enough. Only in very high stakes cases will forensics require anything more than a dd image, and a reconstruction of some parts of some deleted files. It's all about cost and benefit. The chances of something critical being in a spared sector are pretty slim, and if they can get what they need from a dd image, why bother?

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    3. Re:'dd' isn't _quite_ an image by wfmcwalter · · Score: 2
      Only in very high stakes cases will forensics require anything more than a dd image

      It's tough for me to think of a case that's higher-stakes than this one.

      and if they can get what they need from a dd image, why bother?

      That's a totally egregious misstatement of proper evidence gathering - the investigator is not trying to "get what they need". Instead the investigator should capture as much information as is possible. Its for a prosecutor to cherry-pick the body of devidence in order to build their case, and for defence counsel to likewise pick out exculpatory evidence.

      Sure, in practice it's highly unlikely that a remapped LBA contains the only copy of an incriminating or exculpatory email, but given the huge stakes here it shouldn't be too much "bother".

      --
      ## W.Finlay McWalter ## http://www.mcwalter.org ##
    4. Re:'dd' isn't _quite_ an image by Anonymous Coward · · Score: 1, Informative

      It's rather unusual for a Windows laptop to have any FATxx partitions these days, thanks to NTFS. And nobody uses the old vendor-specific suspend-to-disk software any more; Windows will hibernate to a file named HIBERFIL.SYS in the root of your %SystemDrive%.

    5. Re:'dd' isn't _quite_ an image by GigsVT · · Score: 1

      How do you propose they get the whole image then, without spending half a million dollars or more on it?

      The only way I can think of is to transplant the platters in a clean room to a controller that can be told to ignore read errors and also read all the spare sectors on each cylinder.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  25. Eraser is the best for windows by Anonymous Coward · · Score: 1, Informative

    shell integration
    uses Guttmann's method
    http://www.usenix.org/publications/library /proceed ings/sec96/full_papers/gutmann/
    can also do free disk space
    I think there is also a dos version you can use with a boot disk which would be better.

    Don't waste your time with other crap like bcwipe or the one that came with your system utility software.
    Besides running your disks through a grinder, this is the best deletion software available commerical or not. There are no "better" proprieatary software methods and anything you would pay for is a waste. Either use this set to Guttmann, or physcially destroy the disk.

    Realize that no software is 100%, especially if the agency wants your info back enough, but this software is the best if your not going to destroy your disk(again destroying is preferred).

    1. Re:Eraser is the best for windows by po8 · · Score: 3, Informative

      At the current state of the art, your best bet is to buy a new disk, and make sure that you never put any unencrypted bits on it: use a cryptographic filesystem such as CFS, and make sure your swap is encrypted also. As Gutmann notes, you may also want to take measures to make sure that sensitive data doesn't sit in RAM too long (!).

      Once data is in clear on disk, there's really no way to be sure it's gone except to physically destroy the platter.

  26. Re:So does this mean... by VB · · Score: 2


    It doesn't mean anything if you don't read the affidavit. Linux dd was used (is used) as one of 3 methods by the FBI CART to image disks during discovery. That's all it means.

    Linux is made in America and other places, too.

    --
    www.dedserius.com
    VB != VisualBasic
  27. More info at Cryptome by Alien54 · · Score: 3, Informative
    Cryptome has, on it's front page, details on what the FBI is up against. Just scroll down a bit.
    • The Eagan, Minnesota Kinkos Computers

      19. The Initial September 2001 Inquiry at the Eagan, MN Kinkos: On October 17, 2002, I spoke with Minneapolis FBI Special Agent David Rapp. At that time, SA Rapp told me that, to the best of SA Rapps unrefreshed recollection, on or about September 19, 2001, SA Rapp went to the Kinkos store in Eagan, Minnesota, to inquire about a receipt found on the person of Zacarias Moussaoui at the time of his arrest. At that time, SA Rapp met with a person who represented himself as a Kinkos employee responsible for managing and maintaining customer computer workstations. At that time, the Kinkos employee informed SA Rapp, in substance, as follows:

      (A) The Kinkos receipt did indicate that a computer workstation had been utilized;

      (B) It could not be determined from the copy of the Moussaoui receipt alone which computer workstation was used;

      (C) In response to SA Rapps inquiry about the possibility of acquiring any information from the computer workstations regarding the use of the computers by Moussaoui, the Kinkos employee stated that, since the date of the receipt, all computers had been wiped clean/formatted and started with a fresh install; and,

      (D) The computer workstations were generally wiped weekly or bi-weekly approximately, even though Kinkos policy called for weekly wipings. At a minimum, the Eagan Kinkos store wiped the computers at least once per month.

      [....]

      21. Eagan Follow-up: On October 11, 2002, I requested that the Minneapolis FBI Field Office contact Kinkos personnel at the Eagan store and determine if, as alleged by the defense, the Kinkos computer could still maintain evidence of defendant Zacarias Moussaouis use from August 2001. On or about October 15, 2002, Special Agents Brendan Hansen and Christopher Lester visited the Eagan Kinkos and interviewed Brian Fay, who, as of August 11, 2001, was one of two Kinkos employees who knew how to restore an image onto the six computers with internet access designated for customer use. Mr. Fay stated that the six computers presently at the store are the same computers (with the same hard drives) that were present in August of 2001. These six computers are leased and scheduled to be replaced at the end of this year.

      The computers are maintained by formatting the computers hard drives and reloading an image using Norton Ghost whenever business is slow and time allows. There are no logs recording the dates or frequency of loading images on to the computers and Fay could not estimate how frequently they were imaged. Although Fay was not personally familiar with the exact details of the formatting and imaging process he administers to the computers, Fay had been advised by Kinkos that the formatting and restoration process destroyed all files associated with previous users.

    This would be rather thorough, it seems.

    ouch

    --
    "It is a greater offense to steal men's labor, than their clothes"
  28. shred obsolescence by radon28 · · Score: 3, Informative

    the shred utility will only work on non-log structured and non-journaling filesystems, i.e. ext2, but not ext3, jfs, reiserfs, etc. see: "man 1 shred" for more info.

    1. Re:shred obsolescence by ahi · · Score: 3, Informative

      Nor will wipe, according to the author's page. In fact, no user-space utility can.

      --
      This is NOT an empty signature.
    2. Re:shred obsolescence by aardvarkjoe · · Score: 3, Informative

      If you're using ext3, you could always remount it as ext2 in order to run shred. Not practical to do it for each deletion, but if you only want to shred the occasional file, it's an option. (I don't know if there's a way to do something similar for other journaled filesystems.)

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
  29. Re:Ohhh, ohhhh.... by metatruk · · Score: 2

    Not only was the word "Linux" mentioned, but so were the words "computer evidence," and "court."
    Hey, this is Slashdot. News for Nerds. Stuff that matters.
    A lot of us are interested in things such as Linux and computer security. I found this document to be an interesting read, and I am glad it was posted on Slashdot.

  30. RIAA Math by Cyno01 · · Score: 2

    He probably just had one or two drives, but they were really big, so they were the equivalent of 140 drives.

    --
    "Sic Semper Tyrannosaurus Rex."
  31. Re:Why not a windows tool by g4dget · · Score: 3, Insightful
    it amazes me that they used linux as I assume that there must be easier tools under windows that do the same?

    Well, that is primarily indicative of your ignorance of Linux and your willingness to buy into Microsoft propaganda.

    i mean it must be easier to find the tool under windows thebn setup a linux machine

    There is nothing to set up. Linux can boot and run from CD, with all software installed (check for DemonLinux and Knoppix, for example). That's one of the many reasons Linux is so good at this sort of thing.

    How easy is it?

    • Connect drive you want to copy to to the disk controller or USB port, or plug in Ethernet card.
    • Insert bootable Linux CD and boot from CD.
    • If you just want to mirror the drive, type something like "dd if=/dev/hda of=/dev/hdb".
    • To mirror it over the network, type something like "pump; cat /dev/hda | ssh me@host cat \> image".
    I mean, how much easier can it get?

    For forensic applications, you might want to make sure that you hardware write-protect the source drive first, just to avoid accidents.

    These people know what they are doing and how to reduce their workload. That is why they are using Linux.

  32. Privacy irony & national security by MacAndrew · · Score: 4, Interesting
    Note that the FBI, charged by so many with violating people's privacy in every way imaginable, here dropped the ball by bring too cautious about someone's privacy.

    You can't win -- bungling cuts both ways.

    Anyone wonder why the heck the Minnesota FBI office went to Washington for a piddly search warrant, instead of their friendly local court? Because this was not an ordinary warrant, but a national security warrant designed to investigate suspected terrorists who might not have committed any crime to provide probable cause for a regular warrant. (You know, like Minority Report. OK, it's not that bad. :)

    It will be interesting to see who gets blamed once all of the finger-pointing is over.

    From NYT by James Risen*:
    According to Ms. Rowley's letter and other bureau officials, the Minneapolis field office believed that the French report on Mr. Moussaoui provided enough troubling information about his ties to Islamic extremism to go to court to obtain a search warrant under the federal law that allows the government to carry out searches and surveillance in espionage and terrorism cases. Under the statute, investigators do not have to show that a subject committed a crime, only that they have reason to believe the suspect is engaged in terrorist activity or espionage on behalf of a foreign power or a terrorist organization.

    * Another little note -- James Risen with Jeff Gerth were the NYT reporters blamed with stoking the fire over Wen Ho Lee debacle. Of course, lots of people were blamed -- sound familiar?
    1. Re:Privacy irony & national security by nathanm · · Score: 2
      Anyone wonder why the heck the Minnesota FBI office went to Washington for a piddly search warrant, instead of their friendly local court? Because this was not an ordinary warrant, but a national security warrant designed to investigate suspected terrorists who might not have committed any crime to provide probable cause for a regular warrant.
      I think you answered your own question pretty well. I live in Minneapolis, and I doubt the local district court has the facilities for classified proceedings involving national security issues. Just the fact they had to check with French intelligence agencies was probably enough to warrant (no pun intended) going to Washington with the case.
    2. Re:Privacy irony & national security by MacAndrew · · Score: 2

      Well, it was a rhetorical question. :)

      Applications for this special warrant are only granted by a special "secret" court that sits in Washington, per the Foreign Intelligence Surveillance Act, and apparently the FBI central office has veto authority.

  33. Re:Why not a windows tool by radon28 · · Score: 1

    the fbi typically (and rightfully so) makes a habit of not trusting the suspect's own hardware. who knows what lengths people will go to to make sure their data is safe?

  34. ". . . lawyers will argue over anything. " by kfg · · Score: 2, Funny

    Well duh. That's their *job.*

    KFG

  35. Re:Why not a windows tool by Gekko · · Score: 2

    While I know you are trolling I will bit anyway.

    Not only is dd on various *nixes, bsd's, etc, it is also available on windows. It is called cygwin, and it has dd also.

    --
    I mod down any one who says "I'm sure I will get modded down for this"
  36. Re:Why not a windows tool by bloxnet · · Score: 1

    I am very suprised that more forensic investigators and the companies the create forensics software do not use Linux as a primary workstation solution. Windows simply does not have the ability to handle so many different file systems types, etc as compared to Linux (or BSD, etc, etc.. I go with Linux because I think it is a happy medium for a Unix evironment). I mean, with my forensics workstation, Linux allows me to pretty much mount and work with any filesystem type in use, yet I have to swap OS drives and reboot to use most of the commerical forensics tools. Getting Windows to read other filesystems is not that simple, there are occasional bit pieces like explore2fs and the like, but handling non-Windows based files and file systems is not as simplistic as can be arranged on a Linux workstation with a very flexible kernel. As for all of the people mocking your question...that seems silly. What I have yet to try though is using a tool like rawwrite on windows to try and make or copy images. I'll admit so far I am lazy and have not worked with it yet since I have so much of the functionality I need already, but I would imagine getting DD itself (if rawwrite is not an option) to work on Windows (outside of a Cygwin type option) would not be too hard.

  37. IP = Internet Provider, according to F B I by Anonymous Coward · · Score: 1, Funny

    R O T F L!

    [Start Quote]--

    The Internet Provider Address for University of Oklahoma PC 11 Computer

    Next, standby counsel ask the Court to "[o]rder the Government to (A) explain the reason for the discrepancy in IP addresses for the UO PC 11 computer, (B) confirm that the UO hard drive produced to the defense in discovery (129.15.110.31) comes from the computer used by Mr. Moussaoui at the University of Oklahoma, and (C) confirm that Mr. Moussaoui did not use any other UO computer." Reply at 11. Simply put, a typographical error exists in the Lawler Affidavit submitted by the Government. The correct internet provider address for University of Oklahoma PC 11 computer is 129.15.157.31.

    --[End Quote]

    I don't know whether to laugh or cry that the security of our nation is in the hands of these FBI "experts". :(

  38. How is wipe overkill? by Anonymous Coward · · Score: 1, Interesting

    3 passes of an encrypted system may be enough for the lowgrade programs you listed, but for realworld, aka non-encrypted systems which 99% of us use, 3 wipes is not enough.

    You need something like eraser combined with a dos boot disk or the target drive set as a slave to do anything useful.

    I'll post the link if I can find it soon, but I've seen cases of deleted data being recovered after 24 passes of "wiping" programs.

    Bottom line like you mentioned is for serious software deletion you need to start with encryption on a virgin disk, and then do multipass guttmann wipes. Even then who knows? Destruction is still the only real method.

    1. Re:How is wipe overkill? by ion++ · · Score: 3, Informative

      someone already made that for you.

      The dude is in our local lug, http://www.sslug.dk/ and his name is Ole "perl" Tange.

      You can get the program here
      http://www.linux-kurser.dk/secure_harddisk_e raser. html

  39. Moussaoui is the exception that proves the rule by michaelmalak · · Score: 3, Insightful
    It is universally agreed that privacy and security are in conflict with each other and must be balanced. But this is a case where a warrant was sought for an individual based on a reasonable suspicion. Contrast this with Carnivore and Total Information Awareness, which are warrantless fishing expeditions of entire populations. I'm a staunch privacy advocate, yet advocate reasonable searches of a very small number of suspected terrorists.

    You say that the FBI was "too cautious" -- do you have any evidence that that was the motive?

    I see no irony in being a privacy advocate while decrying FBI supervisors for denying the request to search Moussaoui's e-mail.

    P.S. In another related story, the FBI supervisor who thwarted Rowley's investigation recently got a big cash bonus.

  40. That seems pretty low tech by defile · · Score: 3, Interesting

    Given the weight of the issue and the evidence that could be contained on the disks therein, and given that the US government has an unlimited budget whenever anyone says "terrorism", why they went with dd (or the equivalent ) to copy a disk is beyond me.

    I've seen doughnut shops have their hard disks worked on with more advanced technology.

    Shouldn't they have taken the hard disk to a clean room, removed the platters from the disk and painstaking recorded every nanometer of them? I wouldn't trust a suspect's hard disk to make a copy of itself.

    1. Re:That seems pretty low tech by conway · · Score: 1
      It didn't make a copy of itself.
      If you read the report, it says that they booted off a boot disk, then copied.

      (There was even something about a Linux bootable CD! That should have been made into a seperate ./ headline!!! :)

  41. Re:Moussaoui was a goof by MacAndrew · · Score: 2

    I don't of course know whether they would have gotten the warrant had they been allowed to present the case to the intelligence court. Hindsight is always distorting. But the reason cited by the central office was concern they might not get it, and I think up to now they've gotten just about everything they asked for and are worried about wearing out their welcome.

    This will all be easier to judge once the 9/11 commission issues its report. What? There's no 9/11 commission? But it's been more thann a year! How could that be? (shock, outrage) My point is that the facts are there for the taking but a certain administration is actively resisting unearthing them. Not a conspiracy, just politics as usual.

    Irony -- I meant it is ironic they didn't search when they should have, whereas elsewhere they have searched where they should not.

  42. Re:Hotmail and Privacy in this article: by MacAndrew · · Score: 1

    Are you sure your library wipes its disks? :) Good policy, though.

    I was pretty alarmed at the pathetic effort of the Starr inquiry to get the lists of who bought what at a local bookstore here in Washington, named Politics & Prose. The store resisted divulging Lewinsky's purchases; I don't recall the outcome.

  43. kazaa and SHA-1/MD5 by TotallyAmazed · · Score: 1
    I want to create a 'trustworthy' p2p network wherein files aren't shared unless a CRC/SHA-1/MD5 is supplied with it.
    The primary use would help reduce p2p spread viruses. Thwarting MPAA & 1d10t file spoofing is a totally unintended, incidental side effect.

    Then if you wanted Christy Canyon's latest dance video You don't have to download a 675 mb file called 'Zoolander.avi', or even worse:

    Christy Canyon's best big xxxxxx &&& puppies warez software games adult pr0n new awesome!!!!.avi

    and find out it's goatse.cx's latest video! Matching could be [optionally] done with the (MD5), allowing you to simultaneously download from n+ users who have n+ different filenames! Tack on some type of voting system i.e. This file [x]IS/ []AIN'T what I wanted! --and voila!

    *bows head* or am I just another dumbass?

  44. And in completely unrelated news... by Kjella · · Score: 3, Interesting

    ...encrypting stuff in the first place using Bestcrypt / PGPdisk / whatever would make the entire wiping/recovery discussion (-1, Redundant) when it comes to collecting evidence.

    Kjella

    --
    Live today, because you never know what tomorrow brings
    1. Re:And in completely unrelated news... by MoralHazard · · Score: 1

      Um, have you ever heard of "contempt of court"? I'm not sure about other places, but in the US, the first thing that will happen when the cops see encrypted files is that the judge will order you to turn over your keys. If you fail to comply, or even if you "forget" them conveniently, the judge will most likely throw your ass in jail until you "remember" the passphrase. Now, if you turn over the keys in the beginning like a good boy, you MIGHT go to jail, if your lawyer isn't up to it. If you don't turn them over, you WILL go to jail, RIGHT NOW, and you will stay there until you change your mind.

      And if you persist until after the trial is over, count on an obstruction of justice charge. I've seen people go away for five years for that.

      So, tell me again, how does encrption protect you, again?

      Oh, and how about Nicky Scarfo, the bookie in Jersey? He used PGP, and so the FBI installed a keystroke logger that grabbed his passphrase.

      Wasn't it Bruce Schneier who said recently that ordinary people using strong crypto is like using an armored car to transport a message from a man sleeping on a park bench to a man living in a cardboard box?

    2. Re:And in completely unrelated news... by scrod · · Score: 1

      Wasn't it Bruce Schneier who said recently that ordinary people using strong crypto is like using an armored car to transport a message from a man sleeping on a park bench to a man living in a cardboard box?

      It was Eugene Spafford from Purdue who said that.
    3. Re:And in completely unrelated news... by zentex · · Score: 1

      IANAL either but I used to work with them.

      that is not self-incrimination, and as MoralHazard wrote; the judge *will* order you to turn them over and if you dont, you *will* sit in jail until you do.

      --
      Appended to the end of comments you post. 120 chars.
    4. Re:And in completely unrelated news... by MoralHazard · · Score: 1

      Right, thanks. I read the quote in the article ABOUT Schneier.

  45. Re:BTW that article doesn't show anything by bloxnet · · Score: 1

    Look at the conclusion. They could *not* recover the files, but there were other elements that EnCase could find and use. Lokk at the "Results" information right above Conclusions and Recommendations. Specifically states that the files were deleted, although a lot of MFT information, points previosly marked as deleted, and file slack, registry, pagefile, and shortcuts for files were still in place. The main point is that EFS does kind of suck compared to the levels of dread it provided, but it does wipe the data past the point of standard recovery. Even the conclusion of that whitepaper says that the tool is hard to use, takes a good chunk of time, and does not cover artifacts left outside of the blocks/clusters themselves. EnCase was not able to grab the actually scrubbed files, they just found a bunch of other items and remnants the scrubber missed...so again, 3 passes was all that took. Also, in response to your previous post about my comment. The levels of wiping you are talking about are way outside of the standard users realm of expertise to implement, and quite honestly the "recovering data after 24 wipes" stuff is still the stuff of government investigations. The reality is that nobody knows the exact methodology or techniques being used on that high a level, who knows what an electron microscope and a huge amount of time can find regardless of the overwrites? Basically, 3+ wipes and most of your non-higher-government (i.e. - public sector, law enforcement) forensics efforts are going to be foiled.

  46. Misconceptions about data forensics by MoralHazard · · Score: 5, Informative

    Call this off-topic if you must, but I've seen gazillions of posts in this and many other threads about forensics and data recovery that are terribly misinformed about the realities of the field. Here's the two cents of a real, live forensic examiner:

    First, it is NOT realistically possible to recover data that has been overwritten ONE time. Yes, yes--I've read all the white papers on magnetic force microscopy (MFM) and I understand that a theory exists about recovery of overwritten data. In practice, nobody actually does it. Maybe one time, six years ago, some dude at NASA or MIT actually made this work conditions on an older disk with a lower bit density, but anyone telling you that old patterns can be read in the real world is full of shit. And yes, it's been tried. Millions have been spent on this, and nobody can do it. Anybody selling you software that claims under laboratory to be "more secure" because it overwrites more than once is being silly. It's not even paranoia, just lacking a clue.

    That's why forensic examiners don't need to have the original media. In fact, one of the big tenets of the job is to never, ever, ever perform analysis on the originals. You make a bitstream copy of the perp's (excuse me, "client's") disk, and you work with that.

    Oh, and electron microscopes have nothing to do with this theorized recovery process. MFM is a related but very different technology.

    Second, Linux versus Windows versus LogicCube versus ImageMasster (another brand) is utterly beside the point. Forensic shops use what they find to be cost effective, fast, and convenient. The dd command is great, and all, and many examiners use it on Linux platforms for their disk imaging needs, but it's not an analytical tool.

    Let me put it this way: do you actually think that a forensic examiner sits down, opens /dev/hdX in vi, and starts paging through 5 GB or hex? Oh, god, no--that would take years. Making the bitstream image is the easy part, and your choices are virtually unlimited. For the actual analysis (what does it MEAN), you need something that can examine an allocation table, interpret the results, and display the contents in an easy-to-understand format. You need software that can quickly search across a drive for a particular keyword, regular expression, or file signature. You need something that can analyze data for randomness in order to re-assemble images that have been chunked out across virtual memory. Linux does NOT have basic utilities for all of this, and neither does Windows.

    Last, a good forensic examiner is less constrained by his/her knowledge of computers than by his/her investigative skills. I know more about operating systems, file allocation, and troubleshooting than any of the 30-50 year old former cops/feds/spooks that I work with, but they're capable of far more effective work than I am. Why? Because once you have a few basic computer operations taken care of, the work has as much to do with computers as Computer Science does.

    The folks that put the child pornographers, embezzlers, script kiddies, and the rest of the computer criminals in jail generally know much, much less than you about computers, Slashdotters. They also don't give a rat's ass about Linux, Windows, Bill Gates, RMS, or any of it.

    1. Re:Misconceptions about data forensics by Zeinfeld · · Score: 4, Informative
      Call this off-topic if you must, but I've seen gazillions of posts in this and many other threads about forensics and data recovery that are terribly misinformed about the realities of the field. Here's the two cents of a real, live forensic examiner:

      One reason why security software is overdesigned is that it has to deal with improvements in technology. To take your point about older low density drives, any drive more than five years old falls into that category.

      The other reason is that forensics rarely deals with information that is deliberately concealled and the fact that information that may become available in 10 or 20 years time is rarely relevant. This is not the case with intelligence where the activities of ten or even twenty years ago might be of major interest.

      The folks that put the child pornographers, embezzlers, script kiddies, and the rest of the computer criminals in jail generally know much, much less than you about computers, Slashdotters. They also don't give a rat's ass about Linux, Windows, Bill Gates, RMS, or any of it.

      Probably right there, but they are not the main customer for the technology we provide and even if they do buy it, it is not that likely to do them a major amount of good. The main customers for computer security are commercial interests, banks and major corporations. There are many documented instances of national security organizations being used for commercial espionage, the French openly boast about it. The people who commit major wire fraud are typically well funded and backed by significant organized crime, at the moment the Russian mafia are the main players.

      There arn't that many investigations into that type of crime because it is amazingly rare. But the level of attack is very sophisticated and very real.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    2. Re:Misconceptions about data forensics by MoralHazard · · Score: 3, Insightful

      Okay, I'll bite. I did make a disparaging comment about an entire line of software products, so I'll do what I can to back it up. I stand by my assertion that recovery of wiped data is snake oil, and here's why.

      The most often cited source of opinions on MFM-related data recovery techniques is a paper from 1996 entitled "Secure Deletion of Data from Magnetic and Solid-State Memory", by Peter Gutmann. It's pretty readable if you have a good grounding in physics and hard drive operation, so I'd recommend checking it out:

      http://www.usenix.org/publications/library/proce ed ings/sec96/gutmann.html

      Notice, though, that Gutmann isn't the actual first-person researcher. His paper is a compilation of data gleaned from other sources. I spent six weeks tracking down (among other things) his bibliography, and found out that MFM techniques had been used in laboratory tests to recover overwritten data, in the early 1990s. These tests were not field-usable. It amounted to "write a regular pattern on the disk, overwrite it with another regular pattern, and look for evidence of the first pattern." Furthermore, these papers all referred to disks which had been manufactured about 10 years ago.

      I'll bet that someone HAS used this to a practical effect, somewhere, but just try finding out who, where, and (most importantly) how. There are no commercial vendors of this kind of technology--just try calling up OnTrack, or any of their competitors, and you'll hear the same thing. Desperate people in lawsuits and other dire straits have thrown millions of dollars down this hole (and that's just in the last few years, that I'm aware of), and gotten nothing for it.

      To hear Gutmann describe it, though, any halfway competent lab technician could make this process work. Where are the papers describing those operations, done on actual post-1993 hard drives, describing their methodologies?

      I personally watched a not-so-reputable data recovery firm tell a judge and some attorneys that they could recover single-pass deleted data if they had $750,000 in R&D and six months. They came up empty handed.

      This kind of data recovery is PIXIE DUST. It's an urban legend of the tech industry, one that everybody knows is true but nobody can ever prove.

      Can I prove to you that some spook lab buried ten miles beneath Ft. Meade, MD hasn't done this, and isn't buying computers thrown out by French businesses and reading every old secret? No, I can't, I don't work for the government and don't plan to start. But last I checked, it wasn't considered good logic to require absolute proof of a negation, when no proof has been shown of the posited statement.

      So, sure. You can MAYBE read data from pre-1993 hard drives, and maybe in 10 years the examination technology will have advanced enough to read today's drives (if hard drive technology stands perfectly still, eh?). The only people who need protection, then, are folks whose adversaries are incredibly wealthy AND willing to spend gobs of money on getting to them, and who would still be harmed if their ten-year old data is read.

      This does not include businesses--who cares what your business plan was ten years ago? This does not include common criminals--the government won't spend millions of dollars just to recover one piece of evidence. This certainly does not include you and I.

      This include ONE type of entity: sovereign governments. Are you selling your disk wiping utilities to governments, or to businesses and consumers?

    3. Re:Misconceptions about data forensics by Zeinfeld · · Score: 2
      Can I prove to you that some spook lab buried ten miles beneath Ft. Meade, MD hasn't done this, and isn't buying computers thrown out by French businesses and reading every old secret? No, I can't, I don't work for the government and don't plan to start. But last I checked, it wasn't considered good logic to require absolute proof of a negation, when no proof has been shown of the posited statement.

      That is why you will stay on the recovery side while most people who want real security will go to people who think like I do and cover cases that are at the edge of the possible.

      In fact the data wipe programs are pretty useless but for a completely different reason, the wipe procedure can't work unless it is used before the disk is scrapped. The only reliable way to secure data is to use encryption. It is quite practical to completely wipe crypto keys from memory.

      This include ONE type of entity: sovereign governments. Are you selling your disk wiping utilities to governments, or to businesses and consumers?

      Both.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    4. Re:Misconceptions about data forensics by ch-chuck · · Score: 2

      it is NOT realistically possible to recover data that has been overwritten ONE time

      It is the usual practice of law enforcement and goverments to instill a sense of superpowers in their abilities, just to keep people in line. Computer crime fighters might not be able to recover overwritten data, but they don't at all mind that you think they can, and probably won't correct anybody's misconception about it. It's part of their "if you commit a crime, we'll always get you!" hubris. As long as most people think that even deleted & overwritten data can be retrieved, they'll be less inclined to wrongdoing.

      That is, they WANT you to think the big bro' is always watching ;))

      --
      try { do() || do_not(); } catch (JediException err) { yoda(err); }
    5. Re:Misconceptions about data forensics by YetAnotherDave · · Score: 1
      So, sure. You can MAYBE read data from pre-1993 hard drives, and maybe in 10 years the examination technology will have advanced enough to read today's drives (if hard drive technology stands perfectly still, eh?). The only people who need protection, then, are folks whose adversaries are incredibly wealthy AND willing to spend gobs of money on getting to them, and who would still be harmed if their ten-year old data is read.

      um, the way I read this, you just negated your own argument. If it will EVER be possible for your data to be read after 'deletion' (and if its being read would bother you) then you should take stronger measures to delete it. Do you pick the size of keys for PGP et al based on current technology or projected future technology?

      If the data will only matter for the next month, it may not be an issue, but if it will matter in a long-term way you should plan for long-term solutions...

  47. Re:Hotmail and Privacy in this article: by arkanes · · Score: 2

    Well, it's not like privacy policies are legally binding or anything, either. You can promise all the privacy you want but be lying through your teeth.

  48. this is amazing! by zentex · · Score: 1

    I never knew that the majority of /. has had a job in computer forensics.

    Seriously, from the mod'd up posts I just read you'd swear that everyone has a job doing computer forensics.

    *amazing*

    There is nothing new here (to me at least) about the contents of this story- it's like "oh, CF shit...whatever"

    just cause you *think* you know everything, doesn't mean you *do* know it. (and no, I don't know it all). Ya'll kinda remind me of paper-msce's :-)

    ...and yes my last job was doing computer forensics.

    --
    Appended to the end of comments you post. 120 chars.
    1. Re:this is amazing! by MoralHazard · · Score: 1

      Here, here. Now I know how all the real sysadmins, network engineers, and programmers feel when they read Slashdot.

  49. No, it's not by adb · · Score: 2
    It is universally agreed that privacy and security are in conflict with each other and must be balanced.

    My own personal security is not enhanced in the least by an organization representing millions of heavily armed enforcers watching my every move. Quite the opposite, really: if I do something that gets on the nerves of some frustrated jerk in the Department of Ugly Euphemisms, he can most likely direct some men with guns to emphatically worsen the state of my world.

    Government needs reasonable resource allocation first (I know, let's let murderers out early so we have more room to imprison pot smokers!), greater competence second, and maybe, just maybe, more investigative power last.

    1. Re:No, it's not by JohnFluxx · · Score: 2

      My own personal security IS enhanced by ...enforcers watching YOUR every move. It decreases the number of people that might kill me by one.

  50. Uh, September 11? by netik · · Score: 3, Interesting
    Aside from the fact that 1) the slashdot editor is stupid, and 2) Just because it says linux doesn't warrant a story, this bit caught my eye:


    The Examination of Moussaoui's Laptop

    Standby counsel's fourth request questions whether the defendant's laptop was imaged before it lost power. The defendant's laptop was imaged on September 11, 2001, before the laptop lost power. Sewell Affidavit at 11. The BIOS settings for the laptop requested by standby counsel are set forth in SSA Sewell's affidavit. Sewell Affidavit at 11. Therefore, this request is now moot.


    Ask your self: How the hell did they know to image his laptop on September 11th? This means they already knew he was part of the attack, and they were already on to him. Funny how we, the people, were never warned.
    1. Re:Uh, September 11? by sheldon · · Score: 3, Informative

      Ask your self: How the hell did they know to image his laptop on September 11th? This means they already knew he was part of the attack, and they were already on to him. Funny how we, the people, were never warned.

      Have you been living in a Cave for the past year?

      You've never heard of Moussaoui?

    2. Re:Uh, September 11? by istartedi · · Score: 2

      For more background, see this. It's an opinion piece, but the facts in the case are indisputable. Long story short, they had good cause to search his PC before 9/11, but judges brainwashed by that other "PC" wouldn't allow it. The FBI was like "lemme, Lemme, LEMME" and then when 3000 people got killed the judge finally said "OK".

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    3. Re:Uh, September 11? by chunkwhite86 · · Score: 2

      What kind of a Moron are you??? Moussaoui was already in custody on unrelated (immigration) charges in August - the month BEFORE the attack.

      He was just another illegal alien at the time - I'm sure he didn't come out and tell them "Oh, BTW I'm a terrorist". It wasn't until Sept 11th that the FBI and CIA took interest in him, and of course they already had his possessions (including said laptop) confiscated by then.

      Do a bit of homework before posting, will ya?

      --
      I'd rather be a conservative nutjob than a liberal with no nuts and no job.
    4. Re:Uh, September 11? by istartedi · · Score: 1

      OK, before somebody else corrects me, it was agents in a Minessota field office that wanted the warrant, and higher-ups within the FBI that denied it.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    5. Re:Uh, September 11? by Trolling4Dollars · · Score: 1

      Rush Limbaugh - Excellence in being a fat lying pusball. That turd wouldn't know the truth if it bit him on his boil infested squishy ass. Give us a break and stop being a "ditto-head". The only thing that moniker equates to is "Me too!". Stupid sheeple.

    6. Re:Uh, September 11? by chunkwhite86 · · Score: 1

      Perhaps some day you will see the light and realize that this great man works to expose the lies and half-truths of ineffectual limp-dick liberals everywhere.

      Until then, piss off.

      --
      I'd rather be a conservative nutjob than a liberal with no nuts and no job.
    7. Re:Uh, September 11? by chunkwhite86 · · Score: 1

      Wassup, TROLL!

      Did I mention... your now an uber troll? hahahahaha

      --
      I'd rather be a conservative nutjob than a liberal with no nuts and no job.
    8. Re:Uh, September 11? by sheldon · · Score: 2

      Actually Rush Limbaugh tends to spread more lies and half-truths than any limp-dick liberal on the planet earth.

      But in order to realize that you need to go to the effort of confirming statements made by Limbaugh, and most people who listen to the show are too lazy to know how to think for themselves.

    9. Re:Uh, September 11? by Trolling4Dollars · · Score: 1

      Hey... you know what? Fuck you! I don't care who mods me down or how many times fucker. I have another account with more karma than you'll ever see. And I say the same things with it, so you can't keep me down. Go fuck your mom, I got her ready for you last night.

  51. Re:Why not a windows tool by Jack+Porter · · Score: 1

    So what do you use for /dev/hda and /dev/hdb when running dd under Windows?

  52. You don't. . . by kfg · · Score: 1

    get out much, do you?

    KFG

  53. Re:Secure File Deletion aka DeathStar by Anonymous Coward · · Score: 1, Funny

    I have a deathstar:- it ensures that you can't get your files back even if you wanted to after a random amount of time!! :P

  54. Block size limitation in dd noted by Krellan · · Score: 3, Informative

    I read the NIST document and noticed they mentioned a limitation of dd.

    When copying, dd only copies entire blocks. If there is an incomplete block of information remaining at the end of the disk, for example, dd will not copy that last block at all.

    Since dd defaults to a block size of 1024 bytes, and PC hard drives use a sector size of 512 bytes, this could happen. In this case, dd will not copy the final sector of the hard disk, as it is an incomplete block.

    Because of a stupid decision made decades ago, traditional PC hard disk addressing uses 63 sectors per track, not 64. Therefore, odd total numbers of sectors are common. Modern addressing does away with CHS and just numbers all sectors from 0 to the end of the disk (many millions, in most cases). Still, because of the legacy of having 63 sectors per track, many disks have an odd total number of sectors.

    It would be nice if dd had an option to correctly copy a partial block at the end of the source. If there is an incomplete block, it should simply copy one byte at a time until there are no more bytes to copy.

    This would be easy to add to dd. Has it been done already? If so, it should be documented. Making it the default behaviour might break existing applications, so have it as an option that is highly recommended.

    1. Re:Block size limitation in dd noted by Anonymous Coward · · Score: 1, Informative

      > Since dd defaults to a block size of 1024 bytes,

      Historically, a block is 512 bytes, and that's certainly the case for my copy of dd (RH6.2):

      $ dd if=/dev/zero of=foo count=1
      1+0 records in
      1+0 records out
      [glynn@cerise glynn]$ ls -l foo
      -rw-r--r-- 1 glynn root 512 Jan 2 00:51 foo

      AFAIK, the "odd number of sectors" issue is due to the Linux block layer, not "dd"; the final sector simply isn't visible to user-space by any means.

    2. Re:Block size limitation in dd noted by delta407 · · Score: 4, Interesting
      (-1, Wrong)

      dd does copy incomplete blocks. Try this:
      $ dd if=/dev/random of=test bs=1 count=1023
      1023+0 records in
      1023+0 records out

      $ dd if=test of=test2 bs=512
      1+1 records in
      1+1 records out

      $ ls -l test2
      -rw-r--r-- 1 delta407 delta407 1023 Jan 1 22:50 test2
      See that? We created a 1023-byte file (test), and then dd'ed it to test2 with a block size of 512. Guess what? dd copied the file in its entirety, even though it didn't line up on a block boundary.
    3. Re:Block size limitation in dd noted by LuckyJ · · Score: 1

      This issue was horribly misunderstood by most of the community. It has nothing to to with DD (as foks pointed out) and everything to do with the Linux kernel. Try DD under *BSD and there is no problem.

      And, ahem, what's 63*2? 126? 126 is even. Most drives have an even number of heads and cylinders, so most drives do NOT have an odd number of sectors.

    4. Re:Block size limitation in dd noted by LuckyJ · · Score: 1

      I'm pretty sure sector numbering starts with 1, unless you're talking LBA which I think does start with 0. Strangely enough, cylinder and head numbering DOES start with 0.....

    5. Re:Block size limitation in dd noted by Krellan · · Score: 2

      Yes, that's exactly the bad decision that was made back then. Sectors are numbered starting with 1, but cylinders and heads are numbered starting with 0! Bizarre.

      If it's truly a bug in Linux itself, instead of a bug in dd, then it should be even easier to fix. I hope this gets fixed in 2.5!

  55. Re:Why not a windows tool by Gekko · · Score: 2

    /cydrive/c /cygdrive/d

    --
    I mod down any one who says "I'm sure I will get modded down for this"
  56. No block size limitation in dd by jahalme · · Score: 1

    From the dd(1) man page in GNU fileutils 4.1:

    bs=BYTES
    force ibs=BYTES and obs=BYTES
    ibs=BYTES
    read BYTES bytes at a time
    obs=BYTES
    write BYTES bytes at a time

    I guess the NIST guys just don't bother reading man pages. ;)

  57. cached the URL here by stock · · Score: 1
    As the URL of the article keeps failing here's a backup location :

    http://crashrecovery.org/usa-v-zm-email.htm

    cheers
    Robert

  58. Re:Hotmail and Privacy in this article: by tqft · · Score: 1

    I keep telling people - don't use Hotmail, the interface sucked last time I used it, wants you to use Passport before you can logon and seems to spend a lot of time down and generally unreliable (the EULA specifically said last time I read it) there is no guarantee of anything being there or anything working. However, for a terrorist or other undeisrable it seems perferct - no backups. None. Zilch. Zero. No way to recover from any failure other than rebuilding the file system where it was (IIRC from the last time Hotmail imploded). If it is still there you get lucky and the app can read your mail and you can get it, other than that you are dead.

    --
    The Singularity is closer than you think
    Quant
  59. Re:This is stupid by sqlrob · · Score: 2, Insightful

    Assuming of course, that your key is secure. You willing to bet on that?

  60. Re:Funny thing that. by timster · · Score: 1

    ~$ dd --version
    dd (fileutils) 4.1
    Written by Paul Rubin, David MacKenzie, and Stuart Kemp.

    Copyright (C) 2001 Free Software Foundation, Inc.

    It doesn't "just happen to be" in Linux. It's not like they got a copy of dd from AT&T or something, you know. They wrote their own, just like with everything else.

    --
    I have seen the future, and it is inconvenient.
  61. Re:Hotmail and Privacy in this article: by Helter · · Score: 2

    Are you sure about that? I thought that published privacy policies were considered legal contracts..?

  62. Deep wizardry Re:electron microscopes by IvyMike · · Score: 2

    Unless your recovery efforts involve custom hardware, the disk image obtained with "dd", together with bad block information and drive geometry, contains every bit of information you are ever going to get out of that drive. Any software-based recovery working on that image is going to be equivalent to recovery working on the original drive.

    Not so! Remember, when you're using dd, you're still using a relatively high level protocol to talk to the drive. If you can get the drive into a "test" mode, where you can talk to the actual registers on the drive, there's a heck of a lot more you can do. For example, on some drives, you could tweak the positional calibration registers and move the head fractional tracks, reading the data at each step, and maybe pick up some data at the edges of the track that wouldn't be picked up in the center. (You're hoping that there was a slight positional drift from when the data was written to when the data was erased).

    Now actually getting the drive into "test" mode, talking to the registers, and knowing what the hell the registers actually do is very difficult; you're basicallly talking about documentation that only an engineer working at a drive manufacturer would have. (And of course, this stuff is all non-standard, since it's never supposed to be directly accessed...so each model or family of drives would have different capablilties) This is pretty much the definition of "deep magic." But for the select few who have access to that documentation, some amazing tricks are possible.

  63. Re:Hotmail and Privacy in this article: by arkanes · · Score: 2

    Well, you could go both ways on it. But I can't imagine how they could be. There's no specific law for them, as far as I know, and they don't fall under any other area of contract law (for many of the same reasons EULA's don't). Best you could do would be to sue for nebulous damages that arose from a website giving out your personal info, which you could do privacy policy or no, but you'd have an easier time in court if they had one they violated.

  64. Re:Stallman says: by delta407 · · Score: 2

    Actually, it's not even GNU/Linux dd. dd is part of the coreutils package and is written by the GNU folks; it has nothing to do with Linux, other than GNU/Linux happens to include coreutils, which includes dd.

    So, it's GNU dd.

  65. Am I stupid, or.... by BigBadBri · · Score: 2, Informative

    did I read in all the legal bullshit that all the FBI uses for verification is a CRC sum?

    It's easy to defeat CRC - just add empty space to the end of each file until you get the result you want. SHA-1 or MD-5 is safe(ish), but a straight CRC is too easy to forge.

    I wouddn't trust these disk copies with a bargegepole.

    --
    oh brave new world, that has such people in it!
  66. Re:Why not a windows tool by SwellJoe · · Score: 2

    wrong again.

    Wrong in what way?

    Are you suggesting that < and > won't substitute for if= and of=? Or perhaps you are suggesting that one must specify specific partitions to dd?

    In either case, I'm not wrong. GNU dd, as provided by Linux distributions accepts < and >. And specifying a device rather than a partition is accepted, and works as expected. Everyone has used this same command form to make boot floppies, right?

    And where are you getting the bit about a boot CD? I didn't say anything about a boot CD, nor did the parent to my post. The two issues are entirely orthogonal. Strange post all-around...or maybe just more subtle trolling.

  67. Re:Secure File Deletion aka DeathStar by Darling! · · Score: 1

    A cookie for whomever get's that reference!

  68. Well said! by disc-chord · · Score: 3, Interesting

    Anyone whose even stepped foot into a "Computer Crimes" department (or whatever your local police call their Info Warriors) knows they have been using *nix since day 1 in forensics.

    This is not news, and the idea we should be getting all excited over this suggests that *nix is such a desperatly useless pos as to warrant mass praise whenever anyone actually finds a use. Is that really the message /. wants to convey?

  69. Re:Why not a windows tool by Zurk · · Score: 1

    yeah but the point is that they are professionals..they should be opening the hard drive in a lab and imaging it with a MFM microscope.

  70. Re:Funny thing that. by timster · · Score: 1

    It seems kind of ridiculous to me to consider the "idea" of a block copying utility to be more important than the implementation. You could say they got the idea for dd from Unix and I wouldn't mind, but it's not right to say they got the actual software from there. It's harder to write it then to think it up.

    BSD didn't get their software from AT&T Unix either. I don't understand what you mean? I personally don't give a damn that there's this "BSD project" and this "GNU project" out there, since I can use software from both of them on my computer. I see the two as in collaboration rather than competition, since they both promote free Unix. It's not like Apple versus Microsoft, it's just different groups of people doing different parts of the same cause. Get over it.

    --
    I have seen the future, and it is inconvenient.
  71. Last Post! by alpg · · Score: 1

    Keep your Eye on the Ball,
    Your Shoulder to the Wheel,
    Your Nose to the Grindstone,
    Your Feet on the Ground,
    Your Head on your Shoulders.
    Now... try to get something DONE!

    - this post brought to you by the Automated Last Post Generator...