Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

A Linux-Based "Breath Test" For Porn On PCs

Posted by timothy on Tue Nov 04, 2008 01:00 PM
from the child-porn-claims-the-ultimate-smear-tactic dept.
Gwaihir the Windlord writes "A university in Western Australia has started beta testing a tool that's described as 'a random breath test' to scan computers for illicit images. According to this article it's a clean bootable Linux environment. Since it doesn't write to the hard drive, the evidence is acceptable in court, at least in Australia. They're also working on versions to search for financial documents in fraud squad cases, or to search for terrorist keywords. Other than skimming off the dumb ones, does anyone really expect this to make a difference?" The article offers no details on what means the software uses to identify suspicious files.
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by nweaver (113078) on Tuesday November 04 2008, @01:01PM (#25629651) Homepage

    It looks for files like "guyongirlonsheep37.jpg"

  • by i.r.id10t (595143) on Tuesday November 04 2008, @01:01PM (#25629655)

    Quick! Whats the RGB color value for "pink" ?

      • by Anonymous Coward on Tuesday November 04 2008, @01:20PM (#25629993)

        For kiddie porn you want to scan for small swaths.

      • by TerranFury (726743) on Tuesday November 04 2008, @01:40PM (#25630365)
        Once upon a time, a company did this, and sold their product to another corporation so that they could monitor employees' email. If I recall correctly, it ended in tears when somebody got sent baby pictures.
        • by _Sprocket_ (42527) on Tuesday November 04 2008, @03:03PM (#25631691)

          One of the environments I worked in had a sniffer that grabbed all the images (and associated session information) it could see on the wire for that organization (or at least a subset - there was a LOT of traffic involved). It would then process those images and generate a "skin folder" of suspect imagery. We could then sift through that skin folder looking for illicit browsing, etc.

          Yeah - it caught porn. But it also contained a lot of imagery of furniture, mars landscapes, deserts (it really liked the time pictures of camel spiders in Sandland were the hot topic of emails) and other such not-skin-oriented imagery.

        • by DiegoBravo (324012) on Tuesday November 04 2008, @04:27PM (#25632949) Journal

          Now you will get a ton of Ubuntu backgrounds....

        • by Facegarden (967477) on Tuesday November 04 2008, @01:37PM (#25630307)

          'Human skin tones' is a pretty wide range though. Even just restricting it to 'white' people gives you a big range of colours if you consider the various shades of tan / sunburn - anything from deep red to pale white through dull brown. If you want to find naked black- or yellow-skinned people then it's an even bigger range. If something is blue or green you could probably guess it's not naked skin (unless the person is bruised, or wearing body paint), but without factoring in shape as well it's pretty difficult to tell if something is human coloured or not.

          Actually, human skin is pretty much all the same hue, it just has different saturation levels. If you convert each image to HSV from RGB, you can just look at the hue component and people all pretty much look the same. This is common in computer vision techniques for identifying skin.
          -Taylor

  • by denis-The-menace (471988) on Tuesday November 04 2008, @01:04PM (#25629695)

    Now everybody in Australia is guilty until proven innocent!

    • by SupremoMan (912191) on Tuesday November 04 2008, @01:10PM (#25629797)

      Now everybody in Australia is guilty until proven innocent!

      I thought that was the founding principle of Australia :)

      • by Maclir (33773) on Tuesday November 04 2008, @01:49PM (#25630549) Homepage Journal

        Remember, we were selected by the best judges in England...

        The difference between the USA and Australia - first, England rounded up all of it's religious fanatics, and sent them to the American colonies, then they rounded up all of these criminals, and send those to the Australian colonies....

        • by russ1337 (938915) on Tuesday November 04 2008, @02:17PM (#25630957)
          on a flight from DFW to LAX, I was recently asked by the American in the seat next to me 'where New Zealand got it's heritage - because, you know, Australia was a criminal colony'.... my answer: oh, dont mess with New Zealand...

          Australia rounded up its worst criminals and sent them there...
        • by onkelonkel (560274) on Tuesday November 04 2008, @02:21PM (#25631025)
          So the Australians won the coin toss and got to pick?
        • by sjf (3790) on Tuesday November 04 2008, @02:25PM (#25631091)

          It's not the folks descended from criminals that worry me. It's the folks who are descended from the prison wardens who cause all the trouble.

        • by syousef (465911) on Tuesday November 04 2008, @02:31PM (#25631189) Journal

          The difference between the USA and Australia - first, England rounded up all of it's religious fanatics, and sent them to the American colonies, then they rounded up all of these criminals, and send those to the Australian colonies....

          In those grand traditions I propose the following test...

          Turn the laptop on, tie a large weight to it. If it floats, it's a witch! Burn it! If it sinks it's innocent. Pity it didn't survive.

        • by sorak (246725) on Tuesday November 04 2008, @03:45PM (#25632333)

          Remember, we were selected by the best judges in England...

          The difference between the USA and Australia - first, England rounded up all of it's religious fanatics, and sent them to the American colonies, then they rounded up all of these criminals, and send those to the Australian colonies....

          So where did they send the dentists?

          <ducks>

      • by Anonymous Coward on Tuesday November 04 2008, @01:53PM (#25630589)
        What the parent poster is trying to illustrate is that when a particular type of humor that roughly fits the phenotype of a reductio ad absurdum, or farce, in modern parlance, and, further, is based upon the implication of knowledge, which creates the perception of an 'inside joke', magnifying said statement's entertainment potential, has the piece of knowledge, previously conveyed via implicit communication, explained explicitly the statement so doing actually assumes the full weight of the previously mentioned 'absurdum', leaving only a fact and a non sequitur.

        In other words, it's not funny when you explain it, but thanks!

        (Notes to subsequent posters: a formulaic representation where the function of the humorous statement is subsequently undermined by the explanation and proved untrue (or similar), while funny, would have taken a bit more time than today's actual work-a-day requirements would allow. I would however be pleased to enjoy another's attempts to compile such an argument.)

        Disclaimer: This message is intended as humor and not flamebait, contrary to the anonymity assumed during the posting of said message. Furthermore, contrary to what is stated above, this post is the opinion and property of Slashdot. (Just kidding on that last part.) :)

        -HH
  • Helix (Score:5, Informative)

    by davrodg (889968) on Tuesday November 04 2008, @01:05PM (#25629705) Journal
    Helix can do most of the "breath test" functionality referred to, and is a great forensic Linux distro. Helix is also considered a viable method in which to capture data that is consistent with the chain of custody that is required for evidence to be presented to a Judge. Check it out... http://www.e-fense.com/helix/Download.html [e-fense.com]
  • by Jane Q. Public (1010737) on Tuesday November 04 2008, @01:05PM (#25629709)
    ... would be to get a hash value for individual files, and compare that to known hash values for known infringing files. And there are already tools that do this.
    • by Hatta (162192) on Tuesday November 04 2008, @01:12PM (#25629831) Journal

      And trivial ways to get around it. An encrypted file system is the obvious solution, but hell if they're just checking hashes you could use ImageMagick and a very small shell script to very slightly alter the image, giving you an entirely new hash.

          • by LeafOnTheWind (1066228) on Tuesday November 04 2008, @03:32PM (#25632111)

            Actually, no. This method does not work - which is what I said at the time. Because this misinformation is apparently still around, I decided to run a test.

            I took a large file (1600x1200 px) and then applied a basic red-eye reducing algorithm to various spots on the image. The result: visually, exactly the same image.

            Then I turned to my trusty Apple Preview. I resized each photo to 9% of its original size (144x108 pixels), and the proceeded to turn the color saturation down to 0 (black and white). I then saved each file in a compressionless TIFF format. Lastly, I computed the md5 hash for each file.

            Result?
            MD5 (smlimg3.tiff) = d300d23ce0ca2d6dcc7188665b1e2ada
            MD5 (smlimg4.tiff) = a1cf7d59f9bf4ccceb6651c5f08750dd

            Let me say this once more, in case anyone else who blindly accepts anything they read on the internet has heard this: THIS TECHNIQUE DOES NOT WORK. To compare two SIMILAR images, one needs to use an image comparison algorithm - of which there are many. Hashing ONLY works on two images which are EXACTLY the same.

            If you doubt the test or the results, I would be glad to email you all of my test pictures so you can see them and calculate their md5s for yourself.

            • OK, so I actually did something similar for myself just now, and yeah, you're right.

              It seemed like the sort of thing that would work in theory, but I can see why it doesn't. Even changing a few pixels in the corner (I made a 10x10 white square) gave drastically different MD5s.

              I'm a moron for blindly accepting a +5 post as fact, please mod down my original post.

            • by mdmkolbe (944892) on Tuesday November 04 2008, @11:50PM (#25636753)

              As you demonstrate, the MD5 technique does not work. However there are other image "hashing" techniques that do work. For example, take the first three statistical moments of the histogram of the R, G and B intensities. To compare two images take a simple L1 distance between those moments. If it's below some threshold they are the same.

              Disclaimer: The above algorithm works best for detecting differences between two video streams even when those video streams are distorted by color shifts. (I have personal experience with using it on production software.) For detecting similarities of images you may have to use slightly different techniques.

    • Re: (Score:3, Insightful)

      It looks like it's just a tool for previewing media on the drive while maintaining forensic integrity. Certainly something a person trained in computer forensics could do without the tool, but this is targeted at people with minimal training, it seems.

      Of course there are plenty of easy anti-forensic measures, but the goal is probably to cut down the time spent per case on the low-hanging fruit (which is the majority of cases) to reduce backlog.

  • forensics (Score:5, Insightful)

    by Lord Ender (156273) on Tuesday November 04 2008, @01:07PM (#25629733) Homepage

    Computer forensics is hard, expensive, and time-consuming. I would guess this is just a tool for cops to save cash in criminal investigations compared to hiring an expert, or at least to triage which systems need to be investigated by an expert.

    Also, if your friends are IT staff and your online watercooler is slashdot.org, you may think everyone but the "dumb ones" knows how to encrypt a drive. But the reality is that the vast majority of criminals have never heard of Truecrypt.

    • Re:forensics (Score:5, Insightful)

      I think you are correct. Most criminals are dumb. And I think you're right about this being a cash-saving tool. From the article:

      The design concept is that any police person with adequate training could use the tool, so that when they go into a crime scene they can quickly review a computer for illicit images or videos.

      Sounds like it relies more on officers' eyeballs than algorithms to do a quick scan for anything obvious. This tool will help them quickly move through the easy stuff, and allow them to focus time and resources on the more sophisticated criminals. [gulf-times.com]

  • Psych-Ops (Score:5, Interesting)

    by unlametheweak (1102159) on Tuesday November 04 2008, @01:12PM (#25629821)

    The article offers no details on what means the software uses to identify suspicious files.

    I highly suspect that the police don't want people to know the details of how sophisticated their technology is because they don't want to embarrass themselves. Keeping an aura of mystery and FUD around themselves and their techniques is also a form of psych-ops; it's the chrome facade of a lemon.

  • Illicit? (Score:3, Insightful)

    by reidconti (219106) on Tuesday November 04 2008, @01:18PM (#25629933)

    Last time I checked, porn was not illegal.

  • by CompMD (522020) on Tuesday November 04 2008, @01:53PM (#25630605)

    #include
    #include
    int main()
    {
            printf("Searching for stuff the user isn't supposed to have...\n");
            sleep(30);
            printf("Illegal material found! Seize computer and arrest owner!\n");
            return 0;
    }

    • by faloi (738831) on Tuesday November 04 2008, @01:17PM (#25629917)
      IANAL, but the summary (at least) gives no indication that the forensic tool is going to be the last word. It's a bootable distro, so presumably the system has already been confiscated by whatever organization cares most about the potential crime. The forensic examiner(s) responsible for looking for data with the evil bit set boot to this CD and see if it flags anything. Then they examine anything that's flagged, and prep it for court.

      Doing a thorough exam of an average drive can be time consuming, even if the user is kind enough to leave all their documents handily in the "My Documents" folder. Trying to examine several machines in a timely fashion would benefit greatly from a tool like this. If the disk flags something, and it's really illegitimate, the data just needs to get cataloged. Think of it as helping go for "low hanging fruit" that can be used to convict someone, without being as resource intensive as a full manual scan. I'm guessing that if the disk doesn't turn up anything, there will still be a long manual process involved to see if there's something there.
    • by TheRaven64 (641858) on Tuesday November 04 2008, @01:31PM (#25630191) Homepage Journal
      Sounds dubious to me. In most jurisdictions I'm aware of, you are not allowed to connect hard drive to a machine physically capable of writing to it if you want anything retrieved from it to be admissible in court, and you need a chain of custody showing this. Software write protection is not good enough, you need to physically disconnect the write pins from the cable (no idea how they do this from SATA - probably something which intercepts write commands and blocks them and goes through an expensive approval process to ensure that it works).
    • by LrdDimwit (1133419) on Tuesday November 04 2008, @01:42PM (#25630395)
      The minute you change the contents of that hard drive, you open the door to claims of tampering with evidence. "Your honor, the kiddy porn only showed up after the police 'inspected' it. They planted all of it." That's what 'chain of custody' means. Police have procedures to follow to ensure that evidence can't be tampered with.

      Good meatspace analogies would be OJ Simpson's DNA showing up on evidence only after he gave a blood sample. More hypothetically, say the cops take your backpack as evidence. What happens to it? Well, it sits in a police warehouse storage facility somewhere, possibly for months. If any cop has access to that backpack on demand for this whole time, then there is effectively have no way to prevent someone from stuffing the bag full of drugs. No accountability. So for meatspace evidence, there are very strict rules that say you have to keep track of every person who has access to that piece of evidence. There can be no exceptions.

      The equivalent in the computer forensics world is that you have to guarantee you didn't alter the original equipment's hard disk. Proper forensic analysis involves making a *copy* bit-for-bit and then analyzing this copy. The new thing here is a bootable CD that presumably has been rigorously tested and certified (by who, I couldn't say) that it literally cannot modify the hard disk.
    • by GameboyRMH (1153867) on Tuesday November 04 2008, @01:21PM (#25630001)
      <horribleacting>
      <cheesysoundtrack>

      *WEEW*

      "License and registration please...are you drunk ma'm?"

      "No Ociffer, I swear to Drunk I'm not god"

      "Step out of the car please. I'm giving you a breathalyzer test. I need you to blow on this"

      "Wait...wut...come on I just want to go home"

      "Well if you don't want to do the breathalyzer I can give you a balance and mental aptitude test..."

      "Come on just cut me a break, I live just down the road, outside of these dark woods on this lonely country road"

      "Well OK, but if you want me to skip the breathalyzer, I need you to blow on _this_"

      </horribleacting>
      </cheesysoundtrack>
    • by gstoddart (321705) on Tuesday November 04 2008, @01:27PM (#25630105) Homepage

      Oh great, expect that in a few years they will be running this on international travellers as a standard part of customs.

      Sadly, this seems to be a part of a trend. Part of travel now means that you need to be subjected to complete search and inspection to make sure you haven't done anything wrong.

      This includes fingerprinting, gathering of biometrics, and having all of your personal stuff exhaustively searched to ensure you have no porn, terrorist material, copyrighted material you can't prove you bought, or anything critical of the government of the country you're entering.

      If you have probable cause that I'm smuggling something, maybe. But, in the case you point out where we scan everyone so they can prove themselves innocent ... well, modern society is pretty much hosed in that case. However, that seems to be where we're going lately.

      Cheers

    • Re:Illicit? (Score:4, Insightful)

      by gstoddart (321705) on Tuesday November 04 2008, @01:44PM (#25630439) Homepage

      Since when was porn illegal? If some nosy cunt wanted to "breath test" my pc for porn, i'd just hold up a nice gynacological centrefold and say "look! i think i can see her kidneys! Now fuck off!"

      Ah, but once crossing a border requires you to be scanned for any infractions, you won't have a choice.

      Soon, it will be considered perfectly normal to subject yourself to full scrutiny in order to prove that you don't have anything they deem unacceptable.

      Me, I find it appalling, as we throw away most forms of civil liberties in Western countries on the presumption that someone might have done something wrong, so we inspect everyone.

      Cheers