<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>InfoSec &#38; Other Ramblings</title>
	<atom:link href="http://www.ryangreenier.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryangreenier.org/blog</link>
	<description>http://www.ryangreenier.org</description>
	<pubDate>Tue, 04 Nov 2008 22:01:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Protect Your PHP Includes</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/11/04/protect-your-php-includes/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/11/04/protect-your-php-includes/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 22:01:42 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Infosec]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Scripts]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[protect]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=81</guid>
		<description><![CDATA[Line 1: &#60;?php
Line 2: if ($_SERVER['REQUEST_URI'] == $_SERVER['PHP_SELF'])
Line 3: exit();

]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: small; font-family: Lucida Sans Unicode;"><span style="font-size: 10pt;">Line 1</span></span><span style="font-size: x-small; font-family: Lucida Sans Unicode; color: navy;"><span style="font-size: 10pt; color: navy;">: </span></span><strong><span style="font-family: Courier New; color: red;"><span style="font-weight: bold; color: red;">&lt;?php</span></span></strong><strong><span style="font-family: Courier New; color: navy;"><span style="font-weight: bold; color: navy;"><br />
</span></span></strong>Line 2: <span style="font-family: Courier New; color: blue;"><span style="color: blue;">if (</span></span><span style="font-family: Courier New; color: #00ccff;"><span style="color: #00ccff;">$_SERVER</span></span><span style="font-family: Courier New;"><span>[<span style="color: red;"><span style="color: red;">'REQUEST_URI'</span></span>] <span style="color: blue;"><span style="color: blue;">==</span></span> <span style="color: #00ccff;"><span style="color: #00ccff;">$_SERVER</span></span>[<span style="color: red;"><span style="color: red;">'PHP_SELF'</span></span>]<span style="color: blue;"><span style="color: blue;">)</span></span></span></span><br />
Line 3<span style="color: navy;"><span style="color: navy;">:</span></span> <span style="font-family: Courier New; color: blue;"><span style="color: blue;">exit()</span></span><span style="font-family: Courier New;"><span>;<br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/11/04/protect-your-php-includes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Default Installations</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/10/24/default-installations/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/10/24/default-installations/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 19:19:34 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Infosec]]></category>

		<category><![CDATA[default installations]]></category>

		<category><![CDATA[phishing]]></category>

		<category><![CDATA[sever security]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=74</guid>
		<description><![CDATA[What is it with people leaving default installations public facing? They must think I don&#8217;t have enough work to do. Inevitably, the server is compromised and used to host phishing attacks against clients of my employer.
Default Apache Install:

Plus PHPInfo page:

Equals phishing attack.

Nice equation.
]]></description>
			<content:encoded><![CDATA[<p>What is it with people leaving default installations public facing? They must think I don&#8217;t have enough work to do. Inevitably, the server is compromised and used to host phishing attacks against clients of my employer.</p>
<p>Default Apache Install:</p>
<p><a href="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/02.jpg"><img class="alignnone size-medium wp-image-75" title="apache-default" src="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/02-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>Plus PHPInfo page:</p>
<p><a href="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/04.jpg"><img class="alignnone size-medium wp-image-79" title="phpinfo01" src="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/04-300x230.jpg" alt="" width="300" height="230" /></a></p>
<p>Equals phishing attack.</p>
<p><a href="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/01.jpg"><img class="alignnone size-medium wp-image-77" title="phishing-attacks" src="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/01-300x196.jpg" alt="" width="300" height="196" /></a></p>
<p>Nice equation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/10/24/default-installations/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Account Lockout in Linux - PAM Tally</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/10/09/account-lockout-in-linux-pam-tally/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/10/09/account-lockout-in-linux-pam-tally/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 22:43:16 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Infosec]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[modules]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=70</guid>
		<description><![CDATA[Some pretty basic functions are missing from most of the *-nix systems by default. One of these is account lockout. In comes PAM Tally (pam_tally.so). This module maintains a count of attempted accesses, can reset count on success, and can deny access if too many attempts fail in succession.
pam_tally comes in two parts: pam_tally.so and [...]]]></description>
			<content:encoded><![CDATA[<p>Some pretty basic functions are missing from most of the *-nix systems by default. One of these is account lockout. In comes PAM Tally (pam_tally.so). This module maintains a count of attempted accesses, can reset count on success, and can deny access if too many attempts fail in succession.</p>
<p>pam_tally comes in two parts: pam_tally.so and pam_tally. The first is the PAM module and the second is a stand-alone program. pam_tally is an (optional) application which can be used to query and/or modify the count file (such as display users&#8217; counts, set individual counts, or clear all counts).</p>
<p>A pretty nice walk-through can be found <a href="http://fedoranews.org/contributors/sonny_nguyen/pam/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/10/09/account-lockout-in-linux-pam-tally/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Squid Log Parsing</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/10/08/squid-log-parsing/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/10/08/squid-log-parsing/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 16:07:49 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Perl]]></category>

		<category><![CDATA[Scripts]]></category>

		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=64</guid>
		<description><![CDATA[The squid access.log file is useful for determing where your users are going when using http/80. These log files are generally rotated daily and each contain a LOT of data. In my organization, this is in the realm of 2 GB per day. So how do you find what you are looking for? I use [...]]]></description>
			<content:encoded><![CDATA[<p>The squid access.log file is useful for determing where your users are going when using http/80. These log files are generally rotated daily and each contain a LOT of data. In my organization, this is in the realm of 2 GB per day. So how do you find what you are looking for? I use a couple different things in combination. The first is a custom perl script that takes the <a href="http://www.w3.org/Daemon/User/Config/Logging.html#common-logfile-format" target="_blank">common log format</a> and parses out the timestamp to a human-readable date (by either piping data to it, for reading-in a file).</p>

<div class="wp_syntax"><div class="code"><pre class="perl perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Usage: grep something /var/log/squid/access.log | squidtimes.pl</span>
<span style="color: #666666; font-style: italic;"># Usage: squidtimes.pl /some/file/path</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span>0<span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">ne</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>LOG<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;$ARGV[0]&quot;</span> <span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;Cannot open log: $!&quot;</span>;
&nbsp;
        <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span> LOG <span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">$_</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">/^(\d{10})\.(.*)/</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                        <span style="color: #0000ff;">$realtime</span> <span style="color: #339933;">=</span> <span style="color: #000066;">scalar</span> <span style="color: #000066;">localtime</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">$1</span> <span style="color: #009900;">&#41;</span>;
                        <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;$realtime<span style="color: #000099; font-weight: bold;">\t</span> $2&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
                <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066;">close</span> LOG;
&nbsp;
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">$_</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">/^(\d{10})\.(.*)/</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                        <span style="color: #0000ff;">$realtime</span> <span style="color: #339933;">=</span> <span style="color: #000066;">scalar</span> <span style="color: #000066;">localtime</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">$1</span> <span style="color: #009900;">&#41;</span>;
                        <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;$realtime<span style="color: #000099; font-weight: bold;">\t</span> $2&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
                <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>From there, we use a combination of bash programming, the script above, and awk to give us the data we&#8217;re looking for.</p>
<blockquote><p>user@squid:~>; for ((i=30;i>1;i&#8211;));do sudo zgrep -e &#8216;192\.168\.11\.60&#8242; /var/log/squid/access.log.$i.gz | /usr/local/scripts/squidtimes.pl | awk &#8216;{print $1,$2,$3,$4,$8,$9,$11,$12 }&#8217; >> results.log;done</p>
<p>user@squid:~>; head -1 results.log<br />
Tue Sep 2 07:22:32 192.168.11.60 TCP_IMS_HIT/304 GET http://workforceportal.elabor.com/ezLaborManagerNetRedirect/images/spacer.gif</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/10/08/squid-log-parsing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Oops&#8230; Bring out the backup.</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/10/08/oops-bring-out-the-backup/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/10/08/oops-bring-out-the-backup/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 15:40:51 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Infosec]]></category>

		<category><![CDATA[permissions]]></category>

		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=61</guid>
		<description><![CDATA[On a recent post to a mailing list I subscribe to, a user indicated that they made an inadvertent blunder to a Linux machine they operated (they were an RHCE to boot). The email was as follows:

There are some things you can do like rpm -qlv &#60;name_of_package&#62; but you&#8217;re going to be troubleshooting broken items [...]]]></description>
			<content:encoded><![CDATA[<p>On a recent post to a mailing list I subscribe to, a user indicated that they made an inadvertent blunder to a Linux machine they operated (they were an RHCE to boot). The email was as follows:</p>
<p><a href="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/oops.jpg"><img class="alignnone size-full wp-image-62" title="oops-redhat" src="http://www.ryangreenier.org/blog/wp-content/uploads/2008/10/oops.jpg" alt="" width="464" height="433" /></a></p>
<p>There are some things you can do like rpm -qlv &lt;name_of_package&gt; but you&#8217;re going to be troubleshooting broken items for a while - not to mention you can throw your security right out the window. What if said user was the Apache user or named user for example&#8230; Reinstall time :o)</p>
<p>Some things to remember:<br />
- Anonymous root logins are very bad. There&#8217;s no audit trail, no accountability, and may allow an exhaustive list of guessing attacks.<br />
- Under normal circumstances, log in as an assigned user (without root privs) and use &#8217;sudo&#8217; when you need root level access.<br />
- Never allow the root user to connect via SSH (or over the network for that matter); but do allow via local terminal/console.<br />
- Always use &#8217;sudo&#8217; with extreme care, because it&#8217;s not going to ask you if you&#8217;re sure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/10/08/oops-bring-out-the-backup/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CISSP Begins&#8230;</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/09/05/cissp-begins/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/09/05/cissp-begins/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 19:09:05 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Infosec]]></category>

		<category><![CDATA[certification]]></category>

		<category><![CDATA[cissp]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=57</guid>
		<description><![CDATA[Welp, I signed up for CISSP training which starts on October 13th (company is paying). I don&#8217;t really have an idea of a cert test date yet. I&#8217;m thinking late winter-spring, but I should have a better idea after training completes. I&#8217;m looking forward to it either way. An employee where I work (not in [...]]]></description>
			<content:encoded><![CDATA[<p>Welp, I signed up for CISSP training which starts on October 13th (company is paying). I don&#8217;t really have an idea of a cert test date yet. I&#8217;m thinking late winter-spring, but I should have a better idea after training completes. I&#8217;m looking forward to it either way. An employee where I work (not in security group) took the class and said it wasn&#8217;t a big deal, but he also said he wasn&#8217;t going to take the test. When asked why he said he didn&#8217;t have the money&#8230; well from what I read, you make that back and then some&#8230; at least that&#8217;s what I&#8217;ve found with my previous certs&#8230; which are less &#8217;sexy&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/09/05/cissp-begins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Outlook Organization</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/08/26/outlook-organization/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/08/26/outlook-organization/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 14:14:12 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[mail]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=55</guid>
		<description><![CDATA[It was brought to my attention that xobni was getting rave reviews, so I figured I&#8217;d give it a chance. I&#8217;ve been using Google Desktop. I keep almost everything (except alerts), so my PST file in Outlook (well, the combination of quarter year PST&#8217;s) is around 14GB currently. I&#8217;ll put any software to the test. [...]]]></description>
			<content:encoded><![CDATA[<p>It was brought to my attention that xobni was getting rave reviews, so I figured I&#8217;d give it a chance. I&#8217;ve been using Google Desktop. I keep almost everything (except alerts), so my PST file in Outlook (well, the combination of quarter year PST&#8217;s) is around 14GB currently. I&#8217;ll put any software to the test. So I downloaded xobni and gave it shot. Not only did it index about 200% faster than Google Desktop, it also searches faster and provides more relevant information.</p>
<p>For example: a user just sent an email, as soon as I highlight the message to view it in the preview pane, it updates the right-hand xobni toolbar to show her connections on linkedin, past conversations I&#8217;ve had with her, files we&#8217;ve exchanged, how many times she&#8217;s emailed me, and how many times I&#8217;ve emailed her. It also shows a summary/approximation of the times of day that are best for her to communicate via email. And when searching, it shows all people and mail that match your searching criteria&#8230; when you click on a person that matches your criteria, it shows all conversations you had with them&#8230; or you can just do like google desktop and get an individual message. Right from that search screen, you can reply/reply to all, forward, open, etc.</p>
<p>I still need to give it more time, but so far this is good stuff.</p>
<p><a href="http://www.xobni.com/">http://www.xobni.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/08/26/outlook-organization/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Motorcycle Helmet Laws</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/08/22/motorcycle-helmet-laws/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/08/22/motorcycle-helmet-laws/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 17:55:30 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[motorcycles]]></category>

		<category><![CDATA[personal security]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=52</guid>
		<description><![CDATA[Getting away a little bit from computer security rants and into personal security for a moment. Mostly because it hits me close to home. As some of you know (basically anyone that reads my about page), I like to ride motorcycles. Never do I wear my helmet. I think it sucks. But at the end [...]]]></description>
			<content:encoded><![CDATA[<p>Getting away a little bit from computer security rants and into personal security for a moment. Mostly because it hits me close to home. As some of you know (basically anyone that reads my about page), I like to ride motorcycles. Never do I wear my helmet. I think it sucks. But at the end of the day, it is my choice&#8230; at least in Connecticut&#8230; for now&#8230; the local government is trying to change that like a bunch of other states have in the past.</p>
<p>Let me ask you this: who is the government to tell me what I can and can&#8217;t do when it doesn&#8217;t affect anyone else? Part of being free is having the liberty to live your life as you see fit so as long as it does not adversely affect anybody else. Simple as that. If I do not wear my helmet and I get into an accident, the reprocussions are my resposibility. The government&#8217;s job is not to protect people from themselves. If it was in the constitution to protect people from themselves, we wouldn&#8217;t be a &#8220;free&#8221; country and everyone would have to be locked up and told what to do 24/7 (dictatorship anyone?).</p>
<p>This is the same with seat belts. Regardless if I wear my seat belt in my car, or my helmet on my bike, I am not adversely affecting anybody else should I choose to wear them. Some would argue &#8216;well you can&#8217;t control if somebody hits you&#8217;. And? If they hit me, it is the same principle - it does not adversely affect them anymore than it would have if I was wearing them. It affects me and it is my choice. Then the argument is &#8216;well if they hit you and you&#8217;re not wearing said protective measures and they kill you, they will go to jail for vehicular/involuntary manslaughter&#8217;. Again I say - and? What you are in a sense saying is that my liberties have to be sacrificed in order to protect someone else from having their liberties taken away for an action they committed. My liberties have to sacrificed to protect theirs? Seriously, does that make any sense to you?</p>
<p>Again I say - the government should not be in the business of protecting people from themselves. You can throw numbers at me all day long on how it saves lives (and I&#8217;ll liekly agree that it does); but at the end of the day I will tell you to <em>give me liberty or give me death</em>[1].</p>
<p>[1] - Patrick Henry, <a href="http://en.wikipedia.org/wiki/Give_me_liberty_or_give_me_death">http://en.wikipedia.org/wiki/Give_me_liberty_or_give_me_death</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/08/22/motorcycle-helmet-laws/feed/</wfw:commentRss>
		</item>
		<item>
		<title>America needs more people like this asap</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/08/13/america-needs-more-people-like-this-asap/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/08/13/america-needs-more-people-like-this-asap/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 02:23:48 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=51</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/4SoxTEn833I&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/4SoxTEn833I&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/kqXl44Kp8vo&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/kqXl44Kp8vo&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/08/13/america-needs-more-people-like-this-asap/feed/</wfw:commentRss>
		</item>
		<item>
		<title>American Musical - What you should not do.</title>
		<link>http://www.ryangreenier.org/blog/posts/2008/07/08/american-musical-what-you-should-not-do/</link>
		<comments>http://www.ryangreenier.org/blog/posts/2008/07/08/american-musical-what-you-should-not-do/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 20:04:58 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[Infosec]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[passwords]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.ryangreenier.org/blog/?p=46</guid>
		<description><![CDATA[I was perusing www.americanmusical.com the past couple days looking for a new instrument as I have done many times in the past. AMS is top-notch when it comes to customer support, shipping, quality, price, the whole nine yards. However when I tried to log in I realized I forgot my password. To my dismay, they [...]]]></description>
			<content:encoded><![CDATA[<p>I was perusing www.americanmusical.com the past couple days looking for a new instrument as I have done many times in the past. AMS is top-notch when it comes to customer support, shipping, quality, price, the whole nine yards. However when I tried to log in I realized I forgot my password. To my dismay, they knew it- how convenient.</p>
<p><a href="http://www.ryangreenier.org/blog/wp-content/uploads/2008/07/ams-wtf-01.jpg"><img class="alignnone size-medium wp-image-47" title="ams-wtf-01" src="http://www.ryangreenier.org/blog/wp-content/uploads/2008/07/ams-wtf-01-300x156.jpg" alt="" width="300" height="156" /></a></p>
<p>&#8220;An email containing the password will be sent out shortly&#8221;&#8230; that says it all now doesn&#8217;t it. Guys, are you kidding me? Sure enough:</p>
<p><a href="http://www.ryangreenier.org/blog/wp-content/uploads/2008/07/ams-wtf-02.jpg"><img class="alignnone size-medium wp-image-48" title="ams-wtf-02" src="http://www.ryangreenier.org/blog/wp-content/uploads/2008/07/ams-wtf-02-300x142.jpg" alt="" width="300" height="142" /></a></p>
<p>There&#8217;s my password in an unencrypted email.</p>
<p>Now luckily there isn&#8217;t anything too important in there (like banking information and such), but someone would be able to get all of my order history, contact information, etc. That&#8217;s somewhat of a privacy concern to me.</p>
<p>Always save a hashed version of the password. This fixes two things: there&#8217;s only one person that should know what it is - the user. If they forget it then they need to reset it. Second, when emailing the user, they get emailed a temporary link used to reset their password to something of their liking. There is nothing of use in the email going forward.</p>
<p>This explains their perception on passwords completely:</p>
<p><a href="http://www.ryangreenier.org/blog/wp-content/uploads/2008/07/ams-wtf-03.jpg"><img class="alignnone size-medium wp-image-49" title="ams-wtf-03" src="http://www.ryangreenier.org/blog/wp-content/uploads/2008/07/ams-wtf-03-300x63.jpg" alt="" width="300" height="63" /></a></p>
<p>Sorry guys, I love ya, but this is rediculous.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryangreenier.org/blog/posts/2008/07/08/american-musical-what-you-should-not-do/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
