Slashdot Mirror


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

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.

52 of 345 comments (clear)

  1. Here's how it works... by nweaver · · Score: 5, Funny

    It looks for files like "guyongirlonsheep37.jpg"

    --
    Test your net with Netalyzr
    1. Re:Here's how it works... by Killer+Orca · · Score: 5, Funny

      It looks for files like "guyongirlonsheep37.jpg"

      Then I'll be safe since I rename all my files as "Top Secret: Hot Japanese Satellite images".

    2. Re:Here's how it works... by LrdDimwit · · Score: 4, Funny

      guyongirlonsheep37.jpg would probably be OK. I wouldn't want to try to explain guyongirlonsheep17.jpg however ...

    3. Re:Here's how it works... by autocracy · · Score: 4, Funny

      What makes you think that having 20 less photos in the collection helps your cause? ;)

      --
      SIG: HUP
    4. Re:Here's how it works... by ObsessiveMathsFreak · · Score: 4, Funny

      The specific command:

      #find / -name \*.jpg

      --
      May the Maths Be with you!
    5. Re:Here's how it works... by Kent+Recal · · Score: 3, Funny

      I think you missed the point.

    6. Re:Here's how it works... by Anonymous Coward · · Score: 3, Funny

      Maybe it works by checking the percentage of flesh-tone colors in the picture. That means those racy pictures of blue-man-group are safe for now.

    7. Re:Here's how it works... by sorak · · Score: 3, Funny

      guyongirlonsheep37.jpg would probably be OK. I wouldn't want to try to explain guyongirlonsheep17.jpg however ...

      By an incredible coincidence, that happens to be the only username left untaken on yahoo! mail. I keep trying variations on my name and all I get is "That name is taken. May we suggest "guyongirlonsheep17.jpg@yahoo.com".

      But I wish I hadn't told you my new email address. Now I'm going to get spam.

    8. Re:Here's how it works... by Godji · · Score: 4, Funny

      What's the age of consent of a sheep? ;)

    9. Re:Here's how it works... by awrowe · · Score: 3, Funny

      Hey I remember seeing some smurf porn recently. I have to say, nothing will ever compare to seeing two smurfs doing smurfette while whistling the theme tune. It wasn't a cartoon either.

      --
      A.I. Research. The peculiar science in which we know the question and we know the answer, but can't show the working
  2. Quick! Whats the... by i.r.id10t · · Score: 5, Funny

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

    --
    Don't blame me, I voted for Kodos
  3. Randoms searches, Yay. by denis-The-menace · · Score: 3, Insightful

    Now everybody in Australia is guilty until proven innocent!

    --
    Obama's legacy: (N)othing (S)ecure (A)nywhere and (T)error (S)imulation (A)dministration
    1. Re:Randoms searches, Yay. by SupremoMan · · Score: 5, Funny

      Now everybody in Australia is guilty until proven innocent!

      I thought that was the founding principle of Australia :)

    2. Re:Randoms searches, Yay. by Maclir · · Score: 5, Funny

      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....

    3. Re:Randoms searches, Yay. by Anonymous Coward · · Score: 5, Funny

      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

    4. Re:Randoms searches, Yay. by russ1337 · · Score: 4, Funny

      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...

    5. Re:Randoms searches, Yay. by onkelonkel · · Score: 4, Funny

      So the Australians won the coin toss and got to pick?

      --
      None of them can see the clouds; The polished wings don't care.
    6. Re:Randoms searches, Yay. by phorm · · Score: 3, Funny

      The mentally deficient, ruthless, and inbred of course remained safely at home (and in noble circles, more often than not).

    7. Re:Randoms searches, Yay. by sjf · · Score: 3, Interesting

      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.

    8. Re:Randoms searches, Yay. by sorak · · Score: 3, Funny

      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>

  4. Helix by davrodg · · Score: 5, Informative

    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

  5. forensics by Lord+Ender · · Score: 5, Insightful

    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.

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    1. Re:forensics by Jabbrwokk · · Score: 4, 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.

  6. Psych-Ops by unlametheweak · · Score: 4, Interesting

    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.

  7. Re:Australia seems to be a pretty repressed countr by Spatial · · Score: 4, Insightful

    Might want to avoid the US and the UK as well.

  8. Re:About the only way it COULD work... by Hatta · · Score: 3, Interesting

    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.

    --
    Give me Classic Slashdot or give me death!
  9. Re:Can't be challenged forensically? by faloi · · Score: 3, Insightful

    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.

    --
    "It is a miracle that curiosity survives formal education." -Albert Einstein
  10. Illicit? by reidconti · · Score: 3, Insightful

    Last time I checked, porn was not illegal.

    1. Re:Illicit? by gstoddart · · Score: 3, Insightful

      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

      --
      Lost at C:>. Found at C.
    2. Re:Illicit? by sanjosanjo · · Score: 3, Interesting

      Last time I checked, porn was not illegal.

      While the summary says "porn", the article is referring to child pornography - which is illegal.

  11. Re:Quick! Whats the... by Anonymous Coward · · Score: 5, Funny

    For kiddie porn you want to scan for small swaths.

  12. Re:A porn breath test? by GameboyRMH · · Score: 5, Funny


    <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>

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  13. Re:A "random breath test" for computers? by gstoddart · · Score: 3, Insightful

    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

    --
    Lost at C:>. Found at C.
  14. Re:Can't be challenged forensically? by TheRaven64 · · Score: 3, Interesting

    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).

    --
    I am TheRaven on Soylent News
  15. Re:Quick! Whats the... by Facegarden · · Score: 5, Interesting

    '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

    --
    Worldwide Military budgets: $2100 billion. Worldwide Space Exploration budgets: $38 billion. Really, world? Really?
  16. Re:Quick! Whats the... by TerranFury · · Score: 4, Interesting

    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.

  17. Re:Can't be challenged forensically? by LrdDimwit · · Score: 4, Informative

    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.

  18. leaked source code by CompMD · · Score: 3, Funny

    #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;
    }

  19. Re:Quick! Whats the... by d3ac0n · · Score: 4, Funny

    Well technically, I think we've all been IN one at least once in our lives, females included. However I suspect that's not the point you were going for.

    --
    Official Heretic from the "Church of Global Warming". Proven right thanks to whistle blowers. AGW = Flat Earth Theory
  20. Based on this I propose the following test... by syousef · · Score: 4, Funny

    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.

    --
    These posts express my own personal views, not those of my employer
  21. Re:A porn breath test? by mrchaotica · · Score: 4, Funny

    Your post contains invalid markup: you can't interleave tags like that.

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  22. Re:Quick! Whats the... by KeithJM · · Score: 5, Funny

    I was a C-Section baby, you insensitive clod!

  23. Re:Quick! Whats the... by _Sprocket_ · · Score: 5, Interesting

    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.

  24. Re:About the only way I it COULD work... by LeafOnTheWind · · Score: 5, Informative

    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.

  25. Re:Any Aussies here? by Manfre · · Score: 5, Funny

    3 words. British prison colony

  26. Re:Quick! Whats the... by paeanblack · · Score: 4, Funny

    The big question is -- can this program tell the difference between a porn photo and a photo of Fidel Castro eating a banana?

    You just solved the CAPTCHA problem.

  27. Re:About the only way I it COULD work... by thepotoo · · Score: 4, Informative
    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.

    --
    Obligatory Soundbite Catchphrase
  28. Re:Quick! Whats the... by Glothar · · Score: 4, Funny

    ...oh, and your mom.

    (Sorry, had to)

  29. Fixed that for you. by techess · · Score: 5, Funny

    3 words. British Penal Colony There, fixed that for you

    --
    Don't anthropomorphize computers. They *hate* that.
  30. Re:Quick! Whats the... by DiegoBravo · · Score: 4, Funny

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

  31. Re:About the only way I it COULD work... by jaseuk · · Score: 4, Insightful

    The whole point of a hashing algorithm like MD5 is that even a single bit change should change lots of random bits in the resulting hash. If it was predictable it wouldn't be suitable for it's purpose.

    Jason

  32. Re:About the only way I it COULD work... by mdmkolbe · · Score: 3, Interesting

    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.