<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-6927930273522247223.post2984117925665142792..comments</id><updated>2011-12-04T20:51:25.453-08:00</updated><title type='text'>Comments on TorrentFries: Botbusting</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://torrentfries.blogspot.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default'/><link rel='alternate' type='text/html' href='http://torrentfries.blogspot.com/2008/10/botbusting.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>CurlyFries</name><uri>http://www.blogger.com/profile/12360893120629347046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6927930273522247223.post-836000263838468423</id><published>2008-10-25T23:05:00.000-07:00</published><updated>2008-10-25T23:05:00.000-07:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/836000263838468423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/836000263838468423'/><author><name>Robin</name><uri>http://www.blogger.com/profile/15367277279623975538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://torrentfries.blogspot.com/2008/10/botbusting.html' ref='tag:blogger.com,1999:blog-6927930273522247223.post-2984117925665142792' source='http://www.blogger.com/feeds/6927930273522247223/posts/default/2984117925665142792' type='text/html'/><gd:extendedProperty name='blogger.contentRemoved' value='true'/><gd:extendedProperty name="blogger.itemClass" value="pid-554744335"/><gd:extendedProperty name="blogger.displayTime" value="October 25, 2008 at 11:05 PM"/></entry><entry><id>tag:blogger.com,1999:blog-6927930273522247223.post-4115597829300162505</id><published>2008-10-25T16:53:00.000-07:00</published><updated>2008-10-25T16:53:00.000-07:00</updated><title type='text'>Undoubtedly.</title><content type='html'>Undoubtedly.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/4115597829300162505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/4115597829300162505'/><link rel='alternate' type='text/html' href='http://torrentfries.blogspot.com/2008/10/botbusting.html?showComment=1224978780000#c4115597829300162505' title=''/><author><name>OnionRings</name><uri>http://www.blogger.com/profile/17100946140815735171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://torrentfries.blogspot.com/2008/10/botbusting.html' ref='tag:blogger.com,1999:blog-6927930273522247223.post-2984117925665142792' source='http://www.blogger.com/feeds/6927930273522247223/posts/default/2984117925665142792' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-197916112"/><gd:extendedProperty name="blogger.displayTime" value="October 25, 2008 at 4:53 PM"/></entry><entry><id>tag:blogger.com,1999:blog-6927930273522247223.post-5001083584144923110</id><published>2008-10-25T14:31:00.000-07:00</published><updated>2008-10-25T14:31:00.000-07:00</updated><title type='text'>Well that&#39;s all manner of creepy...</title><content type='html'>Well that&#39;s all manner of creepy...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/5001083584144923110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/5001083584144923110'/><link rel='alternate' type='text/html' href='http://torrentfries.blogspot.com/2008/10/botbusting.html?showComment=1224970260000#c5001083584144923110' title=''/><author><name>CurlyFries</name><uri>http://www.blogger.com/profile/12360893120629347046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://torrentfries.blogspot.com/2008/10/botbusting.html' ref='tag:blogger.com,1999:blog-6927930273522247223.post-2984117925665142792' source='http://www.blogger.com/feeds/6927930273522247223/posts/default/2984117925665142792' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1069388724"/><gd:extendedProperty name="blogger.displayTime" value="October 25, 2008 at 2:31 PM"/></entry><entry><id>tag:blogger.com,1999:blog-6927930273522247223.post-6674781864698294992</id><published>2008-10-25T11:52:00.000-07:00</published><updated>2008-10-25T11:52:00.000-07:00</updated><title type='text'>I think I know who you are finally!</title><content type='html'>I think I know who you are finally!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/6674781864698294992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/6674781864698294992'/><link rel='alternate' type='text/html' href='http://torrentfries.blogspot.com/2008/10/botbusting.html?showComment=1224960720000#c6674781864698294992' title=''/><author><name>Robin</name><uri>http://www.blogger.com/profile/15367277279623975538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://torrentfries.blogspot.com/2008/10/botbusting.html' ref='tag:blogger.com,1999:blog-6927930273522247223.post-2984117925665142792' source='http://www.blogger.com/feeds/6927930273522247223/posts/default/2984117925665142792' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-554744335"/><gd:extendedProperty name="blogger.displayTime" value="October 25, 2008 at 11:52 AM"/></entry><entry><id>tag:blogger.com,1999:blog-6927930273522247223.post-5516978573511094019</id><published>2008-10-24T16:36:00.000-07:00</published><updated>2008-10-24T16:36:00.000-07:00</updated><title type='text'>I can understand why you might be against perma-ba...</title><content type='html'>I can understand why you might be against perma-bans. In fact truly permanent bans are rarely useful, because eventually they will become redundant or ineffective. Generally for perma-bans you should substitute in a time period which is sufficiently long to deter the trolls and sufficiently long to make brute forcing a password infeasible. This might be a day, week, month or year.&lt;BR/&gt;&lt;BR/&gt;I politely disagree with your comments on locking, though. Even an attacker who hits many accounts in an attempt to break in will be effectively stopped by account locking. Unless of course each of your users has the same password, in which case you&#39;ve got a much bigger security problem at hand. If you&#39;re worried about the legitimate user being inconvenienced, you could always send them an automatically generated email with a url containing a unique &#39;unlock code&#39; which they can use.&lt;BR/&gt;&lt;BR/&gt;As for the cookie situation, I think the best solution is to use two cookies. The first one is your session cookie, which for most people will be the default PHPSESSID cookie. For most people the security of this cookie lies in the statistical improbability of picking the same random number as another person in a very large key space. If this isn&#39;t enough for you, you could easily override the default session cookie and cryptographically tie the session id to the username and password (e.g. COOKIE{ sessionid, hash(sessionid, uname, password) } ). The session cookie becomes reasonably secure, because the sessionid changes regularly. The second cookie is your semi-permanent cookie, which may equate to a &#39;Remember Me&#39; checkbox on your login. If a session cookie is not available you can fall back to this cookie. However, you should treat authentication through this cookie as a log in attempt and apply the same restrictions and safeguards as your standard login screen.&lt;BR/&gt;&lt;BR/&gt;-Nick</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/5516978573511094019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/5516978573511094019'/><link rel='alternate' type='text/html' href='http://torrentfries.blogspot.com/2008/10/botbusting.html?showComment=1224891360000#c5516978573511094019' title=''/><author><name>Nick</name><uri>http://www.blogger.com/profile/17455559703067826720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://torrentfries.blogspot.com/2008/10/botbusting.html' ref='tag:blogger.com,1999:blog-6927930273522247223.post-2984117925665142792' source='http://www.blogger.com/feeds/6927930273522247223/posts/default/2984117925665142792' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-617986608"/><gd:extendedProperty name="blogger.displayTime" value="October 24, 2008 at 4:36 PM"/></entry><entry><id>tag:blogger.com,1999:blog-6927930273522247223.post-3357827347545200408</id><published>2008-10-24T03:27:00.000-07:00</published><updated>2008-10-24T03:27:00.000-07:00</updated><title type='text'>I&#39;m not a fan of perma-bans. I use Tor for all my ...</title><content type='html'>I&#39;m not a fan of perma-bans. I use Tor for all my related activity, and I know a number of nodes have been banned due to abuse. Understandable, but I sometimes need to change identities multiple times before finding an IP that I can use.&lt;BR/&gt;&lt;BR/&gt;Similarly, I don&#39;t know that locking accounts is helpful. If an attacker is trying to access a particular account, yes, but there&#39;s nothing to prevent them from making attacks on multiple accounts in sequence if they&#39;re simply looking for a way in.&lt;BR/&gt;&lt;BR/&gt;Another possible consideration would be a potential attack via cookies. I don&#39;t know how common this is, but an attacker could conceivably repeatedly send cookies with different passwords/sessions until they find one that the site will accept. Preventing this may be a little more involved.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/3357827347545200408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/3357827347545200408'/><link rel='alternate' type='text/html' href='http://torrentfries.blogspot.com/2008/10/botbusting.html?showComment=1224844020000#c3357827347545200408' title=''/><author><name>CurlyFries</name><uri>http://www.blogger.com/profile/12360893120629347046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://torrentfries.blogspot.com/2008/10/botbusting.html' ref='tag:blogger.com,1999:blog-6927930273522247223.post-2984117925665142792' source='http://www.blogger.com/feeds/6927930273522247223/posts/default/2984117925665142792' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1069388724"/><gd:extendedProperty name="blogger.displayTime" value="October 24, 2008 at 3:27 AM"/></entry><entry><id>tag:blogger.com,1999:blog-6927930273522247223.post-463204766180763529</id><published>2008-10-23T17:01:00.000-07:00</published><updated>2008-10-23T17:01:00.000-07:00</updated><title type='text'>Just to add to your &#39;multiple login attempts&#39; advi...</title><content type='html'>Just to add to your &#39;multiple login attempts&#39; advice, I&#39;d suggest that you lock those specific accounts temporarily, in addition to an IP ban.&lt;BR/&gt;&lt;BR/&gt;The reason is quite simple: a sophisticated attacker is going to be tied to neither his IP address nor his cookies (as you&#39;ve already pointed out). Therefore, the safest route is generally to temporarily lock out the entire account.&lt;BR/&gt;&lt;BR/&gt;If the legitimate user comes along, they may be locked out, but they will also be alerted to the fact that someone is trying to access their account, and handle it accordingly.&lt;BR/&gt;&lt;BR/&gt;Note that the IP ban is still important, as without it you give an attacker an easy way to lock everyone out their accounts.&lt;BR/&gt;&lt;BR/&gt;Further to this, you should provide a mechanism through a separate interface that allows you to unlock all accounts. You should also be logging all 3-attempt failures, and start perma-banning the IP addresses which appear more than a couple of times.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/463204766180763529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6927930273522247223/2984117925665142792/comments/default/463204766180763529'/><link rel='alternate' type='text/html' href='http://torrentfries.blogspot.com/2008/10/botbusting.html?showComment=1224806460000#c463204766180763529' title=''/><author><name>Nick</name><uri>http://www.blogger.com/profile/17455559703067826720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://torrentfries.blogspot.com/2008/10/botbusting.html' ref='tag:blogger.com,1999:blog-6927930273522247223.post-2984117925665142792' source='http://www.blogger.com/feeds/6927930273522247223/posts/default/2984117925665142792' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-617986608"/><gd:extendedProperty name="blogger.displayTime" value="October 23, 2008 at 5:01 PM"/></entry></feed>