Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

Blurring Images Not So Secure

Posted by CmdrTaco on Sun Jan 07, 2007 10:21 AM
from the release-the-blue-dot dept.
An anonymous reader writes "Dheera Venkatraman explains in a webpage how an attacker might be able to extract personal information such as check or credit card numbers, from images blurred with a mosaic effect, potentially exposing the data behind hundreds of images of blurred checks found online, and provides a ficticious example. While much needs to be developed to apply such an algorithm to real photographic images, he offers a simple, yet obvious solution: cover up the sensitive information, don't blur it."
duh security acrobat no yes
it security
story

Related Stories

[+] Your Rights Online: Interpol Unscrambles Doctored Photo In Manhunt 370 comments
jackpot777 writes in with an AP story out of Paris reporting that Interpol has distributed photos of a man suspected of sexually exploiting children. The images were recovered from pictures taken off the Internet in which the man's face had been blurred using something like Photoshop's Filter > Distort > Twirl tool. German police were able to recover recognizable images of the man, whose identity and nationality are not known. Interpol would not discuss the techniques used to recover the images. jackpot777 writes: "It does show one interesting facet of internet privacy that has also been noted with topics ranging from reading blurred check numbers in images to Google's plan to blur out license plate and face data for Street View. And that is: blurring is not the same as completely obscuring. As computers become more adept at extrapolating data of different types, your identity isn't safe unless you completely cover all those identifying features."
[+] Recovering Blurred Text Using Photoshop and JavaScript 78 comments
An anonymous reader writes "There's been a lot of talk about recovering blurred or pixelated text, but here's an actual implementation using nothing but Photoshop and a little JavaScript. Includes a Hollywood-esque video showing the uncovered letters slowly appearing."
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 | Login
Loading... please wait.
  • by Boccaccio (762644) on Sunday January 07 2007, @10:23AM (#17497332)
    Will this work on Japanese porn too? My friend wants to know.
    • Re:Japanese porn (Score:5, Informative)

      by 1u3hr (530656) on Sunday January 07 2007, @11:08AM (#17497568)
      Try GMask [nifty.com]. This method of mosaic masking is often used to make the images legal for Japanese webpages, yet allow perverts to recover the original image.

      Now cue about 50 posts talkng about the "CSI Photoshop enhance plugin".

      • by Anonymous Coward on Sunday January 07 2007, @12:35PM (#17498070)
        Only on Slashdot would this man's question get an informative reply. I now remember why I've wasted 9 years of my life browsing this site. Thanks!
          • by Fred_A (10934) <fred.wwna@net> on Sunday January 07 2007, @01:14PM (#17498380) Homepage
            Translation aside, looks like it needs `gnome-config --cflags gnome` instead of `gtk-config --cflags`
            in Makefile at a bare minimum.
            And a lot of cleanup in general.
            Witness the power of Open Source as it is unleashed in Real Time when faced with a pr0n related problem !
    • by Tablizer (95088) on Sunday January 07 2007, @02:23PM (#17498990) Homepage Journal
      Will this work on Japanese porn too?

      Only if the number of possible cunts is fixed and known.
           
  • by macadamia_harold (947445) on Sunday January 07 2007, @10:32AM (#17497392) Homepage
    While much needs to be developed to apply such an algorithm to real photographic images, he offers a simple, yet obvious solution: cover up the sensitive information, don't blur it."

    And please, when you cover the information with black bars, use Adobe Acrobat. (this solution brought to you by the CIA)
  • by bmsleight (710084) on Sunday January 07 2007, @10:33AM (#17497396) Homepage
    Squinting [wiktionary.org] your eyes also works.
  • by gbjbaanb (229885) on Sunday January 07 2007, @10:35AM (#17497404)
    damn right. I see this happening on CSI all the time, the licence plate, blurred, reflected in a window, with someone standing in front of it.. just 'clean up the image', and bobs your uncle - one licence plate revealed clear as day. :)
    • by Dachannien (617929) on Sunday January 07 2007, @10:46AM (#17497450)
      It's hilarious every time they do this. They start with a picture of some guy's face from 500 feet away that looks like a big skin-colored blur, and by the time they're done enhancing it, you can see right up the guy's nose. Of course, they want to keep it realistic: to show that you can only enhance an image so much, his nose hairs are slightly pixelated.

      • Re: (Score:3, Funny)

        Of course, they want to keep it realistic:

        Whichis why it uses the authentic photpenhance sound effect as the image appears in rows, like dot matrix printer. Us imaging professionals see that every day.

        The weird thing is that they must have a whole staff of highly qualified computer geeks who do their effects who could tell them this was bullshit.

        • by radtea (464814) on Sunday January 07 2007, @01:34PM (#17498548)
          The weird thing is that they must have a whole staff of highly qualified computer geeks who do their effects who could tell them this was bullshit.

          You need to realize that CSI is science fiction masquerading as a cop show. Their impossible tricks with image processsing and the like are the show's equivalent of FTL travel. But despite having miraculous technology, they actually get the method and attidudes of science right, at least on the original series. They look at the evidence, and struggle to overcome their prejudices regarding what they would like to be true. Sometimes they follow false trails, and have to accomodate new facts by discarding the theory they've built up so far.

          Gil Grissom may be the only character in TV history who actually behaves more-or-less like a real scientist.
  • by p51d007 (656414) on Sunday January 07 2007, @10:48AM (#17497460)
    Anytime I post a picture, such as a car with a license plate, I BLANK out the numbers/letters with three colors, a block of white, then a block of silver, then a block of black. Not layers, just the colors.
  • by haakondahl (893488) on Sunday January 07 2007, @10:51AM (#17497494)
    An unclassified report was released with information blacked out to make it unclassified. The problem is that whatever software was used to produce the PDF with classified information hidden had only applied a layer which was easily removed.

    People who do not understand the technology they are working with should not have this kind of release authority. And that's the hard part--the higher up you are in the food chain, the less likely you are to understand the new tools your organization is working with.

    There are very few users in government who could not do their jobs just fine using Windows 3.11, WordStar 3.x and an e-mail client on a fast but simple machine.

    Slaved as the government is to Microsoft's development cycle, however, the government will always be at the cutting edge of compromised.
  • by pla (258480) on Sunday January 07 2007, @10:56AM (#17497512) Journal
    He basically points out that a blurred mosaic amounts to a form of inexact hash function. While irreversable, if you have a small enough input space, you can exhaustively hash all possible candidates and pick the one(s) that best match the target.

    Interestingly enough, while he points out that most financial account numbers contain a degree of error detection and correction, he chooses to use that to reduce the match set, rather than the candidate set. I suppose this would matter if you wanted to prove a hypothesis (if the best match yields a valid number, you have a p=[valid/total]), but if you just want to steal someone's account info, you'd do better to reduce your processing time and just try the best few results in order.
    • by StandardCell (589682) on Sunday January 07 2007, @12:17PM (#17497986)
      In a lot of advanced image processing where you want to upscale an image, you can actually use a wavelet-based scaling technique that recovers amazing amounts of detail. In most digital TVs these days, they use a two-dimensional polyphase finite impulse response filter tuned for a certain degree of Gibbs phenomenon (ringing around harder edges) versus detail loss. But this has its limits, and it doesn't intelligently reconstruct the image details. In addition, it's notoriously difficult to tune properly for all content.

      In contrast, wavelet based scaling can actually reconstruct phenomenal amounts of detail from a degraded image. For digital TV applications where you have DVDs or standard definition content displayed on a high-definition fixed-resolution display, wavelet-based scaling can actually make real details re-emerge where they weren't there before. The bottom line explanation is understanding and interpreting the influence of adjacent pixels with a minimum of error as the article's author demonstrates (although, as the parent post explains, he's going about it in a convoluted way). I've actually seen the preliminary results that some engineers had shown me that makes it look like something a government agency would use to enhance satellite or surveillance camera images. It makes DVDs look almost exactly like HD-DVD or Blu-Ray HD content. In fact, I expressed my concern that this scaling method could be used on digital TVs to actually "unmask" blurred or blocked faces on TV shows and introduce liability issues.

      Nevertheless, it is possible to reconstruct a LOT of detail from blocked out or blurred faces or pretty much any content. Doing it in real time on HD resolution displays is a different matter altogether as it requires enormous computing power. But it is coming in the next 3-5 years. If you're really interesting in blocking out content on digital photos, use a solid black color over the part you don't want recognized.
  • MaxEnt (Score:5, Informative)

    by TeknoHog (164938) on Sunday January 07 2007, @11:14AM (#17497612) Homepage Journal
    This is a kind of maximum entropy [maxent.co.uk] method, like the unsharp mask in image processing. Basically, if you know the blurring (convolving) function, you can reverse it. There are more sophisticated algorithms for cases where the blurring function is unknown, based on certain regularities; for example motion blur has a fixed direction and magnitude.
  • maximum entropy (Score:5, Informative)

    by localoptimum (993261) on Sunday January 07 2007, @11:21AM (#17497640)
    This kind of problem is indeed quite easy to solve with a good algorithm. It's a hard(!) inverse problem, meaning that there are many possible model solutions (guessed number combinations) that match your data (pixels). The weakest link is knowing exactly the blurring algorithm that was used.

    In the real world, data is imperfect and noisy, so the article is thus far correct. What is not correct is simply to pick the data with the nearest match, because it's a best match to the noise also. Maximum entropy is one algorithm which gives you a probabilistic answer, i.e. "the chances that this particular combination is the right one is [whatever] percent". You then pick the most likely one. Astronomers use this technique all the time for removing the blur and diffraction on their images. I personally use it regularly for nuclear spectroscopy, and it's absolutely solid if you use it carefully.

  • "But, really..." (Score:4, Insightful)

    by solitas (916005) on Sunday January 07 2007, @12:36PM (#17498086)
    (from about 2/3 down the page):
    So yes, I used an image against itself and designed it to work here. But the algorithem can surely be improved to work on real stuff. I don't have the time nor desire to improve this any further, though, because I'm not the one after your information.

    Yeah, like: surely someone else can make it work - I've only described a fantasy in an article that'll work only under fabricated examples and circumstances and I don't want to put myself in a position of proving it unworkable in general use.

    • Re:Impossible! (Score:5, Informative)

      by dheera (1003686) on Sunday January 07 2007, @10:48AM (#17497464) Homepage
      the problem is more the fact that so many people on the internet use just a simple mosaic to do blurring. i can cite enough examples from google image search if i wanted to. others resort to applying a motion blur effect just once which can be reversed by deconvolution if it's not blurred enough. if you use the smudge tool, good for you, i don't think there's a good way to reverse that. the problem is that blurring and mosaic techniques are simple, consistent transformations, while smudging is not.
    • Re: (Score:3, Interesting)

      not always true. while it's reasonably good today, some day in the future, if we have 16-bit color channel depth ever become a standard (a 16-bit tiff for example), there will be enough data maintained at the edges of the blurred region to reconstruct the data. all you have to do is FFT the region, divide by a gaussian, inverse FFT, then keep repeating for different gaussians - this will basically divide out the system function used for blurring. 8-bit channels of today don't quite make it practical resolut
    • RTFA (Score:5, Informative)

      by porneL (674499) on Sunday January 07 2007, @11:12AM (#17497594) Homepage

      The whole point of the article is that blurring and pixelating beyond recognition isn't enough. You don't need to see the original numbers, you just have to find numbers that blur to a similar blob. It's a dictionary attack with blur as a hash function.