<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>Tales from the Crypto : What my wife knows</title><link>http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx</link><description>Tags: What my wife knows</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Why changing passwords should be done regularly</title><link>http://msmvps.com/blogs/alunj/archive/2009/11/02/1737241.aspx</link><pubDate>Tue, 03 Nov 2009 04:59:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1737241</guid><dc:creator>Alun Jones</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1737241</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1737241</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/11/02/1737241.aspx#comments</comments><description>&lt;p&gt;A little birdie sent me a copy of &lt;a title="Password rules: Change them every 25 years" href="http://isc.sans.org/diary.html?storyid=7510"&gt;today’s SANS ISC diary entry&lt;/a&gt;. That’s a good thing, because I’m at home sick with alleged piggy flu, and I’m not able to keep up with a whole lot.&lt;/p&gt;  &lt;p&gt;The diary entry argues that regular changes of passwords are often done for no other reason than “because we’ve always done it that way”.&lt;/p&gt;  &lt;p&gt;Apparently, people responsible for security policy have “read somewhere” that you’re supposed to change passwords every ninety days, and having no other basis on which to proceed, that’s the policy carved in stone.&lt;/p&gt;  &lt;p&gt;When asked why this policy is the way it is, the usual response is “good security practice” – and in such environments it’s difficult to give a good response to someone who pushes back, arguing that changing passwords in their application is ‘difficult’ or, more often, ‘expensive’. This is, after all, business, and if one side pleads “expense”, while the other side pleads “good thing to do”, the latter side will lose.&lt;/p&gt;  &lt;h3&gt;So, why is it best practice?&lt;/h3&gt;  &lt;p&gt;One reason is that you have to recognise that for all that we tell users not to share their passwords, not to use the same password on multiple sites (aka “share their passwords”), etc, very often users will do exactly that. So, every ninety days, you change your password and you cut off everyone with whom you previously shared your password (to an extent).&lt;/p&gt;  &lt;p&gt;Another reason is to allow changes in password policy to propagate out to new passwords. If you suddenly realise that passwords can be easily hacked if they are only six characters, you change the password policy to require punctuation as well, and then you realise that because no one has to change their password, the new policy will never be applied.&lt;/p&gt;  &lt;p&gt;Those are the common arguments for regular password changes, and there are a few others, but there’s one I rarely hear being made.&lt;/p&gt;  &lt;h3&gt;What about when you do get an exposure?&lt;/h3&gt;  &lt;p&gt;In my professional career, I have seen, or heard of, a number of cases of exposure of password information. Sometimes it’s as simple as a departing employee who knows far too much information and may not be trusted, or as mind-boggling as a team sharing a list of important passwords, and one of the team members losing the list. Other times it’s more complex.&lt;/p&gt;  &lt;p&gt;Each time, the response from security is the same – if the existing passwords are in danger of being used because of such exposure, then those passwords need to be changed.&lt;/p&gt;  &lt;p&gt;Most times, the response from the business is the same – that the passwords haven’t been changed in so long, and they’re spread through so many different applications, that they have no idea what will be affected if they change the password.&lt;/p&gt;  &lt;p&gt;Once you hit that scenario, it can be months before you get the password changed. Yes, months. And all during that time, the account may be compromised.&lt;/p&gt;  &lt;h3&gt;How do you prevent this?&lt;/h3&gt;  &lt;p&gt;Think of your disaster recovery drills – when there’s a process that needs to be followed quickly and correctly in an emergency situation, you achieve that by meticulous planning and regular exercise. You create the process and test it regularly, updating the process as you find there’s a need.&lt;/p&gt;  &lt;p&gt;If you don’t change passwords on these high-value accounts once every 90 days (or so), how do you know that you’ll be able to change those passwords after an exposure or compromise? How will you guarantee that your password change procedures are current, without testing them? How will you enforce changes being documented if you don’t check the documentation against reality once in a while?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1737241" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>Windows 7 – what it’s missing</title><link>http://msmvps.com/blogs/alunj/archive/2009/10/22/1734460.aspx</link><pubDate>Fri, 23 Oct 2009 04:16:26 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734460</guid><dc:creator>Alun Jones</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1734460</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1734460</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/10/22/1734460.aspx#comments</comments><description>&lt;p&gt;Unless you’ve been living under a rock, you’ll be aware that today was the release of Microsoft’s latest operating system version, Windows 7.&lt;/p&gt;  &lt;p&gt;So, everyone else has their own ideas of what’s missing in Windows 7, here’s my list, and it’s not the same petty focus that everyone else seems to have. Mine is based on what I want, rather than what’s remotely close to being reasonably achievable.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Media Center devices to provide support for DirecTV.&lt;/li&gt;    &lt;li&gt;Trimmable transparent screen overlays supporting multi-touch input.&lt;/li&gt;    &lt;li&gt;IPv6 support from my home ISP.&lt;/li&gt;    &lt;li&gt;A web browser that opens quickly enough that I don’t forget what I was about to browse to.&lt;/li&gt;    &lt;li&gt;A tool to answer “why is the system so slow right now?” – especially on those occasions when the CPU is not being over-taxed.&lt;/li&gt;    &lt;li&gt;A free Zune HD. (Why not, since I’m dreaming here.)&lt;/li&gt;    &lt;li&gt;Simple facilities to allow electronic commerce to operate on ‘zero knowledge’ principles, so that I would share my credit card account number only with my credit card provider, rather than with every merchant I might do business with. (Maybe Infocard or something like it could come close to fulfilling this wish)&lt;/li&gt;    &lt;li&gt;An “Expert” mode, where menus are visible, files and file extensions are not hidden in Explorer. (For that matter, file extensions should not be hidden in Explorer. Ever.)&lt;/li&gt;    &lt;li&gt;MSN – excuse me – Windows Live Messenger that works in a somewhat rational way, back in the system tray, rather than as a minimised icon.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;So, what are the things in your twisted imaginings that would turn Windows 7 from this kind of Seven:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/7802.seven_5F00_3DF69913.jpg"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="Seven, from Married with Children" border="0" alt="Seven, from Married with Children" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/1220.seven_5F00_thumb_5F00_34BA5DD2.jpg" width="244" height="233" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;into this kind?&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/6825.sevenofnine_5F00_260FB1ED.jpg"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="Seven of Nine, from Star Trek Voyager" border="0" alt="Seven of Nine, from Star Trek Voyager" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/8154.sevenofnine_5F00_thumb_5F00_2C56887B.jpg" width="201" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;[Note: Having said all of this, it should be clear by now that I think Windows Seven is well worth having. But I still want more!]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734460" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Zune/default.aspx">Zune</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>Sometimes It Seems Like Unix(*) Needs to Learn from Windows</title><link>http://msmvps.com/blogs/alunj/archive/2009/09/26/1727475.aspx</link><pubDate>Sun, 27 Sep 2009 03:22:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1727475</guid><dc:creator>Alun Jones</dc:creator><slash:comments>17</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1727475</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1727475</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/09/26/1727475.aspx#comments</comments><description>&lt;p&gt;(*) By &amp;ldquo;Unix&amp;rdquo;, I mean Linux, Unix, AIX, OS/X, and similar flavours.&lt;/p&gt;
&lt;p&gt;Way back when, about twenty or so years ago, I was a Unix admin, and a Unix developer. I had to be both, because I was the only person in the company who could spell Unix.&lt;/p&gt;
&lt;p&gt;My favourite game was to go along to presentations for Microsoft Windows &amp;lsquo;new features&amp;rsquo; and say &amp;ldquo;Oh, but hasn&amp;rsquo;t Unix had that for the last twenty years?&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Sure enough, there were countless things that Windows users and developers were just discovering (TCP/IP, shared libraries, multiple sessions on the same computer) that had been in Unix for some time. Linux was yet to make a mention, but as I&amp;rsquo;ve moved firmly into the Windows world, and left Unix behind, I&amp;rsquo;ve pretty much assumed that technologically speaking, if Windows has it, Unix and the like must also have the same functionality.&lt;/p&gt;
&lt;p&gt;As I re-engage with Unix and Linux developers and IT professionals in recent months, though, I can see that there are some areas &amp;ndash; particularly in security - where Windows is far ahead of the *x operating systems. Here&amp;rsquo;s a few:&lt;/p&gt;
&lt;dl&gt;&lt;dt&gt;Where&amp;rsquo;s my EFS?&lt;/dt&gt;&lt;dd&gt;EFS, the Encrypting File System, is one of Windows&amp;rsquo; best-kept secrets. It&amp;rsquo;s not really a secret, of course, but it acts like one &amp;ndash; there are so few people willing to use it, and mostly because they&amp;rsquo;re scared of or don&amp;rsquo;t understand it.&lt;/dd&gt;&lt;dd&gt;EFS allows users (under administrative control and with appropriate recovery measures in place) to choose files to encrypt, and to declare which other users can access the encrypted files.&lt;/dd&gt;&lt;dd&gt;EFS-encrypted files are encrypted on disk, and the keys cannot be broken simply by mounting an offline attack, because the key for each file is encrypted with users&amp;rsquo; public keys, and the private keys are held securely in the users&amp;rsquo; certificate store.&lt;/dd&gt;&lt;dd&gt;What does *x have in response? Whole disk encryption by third-party products (OK, Windows has Bitlocker and any number of third-party products). EFS protects individual files, and is far more fine-grained than the &amp;lsquo;all or nothing&amp;rsquo; access of WDE (or FDE, Full Disk Encryption, if you prefer).&lt;/dd&gt;&lt;dt&gt;Single Certificate Store&lt;/dt&gt;&lt;dd&gt;This isn&amp;rsquo;t really a &amp;ldquo;single&amp;rdquo; store so much as a predictable location for the certificate store. If you want to read a user&amp;rsquo;s certificates and keys, you know where to find them (although you generally only have access if you &lt;span style="text-decoration:underline;"&gt;are&lt;/span&gt; the user in question. Private keys from the certificate store are protected using the DPAPI, appropriately protecting them (apart from some key recovery scenarios, you have to log in using the password associated with the keys).&lt;/dd&gt;&lt;dd&gt;Similarly, certificates and keys belonging to the system and its service accounts are also in predictable locations.&lt;/dd&gt;&lt;dd&gt;This makes life easy for tools that need to scan for certificates due to expire.&lt;/dd&gt;&lt;dd&gt;Where are certificates and keys stored in *x? All over the place. Generally in &amp;ldquo;PEM&amp;rdquo; files, usually (but not always) in the same directory in which the application that installs them is.&lt;/dd&gt;&lt;dd&gt;How are these private keys protected in *x? There&amp;rsquo;s sometimes a password to open up the private key from the PEM file, and usually the PEM file has a restrictive access mask on it. [Read further for more problems with this]&lt;/dd&gt;&lt;dt&gt;Single SSL Library&lt;/dt&gt;&lt;dd&gt;It&amp;rsquo;s not uncommon to see several instances of OpenSSL installed on any particular system, whether it&amp;rsquo;s *x or Windows, if the system runs applications that use OpenSSL.&lt;/dd&gt;&lt;dd&gt;Windows developers, of course, can simply use the SSL API built in to Windows (CryptoAPI, CAPI and SChannel), and not have to worry about shipping an SSL library with their application, or keeping up with new versions as they come out, or tracking down customers and notifying them of updates to address security flaws (such as the Debian Linux key generation flaw I posted about a while ago).&lt;/dd&gt;&lt;dt&gt;Single SSL Configuration&lt;/dt&gt;&lt;dd&gt;If I want to disable SSL v2, or ciphers with fewer than 128 bits, on Windows I can change a few registry settings and know that I&amp;rsquo;ve fixed every application that uses SChannel. I can even do that remotely, with remote registry editing from a script or group policy tattooing the registry.&lt;/dd&gt;&lt;dd&gt;To do the same for OpenSSL, it seems that I have to find every application that uses OpenSSL and change the configuration files there.&amp;nbsp; &lt;/dd&gt;&lt;dt&gt;Data Protection API and configuration file protection&lt;/dt&gt;&lt;dd&gt;This is the one that really started me on this article.&lt;/dd&gt;&lt;dd&gt;How do you store a password in a configuration file?&lt;/dd&gt;&lt;dd&gt;Yes, the &amp;lsquo;right&amp;rsquo; security answer is &amp;ldquo;you don&amp;rsquo;t&amp;rdquo;, but that&amp;rsquo;s naive. The fact is that there are many instances wherein you have to store a password &amp;ndash; to access and authenticate to a remote application, or (if you&amp;rsquo;re using OpenSSL) to open a password-protected PEM or PFX file in order to read out the private key.&lt;/dd&gt;&lt;dd&gt;On Windows, the Patterns and Practices team have documented how to do this &amp;ndash; basically, you use the DPAPI to encrypt the password into the config file, and again to decrypt it back out &amp;ndash; and your DPAPI keys are encrypted by your master key, which is derived from your password. The end result is that you can&amp;rsquo;t get those DPAPI keys without the password.&lt;/dd&gt;&lt;dd&gt;What do the *x platforms have?&lt;/dd&gt;&lt;dd&gt;&amp;rdquo;Put the password in plain text, and protect it with a restrictive access mask&amp;rdquo;, is what I&amp;rsquo;m told. And in a search, I couldn&amp;rsquo;t find anything better being recommended. OK, one person recommended encoding the password with base64, but that&amp;rsquo;s hardly a security measure.&lt;/dd&gt;&lt;dd&gt;Jesper brought up the excellent question of &amp;ldquo;how is it different?&amp;rdquo; &amp;ndash; in the *x system, the password is marked as only being accessible to the correct user. I was about to answer him when Steve F spoke up for me, and noted that in the DPAPI case, you have to read the file, and then an API has to be called to decrypt the password; in the *x case, you simply have to read the file. There are many many more exploits that allow the reading of a file under privileged rights than there are exploits that allow the execution of code.&lt;/dd&gt;&lt;dt&gt;Patch Management and Group Policy&lt;/dt&gt;&lt;dd&gt;Microsoft has done a really good job of implementing enterprise-level management features into their operating systems, from Group Policy and WMI to WSUS and other update management tools.&lt;/dd&gt;&lt;dd&gt;The *x systems I&amp;rsquo;ve seen seem to be built from the perspective that each system has its own attendant administrator, who is only too happy to manually deploy patches or tweak settings in line with some policy on a scrap of paper or post-it.&lt;/dd&gt;&lt;/dl&gt;
&lt;p&gt;Maybe I&amp;rsquo;m missing some huge advances, and maybe some of these issues are resolved with a third-party tool &amp;ndash; but then, maybe that&amp;rsquo;s part of the problem too. All of the above are a part of the operating system in Windows, and can be relied on to exist by developers, and their use by applications can be expected by IT professionals.&lt;/p&gt;
&lt;p&gt;[Disclaimer: Yes, I know there are still areas where Microsoft needs to learn from Unix and Linux, and perhaps it&amp;rsquo;d be good if you&amp;rsquo;d educate me on those, too. This isn&amp;rsquo;t a &amp;ldquo;Windows is better than *X&amp;rdquo; debate, it&amp;rsquo;s a &amp;ldquo;hey, even if you think *X is better than Windows, here are some areas *X needs improving in&amp;rdquo;.]&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; There have been some excellent comments posted overnight in response to this article, and as I had hoped, I am mostly still &amp;#39;in the dark&amp;#39; about what Linux and Unix-like systems offers. I&amp;#39;ll be looking at these as I have time, and responding when I can. For now, just let me say that I am impressed to see so much technical content in the responses, and so little of the &amp;quot;fanboy&amp;quot; behaviour that often characterises these discussions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1727475" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Programmer+Hubris/default.aspx">Programmer Hubris</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/EFS/default.aspx">EFS</category></item><item><title>Zune HD – but not mine</title><link>http://msmvps.com/blogs/alunj/archive/2009/09/15/1723711.aspx</link><pubDate>Wed, 16 Sep 2009 04:36:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1723711</guid><dc:creator>Alun Jones</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1723711</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1723711</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/09/15/1723711.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/5488.IMG_5F00_2875_5F00_02762594.jpg"&gt;&lt;img height="244" width="184" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/8422.IMG_5F00_2875_5F00_thumb_5F00_0850C92D.jpg" align="left" alt="IMG_2875" border="0" title="IMG_2875" style="border-bottom:0px;border-left:0px;display:inline;margin-left:0px;border-top:0px;margin-right:0px;border-right:0px;" /&gt;&lt;/a&gt; &lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/5282.IMG_5F00_2876_5F00_60AA4D02.jpg"&gt;&lt;img height="244" width="184" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/8015.IMG_5F00_2876_5F00_thumb_5F00_3BAC8C89.jpg" align="left" alt="IMG_2876" border="0" title="IMG_2876" style="border-bottom:0px;border-left:0px;display:inline;margin-left:0px;border-top:0px;margin-right:0px;border-right:0px;" /&gt;&lt;/a&gt; &lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/5707.IMG_5F00_2877_5F00_2D01E0A4.jpg"&gt;&lt;img height="244" width="184" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/2555.IMG_5F00_2877_5F00_thumb_5F00_6BF3613F.jpg" align="left" alt="IMG_2877" border="0" title="IMG_2877" style="border-bottom:0px;border-left:0px;display:inline;margin-left:0px;border-top:0px;margin-right:0px;border-right:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A friend of mine ordered a &lt;a target="_self" href="http://zuneinsider.com/archive/2009/09/15/zune-4-0-is-here.aspx" title="Zune Insider Blog announcement of Zune HD / 4.0"&gt;Platinum Zune HD&lt;/a&gt; recently (that&amp;rsquo;s the 32GB model), and because he was unable to receive the shipment, asked for me to open it for him and check on its functionality to make sure he hadn&amp;rsquo;t been shipped a lemon.&lt;/p&gt;
&lt;p&gt;Since I&amp;rsquo;ve &lt;a href="http://msmvps.com/blogs/alunj/archive/2009/06/25/1696764.aspx"&gt;previously commented on the Zune 30&lt;/a&gt; that my wife bought for my birthday, I thought I&amp;rsquo;d have a quick look and see what I like about it.&lt;/p&gt;
&lt;p&gt;The demonstration video is &lt;span style="text-decoration:underline;"&gt;stunning&lt;/span&gt;, and shows off the display impressively. The display is wonderfully bright, and fulfils every bit of the promise of OLED technology. Light-weight, thin, amazingly bright and detailed.&lt;/p&gt;
&lt;p&gt;Installing the new Zune software from &lt;a href="http://www.zune.net/setup"&gt;http://www.zune.net/setup&lt;/a&gt; went smoothly, although when the player was plugged in, the Zune software immediately insisted on a Player update. The Zune needs to be updated from 4.0 to 4.1 already.&lt;/p&gt;
&lt;p&gt;This may come as a surprise, but really it&amp;rsquo;s not too shocking. There&amp;rsquo;s a considerable gap between preparing a bunch of hardware for simultaneous shipping and the actual delivery, during which time there may be some interesting bugs discovered. Possibly this time, the bug is that the charge indicator doesn&amp;rsquo;t light in version 4.0, but does light up in version 4.1. At least, that&amp;rsquo;s a change I noticed.&lt;/p&gt;
&lt;p&gt;So, have any of my previous complaints been addressed? Given the timing of my last post, close to the end of the Zune HD&amp;rsquo;s development, I doubt that Microsoft had a chance to fix the problems I noted, and I seem to be correct about that.&lt;/p&gt;
&lt;p&gt;You can still put MP3 files into your Podcast folder and give them a genre of &amp;ldquo;Podcast&amp;rdquo; in order to make them work like Podcasts (i.e. remembering their position while you go do other things), but the images tied into the MP3 files are still not displayed along with those podcasted MP3s. And they still don&amp;#39;t play ordered by track number, preferring instead to use some bizarre combination of date and textual sort, with some apparent randomness thrown in.&lt;/p&gt;
&lt;p&gt;It appears so far that all of the other issues I&amp;rsquo;ve encountered are still there, so I&amp;rsquo;m still waiting for someone at Microsoft to address those and deliver a Zune (updated firmware, software, or hardware) that is &lt;em&gt;absolutely&lt;/em&gt; perfect. If they could make it cheaper, too, it would be easier to justify&amp;nbsp;a purchase.&lt;/p&gt;
&lt;p&gt;But man, I love that bright display on the new Zune HD. I just wish I didn&amp;rsquo;t have to part with this one so soon. I guess I&amp;rsquo;d better save my Amazon gift cards&amp;hellip;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1723711" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Zune/default.aspx">Zune</category></item><item><title>How FTP Data Connections Work Part 2 (OR: Fun With Port 20)</title><link>http://msmvps.com/blogs/alunj/archive/2009/07/13/1700796.aspx</link><pubDate>Tue, 14 Jul 2009 06:48:26 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1700796</guid><dc:creator>Alun Jones</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1700796</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1700796</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/07/13/1700796.aspx#comments</comments><description>&lt;p&gt;As we mentioned in the &lt;a href="http://msmvps.com/blogs/alunj/archive/2009/07/08/1698917.aspx"&gt;1st part of this series&lt;/a&gt;, FTP is a more complex protocol than many, using one control connection and one data connection.&lt;/p&gt;  &lt;h3&gt;A recap of the first post…&lt;/h3&gt;  &lt;p&gt;In typical Stream Mode operation, a new data connection is opened and closed for each data transfer, whether that’s an upload, a download, or a directory listing. To avoid confusion between different data connections, and as a recognition of the fact that networks may have old packets shuttling around for some time, these connections need to be distinguishable from one another.&lt;/p&gt;  &lt;p&gt;In the previous article, we noted that two network sockets are distinguished by the five elements of “Local Address”, “Local Port”, “Protocol”, “Remote Address”, and “Remote Port”. For a data connection associated with any particular request, the local and remote addresses are fixed, as the addresses of the client and server. The protocol is TCP, and only the two ports are variable.&lt;/p&gt;  &lt;p&gt;For a PASV, or passive data connection, the client-side port is chosen randomly by the client, and the server-side port is similarly chosen randomly by the server. The client connects to the server.&lt;/p&gt;  &lt;p&gt;For a PORT, or active data connection, the client-side port is chosen randomly by the client, and the server-side port is set to port 20. The server connects to the client.&lt;/p&gt;  &lt;p&gt;All of these work through firewalls and NAT routers, because firewalls and NAT routers contain an Application Layer Gateway (ALG) that watches for PORT and PASV commands, and modifies the control (in the case of a NAT) and/or uses the values provided to open up a firewall hole.&lt;/p&gt;  &lt;h3&gt;Isn’t there a totally predictable data connection?&lt;/h3&gt;  &lt;p&gt;For the default data connection (what happens if no PORT or PASV command is sent before the first data transfer command), the client-side port is predictable (it’s the same as the source port the client used when connecting the control channel), and the server-side port is 20. Again, the server connects to the client. &lt;/p&gt;  &lt;p&gt;Because firewalls and NATs open up a ‘reverse’ hole for TCP sockets, the default data port works with firewalls and NATs that aren’t running an ALG, or whose ALG cannot scan for PORT and PASV commands.&lt;/p&gt;  &lt;h3&gt;Why would an ALG stop scanning for PORT and PASV commands?&lt;/h3&gt;  &lt;p&gt;There are a couple of reasons – the first is that it doesn’t know that the service connected to is running the FTP protocol. This is common if the server is running on a port other than the usual port 21.&lt;/p&gt;  &lt;p&gt;The second reason is that the FTP control connection doesn’t look like it contains FTP commands – usually because the connection is encrypted. This can happen because you’re tunneling the FTP control connection through an encrypted tunnel such as SSH (don’t laugh – it does happen!), or hopefully it’s because you’re running FTP over SSL, so that the control and data connections can be encrypted, and you can authenticate the identity of the FTP server.&lt;/p&gt;  &lt;h3&gt;So how do you get FTP over SSL to work through a firewall?&lt;/h3&gt;  &lt;p&gt;In the words of Deep Thought: “Hmm… tricky”.&lt;/p&gt;  &lt;p&gt;There are a couple of classic solutions:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Allow PASV data connections, select a wide range of ports, and open that range for incoming traffic from all external addresses in your firewall configuration; hope that your FTP server can be configured to use only that range of ports (&lt;a title="WFTPD by Texas Imperial Software" href="http://www.wftpd.com/" target="_blank"&gt;WFTPD&lt;/a&gt; Pro can), and that it has protections against traffic stealing attacks (again, WFTPD Pro has). Still, this option seems really risky.&lt;/li&gt;    &lt;li&gt;Block all PASV connections, and make the clients responsible for opening up holes in their firewalls. If you’re convinced the risk is too great to do this on your server, how does it look to convince your users that they should accept that risk?&lt;/li&gt;    &lt;li&gt;After you’ve authenticated the server and provided your username and password in the encrypted control connection, issue the “CCC” (Clear Control Channel) command, to switch the control connection back into clear-text. I dislike this as a solution, because it requires the ALG pay attention to a lot of SSL traffic in the hope that there might be clear-text coming up, and because you may want the control channel to remain encrypted.&lt;/li&gt; &lt;/ol&gt;  &lt;h3&gt;Awright, clever clogs, you solve the problem.&lt;/h3&gt;  &lt;p&gt;The astute reader can probably see where I’m going with this.&lt;/p&gt;  &lt;p&gt;The default data port is predictable – if the client connects from port U to port L at the server (L is usually 21), then the default data port will be opened from port L-1 at the server to port U at the client.&lt;/p&gt;  &lt;p&gt;The default data port doesn’t need the firewall to do anything other than allow reverse connections back along the port that initiated the connection. You don’t need to open huge ranges at the server’s firewall (in fact you should be able to simply open port 21 inbound to your server).&lt;/p&gt;  &lt;p&gt;The default data port is required to be supported by FTP servers going back a long way- at least a couple of decades. Yes, really, that long.&lt;/p&gt;  &lt;h3&gt;If it’s that simple, why isn’t everyone doing it?&lt;/h3&gt;  &lt;p&gt;Good point, that, and a great sentence to use whenever you wish to halt innovation in its tracks.&lt;/p&gt;  &lt;p&gt;Okay, it’s obvious that there are some drawbacks:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;In stream mode, the data transfer is ended by closing the stream. This means that you have to open a new control connection. Not good, given the number of round-trips you need for a logon, and the work needed to start an SSL connection.&lt;/li&gt;    &lt;li&gt;Most FTP clients view the default data connection as, at best, a fail-over in case the PORT or PASV commands fail to work. Obviously, that means it’s not likely to be a well-tested or favoured solution on these clients.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Even with those drawbacks, there are still further solutions to apply – the first being to use Block-mode instead of Stream-mode. In Stream-mode, each data transfer requires opening and closing the data connection; in Block-mode, which is a little like HTTP’s chunked mode, blocks of data are sent, and followed by an “EOF” marker (End of File), so that the data connection doesn’t need to be closed. If you can convince your FTP client to request Block-mode with the default data connection, and your FTP server supports it (WFTPD Pro has done so for several years), you can achieve FTP over SSL through NATs and firewalls simply by opening port 21.&lt;/p&gt;  &lt;p&gt;For the second problem, it’s worth noting that many FTP client authors implemented default data connections out of a sense of robustness, so default data connections will often work if you can convince the PORT and PASV commands to fail – by, for instance, putting restrictive firewalls or NATs in the way, or perhaps by preventing the FTP server from accepting PORT or PASV commands in some way.&lt;/p&gt;  &lt;p&gt;Clearly, since Microsoft’s IIS 7.5 downloadable FTP Server supports FTPS in block mode with the default data port, there has been some consideration given to my whispers to them that this could solve the FTP over SSL through firewall problem.&lt;/p&gt;  &lt;p&gt;Other than my own WFTPD Explorer, I am not aware of any particular clients that support the explicit use of FTP over SSL with Block-mode on the default data connection – I’d love to hear of your experiments with this mode of operation, to see if it works as well for you as it does for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1700796" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/FTP/default.aspx">FTP</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Alun_2700_s+code/default.aspx">Alun's code</category></item><item><title>Nice support from Lenovo</title><link>http://msmvps.com/blogs/alunj/archive/2009/07/12/1699839.aspx</link><pubDate>Sun, 12 Jul 2009 19:11:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1699839</guid><dc:creator>Alun Jones</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1699839</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1699839</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/07/12/1699839.aspx#comments</comments><description>&lt;p&gt;I’ve been wanting to post this comment for some time, but never seemed to get around to it.&lt;/p&gt;  &lt;p&gt;I’ve been through a number of different laptops over the last decade or so – Compaq, Dell, Gateway, and Toshiba – and each time, I’ve found that they just don’t seem to last. I can’t point to anything in particular – it’s never the same thing twice, but for one reason or another, I don’t get more than a couple of years’ life out of a laptop. Sometimes it’s physical failure – the screen breaks, the drive fails, the battery stops holding a charge – and sometimes it’s simply that the machine is too slow and impossible to upgrade to support me as new software is needed.&lt;/p&gt;  &lt;p&gt;Unless I buy a ThinkPad.&lt;/p&gt;  &lt;p&gt;It’s not that the ThinkPad doesn’t have its problems – it’s more that IBM support always made things right. When the CD-R drive on my first ThinkPad started failing, I called them up, and they quickly sent me a replacement (taking, as usual, my credit card number as guarantee in case I didn’t send them the drive back). The replacement turned out to be a DVD-R drive, so I was ahead on that deal – particularly since the failure happened right at the end of the warranty period.&lt;/p&gt;  &lt;p&gt;So my more recent ThinkPad concerned me, coming as it did with a Lenovo sticker instead of IBM.&lt;/p&gt;  &lt;p&gt;As usual, problems with the laptop happened once in a while. About six months in, the laptop battery stopped retaining its charge. I’m used to companies telling me that the battery is only warranted for 90 days, and that when batteries stop holding their charge, it’s because of my usage patterns (whatever that means – isn’t a battery supposed to be used when you’re on the bus or train, or in a meeting?)&lt;/p&gt;  &lt;p&gt;Not these guys, no, they sent me a replacement battery (after the ritual exchange of credit card numbers).&lt;/p&gt;  &lt;p&gt;One persistent problem stayed with me from the first few months of the purchase of the laptop – the sound stuttered. Now, I should note here what I mean by “stuttered”, because I gather others have sound stuttering that isn’t the same problem as mine.&lt;/p&gt;  &lt;p&gt;Imagine, if you will, that the speakers can handle sounds only “so” loud. Pass any sounds louder than that to them, and the sound ceases until the sound is back to a good volume. So, the timing of the sound is unaffected, it’s just as if someone’s repeatedly hammering the ‘mute’ button. Not a problem if everything’s normalised to below 70%, say, but then that’s difficult to listen to because it’s so quiet.&lt;/p&gt;  &lt;p&gt;That’s the problem I had – the other sort of problem appears to be where the processing of the sound signal is held up, so the timing of the sound is affected, as if someone is hammering a ‘pause’ button repeatedly on and off.&lt;/p&gt;  &lt;p&gt;I called Lenovo a couple of times about this, and assumed it was simply not going to be fixed, as they kept suggesting new drivers, or that I take it to a service centre where they would decide if it could be fixed there or had to be sent away. I wasn’t keen on the service centres they were suggesting.&lt;/p&gt;  &lt;p&gt;Finally I reached the end of my warranty, and also the end of my patience with the problem – I was playing more and more stuff from BBC Radio (see a theme here?), and they were coming through normalised properly, rather than dead quiet. So, I either had to re-normalise everything myself, or get the problem fixed.&lt;/p&gt;  &lt;p&gt;I called Lenovo, spoke to a nice man in North Carolina, and was told they’d have to look at the system. I’d have to send it in.&lt;/p&gt;  &lt;p&gt;I hate being without my laptop – all the more so because I had to send in my hard drive as well. So, it’s make-a-backup time, plus delete-all-the-secrets. A box arrived, with paid shipping, I stuck the laptop in the box, and sent it back. Over Thanksgiving, so that “5 business days” became naturally closer to two weeks, and because it eventually took a while to fix the problem, closer to three weeks.&lt;/p&gt;  &lt;p&gt;When I received the system back, I noticed a few things:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The sound problem had been fixed.&lt;/li&gt;    &lt;li&gt;The mainboard had been replaced.&lt;/li&gt;    &lt;li&gt;These repairs had all been done for free despite the fact that I was a couple of weeks past warranty expiration when I first called.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;You’ll often hear people bad-mouthing non-US companies for having poor technical support that doesn’t speak English and can’t often help – and though this may be true for Lenovo’s online support ‘chat’ (where you type into a browser window), it’s not true for their phone support, and I really can’t argue with the quality of the warranty work they’ve done for me (and how comfortable they were stretching the warranty in the instance that I had been complaining for a while before the warranty expired).&lt;/p&gt;  &lt;p&gt;Perhaps it’s a little sad that I have to post a glowing review like this of support that matches roughly what I would expect. But I think Lenovo deserves a pat on the back for this support, and I can only apologise that it has taken me so long to get around to doing so.&lt;/p&gt;  &lt;p&gt;I will likely be buying another Lenovo ThinkPad when I finally need to dispose of this one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1699839" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>How FTP Data Connections Work Part 1 (OR: Don’t Open Port 20 in your Firewall!)</title><link>http://msmvps.com/blogs/alunj/archive/2009/07/08/1698917.aspx</link><pubDate>Thu, 09 Jul 2009 06:18:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1698917</guid><dc:creator>Alun Jones</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1698917</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1698917</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/07/08/1698917.aspx#comments</comments><description>&lt;p&gt;This will be the first of a couple of articles on FTP, as I’ve been asked to post this information in an easy-to-read format in a public place where it can be referred to. I think my expertise in developing and supporting &lt;a title="WFTPD by Texas Imperial Software" href="http://www.wftpd.com/" target="_blank"&gt;WFTPD&lt;/a&gt; and &lt;a href="http://www.wftpd.com"&gt;WFTPD Pro&lt;/a&gt; allow me to be reliable on this topic. Oh, that and the fact that I’ve contributed to a number of RFCs on the subject.&lt;/p&gt;  &lt;h3&gt;Enough TCP to be dangerous&lt;/h3&gt;  &lt;p&gt;First, a quick refresher on TCP – every TCP connection can be thought of as being associated with a “socket” at each device along the way – from one computer, through routers, to the other computer. The socket is identified by five individual items – the local IP address, the local port, the remote IP address, the remote port, and the protocol (in this case, the protocol is TCP).&lt;/p&gt;  &lt;p&gt;Firewalls are essentially a special kind of router, with rules not only for how to forward data, but also rules on connection requests to drop or allow. Once a connection request is allowed, the entire flow of traffic associated with that connection request is allowed, also – any traffic flow not associated with a previously allowed connection request is discarded.&lt;/p&gt;  &lt;p&gt;When you set up a firewall to allow access to a server, you have to consider the first segment – the “SYN”, or connection request from the TCP client to the TCP server. The rule can refer to any data that would identify the socket to be created, such as “allow any connection request where the source IP address is 10.1.1.something, and the destination port is 54321”.&lt;/p&gt;  &lt;p&gt;Typically, an external-facing firewall will allow all outbound connections, and have rules only for inbound connections. As a result, firewall administrators are used to saying things like “to enable access to the web server, simply open port 80”, whereas what they truly mean is to add a rule that applies to incoming TCP connection requests whose source address and source port could be anything, but whose destination port is 80, and whose destination address is that of the web server.” This is usually written in some short hand, such as “allow tcp 0.0.0.0:0 10.1.2.3:80”, where “0.0.0.0” stands for “any address” and “:0” stands for “any port”.&lt;/p&gt;  &lt;h3&gt;Firewall rules for FTP&lt;/h3&gt;  &lt;p&gt;For an FTP server, firewall rules are known to be a little trickier than for most other servers.&lt;/p&gt;  &lt;p&gt;Sure, you can set up the rule “allow tcp 0.0.0.0:0 10.1.2.3:21”, because the default port for the control connection of FTP is 21. That only allows the control connection, though.&lt;/p&gt;  &lt;p&gt;What other connections are there?&lt;/p&gt;  &lt;p&gt;In the default transfer mode of “Stream”, every file transfer gets its own data connection. Of course, it’d be lovely if this data connection was made on port 21 as well, but that’s not the way the protocol was built. Instead, Stream mode data connections are opened either as “Active” or “Passive” connections.&lt;/p&gt;  &lt;h3&gt;Active and Passive Data Connections&lt;/h3&gt;  &lt;p&gt;The terms &amp;quot;Active&amp;quot; and &amp;quot;Passive&amp;quot; refer to how the FTP server connects. The choice of connection method is initiated by the client, although the server can choose to refuse whatever the client asked for, at which point the client should fail over to using the other method.&lt;/p&gt;  &lt;p&gt;In the Active method, the FTP server connects to the client (the server is the “active” participant, the client just lies back and thinks of England), on a random port chosen by the client. Obviously, that will work if the client&amp;#39;s firewall is configured to allow the connection to that port, and doesn&amp;#39;t depend on the firewall at the server to do anything but allow connections outbound. The Active method is chosen by the client sending a “PORT” command, containing the IP address and port to which the server should connect.&lt;/p&gt;  &lt;p&gt;In the Passive method, the FTP client connects to the server (the server is now the “passive” participant), on a random port chosen by the server. This requires the server&amp;#39;s firewall to allow the incoming connection, and depends on the client&amp;#39;s firewall only to allow outbound connections. The Passive method is chosen by the client sending a “PASV” command, to which the server responds with a message containing the IP address and port at the server that the client should connect to.&lt;/p&gt;  &lt;h3&gt;The ALG comes to the rescue!&lt;/h3&gt;  &lt;p&gt;So in theory, your firewall now needs to know what ports are going to be requested by the PORT and PASV commands. For some situations, this is true, and you need to consider this – we’ll talk about that in part 2. For now, let’s assume everything is “normal”, and talk about how the firewall helps the FTP user or administrator.&lt;/p&gt;  &lt;p&gt;If you use port 21 for your FTP server, and the firewall is able to read the control connection, just about every firewall in existence will recognise the PORT and PASV commands, and open up the appropriate holes. This is because those firewalls have an Application Level Gateway, or ALG, which monitors port 21 traffic for FTP commands, and opens up the appropriate holes in the firewall. We’ve discussed the &lt;a href="http://msmvps.com/blogs/alunj/archive/2008/01/24/1479415.aspx"&gt;FTP ALG in the Windows Vista firewall&lt;/a&gt; before.&lt;/p&gt;  &lt;h3&gt;So why port 20?&lt;/h3&gt;  &lt;p&gt;Where does port 20 come in? A rather simplistic view is that administrators read the “Services” file, and see the line that tells them that port 20 is “ftp-data”. They assume that this means that opening port 20 as a destination port on the firewall will allow FTP data connections to flow. By the “elephant repellant” theory, this is proved “true” when their firewalls allow FTP data connections after they open ports 21 and 20. Nobody bothers to check that it also works if they only open port 21, because of the ALG.&lt;/p&gt;  &lt;p&gt;OK, so if port 20 isn’t needed, why is it associated with “ftp-data”? For that, you’ll have to remember what I said early on in the article – that every socket has five values associated with it – two addresses, two ports, and a protocol. When the data connection is made from the server to the client (remember, that’s an Active data connection, in response to a PORT command), the source port at the server is port 20. It’s totally that simple, and since nobody makes firewall rules that look at source port values, it’s relatively unimportant. That “ftp-data” in the Services file is simply so that the output from “netstat” has a meaningful service name instead of “:20” as a source port.&lt;/p&gt;  &lt;h3&gt;Coming up in part 2…&lt;/h3&gt;  &lt;p&gt;Next time, we’ll expand on this topic, to go into the inability of the ALG to process encrypted FTP control traffic, and the resultant issues and solutions that face encrypted FTP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1698917" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/FTP/default.aspx">FTP</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Alun_2700_s+code/default.aspx">Alun's code</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/TCP_2F00_IP/default.aspx">TCP/IP</category></item><item><title>Zune – So Nearly Perfect, it Hurts</title><link>http://msmvps.com/blogs/alunj/archive/2009/06/25/1696764.aspx</link><pubDate>Fri, 26 Jun 2009 05:17:39 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1696764</guid><dc:creator>Alun Jones</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1696764</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1696764</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2009/06/25/1696764.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/5381.UKZuneSkin_5F00_2.jpg"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;margin-left:0px;border-top:0px;margin-right:0px;border-right:0px;" title="UKZuneSkin" border="0" alt="UKZuneSkin" align="left" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.metablogapi/6864.UKZuneSkin_5F00_thumb.jpg" width="404" height="404" /&gt;&lt;/a&gt; For a while now, I’ve been listening to the &lt;a href="http://www.bbc.co.uk/iplayer/radio"&gt;BBC radio&lt;/a&gt; on my MP3 player – even wrote a &lt;a href="http://www.wftpd.com/ifetch.html"&gt;program&lt;/a&gt; to download the audio of various programmes and convert them from RealAudio to MP3 so that I can listen to them on the bus or in my car on the way to and from work. First it was a 512MB Creative Muvo, then a Sandisk Sansa at 2GB.&lt;/p&gt;  &lt;p&gt;Then on my birthday, my wife surprised me with a 30GB &lt;a href="http://zune.net"&gt;Zune&lt;/a&gt;, just what I wanted. I know there are other more recent models, but I can’t justify the expense of a 120GB model, and the others are too small of a display to be interesting. The &lt;a href="http://zuneinsider.com/archive/tags/zune+hd/default.aspx"&gt;Zune HD&lt;/a&gt; seems like it would be perfect, but I bet it’ll be too expensive for me to justify.&lt;/p&gt;  &lt;p&gt;I really enjoy the Zune, and it solves many of the problems I’ve hated about the Sansa – the biggest being, as &lt;a href="http://msmvps.com/blogs/alunj/archive/2008/08/25/1645798.aspx"&gt;I described before&lt;/a&gt;, that it requires me to install (and carefully watch for sneaky encroachment) &lt;a href="http://msmvps.com/blogs/alunj/archive/2008/03/21/1549816.aspx"&gt;Quicktime&lt;/a&gt;, and to run the video/photo converter as an administrator.&lt;/p&gt;  &lt;p&gt;So, now that the Zune solves the big problems, I’m starting to become aware of the less horrifying aspects of media player ownership.&lt;/p&gt;  &lt;p&gt;Here are the first few little problems (note that this isn’t entirely insurmountable):&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Playing a video, or a podcast, kills off the “Now Playing” list.&lt;/li&gt;    &lt;li&gt;While you can resume a video, or a podcast, you can’t resume a playlist.&lt;/li&gt;    &lt;li&gt;You can’t create a playlist on the device – although you can add Music selections to “Now Playing”, you can’t rename the list, and “Now Playing” gets killed off so easily.&lt;/li&gt;    &lt;li&gt;You can’t resume a music item after you’ve paused it and played another. This makes the music folders useless for my radio programmes.&lt;/li&gt;    &lt;li&gt;When playing an MP3 file in the music folder, if the MP3 file has a picture (in the ID3 Picture tag), the picture is cropped to fit the display – I’d rather see it shrunk.&lt;/li&gt;    &lt;li&gt;Pictures from MP3 files are not displayed individually – one of them is selected as the “Album Art”, and is then displayed for all subsequent MP3s with the same ID3 Album tag. I’d rather see the pictures from the individual MP3s (who knows, maybe they’re important?)&lt;/li&gt;    &lt;li&gt;MP3 files from the music folder appear in the “social” under your tag, and the system tries to guess what you’re listening to. Usually appallingly badly. For instance, I play “The Eureka Years”, a radio programme from the BBC, recorded as an MP3 file with appropriate Author and AlbumTitle tags – it lists as the song “Eureka” by “Jim O’Rourke”. I haven’t found where you can correct this, or delete it – goodness only knows how you cope with embarrassing selections made by this guessing algorithm.&lt;/li&gt;    &lt;li&gt;You can’t delete a music MP3 file from the device without using the PC. Not much use when I’m on the bus and want to say “yep, I’ve heard that, now delete it”.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Like I said, those are the first few problems I’ve encountered.&lt;/p&gt;  &lt;p&gt;Most of these problems seem to be solved by turning my recorded radio programmes into podcasts. Apparently you do this by moving the MP3 files into the podcast directory prior to syncing, and by changing the ID3 Genre tag to “Podcast”. That’s certainly far better, but there are still more problems I’ve encountered with that:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Podcasts without an accompanying XML RSS feed don’t sort right. They should sort primarily by the MP3’s ID3 track #, then by date and time, and finally by name. It appears that the Zune is sorting them primarily by date (ignoring the time!) and then by name, and totally ignoring the track number.&lt;/li&gt;    &lt;li&gt;When sorting the tracks in a podcast by name, the sort is alphabetical, with no consideration given to numerical sorting, so my recording of “Journey into Space, World In Peril” plays in the order 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 3, 4, 5, 6, 7, 8, 9. And remember, that’s even with the track numbers present and correct (although maybe it &lt;u&gt;is&lt;/u&gt; sorting by track number, but doing it alphabetically rather than numerically!)&lt;/li&gt;    &lt;li&gt;I’d rather that podcasts were picked up properly without my having to change the Genre tag – I like my Genre tags to read “Comedy”, or “Drama/SciFi &amp;amp; Fantasy” – and it’d be nice if the podcast tool allowed me to sub-sort the podcasts based on the genre, too!&lt;/li&gt;    &lt;li&gt;You can’t “queue up” the podcasts into a “now playing” list, or any other kind of playlist.&lt;/li&gt;    &lt;li&gt;Podcasts don’t display the Picture stored in the ID3 tag of the MP3 file – not even as “album art”. The only time images are displayed for podcasts is when the image is referenced in an accompanying XML RSS feed.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;So, the next solution set would be to publish an RSS feed.&lt;/p&gt;  &lt;p&gt;Unfortunately, this leads to the next failure.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;You can’t subscribe to a “file://” based URL – podcast feeds must all start “http://”, which means putting a web server to work even if you’re building a personal podcast feed that exists only between your computer and its associated Zune.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Other problems I’ve experienced are DRM-like, and we all know that I find DRM to be hugely objectionable. Specifically, I can’t transfer any IFC programmes onto my Zune from my Windows Vista Media Center PC, because apparently they’re all tagged as “copyright”. Note that’s &lt;u&gt;my&lt;/u&gt; Media Center PC, transferring to &lt;u&gt;my&lt;/u&gt; Zune so that &lt;u&gt;I&lt;/u&gt; can watch programming recorded from &lt;u&gt;my&lt;/u&gt; DirecTV subscription – no theft involved there, I paid for that content, but can not watch it in my chosen locale or medium.&lt;/p&gt;  &lt;p&gt;I can only hope that someone at Microsoft reads this post, and reassures me that they’re going to do better with the release of the ZuneHD – and, because I almost certainly can’t afford a ZuneHD (although anyone who knows me will tell you how excited I’ve been about OLEDs for the last year or so), I hope that many of these improvements are back-ported to my lowly Zune 30. I’d be happy to expound on any of these points to get them addressed.&lt;/p&gt;  &lt;p&gt;Oh, and if you ask – I would definitely and whole-heartedly recommend getting a Zune. I know that I’m going to be buying one for my wife as soon as I can find it at the right price (I’m hoping for a &lt;a href="http://www.woot.com"&gt;Woot-off&lt;/a&gt; or perhaps a &lt;a href="http://bagsofcrap.com"&gt;bag of crap&lt;/a&gt; containing a Zune]. All the problems I’ve outlined above are really minor and piddly, but it’s these kind of tweaks that turn a merely good product into a great product. I only complain about them because the Zune is so close to perfection for me, it can be fixed with relatively little effort. The Sansa and its software were so far from perfection that it seems likely that the development team totally don’t “get it”. [The Creative Muvo was actually pretty much perfect for what was achievable at the time.]&lt;/p&gt;  &lt;p&gt;So, am I missing any obvious tricks for my Zune? Can I get the BBC programmes on it in a better way? [Yes, I know about the BBC podcasts, but there are shows that the BBC just don’t podcast.]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1696764" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>Nobody stopped me, as I put the second laptop into my bag...</title><link>http://msmvps.com/blogs/alunj/archive/2008/11/08/1653542.aspx</link><pubDate>Sat, 08 Nov 2008 22:46:53 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653542</guid><dc:creator>Alun Jones</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1653542</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1653542</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/11/08/1653542.aspx#comments</comments><description>&lt;p&gt;I have two laptops that I carry with me most places I go. This isn&amp;#39;t showing off, it&amp;#39;s just something I do for a number of reasons. (One laptop is for work, the other is personal)&lt;/p&gt;  &lt;p&gt;On a recent trip, I wanted to leave one with my wife as she dropped me off at the airport (flying with more than one laptop just seems silly, all that extra weight) - but she drove off before I could take the superfluous laptop out.&lt;/p&gt;  &lt;p&gt;So I proceed to the TSA line, wondering what they&amp;#39;re going to say about me packing two laptops.&lt;/p&gt;  &lt;p&gt;Nobody noticed. Nobody at all raised an eyebrow at me sliding two laptops into my bag.&lt;/p&gt;  &lt;p&gt;That has me somewhat concerned - although it made my trip rather easy.&lt;/p&gt;  &lt;p&gt;The implication is that if I am smooth enough of a criminal, I can pick up my laptop and yours, and slide them both into my bag without anyone except you caring – and you’re on the other side of the metal detector from me.&lt;/p&gt;  &lt;p&gt;Although it would have slowed my progress through the security line, quite frankly I&amp;#39;d rather someone questioned me about the fact that I was doing something extraordinary in sliding more than the average number of laptops into a bag.&lt;/p&gt;  &lt;p&gt;On a number of occasions, my wife (a seasoned traveler) has seen people accidentally swap laptops with her, walk off without their own laptop, or been worryingly detained through the metal detector as their laptops are sitting unprotected and unwatched at the other end of the security scanner.&lt;/p&gt;  &lt;p&gt;Recently the TSA produced statistics that showed that many thousands of laptops are abandoned at security lines at the nation&amp;#39;s airports - I would be interested to know how many thousands of laptops are not abandoned, but are purloined - accidentally or with criminal intent - by someone other than their rightful owner.&lt;/p&gt;  &lt;p&gt;What should the TSA do to prevent theft and/or loss at the security checkpoint? Could the security lines survive if staff insisted on not letting the next person (or their carry-on luggage) proceed until the last person had finished collecting theirs from the output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653542" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>Weak point against Vista</title><link>http://msmvps.com/blogs/alunj/archive/2008/10/11/1650592.aspx</link><pubDate>Sun, 12 Oct 2008 00:49:06 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1650592</guid><dc:creator>Alun Jones</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1650592</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1650592</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/10/11/1650592.aspx#comments</comments><description>&lt;p&gt;First rule of demonstrative writing – lead off with an undeniable example of the point you’re trying to make.&lt;/p&gt;  &lt;p&gt;Case in point – Dan Lyons’ article in &lt;a href="http://www.newsweek.com"&gt;NewsWeek&lt;/a&gt; on “&lt;a title="A Gloomy Vista for Microsoft" href="http://www.newsweek.com/id/160064"&gt;A Gloomy Vista for Microsoft&lt;/a&gt;”, meant to be a piece defining how bad Vista is.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“Last year I was meeting with the CEO of a PC company who offered to give me a demo of his company&amp;#39;s gorgeous new top-of- the-line notebook, a machine that cost several thousand dollars and came loaded with &lt;a href="http://www.newsweek.com/related.aspx?subject=Microsoft+Windows+Vista"&gt;Windows Vista&lt;/a&gt;, the latest version of &lt;a href="http://www.newsweek.com/related.aspx?subject=Microsoft+Corporation"&gt;Microsoft&lt;/a&gt;&amp;#39;s operating system. He flipped open the laptop, pressed the power button, and … nothing. We waited. And waited. It was excruciating. He tried control-alt-delete. He tried holding down the power button. Finally he removed the battery and snapped it back into place. The machine started up—slowly—while the CEO sat there fuming.”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Um, yeah, OK, that sounds bad and all, but seriously, if you’re pressing the power button on a turned-off machine and nothing’s happening, that’s hardware. And if you blame hardware faults on the operating system, well, that’s just a CEO trying to ignore the fact that his hardware system and its developers aren’t providing a totally balanced view of their work.&lt;/p&gt;  &lt;p&gt;So, let’s carry on reading. What else is a problem with Vista?&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“It was sluggish. It had trouble going to sleep and waking up. It wouldn&amp;#39;t work with some printers and accessories.”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I didn’t see “sluggish”, but then again, I bought a higher spec machine than my three-year-old laptop in order to run Vista, because it’s a significant update to the OS. Many of its major features expect there to be lots of memory and a fast 3D video card.&lt;/p&gt;  &lt;p&gt;The “trouble going to sleep and waking up” part I definitely had some experience with – but then, I have those problems in XP, too: over 1MB in my machine, and XP decided it was going to turn my laptop bag into a pizza oven – to judge from the popularity of my blog post on the issue, I’m far from alone in this. Laptop manufacturers really haven’t had the best of luck in XP or Vista persuading individual devices – let alone the whole system – that it’s nighty-night time, or that it’s time to wake up when you punch the “wake-up” key. Recent updates from Lenovo made my life a little easier, but the machine will still sometimes go to sleep never to wake up again. Really irritating when I’m in the middle of working as the bus arrives at its destination and I have to press the sleep button, praying that the machine will make it through the nap. And I can guarantee to hang the system if I press the sleep button and then close the lid.&lt;/p&gt;  &lt;p&gt;And, as for printers and accessories, it’s clear that any number of device drivers weren’t actually used for any significant length of time in the Vista environment, or they’d have shown their incompatible designs. My HP printer, for instance, pops up this ugly dialog whenever I print from Internet Explorer:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.WeakpointagainstVista_5F00_114D9/Image_2D00_0216_5F00_2.png"&gt;&lt;img title="hpmup081.bin isn&amp;#39;t signed" style="border-top-width:0px;display:block;border-left-width:0px;float:none;border-bottom-width:0px;margin-left:auto;margin-right:auto;border-right-width:0px;" height="296" alt="hpmup081.bin isn&amp;#39;t signed" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.WeakpointagainstVista_5F00_114D9/Image_2D00_0216_5F00_thumb.png" width="481" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now, I don’t know much about drivers, but I suspect that this could be fixed by signing the driver. My other HP printer continually offers up a new version of its drivers on Windows Update, and then the installation refuses to start, because the printer isn’t plugged in to my machine. Well, of course not, it’s a network printer.&lt;/p&gt;  &lt;p&gt;As has been pointed out by numerous other writers, XP had this same sort of flack when it released (although I don’t remember it going on for quite this long), and then as now, most of the problems were to do with software and hardware developers who weren’t paying even limited attention to the statements Microsoft put out as to features that were deprecated (i.e. made obsolete, going away, or otherwise disappearing).&lt;/p&gt;  &lt;p&gt;Of course, my wife hates Vista, and at some point I’ll be able to point you to her ideas on the topic, because she has some actually &lt;strong&gt;&lt;u&gt;valid&lt;/u&gt;&lt;/strong&gt; arguments as to why Vista sucks. And none of those arguments are represented in Dan Lyons’ Newsweek article.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1650592" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>My MP3 player demands to administer my system</title><link>http://msmvps.com/blogs/alunj/archive/2008/08/25/1645798.aspx</link><pubDate>Tue, 26 Aug 2008 06:22:35 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1645798</guid><dc:creator>Alun Jones</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1645798</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1645798</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/08/25/1645798.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.MyMP3playerdemandstoadministermysystem_5F00_A099/Sansa_5F00_ewatchandpen_5F00_COLOR_5F00_2.jpg"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;margin:0px 25px 10px 0px;border-right-width:0px;" height="244" alt="Sansa_ewatchandpen_COLOR" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/alunj.MyMP3playerdemandstoadministermysystem_5F00_A099/Sansa_5F00_ewatchandpen_5F00_COLOR_5F00_thumb.jpg" width="244" align="left" border="0" /&gt;&lt;/a&gt; Thanks to the excellent &lt;a href="http://www.woot.com"&gt;http://www.woot.com&lt;/a&gt;, I upgraded to a new MP3 player - this one, the &lt;a href="http://www.sandisk.com/sansa/#/product-6/"&gt;Sansa e250&lt;/a&gt; from &lt;a href="http://sandisk.com"&gt;SanDisk&lt;/a&gt;, has a little screen and shows video at an almost completely unacceptably small resolution. But I don&amp;#39;t mind that, I didn&amp;#39;t really buy it for the video. I don&amp;#39;t mind the big fat &amp;quot;REFURB&amp;quot; label stuck on the back, nor do I really mind all that much that it&amp;#39;s already lost a screw from the back.&lt;/p&gt; &lt;p&gt;What I do mind is that the developers of the software accompanying this player haven&amp;#39;t figured out that I might want to use it as a consumer device, rather than an Information Technology Administration Tool. Quite honestly, I can&amp;#39;t see how a media player - even if you count its ability to do video the size of my thumb - can be used to administer my system, but clearly that&amp;#39;s the intent of the designers, because the software all insists on running as administrator.&lt;/p&gt; &lt;p&gt;The software at fault is at least the following:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Sansa Dispatcher - runs at logon, insists on running as administrator, therefore gets blocked on my Vista system. I&amp;#39;m still not quite sure what it&amp;#39;s supposed to do, because I can use the Sansa acceptably well without this tool running, and when I do run it unblocked as admin, it does nothing more useful than causing my laptop to repeatedly crash with a blue-screen of death. Not very impressive.  &lt;li&gt;Sansa Media Converter - allegedly this is required to put photos and videos onto the device - this, too, requires that I run it as an administrator (why? all it&amp;#39;s supposed to do is convert movies and graphics from one format to another, and then copy them to the USB drive that the Sansa pretends to be when plugged in)  &lt;li&gt;As if that wasn&amp;#39;t infuriating enough, the Sansa Media Converter requires Apple QuickTime, my old nemesis. Yes, that means I&amp;#39;m back on the &lt;a href="http://msmvps.com/blogs/alunj/archive/2008/05/09/1618641.aspx"&gt;Apple Update&lt;/a&gt; thrill-ride to distraction.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;It almost makes me want to wipe the firmware in the device and replace it with the Open Source software &amp;quot;&lt;a href="http://www.rockbox.org/"&gt;Rock Box&lt;/a&gt;&amp;quot;. Maybe then I can use ordinary tools to move my media onto the device, as an ordinary user.&lt;/p&gt; &lt;p&gt;We developers clearly have a loooong way to go before we grasp this concept that &amp;quot;administrator means the guy who makes changes to the configuration of the operating system&amp;quot;, and &amp;quot;standard user means the guy who spends his life actually using the operating system&amp;quot;.&lt;/p&gt; &lt;p&gt;I would love to be able to sort this out with technical support, but they insist on not talking to me in email, but requiring me to log on to a third party &amp;quot;eBox&amp;quot; from &amp;quot;customernation.com&amp;quot; - which sends out exhortations to visit your eBox as soon as Sansa&amp;#39;s support has put a message in it. These invites come with your user name and password - over unencrypted email. Nice.&lt;/p&gt; &lt;p&gt;I&amp;#39;d tell you what&amp;#39;s in my eBox, and what Sansa&amp;#39;s support said, but I haven&amp;#39;t been able to keep a connection up long enough for the painfully slow customernation.com web site to actually display anything. This is not a pleasant customer experience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1645798" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Programmer+Hubris/default.aspx">Programmer Hubris</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>FTP - Untrustworthy? I Don't Think So!</title><link>http://msmvps.com/blogs/alunj/archive/2008/07/29/1642650.aspx</link><pubDate>Wed, 30 Jul 2008 04:53:15 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1642650</guid><dc:creator>Alun Jones</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1642650</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1642650</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/07/29/1642650.aspx#comments</comments><description>&lt;p&gt;Lately, as if writers all draw from the same shrinking paddling-pool of ideas, I&amp;#39;ve noticed a batch of stories about how unsafe, unsecure and untrustworthy is FTP.&lt;/p&gt; &lt;h3&gt;SC Magazine says so.&lt;/h3&gt; &lt;p&gt;First it was an article in the print version of &lt;a href="http://www.scmagazineus.com"&gt;SC Magazine&lt;/a&gt;, sadly not repeated online, titled &amp;quot;2 Minutes On... FTP integrity challenged&amp;quot;, by Jim Carr. I tried to reach Jim by email, but his bounce message tells me he doesn&amp;#39;t work for SC Magazine any more.&lt;/p&gt; &lt;p&gt;This article was full of interesting quotes.&lt;/p&gt; &lt;p&gt;&amp;quot;8,700 FTP server credentials were being used to access and infect more than 2,000 legitimate websites in the US&amp;quot;. The article goes on to quote Finjan&amp;#39;s director of security research who says they were &amp;quot;most likely hijacked by malware&amp;quot; - since most malware can do keystroke logging for passwords, there&amp;#39;s not much can be done at the protocol level to protect against this, so this isn&amp;#39;t really an indictment of FTP so much as it is an indication of the value and ubiquity of FTP.&lt;/p&gt; &lt;p&gt;Then we get to a solid criticism of FTP: &amp;quot;The problem with FTP is it transfers data, including authorization credentials, in plain text rather than in encrypted form, says Jeff Debrosse, senior research analyst at security vendor ESET&amp;quot;. Okay, that&amp;#39;s true - but in much the same vein as saying that the same problems all apply to HTTP.&lt;/p&gt; &lt;p&gt;Towards the end of the article, we return to Finjan&amp;#39;s assertion that malware can steal credentials for FTP sites - and as I&amp;#39;ve mentioned before, malware can get pretty much any user secret, so again, that&amp;#39;s not a problem that a protocol such as FTP - or SFTP, HTTP, SSH, SCP, etc - can fix. There&amp;#39;s a password or a secret key, and once malware is inside the system, it can get those credentials.&lt;/p&gt; &lt;p&gt;Fortunately, the article closes with a quote from Trent Henry, who says &amp;quot;That means FTP is not the real issue as much as it is a server-protection issue.&amp;quot;&lt;/p&gt; &lt;h3&gt;OK, But a ZDNet blogger says so, too.&lt;/h3&gt; &lt;p&gt;Well, yeah, an article in a &lt;a href="http://blogs.zdnet.com/storage/?p=344&amp;amp;tag=nl.e550"&gt;recent ZDNet blog entry&lt;/a&gt; - on storage, not networking or security (rather like getting security advice from Steve Gibson, a hard-drive expert) - rants on about how his web site got hacked into (through WordPress, not FTP), and as a result, he&amp;#39;s taken to heart a suggestion not to use FTP.&lt;/p&gt; &lt;p&gt;Such a non-sequitur just leaves me breathless. So here&amp;#39;s my take:&lt;/p&gt; &lt;h2&gt;FTP Has Been Secure for Years&lt;/h2&gt; &lt;p&gt;But some people have just been too busy, or too devoted to other solutions, to take notice.&lt;/p&gt; &lt;p&gt;FTP first gained secure credentials with the addition of support for SASL and SKey. These are mechanisms for authenticating users without passing a password or password-equivalent (and by &amp;quot;password-equivalent&amp;quot;, I&amp;#39;m including schemes where the hash is passed as proof that you have the password - an attacker can simply copy the hash instead of the password). These additional authentication methods give FTP the ability to check identity without jeopardising the security of the identified party. [Of course, prior to this, there were IPsec and SOCKS solutions that work outside of the protocol.]&lt;/p&gt; &lt;p&gt;OK, you might say, but that only protects the authentication - what about the data?&lt;/p&gt; &lt;p&gt;FTP under GSSAPI was defined in &lt;a href="http://www.ietf.org/rfc/rfc2228.txt"&gt;RFC 2228&lt;/a&gt;, which was published in October 1997 (the earliest draft copy I can find is from March 1995), from a draft developed over the preceding couple of years. What&amp;#39;s GSSAPI? As far as anyone really needs to know, it&amp;#39;s Kerberos.&lt;/p&gt; &lt;p&gt;This inspired the development of FTP over SSL in 1996, which became FTP over TLS, and which finally became &lt;a href="http://www.ietf.org/rfc/rfc4217.txt"&gt;RFC 4217&lt;/a&gt;. From 1997 to 2003, those of us in the FTPExt Working Group were wondering why the standard wasn&amp;#39;t yet an RFC, as draft after draft were submitted with small changes, and then apparently sat on by the RFC editor - during this time, several compatible FTP clients, servers and proxies were produced that compatibly supported FTP over TLS (and/or SSL).&lt;/p&gt; &lt;h3&gt;Why so long from draft to publication?&lt;/h3&gt; &lt;p&gt;One theory that was raised is that the IETF were trying to get SSH-based protocols such as SFTP out before FTP over TLS (which has become known as &amp;quot;FTPS&amp;quot;, for FTP over SSL).&lt;/p&gt; &lt;p&gt;SFTP was abandoned after draft 13, which was made available in July 2006; &lt;a href="http://www.ietf.org/rfc/rfc4217.txt"&gt;RFC 4217&lt;/a&gt; was published in October 2005. So it seems a little unlikely that this is the case.&lt;/p&gt; &lt;p&gt;The more likely theory is simply that the RFC Editor was overworked - the former RFC Editor, Jon Postel, died in 1998, and it&amp;#39;s likely that it took some time for the new RFC Editor to sort all the competing drafts out, and give them his attention.&lt;/p&gt; &lt;h3&gt;What did the FTPExt Working Group do while waiting?&lt;/h3&gt; &lt;p&gt;While we were waiting for the RFC, we all built compatible implementations of the FTP over TLS standard.&lt;/p&gt; &lt;p&gt;One or two of us even tried to implement SFTP, but with the draft mutating rapidly, and internal discussion on the SFTP mailing list indicating that no-one yet knew quite what they wanted SFTP to be when it grew up, it was like nailing the proverbial jelly to a tree. Then the SFTP standardisation process ground to a halt, as everyone lost interest. This is why getting SFTP implementations to interoperate is sometimes so frustrating an experience.&lt;/p&gt; &lt;p&gt;FTPS, however - that was solidly defined, and remains a very compatible protocol with few relevant drawbacks. Sadly, even FTP under GSSAPI turned out to have some reliability issues (the data transfer and the control connection, though over different asynchronous channels, share the same encryption context, which means that the receiver must synchronise the two asynchronous channels exactly as the sender did, or face a loss of connection) - but FTP over TLS remains strong and reliable.&lt;/p&gt; &lt;h2&gt;So, why does no-one know about FTPS?&lt;/h2&gt; &lt;p&gt;Actually, there&amp;#39;s lots of people that do - and &lt;a href="http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html"&gt;many clients and servers, proxies and tunnels&lt;/a&gt;, exist in real life implementations. Compatibility issues are few, and generally revolve around how strict servers are about observing the niceties of the secure transaction.&lt;/p&gt; &lt;p&gt;Even a &lt;a href="http://www.formortals.com/Home/tabid/36/EntryID/39/Default.aspx"&gt;ZDNet blogger&lt;/a&gt; or two has come across FTPS, and recommends it, although of course he recommends the wrong server.&lt;/p&gt; &lt;h3&gt;My recommendation?&lt;/h3&gt; &lt;p&gt;&lt;a href="http://www.wftpd.com"&gt;WFTPD Pro&lt;/a&gt;. Unequivocally. Because I know who wrote it, and I know what went into it. It&amp;#39;s all good stuff.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1642650" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/FTP/default.aspx">FTP</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Alun_2700_s+code/default.aspx">Alun's code</category></item><item><title>Vistafy Me.</title><link>http://msmvps.com/blogs/alunj/archive/2008/07/10/1640321.aspx</link><pubDate>Fri, 11 Jul 2008 05:07:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1640321</guid><dc:creator>Alun Jones</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1640321</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1640321</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/07/10/1640321.aspx#comments</comments><description>&lt;p&gt;I have a little time over the next couple of weeks to devote to developing &lt;a title="WFTPD by Texas Imperial Software" href="http://www.wftpd.com/"&gt;WFTPD&lt;/a&gt; a little further.&lt;/p&gt; &lt;p&gt;This is a good thing, as it&amp;#39;s way past time that I brought it into Vista&amp;#39;s world.&lt;/p&gt; &lt;p&gt;I&amp;#39;ve been very proud that over the last several years, I have never had to re-write my code in order to make it work on a new version of Windows. Unlike other developers, when a new version of Windows comes along, I can run my software on that new version without changes, and get the same functionality.&lt;/p&gt; &lt;p&gt;The same is not true of developers who like to use undocumented features, because those are generally the features that die in new releases and service packs. After all, since they&amp;#39;re undocumented, nobody should be using them, right? No, seriously, you shouldn&amp;#39;t be using those undocumented features.&lt;/p&gt; &lt;p&gt;So, &lt;a title="WFTPD by Texas Imperial Software" href="http://www.wftpd.com/wftpdreg.htm"&gt;WFTPD&lt;/a&gt; and &lt;a href="http://www.wftpd.com/wftpdpro.htm"&gt;WFTPD Pro&lt;/a&gt; run in Windows Vista and Windows Server 2008.&lt;/p&gt; &lt;p&gt;But that&amp;#39;s not enough. With each new version of Windows, there are better ways of doing things and new features to exploit. With Windows Vista and Windows Server 2008, there are also a few deprecated older behaviours that I can see are holding WFTPD and WFTPD Pro down.&lt;/p&gt; &lt;p&gt;I&amp;#39;m creating a plan to &amp;quot;Vistafy&amp;quot; these programs, so that they&amp;#39;ll continue to be relevant and current.&lt;/p&gt; &lt;p&gt;Here&amp;#39;s my list of significant changes to make over the next couple of weeks:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Convert the Help file from WinHelp to HTML Help. &lt;/li&gt; &lt;ul&gt; &lt;li&gt;WinHelp is not supported in Vista - you can download a WinHelp version, but it&amp;#39;s far better to support the one format of Help file that Windows uses. So, I&amp;#39;m converting from WinHelp to HTML Help.&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Changing the Control Panel Applet for WFTPD Pro.&lt;/li&gt; &lt;ul&gt; &lt;li&gt;CPL files still work in Windows Vista, but they&amp;#39;re considered &amp;#39;old&amp;#39;, and there&amp;#39;s an ugly user experience when it comes to making them elevate - run as administrator. &lt;li&gt;There are two or three ways to go here -&lt;/li&gt; &lt;ol&gt; &lt;li&gt;one is to create an EXE wrapper that calls the old CPL file. That&amp;#39;s fairly cheap, and will probably be the first version. &lt;li&gt;Another is to write an MMC plugin. That&amp;#39;s a fair amount of work, and requires some thought and design. That&amp;#39;s going to take more than a couple of weeks. &lt;li&gt;A third option is to create some form of web-based interface. I don&amp;#39;t want to go that way, because I don&amp;#39;t want to require my users to install IIS or some other web server.&lt;/li&gt;&lt;/ol&gt; &lt;li&gt;So, first blush it seems will be to wrap the existing interface, and secondly I&amp;#39;ll be investigating what an MMC should look like.&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Support for IPv6.&lt;/li&gt; &lt;ul&gt; &lt;li&gt;I already have this implemented in a trial version, but have yet to fully wire it up to a user interface that I&amp;#39;m willing to unleash on the world. So that&amp;#39;s on the cards for the next release.&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Multiple languages&lt;/li&gt; &lt;ul&gt; &lt;li&gt;There are two elements to support for multiple languages in FTP:&lt;/li&gt; &lt;ol&gt; &lt;li&gt;File names in non-Latin character sets &lt;li&gt;Text messages in languages other than English&lt;/li&gt;&lt;/ol&gt; &lt;li&gt;The first, file names in different character sets, will be achieved sooner than the second. If the second ever occurs, it will be because customers are sufficiently interested to ask me specifically to do it.&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;SSL Client Certificate authentication&lt;/li&gt; &lt;ul&gt; &lt;li&gt;SSL Client Certificate Auth has been in place for years - it&amp;#39;s a secret feature. The IIS guys warned me off developing it, saying &amp;quot;that&amp;#39;s really hard, don&amp;#39;t try and do anything with client certs&amp;quot;. &lt;li&gt;I didn&amp;#39;t have the heart to tell them I had the feature working already (but without an interface), and that it simply required a little patience.&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Install under Local Service and Network Service accounts &lt;li&gt;Build in Visual Studio 2008, to get maximum protection using new compiler features.&lt;/li&gt; &lt;ul&gt; &lt;li&gt;/analyze, Address Space Layout Randomisation, SAL - all designed to catch my occasional mistakes.&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt; &lt;p&gt;As I work on each of these items, I&amp;#39;ll be sure to document any interesting behaviours I find along the way. My first article will be on converting your WinHelp-using MFC project to using HTML Help, with minimal changes to your code, and in such a way that you can back-pedal if you have to.&lt;/p&gt; &lt;p&gt;Of course, I also have a couple of side projects - because I&amp;#39;ve been downloading a lot from BBC 7, I&amp;#39;ve been writing a program to store the program titles and descriptions with the MP3 files, so that they show up properly on the MP3 player. ID3Edit - an inspired name - allows me to add descriptions to these files.&lt;/p&gt; &lt;p&gt;Another side-project of mine is an EFS tool. I may use some time to work on that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1640321" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/FTP/default.aspx">FTP</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Alun_2700_s+code/default.aspx">Alun's code</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>The difference between liking and hating UAC?</title><link>http://msmvps.com/blogs/alunj/archive/2008/06/10/1633852.aspx</link><pubDate>Wed, 11 Jun 2008 04:17:51 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1633852</guid><dc:creator>Alun Jones</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1633852</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1633852</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/06/10/1633852.aspx#comments</comments><description>&lt;p&gt;&lt;/p&gt; &lt;p&gt;Totally unscientifically, I have carried out a poll of people who like UAC (okay, a few security geeks like myself), and those who hate UAC - mostly my wife.&lt;/p&gt; &lt;p&gt;Something struck me as both a surprising common factor, and also a rather obvious explanation of why the two opinions are so polarised.&lt;/p&gt; &lt;p&gt;[Note for the pedants - yes, I&amp;#39;m using the term &amp;quot;UAC&amp;quot; here to mean &amp;quot;Elevation&amp;quot; - there are other portions of UAC that I&amp;#39;m not discussing, such as Protected Mode in Internet Explorer, and so on.]&lt;/p&gt; &lt;h3&gt;We use UAC for different purposes&lt;/h3&gt; &lt;h4&gt;UAC-lovers&lt;/h4&gt; &lt;p&gt;The UAC-lover seems to have &amp;#39;got least-privilege religion&amp;#39; at least several years ago, and runs most of the time as a standard, restricted user. Most UAC-lovers do not seem to be &amp;quot;Administering the system all the time&amp;quot; types.&lt;/p&gt; &lt;p&gt;As a result, they use UAC as a means to elevate privilege on those occasions when they need to do something administrative, or when they need to run a program that has not yet been coded to run with least privilege.&lt;/p&gt; &lt;p&gt;When they&amp;#39;re doing something administrative, they&amp;#39;re comparing the UAC &amp;quot;Over-the-shoulder&amp;quot; (OTS) prompt against the methods that used to be available to them:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Log off and back on - to do this, you have to close out all your applications, saving the documents you were working on, log off, log on as the administrator account, do the admin thing, log off, and log back on as your regular account.  &lt;li&gt;Fast User Switching (FUS) - not available on a domain, and anything &lt;u&gt;but&lt;/u&gt; fast. The only advantage it has over logging out and back in is that you maintain your application state in the restricted user - the documents are still open, the programs are still running, etc.  &lt;li&gt;RunAs - this used to be how you elevate in Windows prior to Vista, but now you have to find another tool to do the same job for you, because RunAs won&amp;#39;t elevate your session even if you provide it with administrator credentials. [I use Jesper&amp;#39;s Elevate Explorer Tools from the Windows Server 2008 Security Resource Kit.]&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Given these as alternatives, it&amp;#39;s no wonder that UAC and OTS elevation prompts are considered better.&lt;/p&gt; &lt;h4&gt;UAC-haters&lt;/h4&gt; &lt;p&gt;The UAC-hater is fundamentally disinterested in least-privilege, at least as it applies to users. Least-privilege is an obvious and good programming strategy, a program shouldn&amp;#39;t ask for more privileges than it needs, but to this user, that&amp;#39;s something that the programmers should care about.&lt;/p&gt; &lt;p&gt;This user wants to be instantly, and automatically, elevated whenever she calls on a feature that would require it. This is how she&amp;#39;s used to running the computer, because she&amp;#39;s always called on to do administrative tasks - and she&amp;#39;s careful and knowledgeable enough to have avoided causing damage through doing so.&lt;/p&gt; &lt;p&gt;To this user, UAC is an impediment to that process - now, instead of merely running the administrative tool she wants, she has to ask to be allowed to run it as administrator.&lt;/p&gt; &lt;p&gt;With UAC set to automatically elevate for administrators, however, she&amp;#39;s far happier. Still not perfectly happy, because there are still occasions when she has to ask specifically to run elevated - when the program is capable of running as non-administrator, for instance. Such programs run as non-administrator by default, and don&amp;#39;t elevate themselves. These programs are irritating to such a user.&lt;/p&gt; &lt;p&gt;Typically, such programs appear to break when run with UAC disabled (or set to automatically elevate) - they fail to run, sometimes with bizarre error messages, often just crashing through failure to execute some action that the developers expected would succeed.&lt;/p&gt; &lt;p&gt;Other causes of breakage could be when an application is registered to a user, and the licence information is written to a file in the Program Files folder - when you&amp;#39;re running under UAC&amp;#39;s protection, files in the Program Files folder may be virtualised (i.e. the program thinks it&amp;#39;s accessing the file in the Program Files folder, but it&amp;#39;s really accessing a file in the user&amp;#39;s home directory tree), and when you&amp;#39;re running elevated, those same file accesses are not virtualised.&lt;/p&gt; &lt;p&gt;So, voila, instant loss of licence information, saved settings, or any number of other files that the program expected to find in Program Files.&lt;/p&gt; &lt;h3&gt;&lt;/h3&gt; &lt;h3&gt;What can we learn from this?&lt;/h3&gt; &lt;p&gt;So, the message is clear - for installations with administrators who like the system to let them be administrators, don&amp;#39;t disable UAC, make UAC elevate silently for administrators instead.&lt;/p&gt; &lt;p&gt;This system works, too, for the restricted users. It allows them to operate as restricted users, except when they absolutely know they need to elevate. Over-the-shoulder elevation prompting is still available for them, should they need it.&lt;/p&gt; &lt;h3&gt;What still needs to be fixed?&lt;/h3&gt; &lt;p&gt;What this option doesn&amp;#39;t do is cover what appears to be Microsoft&amp;#39;s reason for creating the elevation prompts in the first place. Without UAC prompting at random points, the administrators in control of a system have no clear sign that they&amp;#39;ve just fired up &amp;quot;Mary Kate and Ashley&amp;#39;s Dance Party of the Century&amp;quot; only to be forced to run it as an administrator.&lt;/p&gt; &lt;p&gt;Even supposing you figure out that there&amp;#39;s a program you&amp;#39;re using which doesn&amp;#39;t adequately run in restricted user mode, or which doesn&amp;#39;t elevate itself where necessary, where can you go to get assistance from the developers of the application?&lt;/p&gt; &lt;p&gt;Call support?&lt;/p&gt; &lt;p&gt;Microsoft&amp;#39;s own support is an example of how off-putting such a process can be. Microsoft Money refused to update on one of our systems, and I eventually determined it was because the update needed to be elevated, but was expecting to find some files that were virtualised by UAC. It failed with a meaningless error message. To call support costs $25 for Microsoft to even pick up the phone - and if the support tech believes that this is an &amp;quot;advanced&amp;quot; issue, he may charge about ten times that much. Perhaps later, after they realise the problem is their own fault, Microsoft will refund you the money - but many small businesses and individual users don&amp;#39;t have that sort of money to loan to Microsoft, or other vendors.&lt;/p&gt; &lt;p&gt;So, is there any good way to persuade developers to quit their bone-headed &amp;quot;start with most privilege&amp;quot; behaviour? Maybe Visual Studio and compilation tools should refuse to run in an administrator session. Okay, so perhaps that&amp;#39;s not tenable, because there are development projects that do require you to be an administrator, because you&amp;#39;re developing something administrative - but what measure would make developers do the right thing for security (and for their users) naturally?&lt;/p&gt; &lt;p&gt;File and registry virtualisation appears to be a messy kludge on top of the sledge-hammer of UAC elevation, whose primary design goal appears to be to irritate end-users enough to persuade developers to stop doing the kind of things that requires virtualisation as a workaround, and the kind of things that requires administrator accounts in the first place.&lt;/p&gt; &lt;p&gt;Perhaps it&amp;#39;s time that, instead of kludging for these bad developers, Microsoft simply said &amp;quot;It stops. Now.&amp;quot; - if it&amp;#39;s not registered (at install time, or by manifest) as an administration tool, it doesn&amp;#39;t get administrative access - or virtualised access to HKLM or Program Files. Yes, that will mean admins will have two links to regedit, and similar tools - one to run in an administrator&amp;#39;s session, giving access to HKLM, another to run in their user&amp;#39;s session, giving access to HKCU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1633852" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/UAC/default.aspx">UAC</category></item><item><title>UAC - The Emperor's New Clothes</title><link>http://msmvps.com/blogs/alunj/archive/2008/04/24/1603407.aspx</link><pubDate>Thu, 24 Apr 2008 23:47:38 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1603407</guid><dc:creator>Alun Jones</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1603407</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1603407</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/04/24/1603407.aspx#comments</comments><description>&lt;p&gt;I heard a complaint the other day about UAC - User Account Control - that was new to me.&lt;/p&gt; &lt;p&gt;Let&amp;#39;s face it, as a Security MVP, I hear a lot of complaints about UAC - not least from my wife, who isn&amp;#39;t happy with the idea that she can be logged on as an administrator, but she isn&amp;#39;t really an administrator until she specifically asks to be an administrator, and then specifically approves her request to become an administrator.&lt;/p&gt; &lt;p&gt;My wife is the kind of user that UAC was not written for. She&amp;#39;s a capable administrator (our home domain has redundant DCs, DHCP servers with non-overlapping scopes, and I could go on and on), and she doesn&amp;#39;t make the sort of mistakes that UAC is supposed to protect users from.&lt;/p&gt; &lt;p&gt;My wife also does not appreciate the sense that Microsoft is using the users as a fulcrum for providing leverage to change developers to writing code for non-admin users. She doesn&amp;#39;t believe that the vendors will change as a result of this, and the only effect will be that users get annoyed.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;But not me.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I like UAC - I think it&amp;#39;s great that developers are finally being forced to think about how their software should work in the world of least privilege. &lt;/p&gt; &lt;p&gt;So, as you can imagine, I thought I&amp;#39;d heard just about every last complaint there is about UAC. But then a new one arrived in my inbox from a friend I&amp;#39;ll call Chris.&lt;/p&gt; &lt;h3&gt;&amp;quot;Why should I pretend to be different people to use my own PC?&amp;quot;&lt;/h3&gt; &lt;p&gt;I must admit, the question stunned me.&lt;/p&gt; &lt;p&gt;Obviously, what Chris is talking about is the idea that you are strongly &amp;quot;encouraged&amp;quot; (or &amp;quot;strong-armed&amp;quot;, if you prefer) by UAC to work in (at least) two different security contexts - the first, your regular user context, and the second, your administrator context.&lt;/p&gt; &lt;p&gt;Chris has a point - you&amp;#39;re one person, you shouldn&amp;#39;t have to pretend to be two. And it&amp;#39;s your computer, it should do what you tell it to. Those two are axiomatic, and I&amp;#39;m not about to argue with them - but it sounds like I should do, if I&amp;#39;m going to answer his question while still loving UAC.&lt;/p&gt; &lt;p&gt;No, I&amp;#39;m going to argue with his basic premise that user accounts correspond to individual people. They correspond more accurately - particularly in UAC - to clothing.&lt;/p&gt; &lt;p&gt;Windows before NT, or more accurately, not based on the NT line, had no separation between user contexts / accounts. Even the logon was a joke - prompted for user name and password, but if you hit Escape instead, you&amp;#39;d be logged on anyway. Windows 9x and ME, then, were the equivalent of being naked.&lt;/p&gt; &lt;p&gt;In Windows NT, and the versions derived from it, user contexts are separated from one another by a software wall, a &amp;quot;Security Boundary&amp;quot;. There were a couple of different levels of user access, the most common distinctions being between a Standard (or &amp;quot;Restricted&amp;quot;) User, a Power User, and an Administrator.&lt;/p&gt; &lt;p&gt;Most people want to be the Administrator. That&amp;#39;s the account with all the power, after all. And if they don&amp;#39;t want to be the Administrator, they&amp;#39;d like to be at least &lt;u&gt;an&lt;/u&gt; administrator. There&amp;#39;s not really much difference between the two, but there&amp;#39;s a lot of difference between them and a Standard User.&lt;/p&gt; &lt;p&gt;Standard Users can&amp;#39;t set the clock back, they can&amp;#39;t clear logs out, they can&amp;#39;t do any number of things that might erase their tracks. Standard Users can&amp;#39;t install software for everyone on the system, they can&amp;#39;t update the operating system or its global settings, and they can&amp;#39;t run the Thomas the Tank Engine Print Studio. [One of those is a problem that needs fixing.]&lt;/p&gt; &lt;p&gt;So, really, a Standard User is much like the driver of a car, and an administrator is rather like the mechanic. I&amp;#39;ve often appealed to a different meme, and suggested that the administrator privilege should be called &amp;quot;janitor&amp;quot;, so as to make it less appealing - it really is all about being given the keys to the boiler room and the trash compactor.&lt;/p&gt; &lt;h3&gt;It&amp;#39;s about wearing dungarees rather than your business suit.&lt;/h3&gt; &lt;p&gt;You wear dungarees when working on the engine of your car, partly because you don&amp;#39;t want oil drops on your white shirt, but also partly so your tie doesn&amp;#39;t get wrapped around the spinning transmission and throttle you. You don&amp;#39;t wear the dungarees to work partly because you&amp;#39;d lose respect for the way you look, but also because you don&amp;#39;t want to spread that oil and grease around the office.&lt;/p&gt; &lt;p&gt;It&amp;#39;s not about pretending to be different people, it&amp;#39;s about wearing clothes suited to the task. An administrator account gives you carte blanche to mess with the system, and should only be used when you&amp;#39;re messing with the system (and under the assumption that you know what you&amp;#39;re doing!); a Standard User account prevents you from doing a lot of things, but the things you&amp;#39;re prevented from doing are basically those things that most users don&amp;#39;t actually have any need to do.&lt;/p&gt; &lt;p&gt;You&amp;#39;re not pretending to be a different person, you&amp;#39;re pretending to be a system administrator, rather than a user. Just like when I pretend to be a mechanic or a gardener, I put on my scungy jeans and stained and torn shirts, and when I pretend to be an employee, I dress a little smarter than that.  &lt;p&gt;When you&amp;#39;re acting as a user, you should have user privileges, and when you&amp;#39;re acting as an administrator, you should have administrative privileges. We&amp;#39;ve gotten so used to wearing our dungarees to the board-room that we think they&amp;#39;re a business suit.  &lt;p&gt;So while UAC prompts to provide a user account aren&amp;#39;t right for my wife (she&amp;#39;s in &amp;#39;dungarees-mode&amp;#39; when it comes to computers), for most users, they&amp;#39;re a way to remind you that you&amp;#39;re about to enter the janitor&amp;#39;s secret domain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1603407" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Things+I+Learned+At+Microsoft/default.aspx">Things I Learned At Microsoft</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>Retro-bundling - another suck of the Apple</title><link>http://msmvps.com/blogs/alunj/archive/2008/03/21/1549816.aspx</link><pubDate>Sat, 22 Mar 2008 04:15:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1549816</guid><dc:creator>Alun Jones</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1549816</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1549816</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/03/21/1549816.aspx#comments</comments><description>&lt;p&gt;I thought I was done blogging about Apple Software Update, having removed QuickTime from my system completely, and sworn never to install it again or watch another QT or MOV file.&lt;/p&gt; &lt;p&gt;But nooo, someone had to spoil it by &lt;a title="Jesper appeals to the EU - tongue firmly in cheek" href="http://msinfluentials.com/blogs/jesper/archive/2008/03/21/help-us-nellie-please-help-us.aspx"&gt;telling me what Apple Software Update did next&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;If you&amp;#39;re unfortunate enough to have QuickTime installed with Apple Software Update, you&amp;#39;ll already have seen it.&lt;/p&gt; &lt;p&gt;&lt;img src="http://msinfluentials.com/blogs/jesper/ApplePushingSafariIllegally.jpg" alt="" /&gt;&lt;/p&gt; &lt;p&gt;Not only is Apple going to offer you iTunes and QuickTime as an &amp;quot;update&amp;quot; (despite you not actually having iTunes installed in the first place), they&amp;#39;re also going to offer you Safari, the feature-light Apple web browser, as an &amp;quot;update&amp;quot; (again, even though you haven&amp;#39;t installed it). And they&amp;#39;re going to check the box, so if you think you&amp;#39;re just updating components you fetched for yourself, you&amp;#39;ll accidentally install this one, too. And they&amp;#39;re going to ask you every boot until you disable the check - and then they&amp;#39;ll just re-enable the prompt next time they have a patched version to release.&lt;/p&gt; &lt;p&gt;What next, &amp;quot;we suggest you update to Bootcamp and Mac OS X, please wait while we install, and don&amp;#39;t mind the reboots&amp;quot;?&lt;/p&gt; &lt;p&gt;Seriously, Apple, this just makes you look seriously unethical. You can&amp;#39;t get people to install Safari legitimately, by enticing them to voluntarily download and install it, so you have to sneak it in by implying it&amp;#39;s an update to QuickTime. What does that say about Safari? You can&amp;#39;t even give it away? You have to foist it on the unwilling?&lt;/p&gt; &lt;p&gt;Grow up.&lt;/p&gt; &lt;p&gt;I suggest we call this behaviour &lt;strong&gt;&lt;em&gt;Retro-Bundling&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Bundling&lt;/strong&gt;, of course, is when you buy a piece of software, or download it for free, and along with it comes Firefox or the Google Toolbar. Irritating, especially if you don&amp;#39;t want them, because half of your time in getting the software down was taken up in downloading something that you&amp;#39;re going to say &amp;quot;no&amp;quot; to. But at least you only have to say no that one time - or when you download the next version.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Retro-Bundling&lt;/strong&gt;, then, would be when, after you already have the software of your choice installed, its manufacturer decides that they&amp;#39;d like to have bundled something else onto your system, so they try to slip it in the back door without you noticing.&lt;/p&gt; &lt;p&gt;I am glad to say, to judge from &lt;a title="Someone whose blog I never visited before." href="http://john.jubjubs.net/2008/03/21/apple-software-update/"&gt;comments at other blogs&lt;/a&gt;, that I&amp;#39;m not the only one that thinks this is utterly reprehensible behaviour. Perhaps this is the way things are done in the Apple world - you just sit happily back as your vendor dumps more and more product into your lap.&lt;/p&gt; &lt;p&gt;Consider this - how would you have reacted, if next time Office for Mac was checking for updates, it came back and offered to update Word, Excel Internet Explorer and Silverlight? Even though you didn&amp;#39;t have those last two on your system. Oh, and they were selected automatically, and the default button press would install them all.&lt;/p&gt; &lt;p&gt;&lt;em&gt;Update: Someone mentioned to me that Microsoft does indeed offer Silverlight on Windows Update to Windows users even if you don&amp;#39;t have Silverlight installed already. That sucks, too. It&amp;#39;s not quite as heavy an application as Safari and iTunes, but it&amp;#39;s still wrong to offer &amp;quot;updates&amp;quot; that consist of an application you don&amp;#39;t have. Actions like this will cause people to stop accepting updates as a regular part of their computing schedule - and that can&amp;#39;t help the health of their computers.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1549816" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/Programmer+Hubris/default.aspx">Programmer Hubris</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>Get Well Scotty McLeod</title><link>http://msmvps.com/blogs/alunj/archive/2008/01/31/1489841.aspx</link><pubDate>Fri, 01 Feb 2008 06:46:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1489841</guid><dc:creator>Alun Jones</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1489841</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1489841</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/01/31/1489841.aspx#comments</comments><description>&lt;p&gt;I could have titled this &amp;quot;adversity shows how small our world truly is&amp;quot;.&lt;/p&gt; &lt;p&gt;I had no idea that so many of my friends, acquaintances, MVPs and Microsoft staff are also friends with Scotty McLeod - until he got hit by a train last week.&lt;/p&gt; &lt;p&gt;He is recovering, and I hope to see him sitting up and arguing the toss with me when I visit the UK in a couple of weeks.&lt;/p&gt; &lt;p&gt;Until then, I&amp;#39;m left amazed at how many familiar names pop up when I search for &amp;quot;Get Well&amp;quot; and &amp;quot;Scotty McLeod&amp;quot;.&lt;/p&gt; &lt;p&gt;Here&amp;#39;s hoping he&amp;#39;s quickly on the mend.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1489841" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>Why you don't run as root</title><link>http://msmvps.com/blogs/alunj/archive/2008/01/11/1457310.aspx</link><pubDate>Sat, 12 Jan 2008 05:03:12 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1457310</guid><dc:creator>Alun Jones</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1457310</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1457310</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/01/11/1457310.aspx#comments</comments><description>&lt;p&gt;[... or administrator, or whatever]&lt;/p&gt; &lt;p&gt;I like Roger Grimes, he&amp;#39;s a nice guy, and he generally makes me think about what he has to say. That&amp;#39;s a good thing, because otherwise he&amp;#39;d either be part of the same choir as me, or he&amp;#39;d be the sort of guy whose ideas I dismiss with a wave of the paw and a barely audible &amp;quot;Pah.&amp;quot;&lt;/p&gt; &lt;p&gt;Today, though, I think he&amp;#39;s missing something fundamental - and perhaps you are too.&lt;/p&gt; &lt;p&gt;He writes in the &lt;a title="InfoWorld Security Adviser - Why UAC will not work." href="http://www.infoworld.com/article/08/01/11/02OPsecadvise-user-account-control_1.html"&gt;InfoWorld Security Adviser column that &amp;quot;UAC will not work&amp;quot;&lt;/a&gt;, on the simple basis that malware can still do all the things it wants to do without having to execute under a privileged account.&lt;/p&gt; &lt;p&gt;That&amp;#39;s true, and it always will be - the day that a computer can see my attempt to &amp;quot;delete the Johnson account, and forward that instruction to the following addresses&amp;quot;, and determine whether it&amp;#39;s malicious or appropriate, is the day when the computer can do the whole job for me, by simply choosing all possible actions and seeing which are malicious and which are appropriate.&lt;/p&gt; &lt;p&gt;However, what I can rely on, if the malware has been held out of privileged accounts, is the integrity of the system, and (unless they were prone to activating the same malware) the other users on that system. [By system, I may mean one machine or several networked together to perform a function.]&lt;/p&gt; &lt;p&gt;So while it&amp;#39;s true that the old cross-platform virus &amp;quot;forward this message to everyone in your address book, then delete all your data&amp;quot; is still going to function if the user stays out of administrator roles, at least the operation of the system can be restored, as well as whatever data has been backed up.&lt;/p&gt; &lt;p&gt;You don&amp;#39;t run as a restricted user to prevent viruses from happening - you run as a restricted user to prevent viruses from happening to the people and systems with whom you work. You run as a restricted user, so that when some system falls over, you can say &amp;quot;it couldn&amp;#39;t possibly have been me&amp;quot;. You run as a restricted user because if there is a bug in the program you run, its effects will be limited to only that portion of the OS and its data to which you are restricted.&lt;/p&gt; &lt;p&gt;Sure, least privilege is somewhat of an artificial construct - but the alternative is that users get more privileges than they need. That quickly boils down to &amp;quot;everyone can do anything&amp;quot;.&lt;/p&gt; &lt;p&gt;I&amp;#39;ve been on that kind of a network before, and when we found one guy&amp;#39;s stash of truly offensive porn (this wasn&amp;#39;t the occasional Rubens painting) on the server, we had no way of finding out who it was, let alone punishing them by firing them. The company I worked for was fortunate that whoever found it didn&amp;#39;t sue for fostering the creation of a hostile workplace.&lt;/p&gt; &lt;p&gt;So, no, UAC won&amp;#39;t stop malware - but then that&amp;#39;s not its purpose. It&amp;#39;s purely a beneficial, incidental, and temporary side-effect that it will stop much of today&amp;#39;s malware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1457310" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Things+I+Learned+At+Microsoft/default.aspx">Things I Learned At Microsoft</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/UAC/default.aspx">UAC</category></item><item><title>How broken is the banking system?</title><link>http://msmvps.com/blogs/alunj/archive/2008/01/07/1445985.aspx</link><pubDate>Tue, 08 Jan 2008 05:22:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1445985</guid><dc:creator>Alun Jones</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1445985</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1445985</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2008/01/07/1445985.aspx#comments</comments><description>&lt;p&gt;&lt;img style="margin:0px 10px 0px 0px;" height="152" alt="Jeremy Clarkson - we should all have his simple naivete and faith in the system" hspace="0" src="http://newsimg.bbc.co.uk/media/images/44339000/jpg/_44339792_clarkson_bodypa203.jpg" width="203" align="left" border="0" /&gt;My kid and I love watching &lt;a title="Top Gear - hosted by William Woolard, Angela Rippon and Noel Edmonds" href="http://www.bbc.co.uk/topgear/"&gt;Top Gear&lt;/a&gt; - me, because it&amp;#39;s nice to see him interested in a very traditional British TV programme (in the US, you can find it on BBC America), and him, because he just loves cars - particularly high-performance ones.&lt;/p&gt; &lt;p&gt;So I have to admit to having a little chuckle as I find what&amp;#39;s been going on in the life of its host, Jeremy Clarkson.&lt;/p&gt; &lt;p&gt;Well, in the wake of the recent loss of 25 million child benefit case records by the UK Government&amp;#39;s HMRC (tax and customs) department... what, you didn&amp;#39;t hear about it?&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Okay, I&amp;#39;ll admit, I didn&amp;#39;t report on it, because I figured the world and his wife had already heard all there was to hear on the story. Cut to the chase - someone at the HMRC received a call from someone at the NAO (National Audit Office), asking for some records. Rather than asking if they were supposed to be handing those records over, or if the NAO actually had any rights to receive the records, the &amp;quot;junior official&amp;quot; involved sent a couple of disks ... in internal mail (which turned out not to be so internal, having been contracted out to a courier) to the NAO.&lt;/p&gt; &lt;p&gt;The NAO called back after a few days, asking where their data was.&lt;/p&gt; &lt;p&gt;The junior official sent another copy!&lt;/p&gt; &lt;p&gt;At this point, somebody told someone, and a big stink got raised that there was all this data out there - 25 million records, 7.5 million families, containing names, addresses, bank account numbers, national insurance numbers (NI numbers - that&amp;#39;s our equivalent of Social Security Numbers or SSNs).&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Okay, so in the wake of all this, lad Jeremy decides he&amp;#39;s fed up of all the press coverage of the waste of time investigation into the whole loss of two miserable little CDs.&lt;/p&gt; &lt;p&gt;He declares, in one of the UK national newspapers (the one with semi-naked women on one of its inside pages), that it&amp;#39;s all a load of fuss over nothing - even goes so far as to call it a &amp;quot;palaver&amp;quot; (which is not, apparently, a knitted garment - that would be either a pullover, or a balaclava).&lt;/p&gt; &lt;p&gt;Mr C even goes so far as to publish his own bank account number. With sort code (aka bank routing number, to those of us in the USA).&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&amp;quot;All you&amp;#39;ll be able to do with them is put money into my account. Not take it out. Honestly, I&amp;#39;ve never known such a palaver about nothing,&amp;quot;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;See - I told you he called it a palaver.&lt;/p&gt; &lt;p&gt;Sadly, as the BBC (don&amp;#39;t they broadcast Top Gear, or something?) reports, &amp;quot;&lt;a title="Clarkson stung after bank prank - BBC News" href="http://news.bbc.co.uk/2/hi/entertainment/7174760.stm"&gt;Clarkson stung after bank prank&lt;/a&gt;&amp;quot;. I guess we couldn&amp;#39;t predict that.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&amp;quot;I opened my bank statement this morning to find out that someone has set up a direct debit which automatically takes £500 from my account,&amp;quot;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;After explaining to some disbelieving friends how this could have happened, I realised that not everyone has had the chance to run their own business, and see what a mess the banking system is. We all assume that the banks have our best interests at heart, and operate securely in ways that ensure we can&amp;#39;t lose a penny.&lt;/p&gt; &lt;p&gt;Not really, no. They work (mostly) on the basis that it&amp;#39;s cheaper to refund your money if you notice a problem and complain, than it would be to fix the problem in the first place.&lt;/p&gt; &lt;p&gt;Here&amp;#39;s a &lt;a title="APACS - the UK payments association - direct debit FAQ" href="http://www.apacs.org.uk/resources_publications/faqs/bacs_9.html"&gt;simple explanation of how &amp;quot;direct debit&amp;quot;&lt;/a&gt; (in the US, &amp;quot;automated payment&amp;quot;) works:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Most commonly you would complete a written Direct Debit Instruction, obtained from the organisation you wish to pay and return it to them for onward transmission to your bank. Some direct debits may be set up over the phone or via the Internet. In these cases the organisation must subsequently write to you confirming what has been agreed.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;So, the receiving organisation claims to the bank that someone claiming to be the account holder requested them to withdraw money from the account.&lt;/p&gt; &lt;p&gt;Note &amp;quot;claims&amp;quot;, because there&amp;#39;s no proof at that stage.&lt;/p&gt; &lt;p&gt;It&amp;#39;s not even as workable as &amp;quot;you write to the bank requesting they allow a direct debit from your account&amp;quot; - the bank has no opportunity to interact with the customer except by sending them their next bank statement!&lt;/p&gt; &lt;p&gt;That&amp;#39;s broken - but then again, I&amp;#39;ve written before about how broken the credit card system for web purchases is. Again, the actual issuing bank, the one with whom you have a relationship, and who could validate your identity, is kept out of the transaction until it&amp;#39;s already finished.&lt;/p&gt; &lt;p&gt;What would be super is if a celerity like Jerembly Clarkson would start a campaign to have the banks be required to all team up and do a properly secure set of protocols for credit card and payment authorisations. Then merchants like me wouldn&amp;#39;t whine about repeated charge-backs that we can&amp;#39;t actually refute, and people like him, ignorant about the truth of the banking industry&amp;#39;s inability to secure the very money they are entrusted with, wouldn&amp;#39;t go handing out money willy-nilly to random charities just to prove that his trust is woefully misplaced.&lt;/p&gt; &lt;p&gt;I just don&amp;#39;t think it&amp;#39;ll happen.&lt;/p&gt; &lt;p&gt;I hope there was only £500 in the account, and that Mr Clarkson has already closed that account, and opened one whose number he will keep secret, sharing only with the bank, the company that prints his cheques, everyone he ever pays by cheque... now there&amp;#39;s another broken system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1445985" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Credit+Cards/default.aspx">Credit Cards</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item><item><title>Removing Apple Mobile Device Support</title><link>http://msmvps.com/blogs/alunj/archive/2007/12/17/1402585.aspx</link><pubDate>Tue, 18 Dec 2007 01:38:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1402585</guid><dc:creator>Alun Jones</dc:creator><slash:comments>83</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/rsscomments.aspx?PostID=1402585</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/alunj/commentapi.aspx?PostID=1402585</wfw:comment><comments>http://msmvps.com/blogs/alunj/archive/2007/12/17/1402585.aspx#comments</comments><description>&lt;p&gt;As mentioned before, I&amp;#39;m not a fan of &lt;a href="http://www.apple.com"&gt;Appple&lt;/a&gt;&amp;#39;s, particularly because they tend to impose crap on me that I&amp;#39;m not interested in having.&lt;/p&gt; &lt;p&gt;I&amp;#39;ve been trying to figure out how to remove &lt;a href="http://www.apple.com/support/itunes"&gt;iTunes&lt;/a&gt;, iPod and Aple Mobile Device Support on and off now for the past month, since it was accidentally installed while trying to update to the latest safe version of &lt;a href="http://www.apple.com/quicktime"&gt;QuickTime&lt;/a&gt; (which has since been patched again, and is therefore no longer the safe version of &lt;a href="http://www.apple.com/quicktime"&gt;QuickTime&lt;/a&gt; - another reason why I wanted to revert to my original state before this month&amp;#39;s update). I am, of course, using Windows Vista, so there&amp;#39;s a good chance that &lt;a href="http://www.apple.com"&gt;Apple&lt;/a&gt;&amp;#39;s technology hasn&amp;#39;t caught up with Vista.&lt;/p&gt; &lt;p&gt;iTunes and the iPod service seemed to go easily enough - Control Panel -&amp;gt; Programs and Features -&amp;gt; Select iTunes, and then press Uninstall.&lt;/p&gt; &lt;p&gt;I&amp;#39;m left, though, with the &amp;quot;Apple Mobile Device Support&amp;quot;, which is particularly insulting because I don&amp;#39;t have any Apple Mobile Devices, so there&amp;#39;s no reason why it should have ever installed in the first place.&lt;/p&gt; &lt;p&gt;Every time I tried to Uninstall, it would prompt me for elevation, and then apparently uninstall, although there&amp;#39;s no final dialog to say &amp;quot;Uninstalled - OK&amp;quot;.&lt;/p&gt; &lt;p&gt;But the icon and program name are still there in &amp;quot;Programs and Features&amp;quot;, and the service itself is still present.&lt;/p&gt; &lt;p&gt;I eventually spend a while watching the uninstall procedure, boring as it is to watch a progress bar that reads &amp;quot;11 seconds remaining&amp;quot; then &amp;quot;14 seconds remaining&amp;quot;, etc, as progress bars tend to do.&lt;/p&gt; &lt;p&gt;But then the progress bar does something magical - it goes backwards, and when it reaches zero, the uninstall program just quits.&lt;/p&gt; &lt;p&gt;Surprisingly enough, this is &lt;u&gt;good&lt;/u&gt; news. It means that rather than the uninstall procedure hitting a random crash and bombing out, it detected an error.&lt;/p&gt; &lt;p&gt;Running EventVwr, I see:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Windows Installer removed the product. Product Name: Apple Mobile Device Support. Product Version: 1.1.2.23. Product Language: 1033. Removal success or error status: 1603.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Well, no, Windows Installer didn&amp;#39;t remove the product. To find out what error 1603 means, we can quickly run &amp;quot;net helpmsg 1603&amp;quot;, to find that it means:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;C:\Program Files&amp;gt;net helpmsg 1603  &lt;p&gt;Fatal error during installation.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Great. That, we already knew. So, it&amp;#39;s a generic failure message.&lt;/p&gt; &lt;p&gt;Searching around, I find first, that error 1603 occurs in so many other applications, and with so many causes, that it&amp;#39;s not going to help me much.&lt;/p&gt; &lt;p&gt;Apple&amp;#39;s support is no help - searching for &amp;quot;uninstall apple mobile device support&amp;quot; gives nothing helpful:&lt;/p&gt; &lt;p&gt;&lt;a href="http://msmvps.com/blogs/alunj/WindowsLiveWriter/RemovingAppleMobileDeviceSupport_A004/image_2.png"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="195" alt="image" src="http://msmvps.com/blogs/alunj/WindowsLiveWriter/RemovingAppleMobileDeviceSupport_A004/image_thumb.png" width="335" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;which is surprising since there is this page:&lt;/p&gt; &lt;p&gt;&lt;a title="Removing iTunes, QuickTime, and other software components for Windows XP" href="http://docs.info.apple.com/article.html?artnum=93698"&gt;Removing iTunes, QuickTime, and other software components for Windows XP&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a title="Removing iTunes, QuickTime, and other software components for Windows Vista" href="http://docs.info.apple.com/article.html?artnum=305409"&gt;Removing iTunes, QuickTime, and other software components for Windows Vista&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I&amp;#39;m not sure I trust anything that tells me &amp;quot;run the uninstall program, and then go ahead and delete some of the directories it left around, but be careful not to delete other directories it left&amp;quot; - I&amp;#39;m paraphrasing here.&lt;/p&gt; &lt;p&gt;I&amp;#39;ll save Windows Installer logging for later, because quite by chance, I found out how to remove Apple Mobile Device Support from Windows Vista.&lt;/p&gt; &lt;p&gt;Instead of clicking &amp;quot;Uninstall&amp;quot;, click &amp;quot;Change&amp;quot;. You&amp;#39;re given the option to &amp;quot;Repair&amp;quot; or &amp;quot;Remove&amp;quot;.&lt;/p&gt; &lt;p&gt;Click &amp;quot;Remove&amp;quot;.&lt;/p&gt; &lt;p&gt;As counter-intuitive as it sounds, this appears to take you through a completely different uninstall procedure, which actually results in the removal of the Apple Mobile Device Support.&lt;/p&gt; &lt;p&gt;After all of this, of course, Apple&amp;#39;s Software Update once again pops up and begs me to update to QuickTime and iTunes + QuickTime.&lt;/p&gt; &lt;p&gt;&lt;a href="http://msmvps.com/blogs/alunj/WindowsLiveWriter/RemovingAppleMobileDeviceSupport_A004/image_4.png"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="564" alt="image" src="http://msmvps.com/blogs/alunj/WindowsLiveWriter/RemovingAppleMobileDeviceSupport_A004/image_thumb_1.png" width="440" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;And when iTunes + QuickTime is apparently a couple of versions ahead of QuickTime, and is selected by default, how many users are going to find themselves deceived into installing an unwanted iTunes?&lt;/p&gt; &lt;p&gt;Come on, Apple, an update takes existing software and advances it. Adding extra, unwanted, software isn&amp;#39;t part of the update. Stop offering iTunes + QuickTime as an &amp;quot;update&amp;quot; to QuickTime. Even if you think iTunes is a good thing, it&amp;#39;s not an &amp;quot;update&amp;quot;, it&amp;#39;s an &amp;quot;upgrade&amp;quot;, and should not be selected by default, nor should it be described as an update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1402585" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/alunj/archive/tags/General+Security/default.aspx">General Security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Programmer+Hubris/default.aspx">Programmer Hubris</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/Miscellany+-+not+security/default.aspx">Miscellany - not security</category><category domain="http://msmvps.com/blogs/alunj/archive/tags/What+my+wife+knows/default.aspx">What my wife knows</category></item></channel></rss>