<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/blog/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://www.hackerfactor.com/blog/index.php?/feeds/atom.xml" rel="self" title="Secure Computing: Sec-C" type="application/atom+xml" />
    <link href="http://www.hackerfactor.com/blog/"                        rel="alternate"    title="Secure Computing: Sec-C" type="text/html" />
    <link href="http://www.hackerfactor.com/blog/rss.php?version=2.0"     rel="alternate"    title="Secure Computing: Sec-C" type="application/rss+xml" />
    <title type="html">Secure Computing: Sec-C</title>
    <subtitle type="html">Hacker Factor Commentary on Computing and Security</subtitle>
    <icon>http://www.hackerfactor.com/blog/templates/default/img/s9y_banner_small.png</icon>
    <id>http://www.hackerfactor.com/blog/</id>
    <updated>2010-07-29T18:51:31Z</updated>
    <generator uri="http://www.s9y.org/" version="1">Serendipity - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/389-Out-of-the-Blue.html" rel="alternate" title="Out of the Blue" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-07-29T12:24:00Z</published>
        <updated>2010-07-29T18:51:31Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=389</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=389</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/14-Forensics" label="Forensics" term="Forensics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/1-Image-Analysis" label="Image Analysis" term="Image Analysis" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/6-Mass-Media" label="Mass Media" term="Mass Media" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/389-guid.html</id>
        <title type="html">Out of the Blue</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                In my <a href="http://www.hackerfactor.com/blog/index.php?/archives/388-Photo-Finish.html">previous blog posting</a>, I mentioned how some people really do "get it" when it comes to digital manipulation and photo fakery. However, others like "photographer" Nicholas Routzen and BP's Marc Morrison still don't understand why representing modified photos as if they were "real" is nothing other than fraud.<br />
<br />
BP was heavily criticized in the media for releasing edited photos. In fact on 22-July-2010, White House Press Secretary Robert Gibbs even <a href="http://blogs.abcnews.com/politicalpunch/2010/07/white-house-on-bps-photoshopped-photos-on-the-stupidity-side-of-the-transparency-scale.html">commented</a> that it was sheer stupidity:<br />
<blockquote>"I think it's genuinely on the stupidity part of the transparency scale," Gibbs said this afternoon at the White House daily briefing. "I mean, if you want to show a picture of what the room looks like, just take a picture."</blockquote><br />
Upon the discovery of BP's digital manipulation, BP decided to come clean. Sort of. It was actually more of a "throw the photographer under the bus" than an actual correction:<br />
<blockquote>BP cast the blame entirely on a hired photographer and claimed to have no part in the decision to alter the photos. "One of BP's contract photographers used Photoshop to edit images posted on the bp.com Gulf of Mexico Response web site," the company said, adding, "[W]e've instructed the photographer who created the images to refrain from cutting-and-pasting in the future and to adhere to standard photo journalistic best practices."</blockquote><br />
Too bad this isn't an isolated incident... and it still has not stopped.<br />
<br />
As part of their corrections, BP created a special <a href="http://www.flickr.com/photos/bpamerica/sets/72157624429465573/">Flickr set</a> where they show the before and after photos of the three pictures that <a href="http://www.americablog.com/2010/07/bp-photoshops-fake-photo-of-command.html">America Blog</a> and <a href="http://gizmodo.com/5592975/bp-photoshops-another-official-image-again-terribly">Gizmodo</a> identified as modified. However, BP is only showing the three outed photos.<br />
<br />
<H3>Standard is Better than Better</H3><br />
I really like that phrase, "Standard Photo Journalistic Best Practices". There is no such standard. As I <a href="http://www.hackerfactor.com/blog/index.php?/archives/274-Getting-Real.html">detailed</a> last year, different organizations have different rules about acceptable manipulation. However, there are some generalizations that can be made.<br />
<br />
<H4>For Photographers</H4><br />
In general, if the photo is supposed to represent something real then the person providing the photo to the media should abide by these guidelines (a combination of rules from <a href="http://blogs.reuters.com/blog/2007/01/18/the-use-of-photoshop/">Reuters</a>, <a href="http://www.ap.org/newsvalues/index.html">Associated Press</a>, <a href="http://contributors.gettyimages.com/img/articles/downloads/Submission_Requirements_v2_0_APRIL_2007_(3).pdf">Getty Images</a>, and other photo providers including <a href="http://www.phayul.com/news/article.aspx?id=27801">China's Xinhua news agency</a>):<br />
<ul><li><b>No splicing, no drawing</b>. Whether it is for removal or enhancement does not matter. You never splice images and you never alter content. If Billy blinked during the photo, then the photo must have Billy's eyes closed -- don't draw in eyes or splice them from a different photo.<br />
<li><b>Minor cropping</b>. A little cropping from an edge ("little" as in "up to 5% from an edge") is acceptable if it does not remove a subject from the image. Major cropping, such as Morrison's removal of the entire upper half of the photo, chairs, and two people (<a href="http://www.flickr.com/photos/bpamerica/4816829230/in/set-72157624429465573/">before</a> and <a href="http://www.flickr.com/photos/bpamerica/4816762755/in/set-72157624429465573/">after</a>) is not permitted.<br />
<li><b>Minor dust and speck removal</b>. Minor dust and speck removal from a non-critical section of the photo is generally permitted. However, this really depends on the photo provider. Some providers (like the AP) are more critical than others. In general, if there is a tiny speck of dust on the lens that ends up looking like a distant UFO in the sky, then you can remove it. But if there are lots of specks, then you must suffer with a dirty picture (next time, clean your lens!). And if the speck is located on the subject matter (like Hillary Clinton's shoulder), then don't touch it!<br />
<li><b>Minor color enhancements</b>. Color corrections that do not alter the subject are permitted. As the <a href="http://www.ap.org/newsvalues/index.html">AP described</a>:<br />
<blockquote>Minor adjustments in PhotoShop are acceptable. These include cropping, dodging and burning, conversion into grayscale, and normal toning and color adjustments that should be limited to those minimally necessary for clear and accurate reproduction (analogous to the burning and dodging often used in darkroom processing of images) and that restore the authentic nature of the photograph. Changes in density, contrast, color and saturation levels that substantially alter the original scene are not acceptable. Backgrounds should not be digitally blurred or eliminated by burning down or by aggressive toning.</blockquote><br />
In general, any acceptable, minor color enhancements should be equally applied over the entire image and not isolated to a specific region. Highly focused or region-specific color alterations are no different than drawing. ("Select all" or "select none", but if you touch the selection tool or magic wand then you are drawing.)<br />
<li><b>After effects</b>. Blur, sharpen, smudge, liquify, rotate, blend, and other enhancements are not permitted. Basically, if it is not found in the real picture then this is considered "drawing".<br />
<li><b>Acceptable drawing</b>. There are only two situations where drawing, such as blurring or using a black censor box, are permitted: (1) to protect anonymity, and (2) to prevent advertising. A blurred face, blurred logo on a hat or shirt, or black box over a license plate is acceptable. However, the blurring/drawing must be blatant and obvious.</ul><br />
<H4>For Media Outlets</H4><br />
The photographers who provide the photos to the media must abide by much stricter rules than the media outlets. In contrast, outlets are permitted to perform manipulations that match their medium and format. These include:<br />
<ul><li><b>Scaling and cropping</b>. While the photographer must provide the whole picture, the media is permitted to crop it to show a specific subject matter. For example, the photo may show President Obama surrounded by thirty people, but <i>USA Today</i> may crop it to just show his head.<br />
<li><b>Color adjustment</b>. The media, particularly printed media, are permitted to color correct an image. The photographer's picture may be too dark or not print well for a magazine. The media outlet can, and usually does, color correct the image. In this case, the pictures may actually be color corrected in specific regions or specific color bands, and not applied uniformly across the image.<br />
<li><b>Acceptable drawing</b>. The media may also choose to blur faces, censor logos, or annotate features with arrows or circles that highlight specific items. However, these modifications must be blatant. The subtle removal of a logo, when discovered, can lead to sharp criticism (or worse).</ul><br />
BP used to take photos and use them in their advertising campaigns; anything goes in advertisements. However, that role has changed. Since the Gulf disaster, BP has been providing photos that document recovery and cleanup efforts to the mass media. As someone who provides photos to the media, BP is expected to adhere to the higher standard. BP should not be making modifications reserved for media outlets.<br />
<br />
<H3>BP: Best Practices</H3><br />
Unfortunately, BP seems to be making up their "Standard Photo Journalistic Best Practices" as they go. While I have not seen any splicing in the last few days, some of their photographers are still taking liberties with the crop tool and recoloring. Here are a few examples from <a href="http://www.flickr.com/photos/bpamerica">BP's Flickr feed</a>. (Click on the photo to see the full picture.)<br />
<br />
<b>Creative Cropping</b><br />
<a href="http://www.flickr.com/photos/bpamerica/4834228273/"><img src="http://farm5.static.flickr.com/4108/4834228273_0a8fdf36bd.jpg"></a><br />
<br />
This photo by Marc Morrison is dated 26-July-2010 but was last modified on 27-July-2010. The full picture is 3981x1496. The problem is, the Canon EOS-1Ds Mark II does not take photos at these dimensions. The <a href="http://www.dpreview.com/reviews/canoneos1dsmkii/">closest it gets</a> is 4992x3328. This means that Marc cropped nearly 20% from the horizontal and over 55% from the vertical. So what did Marc not want us to see?<br />
<br />
A few years ago I was told a story about a photo from China. It appeared to show a government vehicle with people standing around it cheering. But the uncropped photo showed the crowd throwing stones; the people were not cheering, they were yelling. Creative cropping can alter the meaning of a picture. For this reason, "Standard Photo Journalistic Best Practices" requires the photographer to submit the whole picture and not something with creative cropping. For all we know, there could be a dead whale on the right, and that gray structure in the top-left could actually be pollution filling the sky. If the picture has too much sky, then BP needs to let the media outlets decide what to crop.<br />
<br />
<b>BP's True Colors</b><br />
Here's a very colorful photo by BP:<br />
<br />
<a href="http://www.flickr.com/photos/bpamerica/4834228009/sizes/l/"><img src="http://lh3.ggpht.com/_Uw91icJn-go/TFBcgFCG17I/AAAAAAAABl4/2ML7OXf1UkQ/s400/4834228009_31e1843cba_o.jpg"></a><br />
<br />
This photo by Harrison McClary is dated 26-July-2010 and last modified a day later. The image itself measures 3600x2400. That is close to a native resolution for the <a href="http://www.imaging-resource.com/PRODS/E1DMK3/E1DMK3DAT.HTM">Canon EOS-1D Mark III</a>, which can take pictures at 3888x2592 (cropped or scaled 7% horizontal and 7% vertical). However, McClary over-applied the color correction. We can see this in the color histogram (graphing HSV).<br />
<br />
<img src="http://lh5.ggpht.com/_Uw91icJn-go/TFBcgk-avdI/AAAAAAAABl8/j8CVuSUgm80/s800/4834228009_31e1843cba_o-CS.png"><br />
<br />
There are two things that really stand out as abnormal: (1) the clusters of blue and yellow at the top shows a blown-out color space, and (2) the wide color blobs are too wide, too tall, and too blended for a natural picture. This is not a typical color space for a Canon EOS-1D Mark III.<br />
<br />
For a comparison, consider this <a href="http://www.pbase.com/gtach/image/83080043">sample photo</a> from the same model camera (and not provided by BP):<br />
<br />
<a href="http://www.pbase.com/image/116680502"><img src="http://lh4.ggpht.com/_Uw91icJn-go/TFBiLLKP8aI/AAAAAAAABmE/MaDlJgRyNyE/s400/116680502.9uCBtDGh.LyonsJVLyons_JV142.jpg"></a><br />
<img src="http://lh6.ggpht.com/_Uw91icJn-go/TFBi1eI86kI/AAAAAAAABmQ/yhwlSoaV0KM/s800/116680502.9uCBtDGh.LyonsJVLyons_JV142-CS.png"><br />
<br />
Notice how the unmodified photo does not blow out colors at the extreme intensities, and has less-blended color bands. This is very typical for a digital camera, including cameras made by Canon, Olympus, Nikon, Ricoh, and other manufacturers.<br />
<br />
So why would BP's Harrison McClary over-correct the color space? Perhaps he is inexperienced with cameras. Or maybe he really wanted that brown water to look blue. By blowing out the color spectrum, he has given the image a "clean" look -- the sand is white, the sky and water are blue, the tractor does not look dirty, and even the brown grasses look green.<br />
<br />
Here's another example from Harrison McClary:<br />
<br />
<a href="http://www.flickr.com/photos/bpamerica/4830949628/"><img src="http://lh3.ggpht.com/_Uw91icJn-go/TFBcRPhSbOI/AAAAAAAABls/KCx9Tguarb0/s400/4830949628_672baf1026_o.jpg"></a><br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TFBcR8N7xaI/AAAAAAAABlw/KS_xYFJ3PM4/s800/4830949628_672baf1026_o-CS.png"><br />
<br />
Again, the blue and green are blown out (blobs at the upper intensities). Also, notice how the orange spike actually curves with intensity (vertical). That's why they call it a "color curve adjustment".<br />
<br />
Of course, McClary isn't the only one tweaking colors. BP's Robert Seale also did some color corrections.<br />
<br />
<a href="http://www.flickr.com/photos/bpamerica/4830949012/"><img src="http://lh3.ggpht.com/_Uw91icJn-go/TFBcQWTNc0I/AAAAAAAABlk/rBOyQvjQVDA/s400/4830949012_64f3beb4d0_o.jpg"></a><br />
<img src="http://lh4.ggpht.com/_Uw91icJn-go/TFBcQ6aI_NI/AAAAAAAABlo/PcrtieNKRtY/s800/4830949012_64f3beb4d0_o-CS.png"><br />
<br />
Notice how Robert's dark red, blue, and green all lean toward the left at the top? While he didn't blow out the color range, he did adjust the sky, grass, and maroon stripe on the <a href="http://www.vermilion.lib.la.us/branch-information/mobile-library/">bookmobile</a> (the RV in the background-right that says "Vermilion Parish Public Library").<br />
<br />
<H3>Seeing Red</H3><br />
Dear British Petroleum,<br />
<br />
If you want to us to believe that the pictures are real, then please release real pictures. Don't crop out stuff you don't want us to see. Don't make the sky and water look bluer. And most importantly, don't think that we won't notice.<br />
<br />
Having been caught splicing images, BP promised to adhere to "Standard Photo Journalistic Best Practices". However, this is clearly not the case. While BP claimed that the modifications were limited to one photographer, the actual problem is more systemic. BP's photographers may no longer be splicing, but they are still striving to literally show that the grass is always greener. This isn't a problem with BP's photographers; this is a problem with BP. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/388-Photo-Finish.html" rel="alternate" title="Photo Finish" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-07-22T22:24:21Z</published>
        <updated>2010-07-29T05:17:35Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=388</wfw:comment>
    
        <slash:comments>8</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=388</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/14-Forensics" label="Forensics" term="Forensics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/1-Image-Analysis" label="Image Analysis" term="Image Analysis" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/6-Mass-Media" label="Mass Media" term="Mass Media" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/388-guid.html</id>
        <title type="html">Photo Finish</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                This week really gave me a thrill. Readers, models, and even large companies have taken steps against digital photo manipulation in the media.<br />
<br />
The first big congrats goes to <a href="http://www.dominos.com/">Domino's Pizza</a>. They recently announced a <a href="http://www.showusyourpizza.com/promise/">promise</a> to use real photos of real pizzas in their advertisements. No more cardboard, glue, and partially-cooked food that looks "better" when photographed.<br />
<blockquote><font color='red'>Our Photo Promise</font><br />
Here at Domino's, we don't think our inspired Domino's pizza needs the "extra" things typically done to food at photo shoots to look mouth watering. Our pizza is good enough to stand on its own. That's why we're making the following promises about how we photograph our pizzas from this day forward. Did we just buck the food photography trend? Oh yes we did.<br />
<br />
1. We will only photograph real, honest-to-goodness pizzas.<br />
That means fresh from our own ovens, with exactly the same ingredients we deliver to your doorstep. Nothing else added.<br />
<br />
2. Our employees will make the pizza we shoot.<br />
Not an art director or model maker or food stylist. A Domino's employee trained to make pizzas the only way they know how: by hand.<br />
				<br />
3. We will not artificially manipulate the food we shoot.<br />
No tweezers, no steam guns, no model knives cutting perfect perforations in the cheese. The only thing that will touch the pizzas we shoot is the pizza-maker's hands and a standard Domino's pizza cutter.<br />
<br />
Russell Weiner, Chief Marketing Officer</blockquote><br />
Bravo! I've looked at some of the <a href="http://www.showusyourpizza.com/gallery/">pizza photos</a> on their web site and I must say: no detectable manipulation (beyond scaling and cropping, which does not modify the look of the food). Moreover, the food actually looks <i>good</i>! (Good enough for me to now have a pizza craving.)<br />
<center><img src="http://c1884852.cdn.cloudfiles.rackspacecloud.com/50c021c0-35c0-454c-82f4-58692fe47af9"><br />
<small>Pizza Photo by Makena B. from Houston, TX</small></center><br />
<br />
<H3>Worth the Wait</H3><br />
Not to be outdone, plus-size model (and super hottie) <a href="http://www.glamour.com/contributors/crystal-renn">Crystal Renn</a> just went on the record saying that she is offended by some photoshopping done to her picture. As she said in her <a href="http://today.msnbc.msn.com/id/38358777/ns/today-today_fashion_and_beauty/"><i>Today Show</i></a> interview this morning, "When I first saw the photos, I would have to say I was absolutely shocked." The photographer turned this well-known size-10 into much thinner version. (But at least he didn't give her noodle arms, right <a href="http://www.hackerfactor.com/blog/index.php?/archives/318-Behind-The-Mask.html">Ralphie?</a>)<br />
<br />
The photographer, Nicholas Routzen, has this <a href="http://nicholasroutzen.blogspot.com/2010/07/crystal-renn-critics.html">reply</a>:<br />
<blockquote>I want to reiterate that I feel Crystal looks amazing in both images and the minimal retouching that I did do - it's nothing you wouldn't see in any magazine today. There is nothing hidden about this.</blockquote><br />
This tells me three things: (1) he sways to peer pressure (everyone else is doing it...), (2) he does not listen to the models that he shoots (Renn has been a strong voice against the unhealthy, unrealistic anorexic female shape that most of the fashion companies strive for), and (3) he photoshops his pictures. It makes me want to take a much closer look and see if he also does splicing, smoothing, and other common forms of deceptive manipulation.<br />
<br />
However, I would not recommend browsing Routzen's blog. Some of his photos could easily pass for child pornography. (Full frontal nudity of a minor.)<br />
<br />
<H3>Feeling Pumped</H3><br />
But I am saving my largest applause for <a href="http://www.americablog.com/">America Blog</a> and <a href="http://gizmodo.com/">Gizmodo</a>. These people have been looking at the media photos released by British Petroleum (BP).<br />
<br />
It isn't enough that BP's runaway deep-sea oil well poisoned the Gulf of Mexico, after they <a href="http://homelandsecuritynewswire.com/bps-emergency-plan-gulf-discusses-impact-seals-sea-otters-and-walruses">lied to the United States</a> by claiming that they knew how to handle any deep-sea accidents. Or when they <a href="http://www.businessinsider.com/government-doubles-bp-leak-estimate-to-60000-barrels-per-day-2010-6">repeatedly underestimated</a> the amount of oil and would not assist scientists in creating an accurate estimate (we <i>still</i> don't know how much oil was leaked). Or that they only provided low resolution video feeds to the public while <a href="http://www.sfgate.com/cgi-bin/blogs/ybenjamin/detail?blogid=150&entry_id=65378">they had high resolution footage available</a>. Or that they tried to stop the media from <a href="http://www.huffingtonpost.com/2010/06/14/oil-spill-media-access-bp_n_611121.html">documenting the disaster</a>. No... they also have to doctor pictures. (Is anyone really surprised?)<br />
<br />
One photo has the title "<a href="http://gizmodo.com/5592975/bp-photoshops-another-official-image-again-terribly">Aerials over Gulf of Mexico</a>". With a name like "aerials", one would think it would be <a href="http://www.dictionary.net/aerial">taken from the air</a>...<br />
<a href="http://www.bp.com/liveassets/bp_internet/globalbp/globalbp_uk_english/incident_response/STAGING/local_assets/images/View_of_the_MC_252.jpg"><img src="http://lh6.ggpht.com/_Uw91icJn-go/TEiw9LBBnAI/AAAAAAAABkA/tx7dwiUMiTQ/s400/View_of_the_MC_252.jpg"></a><br />
The problem is, the view out the window has been photoshopped. I noticed many things in this picture, but the people on <a href="http://www.reddit.com/r/WTF/comments/cs5wf/bp_fails_at_photoshop_part_two_notice_the_atc/">Reddit</a> just shredded the photo. Some of the findings:<br />
<ul><li>The display clearly says that the door is open, ramp is open, rotor brake is on, and parking break is on. There is no way this helicopter is in the air.<br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TEix6GkioOI/AAAAAAAABko/dAhKGmDb01s/s800/View_of_the_MC_252-hud.png"><br />
<li>The radar shows something to the far left, but nothing in front of him. Thus, no boats.<br />
<li>There is a light that says APU GEN ON. This is the alternate power unit. It provider power until the engines are started.<br />
<li>The pilot is holding a pre-flight checklist. (Ironic that his fingers are crossed.)<br />
<li>Neither pilot is holding the flight stick!<br />
<li>There is a waterbottle resting in the handhold above the guy on the right. The water in the bottle is smooth and flat -- no vibrations at all.<br />
<li>The pilot on the left is wearing glasses. The glasses are reflecting some type of straight-line object. This is likely a runway or edge for the helipad.<br />
<li>The outside water goes from clear blue to smokey. You can clearly see the waves in the blue and smokey areas, but the waves are fuzzy/blended where the two meet.<br />
<li>The water is also blurry around the pilot on the left and near the top of the right window.<br />
<li>The edge of the boats on the left are precisely in the fuzzy section.<br />
<li>The first boat in the right window has a very visible shadow. So all boats should have shadows. However, none of the boats in the left window have shadows.<br />
<li>The boat with shadow indicates that the sun in in front of the helicopter. However, the entire copter is in shadow and so is the tower structure (top left).</ul><br />
This isn't even the entire list. It is suffice to say that this is <i>not</i> an "aerial" photo and it has been grossly modified.<br />
<br />
<a href="http://www.americablog.com/2010/07/bp-photoshops-fake-photo-of-command.html">Another photo</a> shows people in front of some monitors. The problem is, the image shown in some of the monitors was changed. Technically, content from three screens was replicated into the three off-line screens. Oh, and the picture has an internal timestamp indicating that it was created in 2001 (2001-03-06 15:16:50.25) and not 2010 (EXIF data modified time 2010-07-19 18:54:04.25). In either case, the timestamps do not match the "HIVE at Houston Command Center 16 July 2010" as BP captioned the picture.<br />
<table border='0'><br />
<tr><td><a href="http://1.bp.blogspot.com/_1xQeOPE9ePU/TETTdOtWj5I/AAAAAAAAFB0/iG1avKpceKk/s1600/bpphotoshop8.jpg"><img src="http://lh4.ggpht.com/_Uw91icJn-go/TEiw-jYJgzI/AAAAAAAABkM/6rV9g69VrVQ/s400/bpphotoshop8.jpg"></a><br />
<small>Modified</small><br />
<tr><td><a href="http://www.bp.com/liveassets/bp_internet/globalbp/globalbp_uk_english/incident_response/STAGING/local_assets/images/HIVE_houston01.jpg"><img src="http://lh4.ggpht.com/_Uw91icJn-go/TEiw9_EMxHI/AAAAAAAABkE/nWQ3FxRHn4U/s400/HIVE_houston01.jpg"></a><br />
<small>Allegedly Unmodified</small></table><br />
<br />
The <a href="http://www.americablog.com/2010/07/bp-fakes-another-oil-spill-photo-this.html">final picture</a> (so far) shows people in a meeting room. However, the splicing of the content on the screen was done very poorly.<br />
<a href="http://www.bp.com/liveassets/bp_internet/globalbp/globalbp_uk_english/incident_response/STAGING/local_assets/images/GOM_simops_operations_top_kill_houston.jpg"><img src="http://lh4.ggpht.com/_Uw91icJn-go/TEixeGOHg3I/AAAAAAAABkg/IgtDBXTIzdM/s720/GOM_simops_operations_top_kill_houston.jpg"></a><br />
Here's a closeup of some of the splicing:<br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TEix53lHu_I/AAAAAAAABkk/FTCn14RC7dY/s800/GOM_simops_operations_top_kill_houston-p2.png"><br />
Frankly, I'm not sure what is more offensive -- the fact that the picture was modified, or the quality of the modification. In either case, this should be a firing offense.<br />
<br />
Of course, I began to do what everyone else is probably doing -- poring over bp.com and looking for more doctored photos. That's when I noticed something. All of the modified photos appear to have something in common. The meta data and associated credits identify the photographer as "Marc Morrison".<br />
<br />
<H3>Hello, Marc</H3><br />
According to <a href="http://www.energysecurityanddiversity.com/pdf/BP-magazine.pdf">his bio</a>, Marc has been a photographer for 26 years and works for BP. A significant number of photos released by BP were taken by Marc.<br />
<br />
Marc prefers Canon cameras like the <a href="http://www.dpreview.com/reviews/canoneos1dmkii/">EOS-1Ds Mark II</a> or <a href="http://www.pbase.com/cameras/canon/eos_5d">EOS 5D</a>. While these cameras usually take very good photos, Marc's pictures always have a large mount of sensor noise and discoloration. (I can actually pick out Marc's photos on BP's site just by looking for the sensor noise and grainy coloring. Not every picture has had content modifications, but all look grainy and noisy.)<br />
<br />
When it comes to manipulation, Marc seems to rely on overlaying and blending. He primarily targets flat surfaces like monitors or windows. His non-grainy photos appear to have color enhancements to make bright colors pop -- look for things that are red or yellow (his favorite bright colors). I have not seen him advance to people splicing, reflections, or lighting. He also appears to be fond of image cropping; I have yet to see any of his photos that are anywhere near close to a native camera resolution size. Oh, and Marc likes to use something called <a href="http://www.photoshelter.com">Photoshelter</a>. (Since I have no experience with it, I can't tell if it is a program for editing or only web creations and annotations... In either case, many of his photos were modified by it.)<br />
<br />
<table border='0'><br />
<tr><td><img src="http://lh5.ggpht.com/_Uw91icJn-go/TEjLUdFLQnI/AAAAAAAABk8/HU8-FZkK3WI/s400/headline_1279024634.jpg"><br />
<td><img src="http://lh4.ggpht.com/_Uw91icJn-go/TEjLUfeKvmI/AAAAAAAABlA/oG_IPCm-KvI/s400/Gulf_Oil_Spill_JPEG_490368e.jpg"><br />
<tr><td colspan='2'><small>Two photos by Morrison. The left is "<a href="http://www.washingtonpost.com/wp-dyn/content/article/2010/07/13/AR2010071304966.html">AP Photo/BP, Marc Morrison</a>". The right is "<a href="http://www.monstersandcritics.com/news/usa/news/article_1570477.php/Leaking-US-oil-well-capped-tests-to-show-how-effectively">EPA/Marc Morrison/BP Handout</a>". Both show the same room and same people but at slightly different times. Some monitors are the same, some are different. Is either unmodified?</small><br />
</table><br />
<br />
Now, for clarity, there appears to be many photographers named "Marc Morrison". One lives in Steamboat Springs, Colorado -- I really don't think it is him. Another lives in Houston, Texas. The Houston guy seems to take some celebrity photos as well as plenty of oil rig and related industrial photos. However, I haven't seen anything that says the guy in Houston works for BP. (This Marc could be a different Marc.)<br />
<br />
In any case, many of the photos provided by BP's Marc Morrison were credited as "AP Photos/BP, Marc Morrison" and "Marc Morrison - AP". (Example: <a href="http://www.washingtonpost.com/wp-dyn/content/article/2010/07/13/AR2010071304966.html"><i>Washington Post</i></a>, look at the slide show.) However, I cannot find any of Marc's photos at AP's web site. I wonder if they already booted him for altering images...<br />
<br />
(Thanks to the 11 people who sent me links to this BP story. Keep 'em coming!) 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/387-Two-weeks-until-Defcon-18.html" rel="alternate" title="Two weeks until Defcon 18" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-07-17T13:44:24Z</published>
        <updated>2010-07-17T13:44:24Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=387</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=387</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/7-Conferences" label="Conferences" term="Conferences" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/4-Security" label="Security" term="Security" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/387-guid.html</id>
        <title type="html">Two weeks until Defcon 18</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The two largest computer security conferences are coming up! The Black Hat Briefings (frequently referred to simply as <a href="http://blackhat.com/">Blackhat</a>) and <a href="http://defcon.org/">Defcon</a> are at the end of the month. If you've never gone and have an interest in computer security, then consider going this year or plan for next year. I learn more from three days of chatting with people in the hallways at Defcon than I do from a year of reading forums and news postings.<br />
<br />
Blackhat has a more professional aura. The audience are generally well-behaved, professional, and very interested in the presentations. A few people even wear suits!<br />
<br />
In contrast, Defcon is commonly called the after-party. It is billed as the world's largest underground security conference. But with nearly 10,000 people in attendance, is it really "underground"? T-shirts, shorts or jeans, and a very informal environment is the norm.<br />
<br />
All Blackhat attendees get free admission to Defcon, and many of the Blackhat speakers also present the same material at Defcon.<br />
<br />
<H3>Changing Reputations</H3><br />
In the early days, Defcon was a smaller conference and had a very different atmosphere. It was a neutral place where good guys (whitehats) and bad guys (blackhats) could mingle and meet-your-enemy. Due to the large number of anarchists that attended the conference, Defcon got a reputation for destruction. However, Defcon 9 was really the last of the destructive years. Last year (Defcon 17) was really pretty tame. Sure, a few idiots got arrested while they were trying to <A href="http://www.hackerfactor.com/blog/index.php?/archives/301-Defcon-17-Review.html">bungee jump</a> off the roof, but the crowd is really pretty tame today.<br />
<br />
And "crowd" is an understatement. With between 8,000 and 10,000 attendees, the hallways at Defcon are totally packed. In the good old days, you could get into any talk you wanted. (Even if it meant sitting in a steaming tent on a roof.) Today, the rooms are air-conditioned, but the rooms are so packed that you should plan on attending every-other talk.<br />
<br />
Today, there are very few truly destructive people at Defcon. Where did the anarchists go? Defcon increase the entrance fee and the anarchists stopped coming. Today, it is $140 for all three days. You will likely spend more per day on a hotel room and food in Vegas than on Defcon's admission free.<br />
<br />
At Defcon 9 (the first year I attended), the crowd was evenly divided among three types of people. There were whitehats that varied from law enforcement to corporate security professionals and academic researchers, true blackhat evil hackers, and feds who were trying to inventory the other two groups.<br />
<br />
Each year, there are fewer and fewer blackhats who attend. (I suspect that it is the feds who scare them off.)  Last year I recognized a total of two (2) true blackhat hackers. Everyone else was corporate, academic, or fed. As Omar the cabbie once told me, "feds rent cars and don't take taxis." So spotting a fed in the parking lot is pretty easy. The joke for the last couple of years has been around the "Spot the Fed" game. With so many government and law enforcement people in attendance, they should really change the name to "Spot the Hacker". (The <i>Meet the Fed</i> panel has a game they play: Spot the Lamer.)<br />
<br />
<H3>Spotting Hackers by the Book</H3><br />
I've decided to do something new this year... I'm going to Defcon and will be giving away 10 copies of my new book, <i><a href="/book_3.php">Ubuntu: Powerful Hacks and Customizations</a></i>. To get the free book, you'll need to:<br />
<ol><li>Find me. I'm short and look like a computer geek. (I blend in well...) But I always wear my "Hacker Factor" cap and will be carrying a bunch of books!<br />
<li>Mention that you read this on my blog.<br />
<li>After getting the book: if you like the book, mention it on Twitter or in your blog.<br />
<li>To show that hackers are everywhere, take at least 3 photos of people (or yourself) reading the book around Vegas. If you are in a cab, snap a picture of the cabbie reading the book. Riding a roller coaster at New York? How about a photo of you reading it upside down! Eating at a restaurant? Get a picture of yourself ordering from the book instead of a menu.</ol><br />
Each book will have a small instruction sheet with the two rules (blog/tweet it and take three photos) and an email address for sending your photos. I'll put the photos up on a web page.<br />
<br />
I won't be giving away all of the books at once. However, 10 books are heavy, so they will be given away pretty quickly. Probably 3 books on Thursday and the rest on Friday. (I'm also not opposed to bribes.) 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/386-Deja-Vu.html" rel="alternate" title="Deja Vu" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-07-14T01:15:06Z</published>
        <updated>2010-07-14T22:49:02Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=386</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=386</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/5-Programming" label="Programming" term="Programming" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/386-guid.html</id>
        <title type="html">Deja Vu</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                You know that feeling you get when someone gives you advice that you don't care about at the time but turns out to be prophetic? I just had that experience...<br />
<br />
<H3>Boxes</H3><br />
Even though my background includes a significant amount of experience with artificial intelligence algorithms, I rarely use AI systems in my day-to-day work. The reason has to do with repeatability and provability. The various types of neural networks are relatively easy to construct and train, but act as black-box systems. You know the input, you see the output, but you don't know how the system generated the output from the input. Moreover, if you train a neural network with different initial weights or a different order through the training set, then it will result in a different learned configuration.<br />
<br />
While black-box AI systems may generate accurate results, the training process is NP-complete -- you don't know ahead of time how much training it will take or whether it can actually learn. Moreover, these systems can be very good at memorizing training sets. Don't over-train your black box unless you want it to memorize the training set and completely screw up on the testing set.<br />
<br />
In contrast to neural networks, fuzzy logic and genetic algorithms are gray box systems. You kinda know how they work. Given the input, it generates output and you can see how it came up with the output decision. However, barring very simple fuzzy logic systems, you cannot really tell what the output will be until you run the input though the system. You can see how it made the decision, but not before running it.<br />
<br />
Finally, there are white-box AI systems like Bayesian networks. You know the input, the output, and how it will make the decision. The only real problem here is configuring the system. Since you need to know the probabilities, you really only have two choices. You could compute the probabilities before hand, but this requires you to have enough data to statistically compute the probabilities and be able to characterize the various statistical factors. The other choice is to use a gray-box or black-box system to learn the probabilities, in which case the probabilities may not be provable or optimal.<br />
<br />
<H3>Dusting Off</H3><br />
I recently had a need for "a solution", where "provable" and "deterministic" are not requirements. This is a perfect situation for using AI. I wrote my own AI library many years ago. Basically, I didn't like any of the existing systems (not flexible enough for my own needs) and it was easier to build my own than adapt around existing systems. However, it has been years since I used it and I only vaguely remember the configuration options.<br />
<br />
A couple of things really surprised me. First, my AI library was written in 1990 and last maintained in 1996. (Last bug fix was in 1994.) I didn't even know if it would compile with the latest GCC. My first surprise was that it compiled cleanly with "gcc -Wall". It even passed its benchmark and regression tests.<br />
<br />
As I gawked at the output, I thought, "This is great! I wish I remembered how it worked!" Then I looked at the source code... There are huge paragraphs that describe how every function works and how to use it. Completely documented. Even the variables have reasonable names: no "int i,j" or "float q[12]" or "double phi,theta". Instead the variables have names like 'CutoffThreshold' and 'float *weights; /* network weight matrix */'. The comments even cite books and pages as references.<br />
<br />
<H3>Way Back When...</H3><br />
I had a professor back in college who drilled "style" into all of us. He had three basic rules that, if broken, would result in a zero on your homework.<br />
<ol><li>Always comment your code. If the code is more complex than a simple loop, then describe what it does.<br />
<li>C permits 64-character variable names (well, it did back then). Variable names should be descriptive and not generic. Single letter variables (i, j, x, y) are only permitted for very short loops. Greek letters should never be used for variable names unless you are programming in Greece.<br />
<li>Don't use features specific to a compiler or operating system. Stick with portable standards. If you must use something specific, encapsulate it so a replacement won't impact the rest of the code.</ol><br />
We obeyed because we wanted to pass the class. However, the lesson was never lost on me. I still "over-comment" my code.<br />
<br />
I looked up my notes and found a great quote from the professor (from notes I took in 1988): "Always comment your code because you never know when you will refer to something you wrote 20 years earlier." Wow -- he even nailed the duration. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/385-After-The-Fact.html" rel="alternate" title="After The Fact" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-07-11T03:06:36Z</published>
        <updated>2010-07-11T15:39:14Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=385</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=385</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/3-Network" label="Network" term="Network" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/9-Privacy" label="Privacy" term="Privacy" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/5-Programming" label="Programming" term="Programming" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/4-Security" label="Security" term="Security" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/385-guid.html</id>
        <title type="html">After The Fact</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Over the last few months I have had friends and associates contact me about hacked web sites. In each case, someone (or something) planted hostile URLs on their web pages. These URLs would redirect visitors to porn sites or serve up viruses. Worse: these URLs would be embedded everywhere -- in HTML, in PHP, and in back-end databases.<br />
<br />
The question they always ask me: What should I do?<br />
<br />
It is easy to tell people that they should have a disaster recovery plan in place. However, few people have one. Other <a href="http://www.hackerfactor.com/blog/index.php?/archives/336-Better-Than-Nothing-Security-Part-I.html">pre-attack advice</a>, like hardening servers, changing defaults, and installing filters is great advice, but is usually ignored. In my experience, the sites that have taken simple steps and have plans in place are not the ones usually compromised. The common compromises are directed at non-technical users who installed default software and ignored even basic maintenance.<br />
<br />
<H3>Post-Compromise</H3><br />
So let's say you have a default WordPress or Wiki or Blogger installation. It isn't a question on whether your site will be compromised or infected. The only question is <i>when</i>. And like most people, you haven't maintained your software (applying patches, upgrading as needed), don't have backups (your ISP does that, uh, right?), and haven't removed default files or hardened the system. What should you do after a compromise?<br />
<br />
There are plenty of good checklists out there. Some examples include:<br />
<ul><li><a href="http://www.freehostia.com/blog/webhosting/site-hacked-what-to-do.html">http://www.freehostia.com/blog/webhosting/site-hacked-what-to-do.html</a><br />
<li><a href="http://www.malwaredomainlist.com/forums/index.php?topic=3122.0">http://www.malwaredomainlist.com/forums/index.php?topic=3122.0</a><br />
<li><a href="http://blog.sucuri.net/2010/05/simple-cleanup-solution-for-the-latest-wordpress-hack.html">http://blog.sucuri.net/2010/05/simple-cleanup-solution-for-the-latest-wordpress-hack.html</a><br />
<li><a href="http://www.antiphishing.org/reports/APWG_WTD_HackedWebsite.pdf">http://www.antiphishing.org/reports/APWG_WTD_HackedWebsite.pdf</a><br />
<li><a href="http://codex.wordpress.org/FAQ_My_site_was_hacked">http://codex.wordpress.org/FAQ_My_site_was_hacked</a><br />
<li><a href="http://www.webdevelopersnotes.com/hosting/website_hacked_what_to_do.php3">http://www.webdevelopersnotes.com/hosting/website_hacked_what_to_do.php3</a><br />
<li><a href="http://ocaoimh.ie/did-your-wordpress-site-get-hacked/">http://ocaoimh.ie/did-your-wordpress-site-get-hacked/</a><br />
<li><a href="http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/">http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/</a></ul><br />
While each of these sites gives good advice, there is no single consensus regarding appropriate steps. My own checklist is a little more detailed and extreme.<br />
<br />
<H3>Neal's Post-Compromise Checklist</H3><br />
Nobody wants to have their site compromised. However, like auto accidents, bad things happen. If you were not paying attention (like texting while driving or not applying system patches) then bad things are more likely to happen to you.<br />
<br />
Here are the steps that I usually recommend to people with compromised web sites:<br />
<ol><li>Stay calm. Only the <a href="http://codex.wordpress.org/FAQ_My_site_was_hacked">WordPress checklist</a> included this advice, but it is very valuable. Now is not the time to panic, place blame, or get angry. Compromises and exploits go hand in hand with technology. Don't panic, deal with it.<br />
<br />
<li>Check your own systems for malware. There is no point in fixing the server if your own workstation is infected. It is actually very common for a home computer to be infected and used to gain access to your public blog or web server.<br />
<br />
<li>Take the site offline. Most e-commerce companies really don't like this idea. However, which is more important? Making a sale, or compromising your customer's credit card and tarnishing your reputation because your site was hijacked? Shut it down. Put up a temporary "We're upgrading, back in 48 hours" message.<br />
<P><br />
After you take your site offline, check to make sure it really is offline. Some attacks actually hijack your domain name (DNS entry) and not the server itself. If your site still looks online, has the DNS server been compromised? Your DNS registrar and/or domain hosting provider can usually help you in this situation.<br />
<br />
<li>Make a full backup. This includes all files, scripts, and database records. Yes, it is infected. But if you don't have backups then this is your only option.<br />
<br />
<li>Grab your logs. You will need these to identify how the attack was done, when it happened, and who else might have been infected. This includes system logs, web logs, and any other kind of log file. Grab it first and see if you need it later.<br />
<br />
<li>Evaluate the compromise. What kind of attack was it? Were they after "a site" or "your site"? Was the attacker looking for low hanging fruit or was it personal? Most malware, like the kind that inserts links, are automated. They scan for known vulnerabilities and infect anyone they find. If you were compromised this way, then it is likely because you have a default configuration with a known vulnerability (known to the attacker).<br />
<br />
Defacements may be automated or semi-automated. They scan for sites with known vulnerabilities and then they either automatically or manually deface the site.<br />
<br />
E-Commerce theft is usually associated with an initial automated vulnerability scan. The scan is followed by a manual compromise that is customized for the site. However, if you use a very common e-commerce package, then the compromise may be semi or fully automated.<br />
<br />
Personal attacks are always manual compromises.<br />
<br />
It is important to recognize that automated attacks are almost never against custom code. They look for known vulnerabilities in default installations. If you change the defaults, move default files, or otherwise filter and harden the site, then automated attacks are very unlikely to succeed.<br />
<br />
<li>Look for similar attacks. Are other people running the same software getting attacked? Perhaps you need a patch. Is it everyone on the same server or in the same hosting environment? Maybe someone should maintain the system. Is it all of your accounts? Perhaps your computer has a virus.<br />
<br />
<li>Change passwords. Between taking the server offline and changing passwords, attackers will be kept out while you repair the system. (Hopefully.)<br />
<br />
<li>Wipe the system. There is only one thing people hate more than being told to turn off an e-commerce site, and that's being told to wipe the system and reinstall from scratch. But seriously, the inserted URLs and malware may only be the part that you notice -- much more may have been done to the system. There could be backdoor software, trojans, or embedded viruses that cannot be removed by a simple system restore. By wiping and reinstalling, you ensure that all malware is gone.<br />
<br />
<li>Patch. Bring the system up to the current state of the art. While you're at it, harden the system and change all system defaults.<br />
<br />
<li>Restore. You do have backups from before the compromise, right? If not, then install basic software (like blogs and wikis) and harden them first. Then place custom software on the system. Finally, restore content. Be sure to validate that the content is not infected. You can do this by reviewing the content before uploading it. (What? Review your 10,000 blog entries? Yes. There is no point in removing the malware from the server if you're just going to upload it again.)<br />
<br />
<li>Change passwords again. Passwords before the patch and restore could have been compromised.<br />
<br />
<li>Watch. Now you can turn the system back on. If the attackers come back, then you didn't patch or restore something. (And now you have experience to recover much faster!) Watch your logs and IDS and try to determine how they exploited your site. If the logs show nothing, then you know which parts of your site were not responsible for the attack.<br />
<br />
<li>Blame. This is everyone's favorite part. If you don't have logs, don't regularly patch or update, and don't maintain the system, then you cannot blame anyone except yourself. Security is a moving target -- software that was secure yesterday may not be secure today. Unless an administrator did something completely stupid, such as posting login credentials in a public forum or actively assisting the attacker, then there probably is nobody else to blame. Blame the management.<br />
<br />
Too many times I have seen management blame developers or software for compromises. For example, if your old version of WordPress was the source of the compromise, then they will blame WordPress even when newer versions are available. (Let's blame the software instead of ourselves for failing to maintain and harden the systems.)</ol><br />
Having your site compromised isn't fun, but it isn't the end of the world either. Stay calm and address the problem. Treat it as you would any other learning experience. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/384-Failure-to-Communicate.html" rel="alternate" title="Failure to Communicate" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-07-02T05:06:03Z</published>
        <updated>2010-07-08T16:07:01Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=384</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=384</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/3-Network" label="Network" term="Network" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/13-Politics" label="Politics" term="Politics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/15-Travel" label="Travel" term="Travel" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/384-guid.html</id>
        <title type="html">Failure to Communicate</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A couple of days ago I <a href="http://www.hackerfactor.com/blog/index.php?/archives/382-Why-Oh-WiFi.html">wrote</a> about my need for wireless network capabilities when traveling, and my fear of becoming an early adopter of new peripherals. The feedback I got back was amazing. A few people posted comments but nearly a dozen people wrote to me directly with advice, suggestions, and horror stories.<br />
<br />
The feedback identified three classes of solutions:<br />
<br />
<b>Standalone hubs</b>. There is a class of 3G router that connects to the network and acts like a local WiFi hotspot. As long as your computer can talk regular 802.11 (a/b/g/i/whatever), it can connect to the hub. The hub connects to the 3G network, giving you Internet access. Dr. Silk recommended the <a href="http://www.verizonwireless.com/b2c/mobilebroadband/?page=products_mifi&CMP=KNC-PaidSearch&rf=google.com">MiFi 2200 from Verizon</a>. I gotta agree with him -- this looks like an excellent solution, especially for residences that cannot get cable or DSL but with 3G coverage (like my friend who lives a few miles outside the city limits). The downsides are not too extreme: claimed 4 hour battery life (forums make it sound like 2 hours with heavy use) and tied to Verizon's 5GB limit for an expensive $60/month. Again, if you can keep it plugged in and have a couple of people at home using it, then $60/month isn't bad at all.<br />
<br />
<b>Tethered</b>. A tethered solution is where you have a USB cable going from your computer to your cell phone. The cell phone provides the modem/router support and connectivity to the 3G/Edge/4G/etc. network. As long as your cell phone works, you should have network connectivity. This is a great solution for anyone with a smartphone (like the iPhone or Android) -- particularly since you are probably already paying for the bandwidth and you're just not using it.<br />
<br />
Every now and then I looked into smartphones. Right now the battery life isn't acceptable for me. My current phone can go nearly a week with heavy use (well, heavy use for me) before needing a charge. It can go nearly 2 weeks if I rarely use it and leave it turned on. My EeePC gets about 7 hours per charge and that includes heavy use (programming and compiling and networking). In contrast, most smartphones last 4-8 hours at best.<br />
<br />
In my case, I don't have a smartphone. While I do have a cell phone, it is almost always turned off. (I don't like cell phones and I only use it when traveling.) I'm actually on a pay-as-you-go plan and I usually spend about $100 a year on the phone. For my use model, the prepaid option is a great and inexpensive choice. For this reason, I cannot justify getting another phone (a smartphone to replace my Motorola v195) for the sole purpose of having network access when I travel.<br />
<br />
Frankly, I'm griping about paying $10/day for Internet use at hotels. For the $60/month plan, then means I need to stay at hotels more than 6 days per month for this to be a viable option. And this doesn't take into account the $50-$200 price of the smartphone with a 2-year commitment. (Some smartphones are free with a 2-year contract, but they are either not iPhone/Android, or are running older operating system versions.)<br />
<br />
<b>USB Dongle</b>. At first glance, these USB dongles seem perfect for me. The calling plans are usually not as expensive as a smartphone, there's no extra power supply (it runs off the USB power), and the use model is intended for laptops and travelers. However... these dongles are not just regular modems.<br />
<br />
<H3>My Bad Experience</H3><br />
After a lot of soul searching, I finally settled on the T-Mobile webConnect USB dongle. As I understood it, there is a 200MB plan with overage fees and a 5GB plan with no overages for $40. And best yet, T-Mobile is having a sale, so the webConnect is only $20 instead of $45 (with 2 year contract). While the device only says that it supports Windows and Macs, there are plenty of people in the forums who say that have it working for Linux.<br />
<br />
Well, spoiler alert: nothing is as it appears.<br />
<br />
Remember the old days when modems spoke that Hayes "AT" control code stuff over a serial port? It didn't matter what kind of computer you had as long as you spoke RS232 and used the standard AT command sequences. That's not the case today. +++<br />
<br />
Today, the USB dongles do speak the AT command set (with additional commands for broadband negotiation). However, there is nothing standard about how you access the modem. There are three types of devices on the market right now, and if you choose wrong, you'll get screwed.<br />
<br />
<b>Plain modem or NIC</b>. There are a few USB dongles that plugin and look either like a serial modem or like a network interface card. These have out-of-the-box support by most Linux distributions. Unfortunately, these seem to be limited to the older devices. Some don't support 3G and most have no means for supporting the new 4G and HSPA+ networks.<br />
<br />
<b>Dual device and ZeroCD</b>. The description from the usb-modeswitch package for Linux describes this very well:<br />
<blockquote>Several new USB devices have their proprietary Windows drivers onboard, especially WAN dongles. When plugged in for the first time, they act like a flash storage and start installing the driver from there. If the driver is already installed, the storage device vanishes and a new device, such as an USB modem, shows up. This is called the "ZeroCD" feature.</blockquote><br />
Most versions of the T-Mobile webConnect device are in this category. If you put it in and it doesn't work as a serial modem, then install the usb-modeswitch package. This will temporarily turn off the ZeroCD feature and allow you to access the modem.<br />
<br />
<b>Total software solution</b>. Beginning last December, a few manufacturers began to roll out "lite" versions of these USB modems. From what I can tell, they totally removed most of the firmware and do most things in software. I suspect that this was done more for cutting hardware costs than for any actual performance or flexibility gain. Unfortunately, there is unlikely to be any Linux support unless the manufacturers port their code to Linux.<br />
<br />
<H3>Hear No Evil</H3><br />
At the time I was doing the purchase, I specifically asked about Linux support. The woman who was helping me at the T-Mobile store wanted to make sure too, so she called their technical support. The first two people she spoke with didn't know what Linux was. (OMG! Are you kidding me? It's 2010! My Grandmother knows what Linux is! Every sales person in the store knew about Linux! And this is the T-Mobile technical support?)<br />
<br />
She finally reached one technical support person who basically said, "Does it work under Linux? I should know the answer to that, but I don't know and there really isn't anyone else if I escalate this." Since the Linux forums had many success stories with the webConnect (before I knew about the "lite" versions), I decided to risk it. Bad choice on my part.<br />
<br />
As it turns out, the $20 "on sale" device from T-Mobile is actually a Huawei UMG1691 (also called the E1691). The 1690 and 1692 are ZeroCD devices and appear to be <a href="http://www.draisberghof.de/usb_modeswitch/#hardware">supported</a> by usb-modeswitch. The 1691 is a lite version and only has software for Windows and Mac. After a few days of fighting with it, doing much more homework, and even calling tech support, I finally learned about the UMG1691 -- it is a total software solution and will never work under Linux (without additional software that doesn't exist today).<br />
<br />
<H3>See No Evil</H3><br />
At this point, I had two options: return it or exchange it for a different version. As long as your CPU isn't running at a full load, the performance between the ZeroCD and Lite devices should be similar. I gave it a quick try in my Mac desktop system to see if it was worth exchanging. I ended up noticing two things.<br />
<br />
First, the bandwidth was limited to 200MB. Huh? I paid for the 5GB and no overages for more than the advertised $40 price. Well, the offer on <a href="http://www.t-mobile.com/shop/plans/Cell-Phone-Plans.aspx?catgroup=Internet-Email-cell-phone-plan&WT.z_shop_plansLP=Internet_email">the web site</a> doesn't match the offer in the store. In the store, it is 200MB with or without overages. The store does not offer an Internet-only plan for $40 with 5GB and no overages.<br />
<br />
After you go over your monthly limit, they either charge you $0.05 per MB or nothing (no overages). In the latter case, they simply reduce your bandwidth.<br />
<br />
So how fast is the bandwidth? My Mac's benchmark reported at about 400KB per second down, and much less up. Uh, I deal with computer forensics. I'm usually transferring very large files -- CDs or DVDs or on some occasions, multiple DVDs. For me, 1MB per second is slow and 400KB/sec is unacceptable.<br />
<br />
<H3>T-Mobile is Evil</H3><br />
The upside is that I was allowed to return it to T-Mobile within the 2-week window for a refund. (I was 3 days into the contract.) No connection fee, reimbursed for the hardware, and they waved the 1MB of bandwidth I used (no prorating service since I couldn't get it to work on the desired system). However, they did keep a $10 "restocking fee" that was buried in the fine print. (Had I known that there was a chance of failure and a $10 restocking fee, I would have passed on this experiment.)<br />
<br />
So to summarize: (1) Stay away from the UMG1691 like the plague -- it is the <a href="http://www.linux.org/docs/ldp/howto/Hardware-HOWTO/nic.html">3C501</a> of the USB wireless broadband world, (2) watch what they are selling and make sure it matches their offers on the web site, (3) if you have the option to use a hub or tethered solution, do that instead of the USB dongles, and (4) ask about any restocking fees -- even if they tell you that you will get a full refund within a 14 day grace period.<br />
<br />
Finally, I have to think that there is something seriously wrong with the mobile phone market. Every store I went into (T-Mobile, Verizon, AT&amp;T, and Sprint) had a huge number of customers hanging around. T-Mobile, Sprint, and AT&amp;T each had a person adding names to a waiting list. In each case, the majority of customers were not there to buy -- they were there seeking returns, refunds, or corrections. The last time we saw something like this, the housing market collapsed and huge numbers of people defaulted on loans. Are we heading toward a communication breakdown since the phone companies are investing in an acceptable level of service? 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/383-Through-The-Looking-Glass.html" rel="alternate" title="Through The Looking Glass" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-06-30T03:10:00Z</published>
        <updated>2010-06-30T05:12:50Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=383</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=383</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/14-Forensics" label="Forensics" term="Forensics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/1-Image-Analysis" label="Image Analysis" term="Image Analysis" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/6-Mass-Media" label="Mass Media" term="Mass Media" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/383-guid.html</id>
        <title type="html">Through The Looking Glass</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The hardest parts of forensic analysis isn't the tools; it's the training. Anyone can buy rubber gloves, swabs for collecting blood samples, and plastic evidence bags. But if you are not trained to properly collect, handle, and evaluate evidence, then the <a href="http://www.crime-scene-investigator.net/blood.html">tools and methods</a> are meaningless.<br />
<br />
The learning curve is the hardest part. To address this, I've been working on documentation and worksheets for digital image analysis and photo forensics. While there is still a steep learning curve, the investigator can review the worksheets as a checklist for common things to evaluate. The associated documentation provides details regarding the checklist items, in case the investigator needs to review how a particular system works.<br />
<br />
<H3>An Eye For Details</H3><br />
While luminance gradient and <a href="http://www.errorlevelanalysis.com/">error level analysis</a> draw pretty pictures, the most important tool is basic observation. It is one thing to see the big and obvious signs of manipulation. It is something else to remember all of the fine details.<br />
<br />
The folks at <a href="http://photoshopdisasters.blogspot.com/">Photoshop Disasters</a> recently posted a couple of amazingly bad shopped pictures that clearly illustrate the power of observation for detecting image modifications.<br />
<br />
The first picture comes from an ad campaign for fingernail polish. The picture is supposed to show a model and some nail polish. The magical stars that go from her elbow to the picture frame are just artistic. However, it is the fine details that make this such an obvious disaster... Just using your eyes, what stands out as abnormal and not intentionally artistic? Give yourself a minute to look over it, then scroll down and see how many things you noticed.<br />
<br />
<a href="http://www.queens.com.my/viewthread.php?tid=9960120"><img src="http://lh5.ggpht.com/_Uw91icJn-go/TCpysAtCo9I/AAAAAAAABjY/SoWxIqcDzAs/s800/Jolin2.jpg"></a><br />
<br />
If you only saw the disconnected leg, then give yourself one point. (If you didn't notice the leg, then go back and try again. As Thall commented at <a href="http://photoshopdisasters.blogspot.com/2010/06/oopsjealous-so-hip.html">PsD</a>, "That women could birth a horse or two with those hips!") Other oddities include:<br />
<ul><li>Her waist is out of proportion.<br />
<li>There is a black triangle between her torso and floating leg. The artist forgot to cut out this area.<br />
<li>Her left forearm (photo right) is significantly longer than her right forearm.<br />
<li>She has two thumbs on her lower hand. (One thumb could be her foot showing through a strap in the shoe, but it is actually blended into the hand.) Oh, and don't mind the "S" on her finger; other photos show it as a tattoo or something.<br />
<li>Her neck is showing a tendon, indicating that her head is turned. However, her head is looking straight and is not centered on the neck. Yes, they cut off her head and pasted on a different head.<br />
<li>She is missing a clavicle (shoulder bone) -- one is there, but the other was erased.<br />
<li>Her boobs are different sizes, and not in a natural way (unless the left one is half as long and deflated...).<br />
<li>The shadow under her head indicates a bright light to the upper right. But the floating leg isn't casting the same shadow onto the other leg. And the shadow from the sleeve onto her straight arm has a shadow going the other direction. Inconsistent lighting means splices.<br />
<li>Of course, all of these are issues with the woman. Over at PsD, ZaphodQB noticed that the reflection of the black polish does not meet the bottom of the black bottle.</ul><br />
This isn't the full list. What else do you see? No wonder their product is called "Oops!"<br />
<br />
<H3>The Perfect Model</H3><br />
I'm always looking for good sample images that demonstrate specific points. Ideally, I want one picture that only demonstrates one thing, then another that demonstrates the same thing with more complexity, and finally an example that brings everything together.<br />
<br />
From the Oops! example, we know to look for different classes of manipulation. These attributes become our checklist:<br />
<ul><li>Limbs: Are all of them accounted for? Are all connected? Are they the right proportions?<br />
<li>Reflections: Do items line up properly?<br />
<li>Shadows and lighting: Are they consistent?</ul><br />
Now we can apply this to a new set of pictures.<br />
<br />
At Photoshop Disasters, they <a href="http://photoshopdisasters.blogspot.com/2010/06/louis-vuitton-through-glass-dorkily.html">featured</a> a picture from the French fashion house, Louis Vuitton. However, the web page at <i>Fashion Gone Rogue</i> contains many pictures from the "<a href="http://fashiongonerogue.com/louis-vuitton-fall-2010-campaign-christy-turlington-natalia-vodianova-karen-elson-steven-meisel/">Louis Vuitton Fall 2010 Campaign</a>" (also available at <a href="http://www.fashionologie.com/Louis-Vuittons-Fall-2010-Campaign-Features-Three-Supermodels-Born-Three-Different-Decades-8902686">Fashionologie</a>). It is an homage to digital distortions.<br />
<br />
Starting at the top is the <a href="http://imagesgonerogue.com/images/lilyheader.jpg">banner</a> for <i>Fashion Gone Rogue</i>. Her upper arms are very different lengths. It is also faint (better seen with luminance gradient), but it looks like there is a strap or something going across her shoulder and down her cleavage. (This could be where the artist stopped altering the skin.)<br />
<br />
<img src="http://lh4.ggpht.com/_Uw91icJn-go/TCpyM_TGo-I/AAAAAAAABjQ/k0DyuLchklM/s800/lilyheader.png"><img src="http://lh3.ggpht.com/_Uw91icJn-go/TCpyNFFoyzI/AAAAAAAABjU/cs8KwpRITmY/s800/lilyheader-lg.png"><br />
<br />
<H3>Mirror Mirror On The Wall</H3><br />
The various photos from Louis Vuitton have been equally mangled. Let's use our new checklist...<br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TCpz4OZw3wI/AAAAAAAABjg/QhW73giUx88/s800/louisvuittoncampaign3.jpg"><br />
The picture claims to show three women in a dressing room. Each has different color hair: red, blonde, and brunette.<br />
<br />
<b>Limbs</b><br />
Every person has two arms? Check! Extra fingers? Nope. Legs and feet? Uh... the brunette on the right has an ankle but is missing toes.<br />
<br />
<b>Reflections</b><br />
The right-most mirror (behind the toe-less brunette) is not reflecting anyone in the room. The blonde has her hand up in the room but her hand is down in the mirror. That same mirror also shows a light bulb in the reflection, but the bulb does not exist in the room.<br />
<br />
The second mirror from the right shows bulbs but they don't align with the bulbs in the room.<br />
<br />
The mirror on the far left shows red's head from the back. However, red's head is not turned to show her back to that mirror. And the mirror's reflection shows the lamp on the wrong side. The reflection does not match the room.<br />
<br />
<b>Lights and Shadows</b><br />
When an item sits next to a illuminated light, it is made brighter. And when items are facing away from the light, they are in shadow. Complex lighting, such as floods, reflectors, and bright ambient lighting, can mitigate shadows.<br />
<br />
However, those mirrors have a lot of bright lights. The women should have brightly lit backs. But this isn't what we're seeing. The brunette has bright reflections off her chest but not her back. The blonde has a bright clavicle but an under-lit neck. The pile of junk in the back has a brown fabric thing above the handbag; it is lying next to a light bulb and not lit up.<br />
<br />
This isn't a comprehensive list and there are other oddities that are not in our checklist. For example, the blonde's dress seems to have a layering issue with red's chair. The dress fabric suddenly becomes semi-transparent and you can see the chair through it.<br />
<br />
Frankly, I kind of doubt that these three women even posed together for this picture.<br />
<br />
Some of the pictures in this series are much worse than others...<br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TCp6PI74pqI/AAAAAAAABjo/HFL0ZkMCIeg/s800/louisvuittoncampaign6.jpg"><br />
<br />
Dear Louis: While fabrics may be diaphanous, people are not. And while models may be vamps, they are not vampires. Please fix the left mirrors. You know, the ones with the time-delay reflections that show the brunette in two alternate positions and don't reflect the blonde.<br />
<br />
<H3>Dress For Success</H3><br />
While I can criticize these ads for pasting in people, changing reflections, and digitally altering lighting, I have to give Vuitton one piece of credit:<br />
<br />
Beyond expected color enhancements (applied to the entire picture) and spicing blends (expected from a composite image), I have not detected any modifications to the clothing. Well done. Unlike <a href="http://www.hackerfactor.com/blog/index.php?/archives/319-You-Cant-Spell-ROFL-Without-RL.html">Ralph Lauren</a> and <a href="http://www.hackerfactor.com/blog/index.php?/archives/322-Body-By-Victoria.html">Victoria's Secret</a>, Vuitton's pictures do not appear to be a product bait-and-switch. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/382-Why-Oh-WiFi.html" rel="alternate" title="Why Oh WiFi" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-06-27T05:28:01Z</published>
        <updated>2010-07-02T13:00:52Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=382</wfw:comment>
    
        <slash:comments>12</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=382</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/3-Network" label="Network" term="Network" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/382-guid.html</id>
        <title type="html">Why Oh WiFi</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                When I was much younger (and had hair), I was an early adopter of new technologies. I had a touch screen on my computer back when this meant affixing a semi-transparent plastic sheet to the monitor and plugging it into the joystick port. I had one of the first Apple ][c computers (with amber monitor), I remember the excitement when EGA superseded CGA graphics, and I actually bought AMI Pro when it first came out for OS/2.<br />
<br />
Unfortunately, there are three big problems with being an early adopter. (1) New technology is usually buggy, (2) new technology lacks support, and (3) new technology will probably become outdated quickly. The plastic touch screen didn't work very well and was very hard to program. Touch screens didn't become popular until the technology matured -- two decades later. EGA was quickly replaced by VGA and SVGA. And AMI Pro was so buggy that I ended up writing my dissertation in WordPerfect. (I still think that 1992's WordPerfect 5.2 is better than today's Microsoft Word.)<br />
<br />
Due to my past experiences, I'm rarely an early adopter of new technologies. For example, I didn't buy my first DVD player until years after DVDs came out. Shortly after DVDs came out, there was a rumor about a better technology. Just as records were replaced by CDs overnight, I didn't want to start buying DVDs when everyone was switching to HD DVDs. I waited until I was sure that DVDs were not superseded. And I'm glad I waited; BluRay beat out HD DVDs, but the slow adoption rate tells me that my DVDs won't be outdated in the near future. (I know two guys who spent a small fortunes on their betamax and laserdisc collections.)<br />
<br />
<H3>Wireless Broadband</H3><br />
More and more, I'm finding myself in situations where I need network access. Hotels, for example, either have very slow access for free, or no access at all. I hate driving 10 miles to find a bookstore or coffee shop that has free WiFi, and I cannot justify spending $12 to $25 per day for a hotel's paid Internet service. Besides the outrageous prices, there are limitations regarding <i>when</i> the 24-hour period ends. Some hotels are 24-hours from purchase, others are noon-to-noon or midnight-to-midnight. And if you shutdown your computer, then you may forfeit your paid 24-hour service.<br />
<br />
More than once, I've found myself in an airport or parking lot and needing Internet access. I almost missed a contract because I couldn't get Internet access during a two-hour layover -- I had to wait 5 hours before I could get online.<br />
<br />
Because of this, I've finally decided to break down and buy one of those wireless broadband services. Oh, what a nightmare! Right now, I'm just pricing and comparing services. Some of the things I have found so far:<br />
<ul><li>Unless you go with one of the big four (Sprint, Verizon, AT&amp;T, or T-Mobile), you will likely not have coverage outside of a limited number of metro areas. Cricket's coverage map, for example, says that they don't offer 3G over most of Silicon Valley.<br />
<br />
<li>Most either want a 2-year contract (with a $200 - $400 cancellation fee) or offer a no-contract option. Currently with T-Mobile, the only difference is the cost of the device (no contract means paying full price for the device), but there is no difference in the monthly rate. Verizon has a no-contract rate that is really expensive. They want as much as $15 per day for the days you use it (that matches most hotel's $12-$25 rate, and I don't have to buy a special device for hotel Internet access and hotels usually don't have a bandwidth limit).<br />
<br />
<li>They all seem to offer two to three levels of Internet access. The lowest level is usually 50MB to 250MB per month. The mid range is 3GB to 5GB per month (a DVD is 4.7GB, so you can do the math -- it's 2-3 Hulu feature films per month). A few providers offer "unlimited" bandwidth, but then you're talking $60-$80 or more per month. That's really expensive for something that I really would only use when I am not in the office.<br />
<br />
<li>Every single one of them says that they support Mac and Windows. Uh, what about Linux? I have that "Early adopter means buggy code" fear...<br />
<br />
<li>While nearly all wireless broadband providers support 3G networks, some provide support for newer networks. For example, Sprint is rolling out their 4G network. T-Mobile is offering "HSPA+". And WiMax isn't dead yet. To me, this sounds like DVD vs BluRay vs HD DVD all over again -- but with a two-year contract that will lock me into the loser. I really want to wait until this settles out, but I'm hitting a business necessity.</ul><br />
<H3>Measuring Network Usage</H3><br />
Each of these services charge based on bandwidth usage. However, they don't really tell you much about it. For example, is 250MB per month a lot or a little -- for checking email, surfing the web, and doing basic business tasks (not downloading videos or playing online games).<br />
<br />
While there are many programs for measuring real-time network usage, I couldn't find a program to tell me the cumulative total usage. Command-line programs like 'netstat -i' show the total number of packets, but not the total number of bytes. 'ifconfig' and 'nload' show the current byte totals, but that's from the start of the network interface and not from when I say "start measuring now!"<br />
<br />
Anyway, using nload, I decided to monitor my network usage. Checking email, reading the web sites I usually read (CNN, USA Today, Photoshop Disasters, Facebook, and typical Google searches), and running VNC over SSH to access my office systems.<br />
<br />
The net result? I consumed 50MB in the first 30 minutes. That's half of the allocation of Verizon's $15 <a href="http://www.verizonwireless.com/b2c/mobilebroadband/?page=products_prepaidmb">pay-by-day plan</a> and 25% of T-Mobile's <a href="http://www.t-mobile.com/shop/plans/Cell-Phone-Plans.aspx?catgroup=Internet-Email-cell-phone-plan&WT.z_shop_plansLP=Internet_email">monthly 200MB allocation</a>. Over the course of the day, I will probably use between 200MB and 750MB of bandwidth. (I'm not always surfing the web.) Any plan offering less than 1GB per month is an expensive rip-off. (Your mileage will vary based on how you use the Internet.)<br />
<br />
Fortunately, I'm only going to need this type of service for 1-2 hours per day and not more than 10 days per month. That comes out to about 20 hours at 100MB per hour, or 2G per month. However, that's based on today's usage. I'm very likely to see overages as I approach the middle of a 2 year contract and my needs expand.<br />
<br />
<H3>Defcon!</H3><br />
<a href="http://www.defcon.org/">Defcon</a> is coming up next month. One of the <a href="http://www.hackerfactor.com/blog/index.php?/archives/302-The-Death-of-Vegas.html">big problems with Las Vegas</a> is that there really is no good, free Internet on the Strip. Krispy Kreme (in Excalibur) and Coffee Bean and Tea Leaf (Planet Hollywood) offer hit-and-miss free WiFi -- when it works, it works well enough, but when it is down, they rarely know how to reboot the router. All of the Starbucks (in every hotel) only offer fee-based services -- if they offer WiFi at all. The Apple Store in the Fashion Mall has free WiFi, but that isn't exactly convenient. None of these free locations are open 24-hours a day.<br />
<br />
Nearly all hotels offer fee-based Internet in your room. Some are wireless only, others have wired but you might need to bring your own cable. (I've been in too many hotel rooms where the in-room network cable was busted.)<br />
<br />
Defcon does offer free WiFi to attendees, but I won't go near it. It is an actively hostile network. Even if you are not worried about someone hijacking your SSH or SSL connection (with client-side certs), they can still DoS your connection and attack the server's IP address. Oh, and don't think that Tor or SSL (<a href="http://www.hackerfactor.com/blog/index.php?/archives/379-The-Placebo-Effect.html">without client certs</a>) will save you -- last year, I heard that the <a href="http://www.wallofsheep.com/">Wall of Sheep</a> ran their own Tor node as well as used man-in-the-middle attacks on SSL.<br />
<br />
With Defcon coming up, I'm looking for a solid, reliable, secure-enough solution for Internet access. If I go 3G, I still won't use it at the conference... but back at the hotel room should be fine. (Right?) Is 3G the way to go? Are there other options? Which providers are best and include support for Linux? Hopefully this year I will guess correctly and choose well for the duration of a two-year contract. Oh, and what do people use in other countries? I might travel in the future and BlackHat in Europe sounds fun! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/381-Good-Intentions.html" rel="alternate" title="Good Intentions" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-06-22T05:11:05Z</published>
        <updated>2010-06-23T12:18:47Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=381</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=381</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/6-Mass-Media" label="Mass Media" term="Mass Media" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/13-Politics" label="Politics" term="Politics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/4-Security" label="Security" term="Security" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/381-guid.html</id>
        <title type="html">Good Intentions</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A little over a week ago a US intelligence analyst was <a href="http://www.wired.com/threatlevel/2010/06/leak/">arrested</a> for submitting classified documents to Wikileaks. I have some serious issues about this arrest. While the analyst may have thought he was doing something ethically right, he went about it by doing something legally wrong. For example, while some of his wikileaked materials probably did need to be exposed (like the mistaken <a href="http://www.wired.com/dangerroom/2010/04/whistleblower-report-leaked-video-shows-us-coverup/">killing of two journalists</a> and the subsequent cover up), how many operations and soldiers lives were put in danger by the leak?<br />
<br />
I can hear some people right now saying "Huh? What?" Think about it. With the exception of leaked videos, the general public do not know our full, technical capabilities. As I recently heard on an <a href="http://www.imdb.com/title/tt0658039/">NCIS repeat</a>: the schematics for Air Force One are a secret. Hollywood just guesses at the layout. But here is SPC Bradley Manning, showing how things are really done. This is information that the enemy can use against us. By leaking an uncensored video with audio, Manning may have done far more harm than good; he exposed a cover up, as well as processes, procedures, and technologies that the United States and its allies use against real terrorists and threats to our nation.<br />
<br />
There were also better ways to expose a cover-up. For example, he could have anonymously contacted a congressman. This would make the information public without releasing the video. Any anti-war congressman would have been a good choice.<br />
<br />
While Manning may have thought that he was ethically correct in releasing the video, I cannot think of anything that would make leaking "an entire repository of classified foreign policy" documents, "260,000 classified U.S. diplomatic cables", or "a classified Army document evaluating Wikileaks as a security threat" ethically correct. Manning's actions look like treason to me.<br />
<br />
<H3>From Bad to Worse</H3><br />
Wikileaks is intended as a forum for anonymous whistle blowers. If you are going to do something anonymously, then do it anonymously. Don't go around telling people that you were actually behind it. And if you're going to tell someone it was you, then don't tell it to a reporter. And of all the reporters you could talk to, don't choose one who has a history of unethical behavior!<br />
<br />
That's right: Manning chatted with <i>Wired</i>'s Adrian Lamo. When people create lists of hackers, they always include the <a href="http://webupon.com/security/convicted-nine-notorious-hackers-of-our-time/">notorious ones</a>: Kevin Mitnick, Jonathan James (aka c0mrade), Max Ray Butler (aka Max Vision), Kevin Poulsen (aka Dark Dante), and others -- including Adrian Lamo (aka The Homeless Hacker). Even lists that <a href="http://www.computerscienceschools.net/blog/2010/10-convicted-computer-criminals/">don't list the "most notorious"</a> include Lamo. <small>(Thanks Adam for the link.)</small><br />
<br />
Is there any reason to think that Lamo would not turn in Manning? I think not. Frankly, there are few reporters that I trust (very few). Most are more interested in sensationalism than accuracy. That, along with Lamo's established ethical lapses makes me distrust him more than most reporters. Manning put his trust in a reporter with a criminal record, and the reporter exposed his source for notoriety.<br />
<br />
<H3>Looking for the Good</H3><br />
Every list of "hackers" that I found online mentioned the evil ones. The lawbreakers, criminals, and socially deviant ones. However, not all hackers are evil. I've recently had conversations about identifying good hackers. (Thanks to Mike, Bill, R., and the <a href="http://isc.sans.org/">Internet Storm Center</a>'s handlers for the great insight.)<br />
<br />
When it comes to naming hackers, people immediately recall the bad guys. I mean, everyone has heard of <a href="http://en.wikipedia.org/wiki/Kevin_Mitnick">Kevin Mitnick</a>, but who can remember the name of the guy who caught him -- without consulting Wikipedia or Google? (answer: Tsutomu Shimomura; half credit if you remembered John Markoff.)<br />
<br />
Perhaps one reason is the postage stamp mentality. The US Post Office won't put someone on a stamp until they are dead. The reason: Bad people may continue to do bad things without harming their reputation. However, a good person may screw up at the end and <a href="http://www.washingtonpost.com/wp-dyn/content/article/2010/06/07/AR2010060701493.html">tarnish everything</a> they have previously done. So someone who is an awesome, positive role model and hacker today could be <a href="http://en.wikipedia.org/wiki/Hans_Reiser">tomorrow's villain</a>.<br />
<br />
The other problem comes from the large number of good hackers who are better known by their software than their own actions. For example, <a href="http://www.snort.org/">Snort</a> is an awesome piece of software, but who can remember that Martin Roesch created it? Roesch is a good guy hacker, but his software is better known than him. The same goes for Tatu Ylonen and Bjorn Gronvall (SSHv1 and SSHv2), Giorgio Maone (NoScript), and many other people.<br />
<br />
The real question is: What sets a notable good guy apart from the rest? If writing good code is good enough, then certainly Flash, HTML, and Photoshop could also be included. (Their developers were not intentionally evil...) But can you actually say that someone changed how we act (or react) in a positive way?<br />
<br />
I guess what I'm really wondering...<br />
If you had one team of evil villains (Mitnick, Lamo, Poulsen, etc.) on one side, who would you stack against them as memorable good guys on the other side? (Mitnick vs <a href="http://en.wikipedia.org/wiki/Frank_Abagnale">Frank Abagnale Jr.</a> -- after Frank turned good; Poulsen vs <a href="http://en.wikipedia.org/wiki/Peiter_Zatko">Mudge</a>? Lamo vs ?)<br />
<br />
Here's my short list of good guy hackers who's influence is far more than just code. <br />
<ul><li><a href="http://en.wikipedia.org/wiki/Jim_Christy">Jim Christy</a> and <a href="http://en.wikipedia.org/wiki/The_Cuckoo%27s_Egg_%28book%29">Clifford Stoll</a>. They <a href="http://www.wired.com/wired/archive/15.01/cybercop.html">cracked</a> the <a href="http://www.time.com/time/magazine/article/0,9171,967260,00.html">Hannover Hackers</a> and brought international awareness to hacking as cyber espionage. Before that point, nobody realized the threat and all discussions were theoretical. Jim went on to found the Pentagon's first digital forensic lab and was the director of the <a href="http://www.dc3.mil/">Defense Cyber Crime Center</a> (DC3) -- the first and largest computer forensics lab. (It just goes to show that a $0.75 accounting error can lead to more than a few pennies.)<br />
<br />
<li>Mark Rasch. He spent nine years as the head of the United States Department of Justice computer crime unit. During that time, he was responsible for investigating the Hannover Hackers, Kevin Mitnick, and Robert T. Morris. He also helped the FBI and Treasury Department develop their procedures on handling electronic evidence.<br />
<br />
<li>Phil Zimmermann. Without Phil, public crypto would probably still be nothing but underground software and munitions.  Phil is more than just PGP -- today's PGP was created by a slew of developers. The remarkable element is how Phil paved the way for the world to use cryptography.<br />
<br />
<li>Marcus Sachs. A voice of reason, advising Presidents and helping set national policies on cyber threats. He's a hacker who's influence is more than just a piece of code. Marcus also heads the <a href="http://isc.sans.org/">Internet Storm Center</a> -- the ISC handlers are like the <i><a href="http://en.wikipedia.org/wiki/The_All-New_Super_Friends_Hour">Super Friends</a></i> or <i><A href="http://en.wikipedia.org/wiki/Justice_League">Justice League</a></i>. (Is Swa Frantzen the Belgium equivalent of <a href="http://en.wikipedia.org/wiki/Gleek_%28Super_Friends%29">Gleek</a>?)<br />
<br />
<li>Jeff Moss (aka Dark Tangent). While not known for code or exploits, this geek has put together a world-renowned set of hacker conferences: Defcon and Black Hat. More earth shattering updates come from one week of these conferences than an entire year of Patch Tuesdays.<br />
<br />
<li>Bruce Schneier. This cryptography guru continually exposes security theater, where peddlers use snake-oil and provably inaccurate beliefs to influence and set policies.</ul><br />
A couple of people mentioned Dan Kaminsky. Dan's a nice guy and has done oodles of good things by making vulnerabilities public -- and I am still in awe of how he handled that <a href="http://www.linuxjournal.com/content/understanding-kaminskys-dns-bug">world-wide DNS update</a>.  However, he likes to get drunk while giving presentations at Defcon and other conferences... While Dan is fun to watch, public drunkenness doesn't exactly scream "role model".<br />
<br />
There are plenty of other people I could add to this list. I'm curious who other people think should be listed here. Remember the requirements: good guy, computer security or computer forensics, hackers, and most of all, influence beyond their immediate field or software. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/380-Great-Firefox-Plugins.html" rel="alternate" title="Great Firefox Plugins" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-06-16T00:30:34Z</published>
        <updated>2010-06-16T20:46:32Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=380</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=380</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/14-Forensics" label="Forensics" term="Forensics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/3-Network" label="Network" term="Network" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/5-Programming" label="Programming" term="Programming" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/4-Security" label="Security" term="Security" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/380-guid.html</id>
        <title type="html">Great Firefox Plugins</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Last week was entertaining. I had the opportunity to assist in an interesting project -- part development, part forensics, and part penetration testing. Fortunately for me, I had a couple of Firefox plugins that really made the work easier. All of these plugins can be found by using the Tools -&gt; Add-Ons menu under the Firefox web browser, or by going to <a href="https://addons.mozilla.org/en-US/firefox/">https://addons.mozilla.org/en-US/firefox/</a>.<br />
<br />
<h3>NoScript</h3><br />
The <a href="https://addons.mozilla.org/en-US/firefox/addon/722/">NoScript</a> plugin is an absolute must-have. As far as I am concerned, it should be part of the default Firefox installation. This plugin stops all JavaScript, Flash, and other objects from automatically starting. You can also block access to some web servers, or if you really like a site, then you can add it to a white-list of permitted, trusted sites. If there happens to be something you want to run, you can permit it on a case-by-case basis.<br />
<br />
From a user's viewpoint, this is awesome. You don't have to worry about an unknown site sending malware to your browser. In my case, I didn't want to download videos, Java, and other stuff that would waste my CPU cycles and bandwidth.<br />
<br />
<h3>Httpfox</h3><br />
When evaluating any kind of web-based service, either as a developer or as an auditor, you need to know what is being transmitted across the network. Usually I use <a href="http://www.wireshark.org/">Wireshark</a> or <a href="http://www.snort.org/">Snort</a>. The problem is, these only work well if you use HTTP and not <a href="http://www.hackerfactor.com/blog/index.php?/archives/379-The-Placebo-Effect.html">HTTPS</a>. With HTTPS, you cannot see the traffic inside the tunnel (without compromising the tunnel).<br />
<br />
Fortunately, I had <a href="https://addons.mozilla.org/en-US/firefox/addon/6647/">Httpfox</a>. This plugin is like having Wireshark in the browser! It shows you all data that the browser sends and receives -- the URLs, request and response headers, cookies, post data, and query parameters.<br />
<br />
This plugin is great for auditing, but does have a few minor limitations. Specifically, if any of the values are longer than the visible fields, you don't get scroll bars. You can work around this by copying values to the clipboard, but that isn't an ideal solution.<br />
<br />
<h3>Firebug</h3><br />
While Httpfox shows the network traffic, <a href="https://addons.mozilla.org/en-US/firefox/addon/1843/">Firebug</a> shows the HTML content. And this isn't just the HTML that was sent to your browser... it is the HTML that is displayed. If the web page includes JavaScript or active CSS content that alters the web page, then Firebug will show you the rendered values.<br />
<br />
Besides viewing the page, you can also edit the currently-displayed web page. If you are testing parameters, playing with web forms, or trying out different style sheet settings, then this is a must-have.<br />
<br />
Finally, you can click on the little arrow icon and it enables an inspector. As you hover the mouse over various elements on the web page, Firebug displays the active HTML elements (both HTML code and style sheet values). As a web developer, you've probably had times where you wondered "Where do I define that border?" Well, the inspector quickly answers this.<br />
<br />
<h3>Add N Edit Cookies</h3><br />
This plugin is an oldie but goodie. Httpfox shows you queries, but does not allow you to edit. Firebug allows you to change the active HTML, so you can edit query parameters and URLs, but you cannot alter cookies. The "Add N Edit Cookies" plugin completes the set by allowing you to view and edit cookie values. (There are two versions of it. One is for <a href="https://addons.mozilla.org/en-US/firefox/addon/573/">older browsers</a> and the other is for <a href="https://addons.mozilla.org/en-US/firefox/addon/13793/">newer browsers</a>.)<br />
<br />
There are a couple of other plugins for editing cookies. However, I like this one because it is simple to use.<br />
<br />
<H3>All Together</H3><br />
With these four plugins, we were able to easily access our web services, debug the network traffic, view and test dynamic web content, and even validate cookie settings. With NoScript, we were able to restrict the content that the server sent to the browser and control exactly when different calls were made.<br />
<br />
In the old days, we would need to hack the SSL tunnel and use custom scripts to manage queries. Today, we can evaluate and modify the system in real-time and with just a few plugins. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/379-The-Placebo-Effect.html" rel="alternate" title="The Placebo Effect" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-06-06T02:23:29Z</published>
        <updated>2010-06-09T05:29:18Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=379</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=379</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/3-Network" label="Network" term="Network" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/9-Privacy" label="Privacy" term="Privacy" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/4-Security" label="Security" term="Security" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/379-guid.html</id>
        <title type="html">The Placebo Effect</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                In my blog entry on <a href="http://www.hackerfactor.com/blog/index.php?/archives/377-Random-Thoughts.html">random thoughts</a>, I mentioned that Google plans to offer SSL for web searches (HTTPS instead of HTTP) and that SSL was a placebo. A couple of people asked for more information about my claim. The problem is, most criticisms about SSL don't cover everything. (And it would be egotistical for me to mention that all of these points are covered in my first book, <a href="/book_i2ns.php"><i>Introduction to Network Security</i></a>.)<br />
<br />
Here's a quick summary of the problems with HTTP over SSL (aka HTTPS).<br />
<br />
<H3>Strengths</H3><br />
Let me start by covering what SSL really does. Secure Socket Layer (SSL) is not a cryptographic algorithm. Instead, it is a framework. There are a wide variety of algorithms for data encryption (e.g., AES, DES, Triple-DES, Blowfish), encoding (8-bit, 256-bit, 64-byte), chaining (e.g., CBC), checksums (e.g., MD5 or SHA1), and key exchange systems (Diffie-Hellman, RSA, etc.).<br />
<br />
These different algorithms can be combined. For example, ADH-AES256-SHA says to use an Anonymous Diffie-Hellman key exchange with 256-bit AES encryption and a SHA1 checksum. Since some combinations don't really make sense or are cryptographically weak, there are some pre-defined combinations. SSLv1 defines a set of combinations that work well, SSLv2, SSLv3, and TLS offer revisions to the "good enough" cipher sets. (And I'm not going down the weak SSL cipher options in this blog. Let the cipher punks argue the fine details.)<br />
<br />
So what does SSL do? It provides a framework for an SSL client to negotiate ciphers with an SSL server. In effect, the client says "I support the following ciphers" and the server says "I'll choose this combination!" SSL also permits the client and server to renegotiate ciphers during the communications.<br />
<br />
This is a huge strength for SSL; it allows clients and servers to negotiate algorithms and talk the same cryptographic language. However, like most tools, SSL can be applied incorrectly. And that's the problem with HTTP over SSL.<br />
<br />
<H3>HTTPS</H3><br />
HTTPS uses certificates for authentication. Basically, there is a trusted third-party who can validate the certificate. The connection dialog looks like this:<br />
<ol><li>The web browser connects to the server using SSL.<br />
<li>The server sends a server-side public certificate to the client.<br />
<li>The client connects to the certificate authority and says "Yo! I got this server information. Is it valid and authentic?"<br />
<li>The trusted third-party checks the data and sends back a yes or no.</ol><br />
If the challenge succeeds, then the rest of the SSL negotiation is performed (e.g., let's use RSA with AES256 and SHA1) and they start using the agreed ciphers for encoding the HTTP traffic. (The crypto is a little more significant, but this generalization gets the point across.)<br />
<br />
There's a few problems with this system and they lead to the placebo effect.<br />
<br />
<b>SSL Hijacking and Client-Side Certs</b><br />
After establishing the SSL connection, the network traffic is secure enough. You're not going to worry about someone taking over your session or seeing your data transfer.<br />
<br />
However, the initial negotiation can be compromised. One example is the "man in the middle" attack (MitM). Your initial SSL connection is intercepted by a hostile system. (Rather than connecting to your bank, another server sees the request and responds before the bank can respond.) It issues the server challenge using a valid certificate. The third-party says "yes, its authentic" even though it is for a different server. Then, your browser is securely connected to the MitM and the MitM forwards all requests to the bank. In this attack, your traffic is encrypted... but the attacker is part of the encrypted path and can see everything!<br />
<br />
Part of the server-side information is the name of the trusted third-party. Thus, the attacker can control both the server and the "trusted" party who does the authentication. Of course, why even need a third party? Some servers self-verify (I am the server AND you can trust me) -- that's bad because there is no "third-party" to trust.<br />
<br />
<b>Relying on the Human</b><br />
The biggest problem with HTTPS comes from the web browser. Browsers don't just reject bad certificates. Instead, they prompt the user. (As if the user knows better...) Sample prompts include:<br />
<ul><li>Self-signed alert: The server is using a self-signed certificate. Accept? (Yes/No)<br />
<li>Unknown certificate authority: The server has specified a trusted third-party server that the browser has never seen before. Accept? (Yes/No)<br />
<li>Expired: The server's certificate has expired. Accept? (Yes/No)<br />
<li>Failed: The server's certificate could not be validated. Accept anyway? (Yes/No)</ul><br />
With humans, we know what we want to do. You want to go to your bank. You want to visit that web site. You know that if you do not accept the bad/invalid/unauthenticated certificate, then your browser will block your access. So you accept it -- since that is the only way to continue. And by accepting, you are approving a no-security option.<br />
<br />
For real security, the browser should reject the connection without prompting the user. I mean, seriously, if the server certificate is bad (invalid, unverifiable, or expired) then there is no way a human can safely say "use it anyway". An invalid certificate should generate an error, and the error should say that the server is not acceptable.<br />
<br />
<b>Little Locks</b><br />
As if prompting the user was not bad enough, SSL connections are associated with a small picture of a lock (or key) in the web browser. This gives the impression that SSL is secure, when it really isn't. For example, one of the available ciphers is the "null" cipher -- it does not encrypt data. Even though the data is transmitted in plain text, you will still get the little lock... because the lock means "SSL" and not "secure".<br />
<br />
There are also issues around when the lock appears. For example, "https://www.paypal.com/" links to a bunch of different servers (paypal.com, paypalobjects.com, ebaystatic.com, and paypal.112.2o7.net). However, clicking on Firefox's lock icon (bottom right corner) will only show you the details for the main web page's SSL connection and not for the connections to subsequent servers. Also, the little lock will only appear if the first/main URL uses https, even if the dependent links on the page use SSL.<br />
<br />
<b>Client-Side Certificates</b><br />
The common HTTPS configuration only uses server-side certificates. This allows the client to authenticate the server (assuming you trust the third-party authentication server). However, this does not authenticate the client with the server.<br />
<br />
The best security method uses server certificates to authenticate the server <i>and</i> server-assigned client-side certificates to authenticate the clients. Now, a MitM cannot intercept traffic because it cannot authenticate or validate the client-side certificate. This is a very secure method.<br />
<br />
Unfortunately, (AFAIK) no online banks provide client-side certificates. This is probably because the browser's user interface makes client-side certificate installation difficult. Supporting these means a whole new level of Help Desk Hell.<br />
<br />
<b>Leaving the Tunnel</b><br />
Assuming no MitM and a validated connection, SSL creates a secure tunnel for passing traffic between the web browser and server. This makes you safe, right? Well, yes... as long as the developers of the web site don't switch you from SSL to non-SSL. Unfortunately, this is very common. You may login to Yahoo! Mail using SSL, but pictures, ads, and text may still be sent to you from outside the SSL tunnel.<br />
<br />
Here's a fun experiment for Firefox users: Connect to a site using SSL. View the page information (Tools -&gt; Page Info). Does every URL used by this page begin with "https" and use the same server? Every instance of a non-SSL connection or a different server means that you could be passing information outside of the SSL tunnel. <br />
<br />
<b>Misunderstood Security</b><br />
Between marketing, magazines, and bad online advice, regular users have learned to equate "SSL" with "Security". But seriously, where is the security in SSL? It's in the name: Secure Socket Layer. (Kind of like the confusion created by calling the web programming language "JavaScript" -- it isn't Java and isn't a script. Thank you marketing.) Remember: SSL is a framework for negotiating secure communications; it is not secure communications.<br />
<br />
Unfortunately, regular users are under the impression that using SSL will stop their connections from being hijacked, safely transmit data, stop phishing, and prevent them from downloading viruses. The truth is, SSL without certificates can be easily hijacked, users may still transmit data in plain text, users may (and usually do) choose to bypass the available security, and SSL does nothing to block harmful sites. A server infected with a virus can easily pass the virus to browsers via HTTP or HTTPS -- but with HTTPS the virus will be transmitted more securely. (Yippee! Nobody hijacked your session that downloaded a virus!) Some phishing sites even use <a href="http://blog.washingtonpost.com/securityfix/2006/02/the_new_face_of_phishing_1.html">registered server-side certificates</a> -- they can impersonate your bank and use SSL without a problem.<br />
<br />
<H3>Why Bother?</H3><br />
These are not the only problems with SSL, but these are some of the big ones. With all of these issues, why do we even use SSL?<br />
<br />
I refer to SSL as "better than nothing" security. It isn't ideal, does not mean you are safe, and does not stop malicious sites from sending you hostile information. (For servers, SSL also does not stop anyone from attacking your server.) However if you have no other option, then SSL is better than sending data in plain text. You may not know who received your data and may still be using a MitM, but at least other people won't be able to see your traffic. And frankly, until a better solution is developed and becomes widely adopted, SSL is the only realistic option right now.<br />
<br />
Consider SSL to be on par with WEP security for wireless networks. WEP is easy to crack, uses a weak password, and is not the recommended solution. But, it is better than nothing. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/378-National-Geographic-and-Fauxtography.html" rel="alternate" title="National Geographic and Fauxtography" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-05-31T22:56:03Z</published>
        <updated>2010-06-09T05:41:54Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=378</wfw:comment>
    
        <slash:comments>14</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=378</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/14-Forensics" label="Forensics" term="Forensics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/1-Image-Analysis" label="Image Analysis" term="Image Analysis" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/6-Mass-Media" label="Mass Media" term="Mass Media" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/378-guid.html</id>
        <title type="html">National Geographic and Fauxtography</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                My friend Bob G. recently told me about a column on page 12 of National Geographic Magazine's June 2010 issue. The column titled "Getting Real" is a rant about how a photographer supplied the magazine with a digitally altered photo. (A shorter version of the article is available online under the title "<a href="http://ngm.nationalgeographic.com/2010/your-shot/manipulation">Your Shot Digital Manipulation</a>".)<br />
<br />
Basically, "photographer" William Lascelles submitted a photo to National Geographic and claimed that it was real. The magazine asked Lascelles to verify the photo, and he submitted a second fake photo. National Geographic then printed the image, only to learn that Lascelles lied to them twice; they were duped into printing a fake photo.<br />
<br />
Whenever I post blog entries about photo manipulation, there is always someone who asks "what's the harm?" and "what about artistic freedom?" In this case, the harm directly impacts National Geographic's reputation. The photo contest is restricted to real photos for a reason: the magazine strives to use photos based on reality and not fake or doctored or modified situations that are fictitious.<br />
<br />
In response to being duped, National Geographic published a full column identifying the fraud by William Lascelles and repeatedly naming him. The printed column also names another fake, by Dobrev and published in December 2009. This is more than just posting a small correction. This is a full outing.<br />
<br />
<H3>Told You So</H3><br />
Like National Geographic, Smithsonian Magazine holds an annual photo contest. In March 2009, I wrote to the Smithsonian and <a href="http://www.hackerfactor.com/blog/index.php?/archives/269-Smithsonian-Magazine-Photo-Contest.html">informed them</a> that some of their finalists used digital modifications that appeared to be outside the permitted amount of allowed manipulations. The Smithsonian <a href="http://www.hackerfactor.com/blog/index.php?/archives/270-Re-Smithsonian.html">responded</a> a few days later. They had investigated the images and queried the photographers. In the end, three of the five modified photos were disqualified from the contest. The remaining two were determined to have an acceptable amount of digital modification.<br />
<br />
I was thrilled with the Smithsonian's reply. They listened to the concern, investigated the situation, and took appropriate action.<br />
<br />
I sent a similar letter to National Geographic on Tue, 24 Nov 2009 21:36:10 -0700. I had noticed that at least one of their contest submissions was digitally modified. Here's the reply they sent me:<br />
<blockquote>Subject: Re: Digital Manipulation in the Photo Contest<br />
To: "Dr. Neal Krawetz"<br />
Sender: [redacted]@ngs.org<br />
Date: Tue, 8 Dec 2009 13:48:19 -0500<br />
<br />
Dear Dr. Neal Krawetz:<br />
<br />
Thank you for contacting the National Geographic Society.<br />
<br />
Your comments regarding photos submitted to the 2009 International Photo Contest are very much appreciated.  While we provide information on photo manipulation and what is and is not accepted  in the contest rules &lt;http://ngm.nationalgeographic.com/photo-contest/manipulation&gt;, all the photos in the contest are submitted by the individual photographers.  We do not go through each one of them and remove them, even if we feel they have been manipulated.  We simply do not have the time or staff to do that.  You can view the winning photos on our website at http://ngm.nationalgeographic.com/photo-contest/past-winners<br />
<br />
Best wishes,<br />
<br />
[Name redacted]<br />
National Geographic Society</blockquote><br />
<br />
That's right: National Geographic does not review each of the images that they accept for publication on their web pages, and they do not remove images that they know or believe are digitally modified. As seen with William Lascelles, their "verification" consists of asking the photographer -- who has already lied and won't mind lying again. I can understand that they don't have a big budget or staff for image analysis. However, this is their reputation. One would think that they would be interested in protecting it.<br />
<br />
In the fraud exposure column, National Geographic wrote that they have changed their policy: "Now we're looking more closely at all Your Shot pictures." It's about time!<br />
<br />
Frankly, if you are going to hold a photo contest and require original photos (not digitally altered), then you should take the time to verify every finalist. I'm not saying that you should police every submission. Rather, attempt to evaluate every finalist or semifinalist -- probably a dozen or so pictures. You usually don't even need special tools; a critical eye is usually good enough. If you don't have the time or resources to validate potential winners, then perhaps you shouldn't hold the contest.<br />
<br />
And I'm sure that someone is going to ask "Where can they get my tools?" It isn't so much the tools as the training. If you are not trained to spot photo manipulation, then the best tools in the world won't help you. And as my friend Cynthia Baron has repeatedly demonstrated to me: people with the right training and experience can do this without any specialized tools.<br />
<br />
<H3>Going Deeper</H3><br />
The dog picture by Lascelles is available online at <a href="http://s.ngm.com/your-shot/img/faked-blue-dog-615.jpg">http://s.ngm.com/your-shot/img/faked-blue-dog-615.jpg</a>. Let's see what can be found with real image analysis...<br />
<br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TAQk__zTwmI/AAAAAAAABiU/ky_C-KE3ylc/s800/faked-blue-dog-615.jpg"><br />
<br />
<b>Disclaimer</b><br />
Please keep in mind: I'm not analyzing the original submission that National Geographic received. I'm analyzing a resave that National Geographic likely scaled for use on their web page. I seriously doubt that this is the original submission. In effect, I'm looking at a bad photocopy of the original submission. As with any bad photocopies, some results may be inaccurate due to artifacts introduced during the reproduction process and some evidence of modification may be completely wiped out. And more importantly: the original submission was fake, so it also includes modifications and artificial artifacts.<br />
<br />
<b>Photo Ballistics</b><br />
Lascelles' file was saved as a JPEG and includes a JPEG APP12 section labeled "Ducky". (If you search for strings in the image, you will see "Ducky".) What is Ducky? It is a section added by Photoshop's "Save For Web" and includes the saved quality level. In this case, someone used Photoshop's Save For Web and selected 83% quality. (The "someone" was probably National Geographic.)<br />
<br />
However, the quantization tables do not match the stated quality level. Instead, the Quantization tables match 94% compression. The discrepancy is due to the saved settings. Specifically, the last save used Save For Web with "JPEG", "Very High" and 83% quality. (The "Very High" setting selected the 94% quantization tables. Photoshop's quality level does not represent the quantization tables.)<br />
<br />
<b>Principal Component Analysis</b><br />
PCA is great at identifying JPEG artifacts from resaves. These appear as rectangular blocks that are either 16x16, 16x8, 8x16, or 8x8. The more extreme the blocks, the lower the JPEG quality. High quality or original images should have very few visible artifacts.<br />
<br />
<img src="http://lh4.ggpht.com/_Uw91icJn-go/TAQn3n3BcDI/AAAAAAAABis/iaMRGi_QDEY/s800/faked-blue-dog-615-pca.png"><br />
<br />
In this case, the PCA shows severe blocking in the sky -- this is a low quality image from multiple resaves. But there is a problem... The blocks are not 8x8; they are smaller. In this case, the big squares appear to be 7x7 and small squares appear to be about 3x3. This means that the image was low quality and then scaled smaller. (I wouldn't be surprised if National Geographic scaled the final image for presenting on their web page.) The final image is probably about 40% smaller than the previous version. Since this image is 201x134, the previous image was somewhere around 500x335 (or larger with multiple resaves that scaled it smaller).<br />
<br />
The other thing to notice is the block quality. The sky has big chunks indicating a low quality image. The front of the house has small blotches with no visible grid. The dog shows grid-like blocks on his ear and face that match the sky but not the house. And the jets have no visible blocky artifacts. So while the dog may go with the sky, it does not match the house or the jets. The mottled pattern on the front of the house actually matches what I would expect from a picture of this quality. (I even ran a few tests with other pictures using Save For Web and "Very High" and 83% -- the tests generated the same blotchy pattern seen on the house.) This means that the dog, jets, and sky are wrong for this picture.<br />
<br />
<b>Error Level Analysis</b><br />
Taken without any context, the ELA for this image identifies the dog and jets as being at a higher error level potential (newer) than the rest of the image. However, this difference could be explained due to a combination of Photoshop and scaling. Photoshop attempts to counteract the JPEG losslessness by over-emphasizing high frequency areas. (See my <a href="http://www.hackerfactor.com/blog/index.php?/archives/355-How-I-Met-Your-Mother-Through-Photoshop.html">Alyson Hannigan</a> write-up.) This image does have a large amount of rainbowing (the red/blue/purple coloring), so this certainly matches the meta data that identified Photoshop. With scaling, every pixel is modified and high frequency areas (like the dog's fur) can have pixel values altered more than the rest of the image. <br />
<br />
<img src="http://lh5.ggpht.com/_Uw91icJn-go/TAQk_7VR38I/AAAAAAAABiY/MhmChOrY9yc/s800/faked-blue-dog-615-ela16x16.png"><br />
<br />
However, there are two issues that really stand out. First, the jet planes appear to be uniform in color (low frequency) yet have a high error level. So this is a modification.<br />
<br />
Second, ELA should identify similar 8x8, 16x16, etc. blocks as PCA; for low quality images, ELA identifies the chrominance subsampling. And this is a problem. The subsampling should be the same across the entire image. However, the sky clearly shows 16x8 subsampling (scaled to fit 7x3 grids). However, the house only has square subsampling (either 8x8 or 16x16 scaled to 7x7; you can easily see them on the roof). With the dog and the jets, I don't see the subsampling grid. This means that the image must be made from four separate components: sky, house, jets, and dog.<br />
<br />
<b>Blur Detection</b><br />
<a href="http://www.hackerfactor.com/blog/index.php?/archives/297-Blurring-The-Truth.html">Blur detection</a> identifies subtle, high frequency edges created from artificial blurs. Ideally, each edge should either consist on one thin line, or two parallel lines that are one pixel apart (1 pixel wide double line). Anything else indicates an artificial blur.<br />
<br />
<img src="http://lh6.ggpht.com/_Uw91icJn-go/TAQlAK4xqdI/AAAAAAAABic/iPVfDL7ioEc/s800/faked-blue-dog-615-blur.png"><br />
<br />
In this picture, the dog has 1-pixel wide double lined edges -- it is real. However, the house and jets both have wide double edges; the jets and house have artificial blurs.<br />
<br />
<b>Color Distance</b><br />
A new algorithm that I've been working on is based on color distances. Basically, real pictures blend colors along edges. When pictures are spliced (one pasted onto another), there is no blending. This algorithm measures the amount of blend. If you see a thin black line outlining anything, then it was spliced.<br />
<br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TAQlAUIRyHI/AAAAAAAABig/xb38rxym5aQ/s800/faked-blue-dog-615-dist.png"><br />
<br />
In this case, the dog has a thin, black outline against the sky. He was spliced into the picture. It is a little more difficult to see, but the upper 4 jets also have thin black lines. They were pasted into the picture.<br />
<br />
<H3>Observation</H3><br />
Alright, so it really looks like the dog and jets were spliced into the image. How many jets were there originally?<br />
<br />
<img src="http://lh5.ggpht.com/_Uw91icJn-go/TAQlAsOuBUI/AAAAAAAABik/HPgxAmWdOdo/s800/faked-blue-dog-615-jets.png"><br />
<br />
In this example, I have shifted the picture down and to the left a little. This allows me to overlay the top three jets onto the bottom three jets. Guess what? Two of them are perfect matches. Let's number the jets for clarity:<br />
<pre>4<br />
 2<br />
5 1<br />
 3<br />
6</pre><br />
From what I can tell jets 2, 3, 4, and 5 are all the same plane and all uniformly spaced. Similarly, jets 1, 3, and 6 are the same plane. That is a total of two unique planes.<br />
<br />
In real life, jets flying in formation will not be perfectly at the same angle to the viewer and they will not be perfectly spaced. Instead, they will all be ever so slightly different.<br />
<br />
<img src="http://lh4.ggpht.com/_Uw91icJn-go/TAQ5SMMjSMI/AAAAAAAABi4/o0zQjET5-Xc/s800/0420-0905-2012-3411_six_fighter_jets_flying_in_formation_m.jpg"><br />
<cite>DoD <a href="http://www.acclaimimages.com/_gallery/_free_images/0420-0905-2012-3411_six_fighter_jets_flying_in_formation_m.jpg">photo</a> by Airman 1st Class Gul Crockett, U.S. Air Force/Released</cite><br />
<br />
<img src="http://lh3.ggpht.com/_Uw91icJn-go/TAQ5SIrWm-I/AAAAAAAABi8/Vt9mrKn5hAA/s800/0420-0905-2012-3411_six_fighter_jets_flying_in_formation_m-jets.png"><br />
<cite>Same image, shifted to align the top plane on the middle plane, and overlaid to show differences.</cite><br />
<br />
This uniqueness factor even holds when the image is scaled smaller, like when the wingspan is only 20 pixels across. They may be small, but they should all be different. I think Lascelles cloned some jets.<br />
<br />
Also, notice how none of Lascelles' vapor trails look the same. If they are about the same thickness and same color and the sun is in the same place, then they should all look similar. Jet #3 has a much whiter vapor trail -- likely two trails pasted next to each other. Jet #5 has a dark edge, probably from blending an overlapping paste.<br />
<br />
<H3>National Disaster</H3><br />
Even without specialized tools, National Geographic should have noticed the cloning of the jets, varying vapor trails, and the artificial blur. Since they have the original submission, they could have checked the meta data and quantization tables to see if it matched the digital camera. This alone would have identified the fraud. And most importantly: don't just accept the word of a photographer; it may be significantly altered even if they <a href="http://www.hackerfactor.com/blog/index.php?/archives/270-Re-Smithsonian.html#c588">claim</a> that it is <a href="http://www.hackerfactor.com/blog/index.php?/archives/269-Smithsonian-Magazine-Photo-Contest.html#c590">"100% real"</a>. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/377-Random-Thoughts.html" rel="alternate" title="Random Thoughts" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-05-26T01:40:49Z</published>
        <updated>2010-05-27T12:58:14Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=377</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=377</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/9-Privacy" label="Privacy" term="Privacy" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/4-Security" label="Security" term="Security" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/11-Other" label="[Other]" term="[Other]" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/377-guid.html</id>
        <title type="html">Random Thoughts</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                There's a couple of random thoughts rumbling around my head... Rather than writing a blog entry on each, I decided to just mention them here.<br />
<br />
<H3>Oiling The Machinery</H3><br />
Everyone is complaining about the oil gusher in the Gulf of Mexico. And everyone seems to have their own solutions. Use hair, use hay, construct a man-made barrier island, send down sludge, and more. British Petroleum has a couple of solutions lined up -- if one fails, then they will try the next. One of their solutions won't be ready until August! Some people think the government should take over the capping processes, but our government can't even pave roads without months of debate.<br />
<br />
A few people are blaming Obama for this problem. (These are probably the same people who are upset that the Republicans lost the election and still watch <a href="http://www.businessinsider.com/fox-news-glenn-beck-ratings-down-by-30-this-year-2010-4">Glenn Beck</a>.) Frankly, we can't blame Obama for this one. Blame Bush? Sure -- he caused it by <a href="http://www.aspousa.org/index.php/2009/03/the-role-of-speculation-in-the-2007-2008-spike-in-oil-prices/">easing governmental regulatory oversight</a> between 2006 and 2008. Obama only inherited this mess. And given other messes like Health Reform, Financial Reform, Immigration Reform, and Lobbying Reform... Regulatory Oversight Reform is just another item in the to-do list.<br />
<br />
Anyway, I think I know the solution to quickly stopping the oil gusher. Congress should pass a resolution preventing BP from collecting any revenue until the gusher is capped and the cleanup is completed. Until both of those happen, any revenue received by BP should either go toward capping and cleanup, or be forfeited to the government and impacted states. If we cut off their revenue, then they will have an incentive for achieving a faster solution.<br />
<br />
<H3>Google and SSL</H3><br />
Google recently released a beta of an SSL solution for their search engine. (<a href="https://www.google.com">https://www.google.com</a>) They claim that this will <a href="http://www.google.com/support/websearch/bin/answer.py?answer=173733">improve privacy</a>:<br />
<blockquote>This secured channel helps protect your search terms and your search results pages from being intercepted by a third party. This provides you with a more secure and private search experience.</blockquote><br />
There's a few problems here. First, SSL is a placebo. From a security perspective, it does not add very much security or privacy. To gain security and privacy, you really need SSL with client-side certificates -- but Google isn't offering that.<br />
<br />
Second, I find it ironic that Google is offering a security and privacy solution. I mean, they store every search, associate searches with user accounts, and cache personal information. So for them to be concerned about search privacy is just... funny.<br />
<br />
<H3>Summer's Here</H3><br />
Summer vacation has clearly started. The number of malware and attackers scanning my web site for vulnerabilities has increased 10x compared to last month. Looks like the k1dd13z are out of school.<br />
<br />
The uptick includes a significant increase in scans for WordPress vulnerabilities. Sample initial scans look like this:<br />
<pre>2010-05-03 11:10:10 | 72.46.136.130 | GET /wp-login.php<br />
2010-05-09 17:43:28 | 188.40.73.239 | POST /wp-admin<br />
2010-05-24 17:52:37 | 213.231.27.46 | GET /blog/wp-includes/js/tinymce/wp-mce-help.php<br />
2010-05-24 17:52:40 | 213.231.27.46 | GET /blog/wp-admin/upgrade.php<br />
2010-05-24 23:24:35 | 69.245.165.224 | GET /blog/wp-login.php</pre><br />
Of these scans, it is the <a href="http://tinymce.moxiecode.com/">tinymce</a> one that bothers me the most. This is a WYSIWYG editor and it has a <a href="http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-1745">history</a> of <a href="http://www.vupen.com/english/advisories/2010/0586">remote access</a> <a href="http://www.exploit-db.com/exploits/10183">vulnerabilities</a>. If you don't need it, consider removing it or locking down your <a href="http://www.hackerfactor.com/blog/index.php?/archives/336-Better-Than-Nothing-Security-Part-I.html">htaccess file and web pages</a>.<br />
<br />
<H3>Arizona State Lottery</H3><br />
Arizona recently passed <a href="http://www.azleg.gov/legtext/49leg/2r/bills/sb1070s.pdf">Senate Bill 1070</a>. The law basically says that people suspected of being illegal aliens will be asked to provide proof that they are permitted to be in the USA. Failure to provide proof can lead to incarceration and/or deportation.<br />
<br />
I'm not going take a side on whether this law is racial profiling or justified. (Let's leave that debate to the pundits and citizens of Arizona.) Rather, I'm looking at this from the hacker point of view. The first US Citizen that is arrested and/or deported under this law will have a heck of a lawsuit. Most likely, the victim will receive an out-of-court settlement as an apology because the case won't have legs to stand on if a provable citizen goes to court. Anyway, this law should be called the <i>Arizona State Lottery</i> because you too can become a millionaire overnight! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/376-Security-Podcasts.html" rel="alternate" title="Security Podcasts" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-05-23T17:21:55Z</published>
        <updated>2010-06-09T05:53:38Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=376</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=376</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/14-Forensics" label="Forensics" term="Forensics" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/6-Mass-Media" label="Mass Media" term="Mass Media" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/9-Privacy" label="Privacy" term="Privacy" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/4-Security" label="Security" term="Security" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/376-guid.html</id>
        <title type="html">Security Podcasts</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I'm always looking for security-oriented podcasts to listen to when I'm traveling. Some of the ones that I have found are pretty bad, while others are truly excellent.<br />
<br />
<H3>2600</H3><br />
The 2600 radio show "<a href="http://www.2600.com/offthehook/">Off The Hook</a>" has been around since 1988. They have had episodes available for download as MP3 files since before "podcast" became a word. So one would think that, with over 20 years of experience, they would finally learn how to use the mixing board! For a technical forum, these jokers can barely make the phone lines work; every other podcast that I have heard has been cleaner and more professionally produced than this one.<br />
<br />
Getting past the quality issues are the topics and advice. While they do discuss current topics related to security and privacy, they often take the viewpoint of someone intentionally doing something wrong. In some cases, they actively promote and advocate illegal activities. If you heed their advice and get caught, then you will probably end up in jail. (No wonder many of their letters to the editor published in <i>2600: The Hacker's Quarterly</i> are from people in prison... and some of the hosts have felony convictions.)<br />
<br />
I cannot recommend this show to anyone. It is an hour of your life that you will never get back. I give it two frownies: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/sad.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/sad.png"><br />
<br />
2600's Emmanuel Goldstein also has a show called "<a href="http://www.2600.com/offthewall/">Off The Wall</a>". It is basically a baseless rant and topic-less meander with really bad background music. Three frownies: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/sad.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/sad.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/sad.png">. You'd be better off and more satisfied by spending an hour staring at a blank wall.<br />
<br />
<H3>CyberSpeak</H3><br />
<a href="http://cyberspeak.libsyn.com/">CyberSpeak</a> is a semimonthly podcast hosted by Ovie Carroll (Director, Cybercrime Lab at U.S. Department of Justice Computer Crime and Intellectual Property Section) and Bret Padres (Director, Digital Forensics at  Stroz Friedberg, LLC). One would think that, with their backgrounds in law enforcement, this would be a dry and boring podcast -- but one would be very wrong! The hosts are hysterical (they constantly crack each other up, and usually make me laugh out loud at least once per episode).<br />
<br />
For topics, they cover recent issues in computer security, computer forensics, and privacy. Unlike 2600, Ovie and Bret never advocate illegal activities, but they do not always support laws and legal requirements. They are usually very critical in their evaluations of legal topics and usually see both sides of an issue.<br />
<br />
This hour-long show contains discussions about current topics, reviews of new tools, lists of cool web sites, and interviews with people involved in the field. While they do evaluate tools and interview software developers, they don't actively push products.<br />
<br />
This podcast is a must-follow for anyone interested in computer security, forensics, and privacy. I give this podcast my highest rating, three smilies: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/cool.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/cool.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/cool.png"><br />
<br />
My only criticism: When he gets excited, Ovie shouts a lot. Be prepared to lose an eardrum if you wear headphones.<br />
<br />
<H3>Crypto-Gram</H3><br />
Security guru Bruce Schneier has a monthly newsletter called the "Crypto-Gram". In it, he voices his opinion about various computer privacy related issues. The articles are actually a combination of his blog postings and mass media essays. While I don't always agree with him (I agree about 90% of the time), his arguments are well written and clearly presented. If you are looking for a speech and debate topic, he provides plenty of great starting points.<br />
<br />
Unlike other podcasts, this one does not review technologies or dive into deep technical discussions. Instead, Schneier stays at the 1000-foot level, focusing on the forest and not the trees. You won't learn a new hack or how to apply a new program, but you will gain insight into the implications.<br />
<br />
Shortly after his newsletter is published, the "<a href="http://crypto-gram.libsyn.com/rss">Crypto-Gram Security Podcast</a>" is updated. The podcast is someone other than Schneier reading the newsletter. The podcasts vary in length, but are usually 10-20 minutes long. If you only have a few minutes for something that will stimulate your brain, then this is a great choice.<br />
<br />
Two smilies: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png"><br />
<br />
<H3>Speaking of Security</H3><br />
RSA has a weekly podcast called "<a href="http://www.rsa.com/blog/rssfeed.aspx">Speaking of Security</a>". This podcast is short -- usually 10 minutes -- and includes sponsor advertisements. All of the interviews involve RSA partners and affiliates.<br />
<br />
Having said that, the topics do give a good idea about available security oriented products and services. Of the product pushing podcasts, this is one of the better ones. One smiley: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
<br />
<H3>PaulDotCom</H3><br />
There is a security podcast called "<a href="http://pauldotcom.com/podcast/psw.xml">PaulDotCom Security Weekly</a>". This podcast ranges from 45 minutes to 1.5 hours. But, it is almost all product placement, advertisements, and unrelated tangents. The banter between the hosts may be funny to them, but rarely even gets a smirk from me. Some episodes have over 10 minutes of nothing (ads, music, and tangents) before discussing anything security related.<br />
<br />
In Episode 199, they mentioned not having any listener winners. Perhaps it is because they don't have any listeners... The technical coverage is mainly personal experience and comments like "and then I used the blah program to do blah" without details or context. One frownie: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/sad.png"><br />
<br />
<H3>This Week in Computer Hardware</H3><br />
The video podcast "<a href="http://feeds.twit.tv/twich_video_large<br />
">This Week in Computer Hardware with Ryan Shrout</a>" is not security focused. However, it discusses hardware and other issues that directly impact security, privacy, and forensics. The host is very knowledgeable, the discussions are focused and detailed, and the hour-long podcast is entertaining without the need for humorous tangents. Two smilies: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png"><br />
<br />
<H3>Other Podcasts</H3><br />
Computer security and forensics really require timely topics. Thus, I'm not reviewing podcasts like "<a href="http://www.securityroundtable.com/feed/<br />
">The Security Roundtable</a>" and "<a href="http://sploitcast.libsyn.com/rss<br />
">SploitCast</a>" since they haven't released new episodes in years.<br />
<br />
Are they other (free) security podcasts that are worth listening to? If you know of other security-related podcasts, let me know! I'll update this blog entry with the podcast name, your rating (from three frownies to three smilies) and your brief description of the podcast. Be sure to include a link to the podcast's feed!<br />
<br />
<H3>Other Recommentations</H3><br />
David Garrard recommends the Australian podcast, "<a href="http://risky.biz/netcasts/risky-business">Risky Business</a>". David didn't provide a description, so I just listened to two episodes. They cover technical topics with some depth (not enough to program by, but enough to get you started) and discuss current issues in security and privacy. It is like CyberSpeak, but without the funny banter and with an Australian accent. Three smilies: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/cool.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/cool.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/cool.png"><br />
<br />
Paul Wilkins, Keith, and King recommend "<a href="http://twit.tv/sn">Security Now</a>". Paul gave it two smileys <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png">, while Keith recommended two to three smilies. Keith included this excellent description:<br />
<blockquote>I've not listened to any of the other podcasts you listed, so I can't compare to them. But I've found "Security Now" (http://twit.tv/sn, http://grc.com/sn, http://itunes.apple.com/us/podcast/security-now/id79016499) to be excellent. Each week, Steve Gibson and Leo Laporte review the week in security news, provide errata and updates to previous shows, and then spend alternate weeks either doing listener Q&A or covering some interesting topic (frequently not security related, but always interesting to geeks). I'd give it three smileys for what it is; some may give it two smileys because it's more consumer oriented and not NSA-level hard core. 1.5 - 2 hours, and always entertaining. Contains 2-3 product placement spots, but even those are entertaining, as Leo does them in his characteristic homey, Arthur Godfrey style.</blockquote><br />
King added:<br />
<blockquote>Another vote for Security Now, it's a good overview of timely security information and chosen topics. Leo is a professional radio/tv guy from way back (as well as fairly techy) and Steve is deeply techy but can still talk to "regular" people. They make a good team, even when you already know the topic, they're entertaining.</blockquote><br />
I recently listened to the "<a href="http://twit.tv/sn">Security Now</a>" podcast and agree with Paul, Keith, and King. I give it a solid two smilies: <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png"> <img src="http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png"> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.hackerfactor.com/blog/index.php?/archives/375-Slowest-Download-Ever.html" rel="alternate" title="Slowest Download Ever" />
        <author>
            <name>Dr. Neal Krawetz</name>
            <email>blog@hackerfactor.com</email>
        </author>
    
        <published>2010-05-17T03:16:04Z</published>
        <updated>2010-05-18T08:28:16Z</updated>
        <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=375</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=375</wfw:commentRss>
    
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/3-Network" label="Network" term="Network" />
            <category scheme="http://www.hackerfactor.com/blog/index.php?/categories/9-Privacy" label="Privacy" term="Privacy" />
    
        <id>http://www.hackerfactor.com/blog/index.php?/archives/375-guid.html</id>
        <title type="html">Slowest Download Ever</title>
        <content type="xhtml" xml:base="http://www.hackerfactor.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The first time I used Unix, I was sitting in a small computer lab and had a cheat sheet of commands. 'ls' for listing files, 'mkdir' for making directories, and 'cp' to copy. But I found my favorite command within a few seconds: 'w'. This command shows you who is on the system and the commands they are currently running. My first response was "Cool! I can see what everyone is doing!" The guy sitting next to me didn't even look over. He just said, "And they can see you."<br />
<br />
While this wasn't my first experience with online privacy, it was a huge eye opener. Privacy online is just like privacy in public; there is no privacy beyond what you create for yourself.<br />
<br />
<H3>Wardriving the Google Way</H3><br />
A couple of days ago, Google came forward with an <a href="http://googleblog.blogspot.com/2010/05/wifi-data-collection-update.html">announcement and apology</a>. The Google Street View cars that have been driving across cities all over the world have been doing more than mapping cities -- they have also been mapping wireless networks. This includes storing WiFi SSID strings as well as any packets sent over unprotected (open) wireless networks. Over the course of 5 years, they managed to collect about <a href="http://www.smilez360.com/Technology_and_Science/Google_Collects_Personal_Information">600 gigabytes</a> of data.<br />
<br />
Now, to put things into perspective, 600 gigabytes can fit on most $99 hard drives. And they downloaded it over the course of 5 years. That's a download rate of about 30K per second. I can download over <a href="http://torproject.org/">Tor</a> faster than that. (And Tor <a href="https://blog.torproject.org/blog/why-tor-is-slow">isn't know for speed</a>.)<br />
<br />
So Google's vans were picking up a packet here and a packet there, over 5 years, across 30 countries. What kind of sensitive data could they capture? Assuming they were driving and everything was timed right, they could probably capture an HTML request and web page (but probably not the images), or an email being sent or received. In the worst case, the van may have stopped at an intersection and captured traffic for a duration of a minute or two. More likely, they captured fractions of transactions and a lot of ACK and ARP packets.<br />
<br />
As far as privacy goes, I don't see this as a huge risk. Everything was transmitted out in the open and without any encryption. Anyone could see it if they looked. Aliens in the <a href="http://www.space.com/scienceastronomy/061009_nearest_exoplanet.html">Epsilon Eridani</a> solar system will be able to see the transactions in plain text in 10.5 years. So having Google see it really isn't that much of a loss of privacy. The actions took place in public and Google saw it.<br />
<br />
However, I am extremely impressed with Google's response. They didn't hide it; they came out and said what happened. And they are planning to delete the data as soon as they make sure that no laws were broken. Outstandingly honest.<br />
<br />
<H3>Better Sources of Sensitive Data</H3><br />
Many years ago, I was a network administrator. While checking the DNS logs, I couldn't help but notice that the DNS server had cached hostnames for a ton of porn web sites. At the weekly office meeting, I brought this up as a topic... "I know that someone in the department is looking at porn on the office computers. Rather than spending time tracking you down, please just stop it." The entire room went dead silent. And I gotta say, the DNS server stopped caching porn sites.<br />
<br />
Google is planning on populating an <a href="http://www.google.com/appserve/fiberrfi/public/overview">entire city</a> with fiber network. When they finally announce the city, somewhere between 50,000 and 500,000 residents will switch their ISP to the new Google network service. And this is where the privacy risk resides...<br />
<br />
Most ISPs offer DNS services for their clients. So they can see every site you tried to access and when you tried to access it. ISPs also control the last-mile connection, so they can gain metrics about how much traffic you generate and consume, your hours of work, the network protocols you use, and even capture anything sent over plain text.<br />
<br />
Then again, this is the privacy issue we face everyday. Does Comcast or Cox or Rogers or Sprint capture these metrics? Sure they do! At least, in raw packet metrics. This is how they determine when they need to allocate additional network resources or equipment, and when customers abuse "<a href="http://webhosting.devshed.com/c/a/Web-Hosting-News/Comcast-Redefines-Unlimited-Bandwidth/">unlimited bandwidth</a>" policies. Do they keep the data or use it for anything else? Probably some of it. As we saw when <a href="http://en.wikipedia.org/wiki/AOL_search_data_scandal">AOL released sample search data</a>, ISPs do collect. But as a Comcast customer, I'll probably never know the full details.<br />
<br />
At least Google is straightforward about their methods and policy, and strive to rectify collection issues. But it will be interesting to see how they handle serious ISP issues and practices when they take a full ISP role. Running a <a href="http://wifi.google.com/">small experimental WiFi network</a> is not the same as providing network access to an entire city. And collecting data related to <a href="http://searchenginewatch.com/2189531">every search</a> people perform is very different from collecting information about every site you visit, every networked program you run, and everything you possibly do online. Even something basic, like monitoring a router or running a caching DNS server, requires data collection and metrics. While Google does take extraordinary measures to protect user's privacy, they are bound to make collection mistakes. Good luck Google, and thanks for being so honest. 
            </div>
        </content>
        
    </entry>

</feed>