<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>The Hacker Factor Blog</title>
    <link>http://www.hackerfactor.com/blog/</link>
    <description>Tools, Techniques, and Tangents</description>
    <dc:language>en</dc:language>

<item>
    <title>Backups and Tears</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/394-Backups-and-Tears.html</link>
            <category>Security</category>
            <category>[Other]</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/394-Backups-and-Tears.html#comments</comments>
    <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=394</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=394</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    Earlier this week, I attended a presentation by Jochen Wolters titled &quot;Back Up Your Data or Get Ready for Tears&quot; (&lt;a href=&quot;http://polytropia.com/downloads/backups.pdf&quot;&gt;pdf&lt;/a&gt;). Usually the tech talks that I attend are extremely technical and aimed toward hard-core programmers and power-users. However, this talk was for generic users and not programmers. (I think I was one of three programmers there, including the speaker.) As such, Wolters gave an awesome presentation that cut out the technical details and told the audience what they really needed to know.&lt;br /&gt;
&lt;br /&gt;
My own backup needs are an extreme case. I use RAIDs, auto-sync and auto-backup directories, and multiple media devices, as well as off-site storage. However, the typical computer user (mom and dad) don&#039;t need five-nines uptime (up 99.999% of the time).&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Back to Basics&lt;/H3&gt;&lt;br /&gt;
There are really just a few things that the typical person needs when it comes to computer backups:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Backups&lt;/b&gt;. Kind of a &quot;duh&quot; thing, but if you don&#039;t have any backups then you will eventually lose data. Whether the loss is from a hard drive crash, power spike that fries your computer, or your cat deciding to lay on the delete key, data loss will eventually happen. The data you will loose may include your tax forms, family photos, your list of passwords for all of your online services, and more. For damaged drives, data recovery services are very expensive ($2000-$3000 per hard drive, and that assumes that they can recover the data). According to Wolters, some data recovery services even offer 24-hour suicide prevention hotlines. (People can get very emotional when all of their family photos are deleted.)&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Automated Backups&lt;/b&gt;. Your backups should be automated. If you are doing them by hand then you are probably not doing it regularly or often enough. Backups should be automated.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Verified Backups&lt;/b&gt;. How do you know that your backups are working? If you have never tried to recover a file, then try it now! You don&#039;t want to be learning how to restore data after a crash. Instead, you want to be familiar with the backup software and know how to recover the system before you need to use the skill. (Think of it like defensive driving. You don&#039;t want to learn how to drive on ice during your first ice storm.)&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Offsite Backups&lt;/b&gt;. Be sure to have at least one backup kept off site. And &quot;off site&quot; does not mean in your attic, basement, or other room in your house. If your house burns down, you want your data safely stored outside the building. Consider storing a backup hard drive in a bank vault -- it will cost much less than a data recovery service.&lt;br /&gt;
&lt;br /&gt;
A good off-site location is any place where you already have access. This may be your parents house, the office, or a friend&#039;s apartment. (My pilot friend uses his airplane hangar.) But keep in mind: if you don&#039;t have free access to your friend&#039;s house, then you may have to wait before retrieving your backup. (E.g., if he is on vacation for 2 weeks and you are locked out, that means 2 weeks without access to the backup.)&lt;/ul&gt;&lt;br /&gt;
&lt;H3&gt;Types of Backups&lt;/H3&gt;&lt;br /&gt;
At bare minimum, you really need one type of backup: a full disk copy. This is a full copy of the bootable system. This way, if/when your hard drive or computer dies, you can just slip the backup drive into a working computer and be up and running. And since it is a full copy, you know that every application you need will be fully functional.&lt;br /&gt;
&lt;br /&gt;
The second type of backup is an incremental. It just stores the files that have changed since the last backup. Depending on your needs, you may want a history of incremental backups. This way, you can recover a file as it existed a few weeks ago. If you only keep the most recent copy, then you may lose intermediate changes.&lt;br /&gt;
&lt;br /&gt;
For my own extreme needs, I use external hard drives and only perform full backups. However, I have a bunch of these drives and I cycle through them. I can go back a month without a problem. For critical short-term data, I use system redundancy -- copying files between computers and storing iterative backups as needed. (For source code, I use &lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion&lt;/a&gt; for tracking changes. The full backup includes the entire subversion repository and history.)&lt;br /&gt;
&lt;br /&gt;
Of course, some of the work that I do cannot be stored on backups. For example, third-party forensic data usually includes the stipulation to not keep additional copies. In this case, the data that I have is not the original data (I work from copies) and I have specific systems that are not backed up. But that&#039;s an extreme case and not typical for regular users.&lt;br /&gt;
&lt;br /&gt;
For critical data that seldom changes (e.g., tax records for the previous years), I burn them to DVD. I usually burn two copies, just in case one gets scratched. Although DVDs usually have a shelf life of 7-10 years, that&#039;s perfect for taxes. (Although it varies by accountant, you are usually advised to not keep tax records longer than 10 years anyway.)&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Frequency of Backups&lt;/H3&gt;&lt;br /&gt;
Most people view backups as a bother. They won&#039;t take it seriously until after they lose a lot of data. My own extreme backup solution only came about after some bad experiences. For example, I had a critical hard drive die 10 years ago. Since then, I keep frequent full backups. Later, I lost some source code between backups. Now I use a source code control system and multiple-system synchronization with backup checkpoints.&lt;br /&gt;
&lt;br /&gt;
There are really two factors to consider for your backup solution: (1) how much data can you afford to lose, and (2) how long do you want to be offline? For my own needs, I can lose up to 4 hours of work and it will take me up to an hour to recover. In the worst case, it will take me 24 hours to repair or replace whatever broke, but I will still be up and running while I wait for the repairs to complete.&lt;br /&gt;
&lt;br /&gt;
Typical user needs are nowhere near as extreme. Your backup starts automatically around 1:00am and a full backup can be done by morning. Recovering from the backup may take just as long -- unless you use a bootable backup. If you do one backup a week, then you can lose as much as a week&#039;s worth of data. It&#039;ll hurt, but it won&#039;t be too bad.&lt;br /&gt;
&lt;br /&gt;
Setting up the backup usually just requires two external USB hard drives (one for home and one for the off-site location -- and you swap them periodically), and getting some backup software. Many USB drives come with backup software, but I usually don&#039;t recommend using it. For Apple users, &lt;a href=&quot;http://www.apple.com/macosx/what-is-macosx/time-machine.html&quot;&gt;Time Machine&lt;/a&gt; is awesome software. For Windows users, your operating system comes with a backup system and a scheduler for automating it. (Right click on the drive icon. Backups are somewhere in the little menu.) For Linux/Unix users, &#039;rsync -auvf&#039; is your friend.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Typical Needs&lt;/H3&gt;&lt;br /&gt;
The audience at this presentation consisted of regular people. One guy was a carpenter. One woman was a writer. Another was a professional lecturer. Mostly small-office/home-office companies, and most did not have backup solutions. The few people who thought they had backups running were not sure what software they used, whether it was full or incremental, or even where the backed up data resided. If you don&#039;t have backups, you&#039;re not alone. Now is the right time to setup a backup solution that fits your needs. 
    </content:encoded>

    <pubDate>Fri, 27 Aug 2010 21:37:40 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/394-guid.html</guid>
    
</item>
<item>
    <title>Caller ID</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/393-Caller-ID.html</link>
            <category>Forensics</category>
            <category>Image Analysis</category>
            <category>Privacy</category>
            <category>Programming</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/393-Caller-ID.html#comments</comments>
    <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=393</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=393</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    Over the last week, a bunch of friends have forwarded to me stories about the risks of GPS information embedded in pictures. For example, &lt;i&gt;MythBuster&lt;/i&gt; Adam Savage apparently &lt;a href=&quot;http://finance.yahoo.com/news/Web-Photos-That-Reveal-nytimes-2375510549.html?x=0&amp;.v=1&quot;&gt;took a picture of his car at his home&lt;/a&gt; and forgot to disable the GPS information. Rabid fans quickly identified where Adam lived. Granted, I doubt most celebrities have secret homes, but the fact is: pictures tell much more about you than just the photo&#039;s content.&lt;br /&gt;
&lt;br /&gt;
The GPS data in JPEGs is nothing new. It was part of JPEG&#039;s &lt;a href=&quot;http://www.exif.org/Exif2-1.PDF&quot;&gt;EXIF 2.1 Standard&lt;/a&gt; back in 1998. (And that may not be the earliest version...) However, it wasn&#039;t until the last few years that cameras, cell phones, and other portable devices began to incorporate GPS technologies. Today, it is hard to find a cell phone without a camera, and many of them include GPS as a feature.&lt;br /&gt;
&lt;br /&gt;
While GPS information embedded in a picture may tell people where you were, Facebook has decided to use your GPS for telling people where you &lt;i&gt;are&lt;/i&gt;. Called &lt;a href=&quot;http://www.facebook.com/places/&quot;&gt;Facebook Places&lt;/a&gt;, they will broadcast your GPS location to all of your Facebook friends. While they do have options for &lt;a href=&quot;http://blog.facebook.com/blog.php?post=418175202130&quot;&gt;limiting distribution&lt;/a&gt;, Facebook is well-known for abruptly changing policies.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;iPhone, iPad, iTouch, iMac, iSpy&lt;/H3&gt;&lt;br /&gt;
Today&#039;s ever-smarter portable devices are not designed for privacy-oriented people. While the embedding and publishing of GPS information may be an overt example, there are many other cases of your device leaking information about you.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve been collecting photos from various hand-held devices. I use them to populate a photo ballistics database. My friend, Bum, recently purchased an iPad. He sent me a screenshot from the device. (His iPad doesn&#039;t have a camera.) While the picture&#039;s ballistics wasn&#039;t very interesting, the email header was!&lt;br /&gt;
&lt;blockquote&gt;From: Bum &amp;lt;b...@...com&amp;gt;&lt;br /&gt;
To: Neal Krawetz &amp;lt;n...@...com&amp;gt;&lt;br /&gt;
Content-Type: multipart/mixed; boundary=Apple-Mail-1-186804698&lt;br /&gt;
Content-Transfer-Encoding: 7bit&lt;br /&gt;
Mime-Version: 1.0 (iPad Mail 7B405)&lt;br /&gt;
Subject: You wanted a photo?&lt;br /&gt;
Date: Sun, 8 Aug 2010 10:39:58 -0700&lt;br /&gt;
X-Mailer: iPad Mail (7B405)&lt;/blockquote&gt;&lt;br /&gt;
The first thing to notice is the X-Mailer header. It identifies the device (iPad), application (Mail), and version (7B405). This isn&#039;t too exciting since most MUAs (mail user agents) include this type of information. However, it was the content boundary that got my attention: Apple-Mail-1-186804698.&lt;br /&gt;
&lt;br /&gt;
I dug through my email archives and found a bunch of other examples:&lt;br /&gt;
&lt;blockquote&gt;Apple-Mail-11-1034880980&lt;br /&gt;
Apple-Mail-2--961132422&lt;br /&gt;
Apple-Mail-1--77112522&lt;br /&gt;
Apple-Mail-1-186804698&lt;br /&gt;
Apple-Mail-4--29131759&lt;br /&gt;
Apple-Mail-5--10882313&lt;br /&gt;
Apple-Mail-15-908210705&lt;br /&gt;
Apple-Mail-4-1054791469&lt;/blockquote&gt;&lt;br /&gt;
With a little help from the &lt;a href=&quot;http://dc3.mil/&quot;&gt;DC3&lt;/a&gt;, I finally understand what these non-random numbers describe. The big number is actually the most uninteresting value. It is the time in milliseconds stored in a signed 32-bit register. (Negative numbers have the double hyphens.) Since it is a 32-bit register, the value rolls over about every 24.86 days. However, the zero date isn&#039;t the Unix epoch (00:00:00 on 1970-01-01). Instead, if you assume the timestamp represents today&#039;s date (from the email Date header) and repeatedly subtract 2&lt;sup&gt;31&lt;/sup&gt; microseconds until you reach the Unix epoch, then you&#039;ll notice that it is off... The value closest to the epoch (without going under) is 128397792ms, or Jan 2 11:39:57 1970. (You might see it vary by a second, 11:39:58, if the clock happened to roll over between generating the Date and content boundary.) I&#039;m not sure why Apple chose this date, but it is consistent. The Mail program on the iPhone, iPad, iTouch, and Mac OS X all use the same date.&lt;br /&gt;
&lt;br /&gt;
From a forensics viewpoint, this is useful. This is a quick way to identify forged emails that claim to be from Macs. (I actually had a use for this last week!)&lt;br /&gt;
&lt;br /&gt;
The more interesting number is the smaller value. It took me a while to identify the purpose. That is the number of attachments sent by the mailer (Apple Mail) since the program was started. If you see &quot;-1-&quot; then it means that you received the first attachment that they sent since they started the program. The &quot;-15-&quot; means that person had started Apple Mail and sent 14 attachments before sending one to me. (&lt;a href=&quot;http://www.winnschwartau.com/&quot;&gt;Winn Schwartau&lt;/a&gt; sent me an email that had &quot;-245-&quot;!)&lt;br /&gt;
&lt;br /&gt;
This is very useful, particularly if you receive multiple emails from the person over a short duration. For example, Bum always sends me with &quot;-1-&quot;. This means he closes the Mail program frequently. (Make sense for an iPad that &lt;a href=&quot;http://www.tipb.com/2010/01/27/ipad-multitasking-notifications-tv-subscriptions-camera-tethering-textbooks/&quot;&gt;can&#039;t multitask&lt;/a&gt;.) I also received emails from a friend, M., who clearly loves attachments -- in 30 minutes he went from &quot;--12--&quot; to &quot;--28--&quot;.&lt;br /&gt;
&lt;br /&gt;
From a forensics viewpoint, this is awesome. Let&#039;s say the person has a couple of different Apple computers. I should be about to look over his computer and see how many attachments he sent on each system and match the count to the emails. Even if you delete a specific email, I can still determine how many attachments were included in the deletion.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Android Spies&lt;/H3&gt;&lt;br /&gt;
The information leakage is not limited to Apple products. At Defcon, my friend Factor sent me a sample picture from his Android phone. The problem is, it crashed my analysis tool!&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh5.ggpht.com/_Uw91icJn-go/TFy3D5apCzI/AAAAAAAABmo/VOQevxLeRh0/s400/2010-08-04%2010.13.14.jpg&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
The problem was a poorly formed JPEG. Specifically, every JPEG should begin with 0xffd8, contain a stream that starts with 0xffda, and end with 0xffd9. Between the 0xffd8 and 0xffda are various other settings, including APP records (0xffe0 to 0xffef for APP0 to APP15). In his case, his Android was storing additional APP records &lt;i&gt;after&lt;/i&gt; the end of stream (0xffd9).&lt;br /&gt;
&lt;br /&gt;
I added a check for this situation (so my code no longer crashes). However, these APP5 records (0xffe5) turned out to be really interesting. They only appear in one type of Android phone: the Motorola Android. I have observed these fields from photos taken with:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Motorola, Droid, 2.0.1&lt;br /&gt;
&lt;li&gt;Motorola, Droid, 2.1-update1&lt;br /&gt;
&lt;li&gt;Motorola, Droid, 2.2&lt;br /&gt;
&lt;li&gt;Motorola, DROIDX, 2.1-update1&lt;br /&gt;
&lt;li&gt;Motorola, DROID2, 2.2&lt;br /&gt;
&lt;li&gt;Motorola, Milestone, 2.1-update1&lt;/ul&gt;&lt;br /&gt;
They probably appear in other phones as well. However, I have not seen them with any other type of Android phone.&lt;br /&gt;
&lt;br /&gt;
These extra APP fields like:&lt;br /&gt;
&lt;blockquote&gt;tag=&#039;0xffe5&#039; length=&#039;32&#039; field=&#039;APP5&#039; value=&#039;HPQ-MetaData&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;168&#039; field=&#039;APP5&#039; value=&#039;HPQ-HostIntf&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;2400&#039; field=&#039;APP5&#039; value=&#039;HPQ-AutoExpo&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;1856&#039; field=&#039;APP5&#039; value=&#039;HPQ-LensInfo&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;4112&#039; field=&#039;APP5&#039; value=&#039;HPQ-AutoFoS1&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;4104&#039; field=&#039;APP5&#039; value=&#039;HPQ-AutoFoLV&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;6140&#039; field=&#039;APP5&#039; value=&#039;HPQ-WhiteBal&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;1660&#039; field=&#039;APP5&#039; value=&#039;HPQ-PPR&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;1164&#039; field=&#039;APP5&#039; value=&#039;HPQ-Capture&#039; &lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;142&#039; field=&#039;APP5&#039; value=&#039;HPQ-Pipe2Mdd&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;1692&#039; field=&#039;APP5&#039; value=&#039;HPQ-Flicker_&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;44&#039; field=&#039;APP5&#039; value=&#039;HPQ-SensorMD&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;22&#039; field=&#039;APP5&#039; value=&#039;HPQ-ImgGener&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;20&#039; field=&#039;APP5&#039; value=&#039;HPQ-DigiZoom&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;84&#039; field=&#039;APP5&#039; value=&#039;HPQ-MotionMd&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;32&#039; field=&#039;APP5&#039; value=&#039;HPQ-CalsMfg &#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;65016&#039; field=&#039;APP5&#039; value=&#039;HPQ-CalsSec1&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;10016&#039; field=&#039;APP5&#039; value=&#039;HPQ-CalsSec2&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;8568&#039; field=&#039;APP5&#039; value=&#039;HPQ-LRGEBUFF&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;24&#039; field=&#039;APP5&#039; value=&#039;HPQ-MetaHint&#039;&lt;br /&gt;
tag=&#039;0xffe5&#039; length=&#039;12&#039; field=&#039;APP5&#039; length=&#039;12&#039; value=&#039;pad pad pad &#039;&lt;/blockquote&gt;&lt;br /&gt;
That&#039;s right, every picture has over 95K of additional APP5 data after the picture! That is as much as 8% of the file size!&lt;br /&gt;
&lt;br /&gt;
So far, I can only decode one of the fields: HPQ-Capture. This has 3-5 records (depending on the version) and the records identify your phone. Here&#039;s an example from a decoded block from a Motorola, Droid, 2.2:&lt;br /&gt;
&lt;blockquote&gt;field=&#039;Build Version&#039; value=&#039;4719:5353&#039; &lt;br /&gt;
field=&#039;Build Date&#039; value=&#039;2010-06-14 15:15:45&#039; &lt;br /&gt;
field=&#039;Builder Email&#039; value=&#039;kraigp@itlbuild.fc.hp.com&#039; &lt;br /&gt;
field=&#039;Build Name&#039; value=&#039;SholesMR2_RC9&#039; &lt;br /&gt;
field=&#039;Kernel Release&#039; value=&#039;2.6.32.9-g103d848&#039; &lt;br /&gt;
field=&#039;Kernel Version&#039; value=&#039;#1 PREEMPT Wed May 26 18:02:03 PDT 2010&#039;&lt;/blockquote&gt;&lt;br /&gt;
The kernel information is the same as running &quot;uname -r&quot; and &quot;uname -v&quot; from a command prompt. The Build Version looks like a SVN string, but it could be some other source code revision system.&lt;br /&gt;
&lt;br /&gt;
I sent an email to &quot;kraigp&quot; asking for more information about these undocumented fields, but got a bounced email:&lt;br /&gt;
&lt;blockquote&gt;      This is an automatically generated Delivery Status Notification.      &lt;br /&gt;
&lt;br /&gt;
Delivery to the following recipients was aborted after 34 second(s):&lt;br /&gt;
&lt;br /&gt;
  * kraigp@itlbuild.fc.hp.com&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Different Android versions include different information. For example, the Motorola DROIDX 2.1-update1 says:&lt;br /&gt;
&lt;blockquote&gt;field=&#039;Build Version&#039; value=&#039;5476&#039;&lt;br /&gt;
field=&#039;Build Date&#039; value=&#039;2010-06-24 16:02:09&#039;&lt;br /&gt;
field=&#039;Builder Email&#039; value=&#039;tanvir@tanvir-lnxdev&#039;&lt;br /&gt;
field=&#039;Build Name&#039; value=&#039;Shadow_RC7&#039;&lt;br /&gt;
field=&#039;Kernel Release&#039; value=&#039;2.6.29&#039;&lt;br /&gt;
field=&#039;Kernel Version&#039; value=&#039;#1 PREEMPT Thu Jul 1 18:18:04 CDT 2010&#039;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
All of these HPQ fields appear to be part of the HPAndroidHAL driver. Since only Motorola seems to use this driver, only Motorola photos get tagged. (If I&#039;m wrong here, I hope someone will tell me. I&#039;ll be sure to make corrections.) It kind of makes sense that Hewlett-Packard would embed their stock symbol (HPQ) in the APP field...&lt;br /&gt;
&lt;br /&gt;
Most of the HPQ records have fixed lengths. Some values don&#039;t change regardless of camera version. Some change between versions but not between cameras, some change with each photo (e.g., White balance and focus), and some seem to change between specific cameras. It is these last fields that seem interesting. Not only can I tell what camera took the picture, but I can tell you if two photos were taken by the exact same camera. Unfortunately, I don&#039;t know the meaning of these fields since the &quot;changes between cameras&quot; could be coincidental based on my minimal sample size.&lt;br /&gt;
&lt;br /&gt;
The only variable-sized field seems to be the HPQ-LRGEBUFF record. It looks like some kind of fractional memory dump. (I really suspect debugging code that was not disabled before release.)&lt;br /&gt;
&lt;br /&gt;
If you have an Android phone and want to know if your pictures have the HPQ tags, then try this:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Take a photo. (Let&#039;s call it photo.jpg.)&lt;br /&gt;
&lt;li&gt;strings photo.jpg | grep HPQ-&lt;/ol&gt;If you don&#039;t see anything, then your pictures are clean. If you see HPQ strings, then your photos are tagged. Use &#039;hexedit photo.jpg&#039; and search for &quot;HPQ-&quot;. This will show you all of the HPQ records.&lt;br /&gt;
&lt;br /&gt;
In any case, until we learn what &quot;HPQ&quot; is embedding in each photo taken by a Motorola Android, I&#039;m going to stay on the paranoid side. If you happen to know how to decode the other fields, please let me know!&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;The End?&lt;/H3&gt;&lt;br /&gt;
Smarter devices do not mean smarter users or smarter programmers. Unless you know how to disable every undesirable feature (and remember to disable it), you are probably going to leak information. While online anonymity isn&#039;t dead, it is getting harder and harder to protect our privacy. 
    </content:encoded>

    <pubDate>Thu, 19 Aug 2010 22:25:05 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/393-guid.html</guid>
    
</item>
<item>
    <title>Made In China</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/392-Made-In-China.html</link>
            <category>Financial</category>
            <category>Forensics</category>
            <category>Network</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/392-Made-In-China.html#comments</comments>
    <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=392</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=392</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    According to news reports, China is now the world&#039;s &lt;a href=&quot;http://www.csmonitor.com/Commentary/the-monitors-view/2010/0816/China-becomes-world-s-second-largest-economy-but-it-s-far-from-being-a-leader&quot;&gt;second largest economy&lt;/a&gt;. However, I still equate their exports with cheap plastic, consumables (the opposite of durable goods), and low quality network exploits.&lt;br /&gt;
&lt;br /&gt;
That&#039;s right: low quality network exploits. I mean, seriously, if the domain is hosted in China and is not a &quot;.gov.cn&quot; domain, then it is likely a scam site -- spam, phishing, malware, or cheap knockoffs. Sure, there are a few legitimate .cn domains that are not &quot;.gov.cn&quot;. For example, www.google.cn, baudu.cn, and kaixin001.com come to mind. However, legitimate sites are the extreme minority. In contrast, I can immediately name hundreds of non-Chinese .com, .us, and even .ru sites that are legitimate (even if I don&#039;t include &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/233-Goodbye-PayPal.html&quot;&gt;PayPal&lt;/a&gt; in the list).&lt;br /&gt;
&lt;br /&gt;
Then again, maybe I just have a biased viewpoint. Having spent decades tracking spam, scams, phishers, and the like -- and constantly seeing China in the loop -- I cannot help but have this bias.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Network Attacks&lt;/H3&gt;&lt;br /&gt;
My web site, like most other web sites, is constantly under attack. Most of the time, the attacks are blind scans. The attacker tries an exploit without first checking if the site is vulnerable. If the attack fails, they move on. If the exploit succeeds, then the automated attacker will quickly compromise the server.&lt;br /&gt;
&lt;br /&gt;
Most attacks use one or two queries. For example, I&#039;ll see in my logs a query for &quot;/login.php&quot; and then a second query for the same non-existing file. However, if the attacker comes from China, then I can see 40 or more of the same query coming from an entire subnet of hostile systems. I consider this to be a &lt;i&gt;stoopid&lt;/i&gt; attacker: if it didn&#039;t work 39 times, then the 40th time probably won&#039;t work either.&lt;br /&gt;
&lt;br /&gt;
What likely happened is that some kiddie has a subnet of attack bots and told all of the bots to attack one URL rather than having them each attack different sites. Stupid attack x 40 = very stupid attacker.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Directed Attacks&lt;/H3&gt;&lt;br /&gt;
I&#039;ve had a couple of groups try to hack my web site for the purpose of stealing my image analysis source code. I know this, because they did blind guesses for things like &quot;sourcecode.zip&quot; and &quot;imagesrc.tar.gz&quot;. For the record: I do not keep my source code on this web site. Never have, never will.&lt;br /&gt;
&lt;br /&gt;
Most of these attacks came from China, and I strongly suspect the Chinese government. The attacks began last November, a few months before China was &lt;a href=&quot;http://www.businessinsider.com/did-the-chinese-government-hack-google-2010-1&quot;&gt;accused of hacking Google&lt;/a&gt;. At one point, I uploaded a zip file of hard-core Chinese porn and used a regular expression to match their query and feed them the file. Suffice to say, they stopped their attack for a few months.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;The Latest Sad Attempt&lt;/H3&gt;&lt;br /&gt;
I recently had a comment posted to my blog that was so unbelievably obvious as to make me wonder: How much of an idiot do they think I am???&lt;br /&gt;
&lt;blockquote&gt;In reference to: &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/317-Backhanded-Apology.html&quot;&gt;http://www.hackerfactor.com/blog/index.php?/archives/317-Backhanded-Apology.html&lt;/a&gt;&lt;br /&gt;
User IP-address: 205.209.142.173&lt;br /&gt;
User Name: louis vuitton&lt;br /&gt;
User Email: chenchen21621@hotmail.com&lt;br /&gt;
User Homepage: www. louis vuitton handbags. org &lt;font color=&#039;red&#039;&gt;&lt;b&gt;WARNING: Do Not Visit!&lt;/b&gt; Possibly hosts malware. Spaces added to deter people from clicking on it.&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
Comments: &lt;br /&gt;
Thanks for your posting; I really appreciate your ideas. Hope you can keep going.&lt;br /&gt;
        This is a really great website, and I really like your essay. Thanks for your sharing.&lt;/blockquote&gt;&lt;br /&gt;
So let&#039;s count everything that is wrong:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;While I have had some big names write into my blog, I kinda think that Louis Vuitton would know how to capitalize his own name.&lt;br /&gt;
&lt;li&gt;I doubt that Louis would use an email address of &quot;chenchen21621@hotmail.com&quot;.&lt;br /&gt;
&lt;li&gt;The IP address traces to Fremont, California.&lt;/ol&gt;&lt;br /&gt;
However, it is the claimed homepage that is the true joke. For example, all over the web site they spell the name &quot;Louis vuitton&quot; (forgot to capitalize the surname). The domain for the real &quot;louisvuitton.com&quot; site is registered to &quot;Louis Vuitton Malletier&quot; in Paris, France. But this faker&#039;s domain name is registered to some guy in China:&lt;br /&gt;
&lt;blockquote&gt;louisvuittonhandbags.org has address 63.223.106.237&lt;br /&gt;
Domain ID:D159724340-LROR&lt;br /&gt;
Domain Name:LOUISVUITTONHANDBAGS.ORG&lt;br /&gt;
Created On:23-Jul-2010 09:43:49 UTC&lt;br /&gt;
Last Updated On:23-Jul-2010 09:43:53 UTC&lt;br /&gt;
Expiration Date:23-Jul-2012 09:43:49 UTC&lt;br /&gt;
Sponsoring Registrar:Bizcn.com, Inc. (R1248-LROR)&lt;br /&gt;
Status:CLIENT TRANSFER PROHIBITED&lt;br /&gt;
Status:TRANSFER PROHIBITED&lt;br /&gt;
Registrant ID:orgfl79878227718&lt;br /&gt;
Registrant Name:fang li&lt;br /&gt;
Registrant Organization:bai shen ke ji&lt;br /&gt;
Registrant Street1:wenshanzhuangzuzizhiqu&lt;br /&gt;
Registrant City:wenshanzhou&lt;br /&gt;
Registrant State/Province:Yunnan&lt;br /&gt;
Registrant Postal Code:663000&lt;br /&gt;
Registrant Country:CN&lt;br /&gt;
Registrant Phone:+86.8762654874&lt;br /&gt;
Registrant FAX:+86.8762654874&lt;br /&gt;
Registrant Email:zhucepo9@163.com&lt;br /&gt;
Admin ID:orgfl79878228061&lt;br /&gt;
Admin Name:fang li&lt;br /&gt;
Admin Organization:fang li&lt;br /&gt;
Admin Street1:wenshanzhuangzuzizhiqu&lt;br /&gt;
Admin City:wenshanzhou&lt;br /&gt;
Admin State/Province:Yunnan&lt;br /&gt;
Admin Postal Code:663000&lt;br /&gt;
Admin Country:CN&lt;br /&gt;
Admin Phone:+86.8762654874&lt;br /&gt;
Admin FAX:+86.8762654874&lt;br /&gt;
Admin Email:zhucepo9@163.com&lt;br /&gt;
Tech ID:orgfl79878228397&lt;br /&gt;
Tech Name:fang li&lt;br /&gt;
Tech Organization:fang li&lt;br /&gt;
Tech Street1:wenshanzhuangzuzizhiqu&lt;br /&gt;
Tech City:wenshanzhou&lt;br /&gt;
Tech State/Province:Yunnan&lt;br /&gt;
Tech Postal Code:663000&lt;br /&gt;
Tech Country:CN&lt;br /&gt;
Tech Phone:+86.8762654874&lt;br /&gt;
Tech Phone Ext.:&lt;br /&gt;
Tech FAX:+86.8762654874&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The web site itself appears to be a functional shopping site, but it is certainly a scam. They say the site was established in 2007, but the copyright says 2008 and the DNS registrations says... last month! (Created On:23-Jul-2010 09:43:49 UTC)&lt;br /&gt;
&lt;br /&gt;
Going through their check-out process is equally fun. The only shipping option is &quot;USPS&quot; (United States Postal Service), and the system seems to hang before transferring you to some third-party web site (that I&#039;ve never heard of) for handling credit card payments. Unfortunately, the link failed... probably because I use the NoScript plugin and it identified a possible XSS attack.&lt;br /&gt;
&lt;br /&gt;
Even more offensive... Why would a site called &quot;Louis Vuitton Handbags&quot; carry items from competing designers like Gucci, Burberry, Coach, and Prada? And why would Vuitton offer fashion items that are a few years out of style? (This is a fashion faux pas that is criminal!) The IP address used by this site also &lt;a href=&quot;http://www.robtex.com/ip/63.223.106.237.html&quot;&gt;hosts&lt;/a&gt; luxurybags-mall.com, salestiffany.com, saletiffanyjewellery.com, and shoptiffanyjewellery.com.&lt;br /&gt;
&lt;br /&gt;
This site is a scam. Most likely, they will take your credit card information (if they ever fix their link) and go for identify theft. I wouldn&#039;t rule out &lt;a href=&quot;http://www.robtex.com/dns/cdncenter.com.html&quot;&gt;malware&lt;/a&gt;. At best, they might actually sell you a cheap, &lt;a href=&quot;http://www.businessweek.com/innovate/content/dec2009/id2009127_845611.htm&quot;&gt;counterfeit knockoff&lt;/a&gt; made by some kid in a sweatshop. 
    </content:encoded>

    <pubDate>Mon, 16 Aug 2010 18:55:21 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/392-guid.html</guid>
    
</item>
<item>
    <title>Flash Memory</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/391-Flash-Memory.html</link>
            <category>Forensics</category>
            <category>Image Analysis</category>
            <category>Mass Media</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/391-Flash-Memory.html#comments</comments>
    <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=391</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=391</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    A little over a month ago I had the need to analyze some images stored in Flash (SWF) files. While there are programs that can extract images from SWF files, they don&#039;t necessarily extract the full image. Specifically, most applications drop alpha-channel information.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;SWF Format&lt;/H3&gt;&lt;br /&gt;
As far as parsing the file format goes, SWF is almost as easy to parse as PNG. The basic &lt;a href=&quot;http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v10.pdf&quot;&gt;format&lt;/a&gt; has a simple header that is followed a tag-length-data structure. The first two bytes of the stream identify the tag type and amount of data. Ten bits are assigned to the tag type and six bits assigned to the data length. If the data length is 0x3f (the maximum value), then 4 more bytes follow that contain the full size. SWF files are very consistent -- even if you don&#039;t know what a particular tag value means, you can still parse the entire file.&lt;br /&gt;
&lt;br /&gt;
There are actually two types of Flash files. They are identified by the first 3 bytes. If it says &quot;SWF&quot; then it is a regular Flash file. &quot;CWF&quot; identifies a compressed Flash file -- everything after the header is zlib compressed. After decompression, you can parse it as a regular &quot;SWF&quot; file.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Image Formats&lt;/H3&gt;&lt;br /&gt;
Images can be stored in a couple of different ways within the SWF.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Split JPEGs. Tags 6 and 8 combine to form a regular JPEG. The idea here is that many JPEGs have identical headers, quantization tables, and Huffman tables. Rather than storing them multiple times, the common parts are stored in tag 8 and the unique data streams are stored in tag 6. In reality, you&#039;ll need to play with the first few bytes of the tag 6 data and last few bytes of tag 8 for them to combine correctly. Some SWF-generating programs will end tag 8 with 0xffd9 and begin tag 6 with 0xffd8 -- the JPEG start and end markers -- so you&#039;ll need to make sure there are no start/end markers in the place where both SWF tags combine.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Tags 20 and 36 define lossless bitmaps. The difference is that tag 36 includes an alpha channel, while tag 20 does not.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Tags 21, 35, and 90 define images. Usually these are JPEG, but they can also be PNG or GIF. If the image is a JPEG, then tags 35 and 90 also contain alpha channel information. This is how SWF can use a JPEG with a transparency layer.&lt;/ul&gt;&lt;br /&gt;
&lt;H3&gt;Seeing the Full Picture&lt;/H3&gt;&lt;br /&gt;
While the image tag defines the picture, other tags describe how to display it. This can include cropping, scaling, flipping, and/or rotating the image. For my needs, I want the full picture. For example, the file &quot;http://www.staging.mcdonalds.com/content/usa/sports.RowPar.0004.ContentPar.0001.ColumnPar.0001.File.tmp/Sports_07182008.swf&quot; is part of an old ad campaign from McDonalds. Although the web page no longer shows the SWF file, it is still available on their web site and indexed through Google. This movie only shows a cropped picture of a girl dunking a basketball. But the full picture found in the SWF shows a horrendous amount of editing.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh5.ggpht.com/_Uw91icJn-go/TGH_fknB4RI/AAAAAAAABng/vd3Lo4iGzLc/s800/Sports_07182008-00000000.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure which is worse... the extra long arm, the cloned lights on the left, or the &quot;I tried to erase the background&quot; failure on the right.&lt;br /&gt;
&lt;br /&gt;
The second image in this SWF isn&#039;t much better. I can understand the desire to make the background gray while leaving the person in color, but why did McDonalds gray-out her knee?&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TGH_fpYMWrI/AAAAAAAABnk/Tn91bLcsQj8/s800/Sports_07182008-00000001.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Unseen&lt;/H3&gt;&lt;br /&gt;
When someone creates a Flash file, they build it in layers. Sometimes a layer is not enabled. However, just because the regular Flash movie doesn&#039;t show it does not mean it is gone. In fact, hidden images often exist in SWF files. For example, the Flash movie at http://www.liuyehu.gov.cn/index.swf (courtesy of their local Chinese Government) contains a banner showing the town and people having fun. However, there is a second, hidden image that shows the pre-edited version.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://picasaweb.google.com/lh/photo/szMpHA-y7i73je0qS78y7w?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_Uw91icJn-go/TGH_e_bJqCI/AAAAAAAABnY/3i0zV5X6qA8/s800/index-00000002.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://picasaweb.google.com/lh/photo/pQDH0yG3aMvDqk0wTaioUQ?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TGH_fGiZx6I/AAAAAAAABnc/m8s0CazUdPo/s800/index-00000003.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Personally, I fear our new Chinese overlords. Their children are taller than trees!&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;But it Tastes Good!&lt;/H3&gt;&lt;br /&gt;
Ever since I started parsing SWF files, I just can&#039;t seem to stop. I&#039;m looking at almost every Flash file I come across. Most are uninteresting. A few make me laugh, like this image from Ralph Lauren (https://www.ralphlauren.com/graphics/media/polo/1112_hp_821x709.swf)... her arm looks broken and what is going on behind the chair???&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh5.ggpht.com/_Uw91icJn-go/TGH_rkr5PEI/AAAAAAAABno/4CRr55IEddw/s400/1112_hp_821x709-00000002.png&quot;&gt;&lt;br /&gt;
&lt;cite&gt;Reduced size image used for criticism, comment, teaching, and research, as specified in &lt;a href=&quot;http://www.copyright.gov/title17/92chap1.html&quot;&gt;US Copyright Law&lt;/a&gt; Title 17, Circular 92, Chapter 1, Section 107 &quot;Limitations on exclusive rights: Fair use&quot;.&lt;/cite&gt;&lt;br /&gt;
&lt;br /&gt;
But the best Flash banner so far comes from &lt;a href=&quot;http://www.legendarybbq.com/&quot;&gt;Famous Dave&#039;s&lt;/a&gt; Legendary Pit Bar-B-Que. I went to the site looking for directions (I was meeting some friends for lunch). Most of the images are from the animated banner, where food rises and falls onto a table. However, the first picture is hidden/unused, and it is just amazing... It is a full screen snapshot of the developer&#039;s desktop!&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TGH_d79Hd3I/AAAAAAAABnU/BrdiFCgRR1Y/s800/header-00000000.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Here&#039;s how you can view the full thing:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Install swftools (http://www.swftools.org/)&lt;br /&gt;
&lt;li&gt;Get the SWF file: wget http://www.legendarybbq.com/header.swf&lt;br /&gt;
&lt;li&gt;Find the image ID (it is 0002): swfdump -D header.swf | grep JPEG&lt;br /&gt;
&lt;li&gt;Extract the image: swfextract -o secretimg.jpg -j 2 header.swf&lt;/ol&gt;&lt;br /&gt;
You can clearly see an open chat session with &lt;a href=&quot;http://twitter.com/midwestkel&quot;&gt;Kelly Karnetsky&lt;/a&gt; (you can even see his email address). The session is between Kelly and someone calling himself, &quot;Well let&#039;s focus Mr. Million Dollars and find something that can blow up a car!&quot; There is another chat session with someone called &quot;Jonas&quot;. The developer is listening to Sarah Mclachlan&#039;s &lt;i&gt;Surfacing&lt;/i&gt; and was searching his music collection for Eminem. The screenshot shows the clock at 4:06pm on Sunday, 10/26/2008.&lt;br /&gt;
&lt;br /&gt;
I actually reported this information leakage to one of Famous Dave&#039;s managers. I know they received it because I provided them a zip file containing all of the extracted images, including the desktop. Moreover, the zip file was downloaded 7 times, including by people at Basic Food Group -- the &lt;a href=&quot;http://www.bizjournals.com/denver/stories/2005/08/08/daily72.html&quot;&gt;parent company&lt;/a&gt; of Famous Dave&#039;s. However, it has been over two weeks; nobody has gotten back to me and they have not removed the image from the SWF file. I can only conclude that they don&#039;t mind if people see it.&lt;br /&gt;
&lt;br /&gt;
Eventually I&#039;ll probably make a SWF decompiler for those &quot;Do ABC&quot; blocks of compiled code (tag 82). Just as there are unused pictures, I fully expect there to be unused code, and plain-text passwords for Flash-based cryptographic systems. 
    </content:encoded>

    <pubDate>Tue, 10 Aug 2010 18:45:41 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/391-guid.html</guid>
    
</item>
<item>
    <title>Post-Defcon Review</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/390-Post-Defcon-Review.html</link>
            <category>Conferences</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/390-Post-Defcon-Review.html#comments</comments>
    <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=390</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=390</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    I&#039;m finally back and recovered from Defcon 18 (and caught up with my workload). This is definitely my favorite conference. I caught up with a bunch of old friends, made a few new friends, and learned a thing or two.&lt;br /&gt;
&lt;br /&gt;
The conference seemed much more crowded this year. I couldn&#039;t get into some of the talks that I wanted to hear. And the sea of people... Everyone was polite, well behaved, and orderly, but there were still very long lines as much as 30 minutes before some talks began.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Relative Perspective&lt;/H3&gt;&lt;br /&gt;
Back when I first attended Defcon (Defcon 9 in 2001), the crowd was about a third whitehats, a third blackhats, and a third feds trying to inventory the other two groups. Over the years, the blackhats and anarchists have dropped off and more feds attend the conference. (As Omar the cabbie once told me, feds don&#039;t take taxis. If the parking lot is full, then those are the feds.)&lt;br /&gt;
&lt;br /&gt;
Last year, there were a few blackhats, but most of the attendees were whitehats or feds. (Hint: If you tell people about your military background, run out to your car to take a sudden phone call, or refuse to say where you work, then you&#039;re a fed.) This year, I saw nobody that I knew was a true blackhat. (And yes, I know who some of them are.) Nearly everyone was a fed or whitehat from industry or academia. At the end of the conference, Priest (the big Goon) even congratulated the audience -- this was the first Defcon ever that wasn&#039;t marred by vandalism or sheer acts of stupidity.&lt;br /&gt;
&lt;br /&gt;
Next year ought to be very entertaining: Defcon is moving to the Rio. Unlike the Riviera, the Rio has a wide selection of restaurants, a great buffet, and rooms that are better than a La Quinta. The Rio should also have more space, so the crowds won&#039;t seem as extreme.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Talks&lt;/H3&gt;&lt;br /&gt;
I attended a few of the panel talks. This year, they split the Meet The Fed panel into two parts: Forensics (CSI:TCP/IP) and Arresting Authority (Policy, Privacy, Deterrence, and Cyber War). This was a really good switch -- the panel was more focused and the questions to them were more interesting. Only the Forensics panel played &quot;Spot the Lamer&quot; (the fed&#039;s take on Spot the Fed). Ironically, my friend Kristen was selected as a contestant. She didn&#039;t win (how lame is that?).&lt;br /&gt;
&lt;br /&gt;
I also attended the Internet Wars panel. (I got to meet Paul Vixie in person. Very cool. He looks more like Charlie Brown than I expected.) While most of the Q&amp;amp;A were interesting, I think the best part was when I convinced Elise to take a picture of Dan Kaminsky...&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TFy3EHRHzaI/AAAAAAAABms/1fwvSFPlAzQ/s400/IMG_1097.JPG&quot;&gt;&lt;br /&gt;
&lt;cite&gt;&quot;Look, Dan&#039;s asleep! Take his picture!&quot;&lt;/cite&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://lh6.ggpht.com/_Uw91icJn-go/TFy3EVDQAUI/AAAAAAAABmw/cnMj6SUfEIg/s800/IMG_1098.JPG&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_Uw91icJn-go/TFy3EVDQAUI/AAAAAAAABmw/cnMj6SUfEIg/s400/IMG_1098.JPG&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;cite&gt;&quot;No, I mean walk over there and take his picture&quot; The audience applauded after she took this. This picture really sums up Defcon. I really like the &quot;Dedicated&quot; t-shirt, empty beers, and the Corona box that says &quot;Relax Responsibly&quot; during the Internet Wars panel.&lt;/cite&gt;&lt;br /&gt;
&lt;br /&gt;
By and far, the best talk was &quot;Jackpotting Automated Teller Machines&quot; by Barnaby Jack. At one point, he had an ATM machine spewing money across the stage. Other good talks included &quot;Weaponizing Lady Gaga&quot; by Nurse (Brad Smith -- he really is a registered nurse) and &quot;How I Met Your Girlfriend&quot; by Samy Kamkar. And of course, Richard Thieme is always an entertaining speaker.&lt;br /&gt;
&lt;br /&gt;
Besides the talks, I spent a good amount of time watching the various contests. Defcon had more contests this year than ever before. The new &quot;Tampered Evidence&quot; and &quot;Crack Me If You Can&quot; challenges were really good. However, I was most impressed by this year&#039;s Capture the Flag contest. My good friend, Factor, was on the winning team. He&#039;s gone by the handle &quot;Factor&quot; for longer than my company (Hacker Factor) has been around (the names are coincidental) -- so I gave him an official Hacker Factor hat. Factor is really an amazing guy. Besides winning the CTF this year, he also mentored &lt;a href=&quot;http://www.dc3.mil/challenge/2009/stats.php&quot;&gt;team pwnage&lt;/a&gt; -- they won the high school category of last year&#039;s DC3 Forensic Challenge. Anyway, here&#039;s a picture of his black badge, which gives him lifetime free admission to Defcon. (It is much nicer than my black badge, which is nothing more than black paint on metal.)&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh5.ggpht.com/_Uw91icJn-go/TFy3D5apCzI/AAAAAAAABmo/VOQevxLeRh0/s400/2010-08-04%2010.13.14.jpg&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
I&#039;ll talk more about this picture in another blog entry... &lt;img src=&quot;http://www.hackerfactor.com/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Books!&lt;/H3&gt;&lt;br /&gt;
I ended up giving away about a dozen copies of my latest book, &lt;a href=&quot;/book_3.php&quot;&gt;&lt;i&gt;Ubuntu: Powerful Hacks and Customizations&lt;/i&gt;&lt;/a&gt;. I included two stipulations with the free book: (1) if you like it, mention it in your blog, and (2) take at least three photos of people with the book. I&#039;m hoping that people actually send in photos.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;About Vegas&lt;/H3&gt;&lt;br /&gt;
If it wasn&#039;t for Blackhat and Defcon, I would probably never return to Las Vegas. The gambling doesn&#039;t interest me. (Perhaps if people smiled...) The shows are expensive and really haven&#039;t changed in a decade. The entire place stinks like smoke. The food used to be excellent, but now is just adequate in taste and extremely expensive. Expect to spend about $80 per day on food (unless you like fast food).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t stay at the conference hotel. Instead, I stayed at the Wynn. At one point, I decided to treat myself to a meal. I ate at the Wynn&#039;s Strata restaurant. The food tasted wonderful, but wasn&#039;t much more than 6oz total -- I spent $21 on food and left the table hungry. While the Wynn&#039;s weekday breakfast buffet is good, I&#039;d recommend Denny&#039;s and the Peppermill down the street if you are hungry and don&#039;t want to spend a fortune. The hotel&#039;s security wasn&#039;t much better. On two of the days, someone played with the combination lock on my luggage while I was away from the room. I also told hotel security that there was a drugged out woman in the elevator and she was having a really bad trip as she was fading out of consciousness. It is suffice to say, the Wynn is a five star hotel with one star amenities. For a better experience, try Planet Hollywood.&lt;br /&gt;
&lt;br /&gt;
I used to go to Vegas 2-3 times a year (various business trips). Now I&#039;m down to once a year. However, in my literally dozens of visits over the years, this is the first time I have ever found a cabbie who did not know the hotels on the Strip. I was about to step out of the car when the bellhop gave the driver directions. (No, I didn&#039;t tip.) The other cabbies complained about low numbers of riders, but they no longer blamed Obama. Now they blame the hotels for not catering to anyone except the drug/party people. (Explains my elevator experience...)&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Home Again&lt;/H3&gt;&lt;br /&gt;
Overall, I still don&#039;t think much of Las Vegas. However, Defcon is definitely fun. I am already looking forward to next year. 
    </content:encoded>

    <pubDate>Fri, 06 Aug 2010 21:03:16 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/390-guid.html</guid>
    
</item>
<item>
    <title>Out of the Blue</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/389-Out-of-the-Blue.html</link>
            <category>Forensics</category>
            <category>Image Analysis</category>
            <category>Mass Media</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/389-Out-of-the-Blue.html#comments</comments>
    <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=389</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=389</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    In my &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/388-Photo-Finish.html&quot;&gt;previous blog posting&lt;/a&gt;, I mentioned how some people really do &quot;get it&quot; when it comes to digital manipulation and photo fakery. However, others like &quot;photographer&quot; Nicholas Routzen and BP&#039;s Marc Morrison still don&#039;t understand why representing modified photos as if they were &quot;real&quot; is nothing other than fraud.&lt;br /&gt;
&lt;br /&gt;
BP was heavily criticized in the media for releasing edited photos. In fact on 22-July-2010, White House Press Secretary Robert Gibbs even &lt;a href=&quot;http://blogs.abcnews.com/politicalpunch/2010/07/white-house-on-bps-photoshopped-photos-on-the-stupidity-side-of-the-transparency-scale.html&quot;&gt;commented&lt;/a&gt; that it was sheer stupidity:&lt;br /&gt;
&lt;blockquote&gt;&quot;I think it&#039;s genuinely on the stupidity part of the transparency scale,&quot; Gibbs said this afternoon at the White House daily briefing. &quot;I mean, if you want to show a picture of what the room looks like, just take a picture.&quot;&lt;/blockquote&gt;&lt;br /&gt;
Upon the discovery of BP&#039;s digital manipulation, BP decided to come clean. Sort of. It was actually more of a &quot;throw the photographer under the bus&quot; than an actual correction:&lt;br /&gt;
&lt;blockquote&gt;BP cast the blame entirely on a hired photographer and claimed to have no part in the decision to alter the photos. &quot;One of BP&#039;s contract photographers used Photoshop to edit images posted on the bp.com Gulf of Mexico Response web site,&quot; the company said, adding, &quot;[W]e&#039;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.&quot;&lt;/blockquote&gt;&lt;br /&gt;
Too bad this isn&#039;t an isolated incident... and it still has not stopped.&lt;br /&gt;
&lt;br /&gt;
As part of their corrections, BP created a special &lt;a href=&quot;http://www.flickr.com/photos/bpamerica/sets/72157624429465573/&quot;&gt;Flickr set&lt;/a&gt; where they show the before and after photos of the three pictures that &lt;a href=&quot;http://www.americablog.com/2010/07/bp-photoshops-fake-photo-of-command.html&quot;&gt;America Blog&lt;/a&gt; and &lt;a href=&quot;http://gizmodo.com/5592975/bp-photoshops-another-official-image-again-terribly&quot;&gt;Gizmodo&lt;/a&gt; identified as modified. However, BP is only showing the three outed photos.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Standard is Better than Better&lt;/H3&gt;&lt;br /&gt;
I really like that phrase, &quot;Standard Photo Journalistic Best Practices&quot;. There is no such standard. As I &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/274-Getting-Real.html&quot;&gt;detailed&lt;/a&gt; last year, different organizations have different rules about acceptable manipulation. However, there are some generalizations that can be made.&lt;br /&gt;
&lt;br /&gt;
&lt;H4&gt;For Photographers&lt;/H4&gt;&lt;br /&gt;
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 &lt;a href=&quot;http://blogs.reuters.com/blog/2007/01/18/the-use-of-photoshop/&quot;&gt;Reuters&lt;/a&gt;, &lt;a href=&quot;http://www.ap.org/newsvalues/index.html&quot;&gt;Associated Press&lt;/a&gt;, &lt;a href=&quot;http://contributors.gettyimages.com/img/articles/downloads/Submission_Requirements_v2_0_APRIL_2007_(3).pdf&quot;&gt;Getty Images&lt;/a&gt;, and other photo providers including &lt;a href=&quot;http://www.phayul.com/news/article.aspx?id=27801&quot;&gt;China&#039;s Xinhua news agency&lt;/a&gt;):&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;No splicing, no drawing&lt;/b&gt;. 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&#039;s eyes closed -- don&#039;t draw in eyes or splice them from a different photo.&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Minor cropping&lt;/b&gt;. A little cropping from an edge (&quot;little&quot; as in &quot;up to 5% from an edge&quot;) is acceptable if it does not remove a subject from the image. Major cropping, such as Morrison&#039;s removal of the entire upper half of the photo, chairs, and two people (&lt;a href=&quot;http://www.flickr.com/photos/bpamerica/4816829230/in/set-72157624429465573/&quot;&gt;before&lt;/a&gt; and &lt;a href=&quot;http://www.flickr.com/photos/bpamerica/4816762755/in/set-72157624429465573/&quot;&gt;after&lt;/a&gt;) is not permitted.&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Minor dust and speck removal&lt;/b&gt;. 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&#039;s shoulder), then don&#039;t touch it!&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Minor color enhancements&lt;/b&gt;. Color corrections that do not alter the subject are permitted. As the &lt;a href=&quot;http://www.ap.org/newsvalues/index.html&quot;&gt;AP described&lt;/a&gt;:&lt;br /&gt;
&lt;blockquote&gt;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.&lt;/blockquote&gt;&lt;br /&gt;
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. (&quot;Select all&quot; or &quot;select none&quot;, but if you touch the selection tool or magic wand then you are drawing.)&lt;br /&gt;
&lt;li&gt;&lt;b&gt;After effects&lt;/b&gt;. 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 &quot;drawing&quot;.&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Acceptable drawing&lt;/b&gt;. 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.&lt;/ul&gt;&lt;br /&gt;
&lt;H4&gt;For Media Outlets&lt;/H4&gt;&lt;br /&gt;
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:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Scaling and cropping&lt;/b&gt;. 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 &lt;i&gt;USA Today&lt;/i&gt; may crop it to just show his head.&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Color adjustment&lt;/b&gt;. The media, particularly printed media, are permitted to color correct an image. The photographer&#039;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.&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Acceptable drawing&lt;/b&gt;. 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).&lt;/ul&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;BP: Best Practices&lt;/H3&gt;&lt;br /&gt;
Unfortunately, BP seems to be making up their &quot;Standard Photo Journalistic Best Practices&quot; 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 &lt;a href=&quot;http://www.flickr.com/photos/bpamerica&quot;&gt;BP&#039;s Flickr feed&lt;/a&gt;. (Click on the photo to see the full picture.)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Creative Cropping&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/bpamerica/4834228273/&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4108/4834228273_0a8fdf36bd.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
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 &lt;a href=&quot;http://www.dpreview.com/reviews/canoneos1dsmkii/&quot;&gt;closest it gets&lt;/a&gt; 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?&lt;br /&gt;
&lt;br /&gt;
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, &quot;Standard Photo Journalistic Best Practices&quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BP&#039;s True Colors&lt;/b&gt;&lt;br /&gt;
Here&#039;s a very colorful photo by BP:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/bpamerica/4834228009/sizes/l/&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TFBcgFCG17I/AAAAAAAABl4/2ML7OXf1UkQ/s400/4834228009_31e1843cba_o.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
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 &lt;a href=&quot;http://www.imaging-resource.com/PRODS/E1DMK3/E1DMK3DAT.HTM&quot;&gt;Canon EOS-1D Mark III&lt;/a&gt;, 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).&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh5.ggpht.com/_Uw91icJn-go/TFBcgk-avdI/AAAAAAAABl8/j8CVuSUgm80/s800/4834228009_31e1843cba_o-CS.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
For a comparison, consider this &lt;a href=&quot;http://www.pbase.com/gtach/image/83080043&quot;&gt;sample photo&lt;/a&gt; from the same model camera (and not provided by BP):&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.pbase.com/image/116680502&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TFBiLLKP8aI/AAAAAAAABmE/MaDlJgRyNyE/s400/116680502.9uCBtDGh.LyonsJVLyons_JV142.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;img src=&quot;http://lh6.ggpht.com/_Uw91icJn-go/TFBi1eI86kI/AAAAAAAABmQ/yhwlSoaV0KM/s800/116680502.9uCBtDGh.LyonsJVLyons_JV142-CS.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
So why would BP&#039;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 &quot;clean&quot; look -- the sand is white, the sky and water are blue, the tractor does not look dirty, and even the brown grasses look green.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s another example from Harrison McClary:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/bpamerica/4830949628/&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TFBcRPhSbOI/AAAAAAAABls/KCx9Tguarb0/s400/4830949628_672baf1026_o.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TFBcR8N7xaI/AAAAAAAABlw/KS_xYFJ3PM4/s800/4830949628_672baf1026_o-CS.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
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&#039;s why they call it a &quot;color curve adjustment&quot;.&lt;br /&gt;
&lt;br /&gt;
Of course, McClary isn&#039;t the only one tweaking colors. BP&#039;s Robert Seale also did some color corrections.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/bpamerica/4830949012/&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TFBcQWTNc0I/AAAAAAAABlk/rBOyQvjQVDA/s400/4830949012_64f3beb4d0_o.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TFBcQ6aI_NI/AAAAAAAABlo/PcrtieNKRtY/s800/4830949012_64f3beb4d0_o-CS.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Notice how Robert&#039;s dark red, blue, and green all lean toward the left at the top? While he didn&#039;t blow out the color range, he did adjust the sky, grass, and maroon stripe on the &lt;a href=&quot;http://www.vermilion.lib.la.us/branch-information/mobile-library/&quot;&gt;bookmobile&lt;/a&gt; (the RV in the background-right that says &quot;Vermilion Parish Public Library&quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Seeing Red&lt;/H3&gt;&lt;br /&gt;
Dear British Petroleum,&lt;br /&gt;
&lt;br /&gt;
If you want to us to believe that the pictures are real, then please release real pictures. Don&#039;t crop out stuff you don&#039;t want us to see. Don&#039;t make the sky and water look bluer. And most importantly, don&#039;t think that we won&#039;t notice.&lt;br /&gt;
&lt;br /&gt;
Having been caught splicing images, BP promised to adhere to &quot;Standard Photo Journalistic Best Practices&quot;. 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&#039;s photographers may no longer be splicing, but they are still striving to literally show that the grass is always greener. This isn&#039;t a problem with BP&#039;s photographers; this is a problem with BP. 
    </content:encoded>

    <pubDate>Thu, 29 Jul 2010 05:24:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/389-guid.html</guid>
    
</item>
<item>
    <title>Photo Finish</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/388-Photo-Finish.html</link>
            <category>Forensics</category>
            <category>Image Analysis</category>
            <category>Mass Media</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/388-Photo-Finish.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=388</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    This week really gave me a thrill. Readers, models, and even large companies have taken steps against digital photo manipulation in the media.&lt;br /&gt;
&lt;br /&gt;
The first big congrats goes to &lt;a href=&quot;http://www.dominos.com/&quot;&gt;Domino&#039;s Pizza&lt;/a&gt;. They recently announced a &lt;a href=&quot;http://www.showusyourpizza.com/promise/&quot;&gt;promise&lt;/a&gt; to use real photos of real pizzas in their advertisements. No more cardboard, glue, and partially-cooked food that looks &quot;better&quot; when photographed.&lt;br /&gt;
&lt;blockquote&gt;&lt;font color=&#039;red&#039;&gt;Our Photo Promise&lt;/font&gt;&lt;br /&gt;
Here at Domino&#039;s, we don&#039;t think our inspired Domino&#039;s pizza needs the &quot;extra&quot; things typically done to food at photo shoots to look mouth watering. Our pizza is good enough to stand on its own. That&#039;s why we&#039;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.&lt;br /&gt;
&lt;br /&gt;
1. We will only photograph real, honest-to-goodness pizzas.&lt;br /&gt;
That means fresh from our own ovens, with exactly the same ingredients we deliver to your doorstep. Nothing else added.&lt;br /&gt;
&lt;br /&gt;
2. Our employees will make the pizza we shoot.&lt;br /&gt;
Not an art director or model maker or food stylist. A Domino&#039;s employee trained to make pizzas the only way they know how: by hand.&lt;br /&gt;
				&lt;br /&gt;
3. We will not artificially manipulate the food we shoot.&lt;br /&gt;
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&#039;s hands and a standard Domino&#039;s pizza cutter.&lt;br /&gt;
&lt;br /&gt;
Russell Weiner, Chief Marketing Officer&lt;/blockquote&gt;&lt;br /&gt;
Bravo! I&#039;ve looked at some of the &lt;a href=&quot;http://www.showusyourpizza.com/gallery/&quot;&gt;pizza photos&lt;/a&gt; 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 &lt;i&gt;good&lt;/i&gt;! (Good enough for me to now have a pizza craving.)&lt;br /&gt;
&lt;center&gt;&lt;img src=&quot;http://c1884852.cdn.cloudfiles.rackspacecloud.com/50c021c0-35c0-454c-82f4-58692fe47af9&quot;&gt;&lt;br /&gt;
&lt;small&gt;Pizza Photo by Makena B. from Houston, TX&lt;/small&gt;&lt;/center&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Worth the Wait&lt;/H3&gt;&lt;br /&gt;
Not to be outdone, plus-size model (and super hottie) &lt;a href=&quot;http://www.glamour.com/contributors/crystal-renn&quot;&gt;Crystal Renn&lt;/a&gt; just went on the record saying that she is offended by some photoshopping done to her picture. As she said in her &lt;a href=&quot;http://today.msnbc.msn.com/id/38358777/ns/today-today_fashion_and_beauty/&quot;&gt;&lt;i&gt;Today Show&lt;/i&gt;&lt;/a&gt; interview this morning, &quot;When I first saw the photos, I would have to say I was absolutely shocked.&quot; The photographer turned this well-known size-10 into much thinner version. (But at least he didn&#039;t give her noodle arms, right &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/318-Behind-The-Mask.html&quot;&gt;Ralphie?&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
The photographer, Nicholas Routzen, has this &lt;a href=&quot;http://nicholasroutzen.blogspot.com/2010/07/crystal-renn-critics.html&quot;&gt;reply&lt;/a&gt;:&lt;br /&gt;
&lt;blockquote&gt;I want to reiterate that I feel Crystal looks amazing in both images and the minimal retouching that I did do - it&#039;s nothing you wouldn&#039;t see in any magazine today. There is nothing hidden about this.&lt;/blockquote&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
However, I would not recommend browsing Routzen&#039;s blog. Some of his photos could easily pass for child pornography. (Full frontal nudity of a minor.)&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Feeling Pumped&lt;/H3&gt;&lt;br /&gt;
But I am saving my largest applause for &lt;a href=&quot;http://www.americablog.com/&quot;&gt;America Blog&lt;/a&gt; and &lt;a href=&quot;http://gizmodo.com/&quot;&gt;Gizmodo&lt;/a&gt;. These people have been looking at the media photos released by British Petroleum (BP).&lt;br /&gt;
&lt;br /&gt;
It isn&#039;t enough that BP&#039;s runaway deep-sea oil well poisoned the Gulf of Mexico, after they &lt;a href=&quot;http://homelandsecuritynewswire.com/bps-emergency-plan-gulf-discusses-impact-seals-sea-otters-and-walruses&quot;&gt;lied to the United States&lt;/a&gt; by claiming that they knew how to handle any deep-sea accidents. Or when they &lt;a href=&quot;http://www.businessinsider.com/government-doubles-bp-leak-estimate-to-60000-barrels-per-day-2010-6&quot;&gt;repeatedly underestimated&lt;/a&gt; the amount of oil and would not assist scientists in creating an accurate estimate (we &lt;i&gt;still&lt;/i&gt; don&#039;t know how much oil was leaked). Or that they only provided low resolution video feeds to the public while &lt;a href=&quot;http://www.sfgate.com/cgi-bin/blogs/ybenjamin/detail?blogid=150&amp;entry_id=65378&quot;&gt;they had high resolution footage available&lt;/a&gt;. Or that they tried to stop the media from &lt;a href=&quot;http://www.huffingtonpost.com/2010/06/14/oil-spill-media-access-bp_n_611121.html&quot;&gt;documenting the disaster&lt;/a&gt;. No... they also have to doctor pictures. (Is anyone really surprised?)&lt;br /&gt;
&lt;br /&gt;
One photo has the title &quot;&lt;a href=&quot;http://gizmodo.com/5592975/bp-photoshops-another-official-image-again-terribly&quot;&gt;Aerials over Gulf of Mexico&lt;/a&gt;&quot;. With a name like &quot;aerials&quot;, one would think it would be &lt;a href=&quot;http://www.dictionary.net/aerial&quot;&gt;taken from the air&lt;/a&gt;...&lt;br /&gt;
&lt;a href=&quot;http://www.bp.com/liveassets/bp_internet/globalbp/globalbp_uk_english/incident_response/STAGING/local_assets/images/View_of_the_MC_252.jpg&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_Uw91icJn-go/TEiw9LBBnAI/AAAAAAAABkA/tx7dwiUMiTQ/s400/View_of_the_MC_252.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
The problem is, the view out the window has been photoshopped. I noticed many things in this picture, but the people on &lt;a href=&quot;http://www.reddit.com/r/WTF/comments/cs5wf/bp_fails_at_photoshop_part_two_notice_the_atc/&quot;&gt;Reddit&lt;/a&gt; just shredded the photo. Some of the findings:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;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.&lt;br /&gt;
&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TEix6GkioOI/AAAAAAAABko/dAhKGmDb01s/s800/View_of_the_MC_252-hud.png&quot;&gt;&lt;br /&gt;
&lt;li&gt;The radar shows something to the far left, but nothing in front of him. Thus, no boats.&lt;br /&gt;
&lt;li&gt;There is a light that says APU GEN ON. This is the alternate power unit. It provides power until the engines are started.&lt;br /&gt;
&lt;li&gt;The pilot is holding a pre-flight checklist. (Ironic that his fingers are crossed.)&lt;br /&gt;
&lt;li&gt;Neither pilot is holding the flight stick!&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;li&gt;The water is also blurry around the pilot on the left and near the top of the right window.&lt;br /&gt;
&lt;li&gt;The edge of the boats on the left are precisely in the fuzzy section.&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;li&gt;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).&lt;/ul&gt;&lt;br /&gt;
This isn&#039;t even the entire list. It is suffice to say that this is &lt;i&gt;not&lt;/i&gt; an &quot;aerial&quot; photo and it has been grossly modified.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.americablog.com/2010/07/bp-photoshops-fake-photo-of-command.html&quot;&gt;Another photo&lt;/a&gt; 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 &quot;HIVE at Houston Command Center 16 July 2010&quot; as BP captioned the picture.&lt;br /&gt;
&lt;table border=&#039;0&#039;&gt;&lt;br /&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_1xQeOPE9ePU/TETTdOtWj5I/AAAAAAAAFB0/iG1avKpceKk/s1600/bpphotoshop8.jpg&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TEiw-jYJgzI/AAAAAAAABkM/6rV9g69VrVQ/s400/bpphotoshop8.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;small&gt;Modified&lt;/small&gt;&lt;br /&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.bp.com/liveassets/bp_internet/globalbp/globalbp_uk_english/incident_response/STAGING/local_assets/images/HIVE_houston01.jpg&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TEiw9_EMxHI/AAAAAAAABkE/nWQ3FxRHn4U/s400/HIVE_houston01.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;small&gt;Allegedly Unmodified&lt;/small&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;a href=&quot;http://www.americablog.com/2010/07/bp-fakes-another-oil-spill-photo-this.html&quot;&gt;final picture&lt;/a&gt; (so far) shows people in a meeting room. However, the splicing of the content on the screen was done very poorly.&lt;br /&gt;
&lt;a href=&quot;http://www.bp.com/liveassets/bp_internet/globalbp/globalbp_uk_english/incident_response/STAGING/local_assets/images/GOM_simops_operations_top_kill_houston.jpg&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TEixeGOHg3I/AAAAAAAABkg/IgtDBXTIzdM/s720/GOM_simops_operations_top_kill_houston.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
Here&#039;s a closeup of some of the splicing:&lt;br /&gt;
&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TEix53lHu_I/AAAAAAAABkk/FTCn14RC7dY/s800/GOM_simops_operations_top_kill_houston-p2.png&quot;&gt;&lt;br /&gt;
Frankly, I&#039;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.&lt;br /&gt;
&lt;br /&gt;
Of course, I began to do what everyone else is probably doing -- poring over bp.com and looking for more doctored photos. That&#039;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 &quot;Marc Morrison&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Hello, Marc&lt;/H3&gt;&lt;br /&gt;
According to &lt;a href=&quot;http://www.energysecurityanddiversity.com/pdf/BP-magazine.pdf&quot;&gt;his bio&lt;/a&gt;, Marc has been a photographer for 26 years and works for BP. A significant number of photos released by BP were taken by Marc.&lt;br /&gt;
&lt;br /&gt;
Marc prefers Canon cameras like the &lt;a href=&quot;http://www.dpreview.com/reviews/canoneos1dmkii/&quot;&gt;EOS-1Ds Mark II&lt;/a&gt; or &lt;a href=&quot;http://www.pbase.com/cameras/canon/eos_5d&quot;&gt;EOS 5D&lt;/a&gt;. While these cameras usually take very good photos, Marc&#039;s pictures always have a large mount of sensor noise and discoloration. (I can actually pick out Marc&#039;s photos on BP&#039;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.)&lt;br /&gt;
&lt;br /&gt;
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 &lt;a href=&quot;http://www.photoshelter.com&quot;&gt;Photoshelter&lt;/a&gt;. (Since I have no experience with it, I can&#039;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.)&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&#039;0&#039;&gt;&lt;br /&gt;
&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://lh5.ggpht.com/_Uw91icJn-go/TEjLUdFLQnI/AAAAAAAABk8/HU8-FZkK3WI/s400/headline_1279024634.jpg&quot;&gt;&lt;br /&gt;
&lt;td&gt;&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TEjLUfeKvmI/AAAAAAAABlA/oG_IPCm-KvI/s400/Gulf_Oil_Spill_JPEG_490368e.jpg&quot;&gt;&lt;br /&gt;
&lt;tr&gt;&lt;td colspan=&#039;2&#039;&gt;&lt;small&gt;Two photos by Morrison. The left is &quot;&lt;a href=&quot;http://www.washingtonpost.com/wp-dyn/content/article/2010/07/13/AR2010071304966.html&quot;&gt;AP Photo/BP, Marc Morrison&lt;/a&gt;&quot;. The right is &quot;&lt;a href=&quot;http://www.monstersandcritics.com/news/usa/news/article_1570477.php/Leaking-US-oil-well-capped-tests-to-show-how-effectively&quot;&gt;EPA/Marc Morrison/BP Handout&lt;/a&gt;&quot;. Both show the same room and same people but at slightly different times. Some monitors are the same, some are different. Is either unmodified?&lt;/small&gt;&lt;br /&gt;
&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
Now, for clarity, there appears to be many photographers named &quot;Marc Morrison&quot;. One lives in Steamboat Springs, Colorado -- I really don&#039;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&#039;t seen anything that says the guy in Houston works for BP. (This Marc could be a different Marc.)&lt;br /&gt;
&lt;br /&gt;
In any case, many of the photos provided by BP&#039;s Marc Morrison were credited as &quot;AP Photos/BP, Marc Morrison&quot; and &quot;Marc Morrison - AP&quot;. (Example: &lt;a href=&quot;http://www.washingtonpost.com/wp-dyn/content/article/2010/07/13/AR2010071304966.html&quot;&gt;&lt;i&gt;Washington Post&lt;/i&gt;&lt;/a&gt;, look at the slide show.) However, I cannot find any of Marc&#039;s photos at AP&#039;s web site. I wonder if they already booted him for altering images...&lt;br /&gt;
&lt;br /&gt;
(Thanks to the 11 people who sent me links to this BP story. Keep &#039;em coming!) 
    </content:encoded>

    <pubDate>Thu, 22 Jul 2010 15:24:21 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/388-guid.html</guid>
    
</item>
<item>
    <title>Two weeks until Defcon 18</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/387-Two-weeks-until-Defcon-18.html</link>
            <category>Conferences</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/387-Two-weeks-until-Defcon-18.html#comments</comments>
    <wfw:comment>http://www.hackerfactor.com/blog/wfwcomment.php?cid=387</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.hackerfactor.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=387</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    The two largest computer security conferences are coming up! The Black Hat Briefings (frequently referred to simply as &lt;a href=&quot;http://blackhat.com/&quot;&gt;Blackhat&lt;/a&gt;) and &lt;a href=&quot;http://defcon.org/&quot;&gt;Defcon&lt;/a&gt; are at the end of the month. If you&#039;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.&lt;br /&gt;
&lt;br /&gt;
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!&lt;br /&gt;
&lt;br /&gt;
In contrast, Defcon is commonly called the after-party. It is billed as the world&#039;s largest underground security conference. But with nearly 10,000 people in attendance, is it really &quot;underground&quot;? T-shirts, shorts or jeans, and a very informal environment is the norm.&lt;br /&gt;
&lt;br /&gt;
All Blackhat attendees get free admission to Defcon, and many of the Blackhat speakers also present the same material at Defcon.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Changing Reputations&lt;/H3&gt;&lt;br /&gt;
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 &lt;A href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/301-Defcon-17-Review.html&quot;&gt;bungee jump&lt;/a&gt; off the roof, but the crowd is really pretty tame today.&lt;br /&gt;
&lt;br /&gt;
And &quot;crowd&quot; 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.&lt;br /&gt;
&lt;br /&gt;
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&#039;s admission free.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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, &quot;feds rent cars and don&#039;t take taxis.&quot; So spotting a fed in the parking lot is pretty easy. The joke for the last couple of years has been around the &quot;Spot the Fed&quot; game. With so many government and law enforcement people in attendance, they should really change the name to &quot;Spot the Hacker&quot;. (The &lt;i&gt;Meet the Fed&lt;/i&gt; panel has a game they play: Spot the Lamer.)&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Spotting Hackers by the Book&lt;/H3&gt;&lt;br /&gt;
I&#039;ve decided to do something new this year... I&#039;m going to Defcon and will be giving away 10 copies of my new book, &lt;i&gt;&lt;a href=&quot;/book_3.php&quot;&gt;Ubuntu: Powerful Hacks and Customizations&lt;/a&gt;&lt;/i&gt;. To get the free book, you&#039;ll need to:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Find me. I&#039;m short and look like a computer geek. (I blend in well...) But I always wear my &quot;Hacker Factor&quot; cap and will be carrying a bunch of books!&lt;br /&gt;
&lt;li&gt;Mention that you read this on my blog.&lt;br /&gt;
&lt;li&gt;After getting the book: if you like the book, mention it on Twitter or in your blog.&lt;br /&gt;
&lt;li&gt;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.&lt;/ol&gt;&lt;br /&gt;
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&#039;ll put the photos up on a web page.&lt;br /&gt;
&lt;br /&gt;
I won&#039;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&#039;m also not opposed to bribes.) 
    </content:encoded>

    <pubDate>Sat, 17 Jul 2010 06:44:24 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/387-guid.html</guid>
    
</item>
<item>
    <title>Deja Vu</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/386-Deja-Vu.html</link>
            <category>Programming</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/386-Deja-Vu.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=386</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    You know that feeling you get when someone gives you advice that you don&#039;t care about at the time but turns out to be prophetic? I just had that experience...&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Boxes&lt;/H3&gt;&lt;br /&gt;
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&#039;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.&lt;br /&gt;
&lt;br /&gt;
While black-box AI systems may generate accurate results, the training process is NP-complete -- you don&#039;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&#039;t over-train your black box unless you want it to memorize the training set and completely screw up on the testing set.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Dusting Off&lt;/H3&gt;&lt;br /&gt;
I recently had a need for &quot;a solution&quot;, where &quot;provable&quot; and &quot;deterministic&quot; are not requirements. This is a perfect situation for using AI. I wrote my own AI library many years ago. Basically, I didn&#039;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.&lt;br /&gt;
&lt;br /&gt;
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&#039;t even know if it would compile with the latest GCC. My first surprise was that it compiled cleanly with &quot;gcc -Wall&quot;. It even passed its benchmark and regression tests.&lt;br /&gt;
&lt;br /&gt;
As I gawked at the output, I thought, &quot;This is great! I wish I remembered how it worked!&quot; 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 &quot;int i,j&quot; or &quot;float q[12]&quot; or &quot;double phi,theta&quot;. Instead the variables have names like &#039;CutoffThreshold&#039; and &#039;float *weights; /* network weight matrix */&#039;. The comments even cite books and pages as references.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Way Back When...&lt;/H3&gt;&lt;br /&gt;
I had a professor back in college who drilled &quot;style&quot; into all of us. He had three basic rules that, if broken, would result in a zero on your homework.&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Always comment your code. If the code is more complex than a simple loop, then describe what it does.&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;li&gt;Don&#039;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&#039;t impact the rest of the code.&lt;/ol&gt;&lt;br /&gt;
We obeyed because we wanted to pass the class. However, the lesson was never lost on me. I still &quot;over-comment&quot; my code.&lt;br /&gt;
&lt;br /&gt;
I looked up my notes and found a great quote from the professor (from notes I took in 1988): &quot;Always comment your code because you never know when you will refer to something you wrote 20 years earlier.&quot; Wow -- he even nailed the duration. 
    </content:encoded>

    <pubDate>Tue, 13 Jul 2010 18:15:06 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/386-guid.html</guid>
    
</item>
<item>
    <title>After The Fact</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/385-After-The-Fact.html</link>
            <category>Network</category>
            <category>Privacy</category>
            <category>Programming</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/385-After-The-Fact.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=385</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    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.&lt;br /&gt;
&lt;br /&gt;
The question they always ask me: What should I do?&lt;br /&gt;
&lt;br /&gt;
It is easy to tell people that they should have a disaster recovery plan in place. However, few people have one. Other &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/336-Better-Than-Nothing-Security-Part-I.html&quot;&gt;pre-attack advice&lt;/a&gt;, 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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Post-Compromise&lt;/H3&gt;&lt;br /&gt;
So let&#039;s say you have a default WordPress or Wiki or Blogger installation. It isn&#039;t a question on whether your site will be compromised or infected. The only question is &lt;i&gt;when&lt;/i&gt;. And like most people, you haven&#039;t maintained your software (applying patches, upgrading as needed), don&#039;t have backups (your ISP does that, uh, right?), and haven&#039;t removed default files or hardened the system. What should you do after a compromise?&lt;br /&gt;
&lt;br /&gt;
There are plenty of good checklists out there. Some examples include:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.freehostia.com/blog/webhosting/site-hacked-what-to-do.html&quot;&gt;http://www.freehostia.com/blog/webhosting/site-hacked-what-to-do.html&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.malwaredomainlist.com/forums/index.php?topic=3122.0&quot;&gt;http://www.malwaredomainlist.com/forums/index.php?topic=3122.0&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.sucuri.net/2010/05/simple-cleanup-solution-for-the-latest-wordpress-hack.html&quot;&gt;http://blog.sucuri.net/2010/05/simple-cleanup-solution-for-the-latest-wordpress-hack.html&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.antiphishing.org/reports/APWG_WTD_HackedWebsite.pdf&quot;&gt;http://www.antiphishing.org/reports/APWG_WTD_HackedWebsite.pdf&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://codex.wordpress.org/FAQ_My_site_was_hacked&quot;&gt;http://codex.wordpress.org/FAQ_My_site_was_hacked&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.webdevelopersnotes.com/hosting/website_hacked_what_to_do.php3&quot;&gt;http://www.webdevelopersnotes.com/hosting/website_hacked_what_to_do.php3&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://ocaoimh.ie/did-your-wordpress-site-get-hacked/&quot;&gt;http://ocaoimh.ie/did-your-wordpress-site-get-hacked/&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/&quot;&gt;http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/&lt;/a&gt;&lt;/ul&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Neal&#039;s Post-Compromise Checklist&lt;/H3&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Here are the steps that I usually recommend to people with compromised web sites:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Stay calm. Only the &lt;a href=&quot;http://codex.wordpress.org/FAQ_My_site_was_hacked&quot;&gt;WordPress checklist&lt;/a&gt; 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&#039;t panic, deal with it.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Take the site offline. Most e-commerce companies really don&#039;t like this idea. However, which is more important? Making a sale, or compromising your customer&#039;s credit card and tarnishing your reputation because your site was hijacked? Shut it down. Put up a temporary &quot;We&#039;re upgrading, back in 48 hours&quot; message.&lt;br /&gt;
&lt;P&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Make a full backup. This includes all files, scripts, and database records. Yes, it is infected. But if you don&#039;t have backups then this is your only option.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Evaluate the compromise. What kind of attack was it? Were they after &quot;a site&quot; or &quot;your site&quot;? 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).&lt;br /&gt;
&lt;br /&gt;
Defacements may be automated or semi-automated. They scan for sites with known vulnerabilities and then they either automatically or manually deface the site.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Personal attacks are always manual compromises.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Change passwords. Between taking the server offline and changing passwords, attackers will be kept out while you repair the system. (Hopefully.)&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Wipe the system. There is only one thing people hate more than being told to turn off an e-commerce site, and that&#039;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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Patch. Bring the system up to the current state of the art. While you&#039;re at it, harden the system and change all system defaults.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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&#039;re just going to upload it again.)&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Change passwords again. Passwords before the patch and restore could have been compromised.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Watch. Now you can turn the system back on. If the attackers come back, then you didn&#039;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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Blame. This is everyone&#039;s favorite part. If you don&#039;t have logs, don&#039;t regularly patch or update, and don&#039;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.&lt;br /&gt;
&lt;br /&gt;
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&#039;s blame the software instead of ourselves for failing to maintain and harden the systems.)&lt;/ol&gt;&lt;br /&gt;
Having your site compromised isn&#039;t fun, but it isn&#039;t the end of the world either. Stay calm and address the problem. Treat it as you would any other learning experience. 
    </content:encoded>

    <pubDate>Sat, 10 Jul 2010 20:06:36 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/385-guid.html</guid>
    
</item>
<item>
    <title>Failure to Communicate</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/384-Failure-to-Communicate.html</link>
            <category>Network</category>
            <category>Politics</category>
            <category>Travel</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/384-Failure-to-Communicate.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=384</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    A couple of days ago I &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/382-Why-Oh-WiFi.html&quot;&gt;wrote&lt;/a&gt; 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.&lt;br /&gt;
&lt;br /&gt;
The feedback identified three classes of solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Standalone hubs&lt;/b&gt;. 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 &lt;a href=&quot;http://www.verizonwireless.com/b2c/mobilebroadband/?page=products_mifi&amp;CMP=KNC-PaidSearch&amp;rf=google.com&quot;&gt;MiFi 2200 from Verizon&lt;/a&gt;. 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&#039;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&#039;t bad at all.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Tethered&lt;/b&gt;. 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&#039;re just not using it.&lt;br /&gt;
&lt;br /&gt;
Every now and then I looked into smartphones. Right now the battery life isn&#039;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.&lt;br /&gt;
&lt;br /&gt;
In my case, I don&#039;t have a smartphone. While I do have a cell phone, it is almost always turned off. (I don&#039;t like cell phones and I only use it when traveling.) I&#039;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.&lt;br /&gt;
&lt;br /&gt;
Frankly, I&#039;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&#039;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.)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;USB Dongle&lt;/b&gt;. At first glance, these USB dongles seem perfect for me. The calling plans are usually not as expensive as a smartphone, there&#039;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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;My Bad Experience&lt;/H3&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Well, spoiler alert: nothing is as it appears.&lt;br /&gt;
&lt;br /&gt;
Remember the old days when modems spoke that Hayes &quot;AT&quot; control code stuff over a serial port? It didn&#039;t matter what kind of computer you had as long as you spoke RS232 and used the standard AT command sequences. That&#039;s not the case today. +++&lt;br /&gt;
&lt;br /&gt;
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&#039;ll get screwed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Plain modem or NIC&lt;/b&gt;. 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&#039;t support 3G and most have no means for supporting the new 4G and HSPA+ networks.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Dual device and ZeroCD&lt;/b&gt;. The description from the usb-modeswitch package for Linux describes this very well:&lt;br /&gt;
&lt;blockquote&gt;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 &quot;ZeroCD&quot; feature.&lt;/blockquote&gt;&lt;br /&gt;
Most versions of the T-Mobile webConnect device are in this category. If you put it in and it doesn&#039;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.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Total software solution&lt;/b&gt;. Beginning last December, a few manufacturers began to roll out &quot;lite&quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Hear No Evil&lt;/H3&gt;&lt;br /&gt;
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&#039;t know what Linux was. (OMG! Are you kidding me? It&#039;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?)&lt;br /&gt;
&lt;br /&gt;
She finally reached one technical support person who basically said, &quot;Does it work under Linux? I should know the answer to that, but I don&#039;t know and there really isn&#039;t anyone else if I escalate this.&quot; Since the Linux forums had many success stories with the webConnect (before I knew about the &quot;lite&quot; versions), I decided to risk it. Bad choice on my part.&lt;br /&gt;
&lt;br /&gt;
As it turns out, the $20 &quot;on sale&quot; device from T-Mobile is actually a Huawei UMG1691 (also called the E1691). The 1690 and 1692 are ZeroCD devices and appear to be &lt;a href=&quot;http://www.draisberghof.de/usb_modeswitch/#hardware&quot;&gt;supported&lt;/a&gt; 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&#039;t exist today).&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;See No Evil&lt;/H3&gt;&lt;br /&gt;
At this point, I had two options: return it or exchange it for a different version. As long as your CPU isn&#039;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.&lt;br /&gt;
&lt;br /&gt;
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 &lt;a href=&quot;http://www.t-mobile.com/shop/plans/Cell-Phone-Plans.aspx?catgroup=Internet-Email-cell-phone-plan&amp;WT.z_shop_plansLP=Internet_email&quot;&gt;the web site&lt;/a&gt; doesn&#039;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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
So how fast is the bandwidth? My Mac&#039;s benchmark reported at about 400KB per second down, and much less up. Uh, I deal with computer forensics. I&#039;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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;T-Mobile is Evil&lt;/H3&gt;&lt;br /&gt;
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&#039;t get it to work on the desired system). However, they did keep a $10 &quot;restocking fee&quot; 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.)&lt;br /&gt;
&lt;br /&gt;
So to summarize: (1) Stay away from the UMG1691 like the plague -- it is the &lt;a href=&quot;http://www.linux.org/docs/ldp/howto/Hardware-HOWTO/nic.html&quot;&gt;3C501&lt;/a&gt; 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.&lt;br /&gt;
&lt;br /&gt;
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;amp;T, and Sprint) had a huge number of customers hanging around. T-Mobile, Sprint, and AT&amp;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? 
    </content:encoded>

    <pubDate>Thu, 01 Jul 2010 22:06:03 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/384-guid.html</guid>
    
</item>
<item>
    <title>Through The Looking Glass</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/383-Through-The-Looking-Glass.html</link>
            <category>Forensics</category>
            <category>Image Analysis</category>
            <category>Mass Media</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/383-Through-The-Looking-Glass.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=383</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    The hardest parts of forensic analysis isn&#039;t the tools; it&#039;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 &lt;a href=&quot;http://www.crime-scene-investigator.net/blood.html&quot;&gt;tools and methods&lt;/a&gt; are meaningless.&lt;br /&gt;
&lt;br /&gt;
The learning curve is the hardest part. To address this, I&#039;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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;An Eye For Details&lt;/H3&gt;&lt;br /&gt;
While luminance gradient and &lt;a href=&quot;http://www.errorlevelanalysis.com/&quot;&gt;error level analysis&lt;/a&gt; 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.&lt;br /&gt;
&lt;br /&gt;
The folks at &lt;a href=&quot;http://photoshopdisasters.blogspot.com/&quot;&gt;Photoshop Disasters&lt;/a&gt; recently posted a couple of amazingly bad shopped pictures that clearly illustrate the power of observation for detecting image modifications.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.queens.com.my/viewthread.php?tid=9960120&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_Uw91icJn-go/TCpysAtCo9I/AAAAAAAABjY/SoWxIqcDzAs/s800/Jolin2.jpg&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you only saw the disconnected leg, then give yourself one point. (If you didn&#039;t notice the leg, then go back and try again. As Thall commented at &lt;a href=&quot;http://photoshopdisasters.blogspot.com/2010/06/oopsjealous-so-hip.html&quot;&gt;PsD&lt;/a&gt;, &quot;That women could birth a horse or two with those hips!&quot;) Other oddities include:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Her waist is out of proportion.&lt;br /&gt;
&lt;li&gt;There is a black triangle between her torso and floating leg. The artist forgot to cut out this area.&lt;br /&gt;
&lt;li&gt;Her left forearm (photo right) is significantly longer than her right forearm.&lt;br /&gt;
&lt;li&gt;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&#039;t mind the &quot;S&quot; on her finger; other photos show it as a tattoo or something.&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;li&gt;She is missing a clavicle (shoulder bone) -- one is there, but the other was erased.&lt;br /&gt;
&lt;li&gt;Her boobs are different sizes, and not in a natural way (unless the left one is half as long and deflated...).&lt;br /&gt;
&lt;li&gt;The shadow under her head indicates a bright light to the upper right. But the floating leg isn&#039;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.&lt;br /&gt;
&lt;li&gt;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.&lt;/ul&gt;&lt;br /&gt;
This isn&#039;t the full list. What else do you see? No wonder their product is called &quot;Oops!&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;The Perfect Model&lt;/H3&gt;&lt;br /&gt;
I&#039;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.&lt;br /&gt;
&lt;br /&gt;
From the Oops! example, we know to look for different classes of manipulation. These attributes become our checklist:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Limbs: Are all of them accounted for? Are all connected? Are they the right proportions?&lt;br /&gt;
&lt;li&gt;Reflections: Do items line up properly?&lt;br /&gt;
&lt;li&gt;Shadows and lighting: Are they consistent?&lt;/ul&gt;&lt;br /&gt;
Now we can apply this to a new set of pictures.&lt;br /&gt;
&lt;br /&gt;
At Photoshop Disasters, they &lt;a href=&quot;http://photoshopdisasters.blogspot.com/2010/06/louis-vuitton-through-glass-dorkily.html&quot;&gt;featured&lt;/a&gt; a picture from the French fashion house, Louis Vuitton. However, the web page at &lt;i&gt;Fashion Gone Rogue&lt;/i&gt; contains many pictures from the &quot;&lt;a href=&quot;http://fashiongonerogue.com/louis-vuitton-fall-2010-campaign-christy-turlington-natalia-vodianova-karen-elson-steven-meisel/&quot;&gt;Louis Vuitton Fall 2010 Campaign&lt;/a&gt;&quot; (also available at &lt;a href=&quot;http://www.fashionologie.com/Louis-Vuittons-Fall-2010-Campaign-Features-Three-Supermodels-Born-Three-Different-Decades-8902686&quot;&gt;Fashionologie&lt;/a&gt;). It is an homage to digital distortions.&lt;br /&gt;
&lt;br /&gt;
Starting at the top is the &lt;a href=&quot;http://imagesgonerogue.com/images/lilyheader.jpg&quot;&gt;banner&lt;/a&gt; for &lt;i&gt;Fashion Gone Rogue&lt;/i&gt;. 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.)&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://lh4.ggpht.com/_Uw91icJn-go/TCpyM_TGo-I/AAAAAAAABjQ/k0DyuLchklM/s800/lilyheader.png&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TCpyNFFoyzI/AAAAAAAABjU/cs8KwpRITmY/s800/lilyheader-lg.png&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Mirror Mirror On The Wall&lt;/H3&gt;&lt;br /&gt;
The various photos from Louis Vuitton have been equally mangled. Let&#039;s use our new checklist...&lt;br /&gt;
&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TCpz4OZw3wI/AAAAAAAABjg/QhW73giUx88/s800/louisvuittoncampaign3.jpg&quot;&gt;&lt;br /&gt;
The picture claims to show three women in a dressing room. Each has different color hair: red, blonde, and brunette.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Limbs&lt;/b&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Reflections&lt;/b&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
The second mirror from the right shows bulbs but they don&#039;t align with the bulbs in the room.&lt;br /&gt;
&lt;br /&gt;
The mirror on the far left shows red&#039;s head from the back. However, red&#039;s head is not turned to show her back to that mirror. And the mirror&#039;s reflection shows the lamp on the wrong side. The reflection does not match the room.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Lights and Shadows&lt;/b&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
However, those mirrors have a lot of bright lights. The women should have brightly lit backs. But this isn&#039;t what we&#039;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.&lt;br /&gt;
&lt;br /&gt;
This isn&#039;t a comprehensive list and there are other oddities that are not in our checklist. For example, the blonde&#039;s dress seems to have a layering issue with red&#039;s chair. The dress fabric suddenly becomes semi-transparent and you can see the chair through it.&lt;br /&gt;
&lt;br /&gt;
Frankly, I kind of doubt that these three women even posed together for this picture.&lt;br /&gt;
&lt;br /&gt;
Some of the pictures in this series are much worse than others...&lt;br /&gt;
&lt;img src=&quot;http://lh3.ggpht.com/_Uw91icJn-go/TCp6PI74pqI/AAAAAAAABjo/HFL0ZkMCIeg/s800/louisvuittoncampaign6.jpg&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
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&#039;t reflect the blonde.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Dress For Success&lt;/H3&gt;&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
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 &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/319-You-Cant-Spell-ROFL-Without-RL.html&quot;&gt;Ralph Lauren&lt;/a&gt; and &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/322-Body-By-Victoria.html&quot;&gt;Victoria&#039;s Secret&lt;/a&gt;, Vuitton&#039;s pictures do not appear to be a product bait-and-switch. 
    </content:encoded>

    <pubDate>Tue, 29 Jun 2010 20:10:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/383-guid.html</guid>
    
</item>
<item>
    <title>Why Oh WiFi</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/382-Why-Oh-WiFi.html</link>
            <category>Network</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/382-Why-Oh-WiFi.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=382</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    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.&lt;br /&gt;
&lt;br /&gt;
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&#039;t work very well and was very hard to program. Touch screens didn&#039;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&#039;s WordPerfect 5.2 is better than today&#039;s Microsoft Word.)&lt;br /&gt;
&lt;br /&gt;
Due to my past experiences, I&#039;m rarely an early adopter of new technologies. For example, I didn&#039;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&#039;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&#039;m glad I waited; BluRay beat out HD DVDs, but the slow adoption rate tells me that my DVDs won&#039;t be outdated in the near future. (I know two guys who spent a small fortunes on their betamax and laserdisc collections.)&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Wireless Broadband&lt;/H3&gt;&lt;br /&gt;
More and more, I&#039;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&#039;s paid Internet service. Besides the outrageous prices, there are limitations regarding &lt;i&gt;when&lt;/i&gt; 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.&lt;br /&gt;
&lt;br /&gt;
More than once, I&#039;ve found myself in an airport or parking lot and needing Internet access. I almost missed a contract because I couldn&#039;t get Internet access during a two-hour layover -- I had to wait 5 hours before I could get online.&lt;br /&gt;
&lt;br /&gt;
Because of this, I&#039;ve finally decided to break down and buy one of those wireless broadband services. Oh, what a nightmare! Right now, I&#039;m just pricing and comparing services. Some of the things I have found so far:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Unless you go with one of the big four (Sprint, Verizon, AT&amp;amp;T, or T-Mobile), you will likely not have coverage outside of a limited number of metro areas. Cricket&#039;s coverage map, for example, says that they don&#039;t offer 3G over most of Silicon Valley.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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&#039;s $12-$25 rate, and I don&#039;t have to buy a special device for hotel Internet access and hotels usually don&#039;t have a bandwidth limit).&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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&#039;s 2-3 Hulu feature films per month). A few providers offer &quot;unlimited&quot; bandwidth, but then you&#039;re talking $60-$80 or more per month. That&#039;s really expensive for something that I really would only use when I am not in the office.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Every single one of them says that they support Mac and Windows. Uh, what about Linux? I have that &quot;Early adopter means buggy code&quot; fear...&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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 &quot;HSPA+&quot;. And WiMax isn&#039;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&#039;m hitting a business necessity.&lt;/ul&gt;&lt;br /&gt;
&lt;H3&gt;Measuring Network Usage&lt;/H3&gt;&lt;br /&gt;
Each of these services charge based on bandwidth usage. However, they don&#039;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).&lt;br /&gt;
&lt;br /&gt;
While there are many programs for measuring real-time network usage, I couldn&#039;t find a program to tell me the cumulative total usage. Command-line programs like &#039;netstat -i&#039; show the total number of packets, but not the total number of bytes. &#039;ifconfig&#039; and &#039;nload&#039; show the current byte totals, but that&#039;s from the start of the network interface and not from when I say &quot;start measuring now!&quot;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
The net result? I consumed 50MB in the first 30 minutes. That&#039;s half of the allocation of Verizon&#039;s $15 &lt;a href=&quot;http://www.verizonwireless.com/b2c/mobilebroadband/?page=products_prepaidmb&quot;&gt;pay-by-day plan&lt;/a&gt; and 25% of T-Mobile&#039;s &lt;a href=&quot;http://www.t-mobile.com/shop/plans/Cell-Phone-Plans.aspx?catgroup=Internet-Email-cell-phone-plan&amp;WT.z_shop_plansLP=Internet_email&quot;&gt;monthly 200MB allocation&lt;/a&gt;. Over the course of the day, I will probably use between 200MB and 750MB of bandwidth. (I&#039;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.)&lt;br /&gt;
&lt;br /&gt;
Fortunately, I&#039;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&#039;s based on today&#039;s usage. I&#039;m very likely to see overages as I approach the middle of a 2 year contract and my needs expand.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Defcon!&lt;/H3&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.defcon.org/&quot;&gt;Defcon&lt;/a&gt; is coming up next month. One of the &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/302-The-Death-of-Vegas.html&quot;&gt;big problems with Las Vegas&lt;/a&gt; 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&#039;t exactly convenient. None of these free locations are open 24-hours a day.&lt;br /&gt;
&lt;br /&gt;
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&#039;ve been in too many hotel rooms where the in-room network cable was busted.)&lt;br /&gt;
&lt;br /&gt;
Defcon does offer free WiFi to attendees, but I won&#039;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&#039;s IP address. Oh, and don&#039;t think that Tor or SSL (&lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/379-The-Placebo-Effect.html&quot;&gt;without client certs&lt;/a&gt;) will save you -- last year, I heard that the &lt;a href=&quot;http://www.wallofsheep.com/&quot;&gt;Wall of Sheep&lt;/a&gt; ran their own Tor node as well as used man-in-the-middle attacks on SSL.&lt;br /&gt;
&lt;br /&gt;
With Defcon coming up, I&#039;m looking for a solid, reliable, secure-enough solution for Internet access. If I go 3G, I still won&#039;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! 
    </content:encoded>

    <pubDate>Sat, 26 Jun 2010 22:28:01 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/382-guid.html</guid>
    
</item>
<item>
    <title>Good Intentions</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/381-Good-Intentions.html</link>
            <category>Mass Media</category>
            <category>Politics</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/381-Good-Intentions.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=381</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    A little over a week ago a US intelligence analyst was &lt;a href=&quot;http://www.wired.com/threatlevel/2010/06/leak/&quot;&gt;arrested&lt;/a&gt; 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 &lt;a href=&quot;http://www.wired.com/dangerroom/2010/04/whistleblower-report-leaked-video-shows-us-coverup/&quot;&gt;killing of two journalists&lt;/a&gt; and the subsequent cover up), how many operations and soldiers lives were put in danger by the leak?&lt;br /&gt;
&lt;br /&gt;
I can hear some people right now saying &quot;Huh? What?&quot; 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 &lt;a href=&quot;http://www.imdb.com/title/tt0658039/&quot;&gt;NCIS repeat&lt;/a&gt;: 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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
While Manning may have thought that he was ethically correct in releasing the video, I cannot think of anything that would make leaking &quot;an entire repository of classified foreign policy&quot; documents, &quot;260,000 classified U.S. diplomatic cables&quot;, or &quot;a classified Army document evaluating Wikileaks as a security threat&quot; ethically correct. Manning&#039;s actions look like treason to me.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;From Bad to Worse&lt;/H3&gt;&lt;br /&gt;
Wikileaks is intended as a forum for anonymous whistle blowers. If you are going to do something anonymously, then do it anonymously. Don&#039;t go around telling people that you were actually behind it. And if you&#039;re going to tell someone it was you, then don&#039;t tell it to a reporter. And of all the reporters you could talk to, don&#039;t choose one who has a history of unethical behavior!&lt;br /&gt;
&lt;br /&gt;
That&#039;s right: Manning chatted with &lt;i&gt;Wired&lt;/i&gt;&#039;s Adrian Lamo. When people create lists of hackers, they always include the &lt;a href=&quot;http://webupon.com/security/convicted-nine-notorious-hackers-of-our-time/&quot;&gt;notorious ones&lt;/a&gt;: 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 &lt;a href=&quot;http://www.computerscienceschools.net/blog/2010/10-convicted-computer-criminals/&quot;&gt;don&#039;t list the &quot;most notorious&quot;&lt;/a&gt; include Lamo. &lt;small&gt;(Thanks Adam for the link.)&lt;/small&gt;&lt;br /&gt;
&lt;br /&gt;
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&#039;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.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;Looking for the Good&lt;/H3&gt;&lt;br /&gt;
Every list of &quot;hackers&quot; that I found online mentioned the evil ones. The lawbreakers, criminals, and socially deviant ones. However, not all hackers are evil. I&#039;ve recently had conversations about identifying good hackers. (Thanks to Mike, Bill, R., and the &lt;a href=&quot;http://isc.sans.org/&quot;&gt;Internet Storm Center&lt;/a&gt;&#039;s handlers for the great insight.)&lt;br /&gt;
&lt;br /&gt;
When it comes to naming hackers, people immediately recall the bad guys. I mean, everyone has heard of &lt;a href=&quot;http://en.wikipedia.org/wiki/Kevin_Mitnick&quot;&gt;Kevin Mitnick&lt;/a&gt;, 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.)&lt;br /&gt;
&lt;br /&gt;
Perhaps one reason is the postage stamp mentality. The US Post Office won&#039;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 &lt;a href=&quot;http://www.washingtonpost.com/wp-dyn/content/article/2010/06/07/AR2010060701493.html&quot;&gt;tarnish everything&lt;/a&gt; they have previously done. So someone who is an awesome, positive role model and hacker today could be &lt;a href=&quot;http://en.wikipedia.org/wiki/Hans_Reiser&quot;&gt;tomorrow&#039;s villain&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The other problem comes from the large number of good hackers who are better known by their software than their own actions. For example, &lt;a href=&quot;http://www.snort.org/&quot;&gt;Snort&lt;/a&gt; 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.&lt;br /&gt;
&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
I guess what I&#039;m really wondering...&lt;br /&gt;
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 &lt;a href=&quot;http://en.wikipedia.org/wiki/Frank_Abagnale&quot;&gt;Frank Abagnale Jr.&lt;/a&gt; -- after Frank turned good; Poulsen vs &lt;a href=&quot;http://en.wikipedia.org/wiki/Peiter_Zatko&quot;&gt;Mudge&lt;/a&gt;? Lamo vs ?)&lt;br /&gt;
&lt;br /&gt;
Here&#039;s my short list of good guy hackers who&#039;s influence is far more than just code. &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Jim_Christy&quot;&gt;Jim Christy&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Cuckoo%27s_Egg_%28book%29&quot;&gt;Clifford Stoll&lt;/a&gt;. They &lt;a href=&quot;http://www.wired.com/wired/archive/15.01/cybercop.html&quot;&gt;cracked&lt;/a&gt; the &lt;a href=&quot;http://www.time.com/time/magazine/article/0,9171,967260,00.html&quot;&gt;Hannover Hackers&lt;/a&gt; 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&#039;s first digital forensic lab and was the director of the &lt;a href=&quot;http://www.dc3.mil/&quot;&gt;Defense Cyber Crime Center&lt;/a&gt; (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.)&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Phil Zimmermann. Without Phil, public crypto would probably still be nothing but underground software and munitions.  Phil is more than just PGP -- today&#039;s PGP was created by a slew of developers. The remarkable element is how Phil paved the way for the world to use cryptography.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Marcus Sachs. A voice of reason, advising Presidents and helping set national policies on cyber threats. He&#039;s a hacker who&#039;s influence is more than just a piece of code. Marcus also heads the &lt;a href=&quot;http://isc.sans.org/&quot;&gt;Internet Storm Center&lt;/a&gt; -- the ISC handlers are like the &lt;i&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/The_All-New_Super_Friends_Hour&quot;&gt;Super Friends&lt;/a&gt;&lt;/i&gt; or &lt;i&gt;&lt;A href=&quot;http://en.wikipedia.org/wiki/Justice_League&quot;&gt;Justice League&lt;/a&gt;&lt;/i&gt;. (Is Swa Frantzen the Belgium equivalent of &lt;a href=&quot;http://en.wikipedia.org/wiki/Gleek_%28Super_Friends%29&quot;&gt;Gleek&lt;/a&gt;?)&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;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.&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;Bruce Schneier. This cryptography guru continually exposes security theater, where peddlers use snake-oil and provably inaccurate beliefs to influence and set policies.&lt;/ul&gt;&lt;br /&gt;
A couple of people mentioned Dan Kaminsky. Dan&#039;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 &lt;a href=&quot;http://www.linuxjournal.com/content/understanding-kaminskys-dns-bug&quot;&gt;world-wide DNS update&lt;/a&gt;.  However, he likes to get drunk while giving presentations at Defcon and other conferences... While Dan is fun to watch, public drunkenness doesn&#039;t exactly scream &quot;role model&quot;.&lt;br /&gt;
&lt;br /&gt;
There are plenty of other people I could add to this list. I&#039;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. 
    </content:encoded>

    <pubDate>Mon, 21 Jun 2010 22:11:05 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/381-guid.html</guid>
    
</item>
<item>
    <title>Great Firefox Plugins</title>
    <link>http://www.hackerfactor.com/blog/index.php?/archives/380-Great-Firefox-Plugins.html</link>
            <category>Forensics</category>
            <category>Network</category>
            <category>Programming</category>
            <category>Security</category>
    
    <comments>http://www.hackerfactor.com/blog/index.php?/archives/380-Great-Firefox-Plugins.html#comments</comments>
    <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=2.0&amp;type=comments&amp;cid=380</wfw:commentRss>
    

    <author>blog@hackerfactor.com (Dr. Neal Krawetz)</author>
    <content:encoded>
    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 -&amp;gt; Add-Ons menu under the Firefox web browser, or by going to &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/&quot;&gt;https://addons.mozilla.org/en-US/firefox/&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;NoScript&lt;/h3&gt;&lt;br /&gt;
The &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/722/&quot;&gt;NoScript&lt;/a&gt; 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.&lt;br /&gt;
&lt;br /&gt;
From a user&#039;s viewpoint, this is awesome. You don&#039;t have to worry about an unknown site sending malware to your browser. In my case, I didn&#039;t want to download videos, Java, and other stuff that would waste my CPU cycles and bandwidth.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Httpfox&lt;/h3&gt;&lt;br /&gt;
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 &lt;a href=&quot;http://www.wireshark.org/&quot;&gt;Wireshark&lt;/a&gt; or &lt;a href=&quot;http://www.snort.org/&quot;&gt;Snort&lt;/a&gt;. The problem is, these only work well if you use HTTP and not &lt;a href=&quot;http://www.hackerfactor.com/blog/index.php?/archives/379-The-Placebo-Effect.html&quot;&gt;HTTPS&lt;/a&gt;. With HTTPS, you cannot see the traffic inside the tunnel (without compromising the tunnel).&lt;br /&gt;
&lt;br /&gt;
Fortunately, I had &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/6647/&quot;&gt;Httpfox&lt;/a&gt;. 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.&lt;br /&gt;
&lt;br /&gt;
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&#039;t get scroll bars. You can work around this by copying values to the clipboard, but that isn&#039;t an ideal solution.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Firebug&lt;/h3&gt;&lt;br /&gt;
While Httpfox shows the network traffic, &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/1843/&quot;&gt;Firebug&lt;/a&gt; shows the HTML content. And this isn&#039;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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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&#039;ve probably had times where you wondered &quot;Where do I define that border?&quot; Well, the inspector quickly answers this.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Add N Edit Cookies&lt;/h3&gt;&lt;br /&gt;
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 &quot;Add N Edit Cookies&quot; plugin completes the set by allowing you to view and edit cookie values. (There are two versions of it. One is for &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/573/&quot;&gt;older browsers&lt;/a&gt; and the other is for &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/13793/&quot;&gt;newer browsers&lt;/a&gt;.)&lt;br /&gt;
&lt;br /&gt;
There are a couple of other plugins for editing cookies. However, I like this one because it is simple to use.&lt;br /&gt;
&lt;br /&gt;
&lt;H3&gt;All Together&lt;/H3&gt;&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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. 
    </content:encoded>

    <pubDate>Tue, 15 Jun 2010 17:30:34 -0700</pubDate>
    <guid isPermaLink="false">http://www.hackerfactor.com/blog/index.php?/archives/380-guid.html</guid>
    
</item>

</channel>
</rss>