<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cloudweavers &#187; security</title>
	<atom:link href="http://www.cloudweavers.org/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cloudweavers.org</link>
	<description>Cutting-edge technology consultant</description>
	<lastBuildDate>Tue, 31 Jan 2012 13:56:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>PHP MultiPart Form-Data Denial of Service proof of concept</title>
		<link>http://www.cloudweavers.org/2009/11/php-multipart-form-data-denial-of-service-proof-of-concept/</link>
		<comments>http://www.cloudweavers.org/2009/11/php-multipart-form-data-denial-of-service-proof-of-concept/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 16:12:29 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1376</guid>
		<description><![CDATA[PHP version 5.3.1 was just released. This release contains a patch for a denial of service condition we&#8217;ve reported on 27 October 2009. The problem is related with PHP&#8217;s handling of RFC 1867 (Form-based File upload in HTML). Source: http://www.securityfocus.com/archive/1/507982 Exploit already on PacketStorm&#8230;]]></description>
			<content:encoded><![CDATA[<blockquote><p>PHP version 5.3.1 was just released. This release contains a patch for a denial of service condition we&#8217;ve reported on 27 October 2009. The problem is related with PHP&#8217;s handling of RFC 1867 (Form-based File upload in HTML).</p></blockquote>
<p><strong>Source</strong>: <a href="http://www.securityfocus.com/archive/1/507982">http://www.securityfocus.com/archive/1/507982</a></p>
<p> Exploit already on <a href="http://packetstormsecurity.org/0911-exploits/php_mpfd_dos.py.txt">PacketStorm</a>&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/11/php-multipart-form-data-denial-of-service-proof-of-concept/feed/</wfw:commentRss>
		<slash:comments>643</slash:comments>
		</item>
		<item>
		<title>security specialist</title>
		<link>http://www.cloudweavers.org/2009/10/security-specialist/</link>
		<comments>http://www.cloudweavers.org/2009/10/security-specialist/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 19:38:01 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bufferoverflow]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1341</guid>
		<description><![CDATA[I&#8217;ve been asked to produce a service offering for a Montreal based security specialist contract. The request was generic &#8211; make me wonder about the provider lack of the specialized knowledge required to complete a selection. Hiring a consultant, specialist or sme (subject matter expert) should never be left to an ultimate comparison between university [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been asked to produce a service offering for a Montreal based security specialist contract. The request was generic &#8211; make me wonder about the provider lack of the specialized knowledge required to complete a selection. Hiring a consultant, specialist or sme (subject matter expert) should never be left to an ultimate comparison between university degrees.  So, for fun, I submit a couples questions, all security related, feel free to answers as comment or by email: </p>
<p>1) what&#8217;s wrong with:<br />
void f() {<br />
 char buf[2048];<br />
 gets(buf)<br />
}</p>
<p>void main() {<br />
 f();<br />
}</p>
<p>(note ; this is the modified version of this function. Read comment 1 on this blog post for more info)</p>
<p>2) With current systems, IPV6 is becoming standard feature. What security problems do you see with that statement and how would you go to secure an IPV4 network knowing those problems ?</p>
<p>3) There have been quite a few problems with SSL theory and OPENSSL implementation in the last few years &#8211; please, name a few and explain them. </p>
<p>4) What is entropy or prng  ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/10/security-specialist/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Surviving DDOS &#8211; discussion on building resilient networks/data infrastructure.</title>
		<link>http://www.cloudweavers.org/2009/09/surviving-ddos-building-resilient-networks/</link>
		<comments>http://www.cloudweavers.org/2009/09/surviving-ddos-building-resilient-networks/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 15:15:53 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cloudmaster]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1288</guid>
		<description><![CDATA[Note: This is a selection of very early draft of a document I&#8217;m writing &#8211; As such, those are extract of &#8220;working notes&#8221; and should be considered as beta (not Google definition of beta ; true beta)&#8230; lots will change. [...] Internet being a jungle (or a city, whatever you find most dangerous), your infrastructure [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Note</strong>: This is a selection of very early draft of a document I&#8217;m writing &#8211; As such, those are extract of &#8220;working notes&#8221; and should be considered as beta (not Google definition of beta ; true beta)&#8230; lots will change.</p></blockquote>
<p>
<strong>[...]</strong><br />
Internet being a jungle (or a city, whatever you find most dangerous), your infrastructure will be preyed upon. it can be by customers requiring services (too much of them can create difficult situations) or by malevolent individuals wanting to see your service off Internet.<br />
<strong>[...]</strong><br />
Of the techniques available, dos/ddos might be the worst. Here&#8217;s a quick non technical theory review:<br />
<br />
<strong>DOS: Denial of services</strong><br />
For a single attacker, cutting access to your services can be accomplished by solving this equation:<br />
<em> Attacker resource * resource(attack function) > Defender resource * resource(defense function)</em><br />
The defense against the attack is simply the reverse of the equation. Using decent servers (for processing power) in a decent datacenter (for bandwidth) can help solve this equation to the defender advantage without having to modify services. If it doesn&#8217;t work, modifying the defense function (such as implementing a firewall correlating a source IP and the attacker function) will allow required resources for defense to be minimal and thus <em>win the fight</em>.<br />
<strong>[...]</strong><br />
<br />
<strong>DDOS: Distributed Denial Of Services</strong><br />
The DDOS add the dimension of multiple (in the order of hundreds or thousands) attackers systems. This will bypass of most of the standard defenses &#8220;resource reduction function&#8221; since the resulting traffic will be tangent to a normal usage pattern. Randomly blocking visitor (or user) cannot be accomplished without risking blocking valid one and user pattern analysis is generally resource intensive.<br />
<strong>[...]</strong><br />
<br />
<strong>How to survive DDOS</strong><br />
A lot of services and devices are available to mitigate the attack of a DDOS. Some can be implemented by the end user (server administrator) or by the upstream provider. However, most of them must be deployed as a planned feature, not while the network is under attack.<br />
 * drop spoofed/invalid packets at upstream provider (packets with invalid source IP (see RFC 1918), implement ingress filtering (see RFC 2267)) &#8211; it is also call dark address filtering.<br />
 * prepare rate-limiting function &#8216;per-vhost&#8217; (if service = webpage), or &#8216;per-services&#8217;, and &#8216;per-source&#8217;.<br />
 * implement black hole filtering procedure (an in-line router / packet analyzer able to black hole packet will leave your server doing service computing, not routing).<br />
 * request analysis. <a href="http://www.snort.org/">SNORT</a> is a well know and very good ingress filtering agent that can be used to filter traffic that does not match normal usage pattern.<br />
 * enable syn cookie (valid only against syn flood).<br />
 * always allow establish connections priority over new ones.<br />
 * off load as much as you can (mainly: DNS services in separate network, dropping both is harder).<br />
<br />
And I&#8217;ll allow a bit of additional informations on this last one, because it is often overlooked and can represent your salvation when you are attacked. Either the attacker will use a specific IP, which is easy to mitigate by changing to any other you reserved for that and changing the DNS (5 minutes downtime is nothing in a major DDOS) OR the attacker is resolving your domain name through your DNS. This latest fact is quite important, because it mean the attack can be mitigated by using geo-localisation on your DNS system : different servers will answers requests from different part of the world. <a href="http://www.maxmind.com/">MaxMIND</a> does offer a very up-to-date database of IP/Country and IP/Town ; and using Amazon AWS (cloud computing service by Amazon), new servers can be launched at minutes notice and your DNS (when properly configured) can be modified to provide specific IP &#8220;to-peoples-outside-your-normal-business-area&#8221;.  You don&#8217;t even have to involve your upstream provider and you will be able to offset a very big part of the attack (as long as your normal business area is not russia + china).<br />
<br />
Or, if implementing those recommendation are not a possibility, there is always services/devices available for sales. Be ready to pay a very big price for them.<br />
<strong>[...]</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/09/surviving-ddos-building-resilient-networks/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Microsoft IIS 5/6 FTP 0Day released</title>
		<link>http://www.cloudweavers.org/2009/08/microsoft-iis-56-ftp-0day-released/</link>
		<comments>http://www.cloudweavers.org/2009/08/microsoft-iis-56-ftp-0day-released/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 21:00:59 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1263</guid>
		<description><![CDATA[Microsoft IIS 5/6 FTP 0Day released We are aware of an new 0-day exploit that was posted on Milw0rm today. According the exploit, it was suppose to work on both IIS 5.0 and 6.0, on the FTP module. Also according it, it affects IIS 6.0 with stack cookie protection. The latest on this is that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Microsoft IIS 5/6 FTP 0Day released</strong></p>
<blockquote><p>We are aware of an new <a href="http://www.milw0rm.com/exploits/9541">0-day exploit</a> that was posted on <a href="http://www.milw0rm.com/">Milw0rm</a> today.<br />
<br />
According the exploit, it was suppose to work on both IIS 5.0 and 6.0, on the FTP module.<br />
<br />
Also according it, it affects IIS 6.0 with stack cookie protection.<br />
<br />
The latest on this is that HDMoore is porting it to the MetaSploit framework.<br />
<br />
We will update this diary with more info as we get it.</p></blockquote>
<p>source: <a href="http://isc.sans.org/diary.html?storyid=7039&#038;rss">sans.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/08/microsoft-iis-56-ftp-0day-released/feed/</wfw:commentRss>
		<slash:comments>141</slash:comments>
		</item>
		<item>
		<title>Security @ DEFCON 17</title>
		<link>http://www.cloudweavers.org/2009/08/security-defcon-17/</link>
		<comments>http://www.cloudweavers.org/2009/08/security-defcon-17/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 17:16:44 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[defcon]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[symposium]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[vacation]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1238</guid>
		<description><![CDATA[Survived! Well my laptop did &#8211; I&#8217;m exhausted and work was waiting for me in Montreal, but &#8211; let be honest, I can&#8217;t really complain. For those who don&#8217;t know, the DEFCON is one of the leading hacker conference with over 8k attendees getting together in Las Vegas to share knowledge on hacking, cracking, social [...]]]></description>
			<content:encoded><![CDATA[<p>Survived! Well my laptop did &#8211; I&#8217;m exhausted and work was waiting for me in Montreal, but &#8211; let be honest, I can&#8217;t really complain.<br />
<br />
For those who don&#8217;t know, the <a href="http://defcon.org"><strong>DEFCON</strong></a> is one of the leading hacker conference with over 8k attendees getting together in Las Vegas to share knowledge on hacking, cracking, social engineering, lock picking and similar discipline. Peoples come from all social group &#8211; 14y old video gamer to senior security specialist for the gov, going through consultant, programmer, developer and hobbyist. Fun crowd.<br />
<br />
While my trip was flanked by 2 series of 4 vacation days (before and after), I was @DEFCON as the owner of <strong>Les Laboratoires Phoenix</strong> &#8211; my free software consulting firm &#8211; and as such, I was confronted to this dichotomy:<br />
<br />
* I need Internet access to answer clients requests<br />
* Connecting to Internet at DEFCON is professional suicide if your not up to it<br />
<br />
Let me explain this second point a bit: first, the <strong>Wall of Sheep</strong>, an inline filter tracking unencrypted connections and broadcasting users credentials (including a partially obscured password) on a big screen in the lounge. Generally, the flow is quasi non-stop.<br />
<br />
If you think that it&#8217;s not that bad, the password being garbled&#8230;  think again : <strong>Wall of Death</strong>. It&#8217;s an inline switch, freely available, where the 7 ports broadcast a mirror of everything the firewall see (which is.. everything). Live, un-garbled, un-modified feed of everything in the pipe. In other words, if you are on the Wall of Sheep, then someone from the Wall of Death got your credential.<br />
<br />
And then, this is only using the standard infrastructure. I am not mentioning peer attack, wireless impersonation and so on.<br />
<br />
So, how to survive in such hostile environment ? Here&#8217;s a few rules (which should also be taken as golden rules if you work from your client&#8217;s office).<br />
<br />
1) &#8216;<strong>netstat -lntp</strong>&#8216; ; this command (an output of incoming listing ports on your system) should return nothing. There is no need to have any listening services if you are &#8216;mobile&#8217;.<br />
<br />
2) <strong>iptables -L -n -v </strong>; this command give you your firewall rules. INPUT should be restricted to established and related connection with a default policy of DROP. OUTPUT, when in a &#8216;not-so-friendly&#8217; environment, should defaulted to DROP with allowed outgoing on secure protocol only (http:443, ssh:22, &#8230;). If you need to connect to an un-encrypted destination, at least forward through a ssh-tunnel/proxy.<br />
<br />
3) never auto-connect to unencrypted network. This is exactly what causes the wall of sheep to be full of iPhone user&#8217;s credentials. This cute little device can <strong>auto-connect to the unprotected network</strong> (such as DEFCON) and start sending security credential (un-encrypted) to twitter, facebook, myspace&#8230;<br />
<br />
4) Do not take anything for granted. PREPARATION is the key. Before the trip, start <strong>collecting all your ssh-key fingerprint</strong> on your system, this can become really handy if someone tries some &#8216;not-so-great&#8217; men-in-the-middle attack against you.<br />
<br />
Well, thinking about it, number 4 is the best advice. <strong>DO NOT TAKE ANYTHING FOR GRANTED</strong>. In the last 2 years, there have been 2 attack against the SSL infrastructure disclosed at DEFCON.  Btw, this is for GNU/Linux system. If you are using a Microsoft operating system at the DEFCON, you better&#8230; well&#8230; just don&#8217;t use it. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/08/security-defcon-17/feed/</wfw:commentRss>
		<slash:comments>202</slash:comments>
		</item>
		<item>
		<title>Using TOR for anonymity</title>
		<link>http://www.cloudweavers.org/2009/06/using-tor-for-anonymity/</link>
		<comments>http://www.cloudweavers.org/2009/06/using-tor-for-anonymity/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 16:01:21 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tor]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1184</guid>
		<description><![CDATA[In the last couples of day, I&#8217;ve seen my fair share of privacy infringement from all kind of service provider. I am a &#8216;free web&#8217; militant but I&#8217;m also a free software consultant and as such, my professional self is often called to deploy network management tools in ISP or servers hosting facility. Most of [...]]]></description>
			<content:encoded><![CDATA[<p>In the last couples of day, I&#8217;ve seen my fair share of privacy infringement from all kind of service provider. I am a &#8216;free web&#8217; militant but I&#8217;m also a free software consultant and as such, my professional self is often called to deploy network management tools in ISP or servers hosting facility. Most of these tools can be used to maintain the integrity of the network and enhance performance, however, they can also be used in questionable behaviors such as wire tapping. Today, I&#8217;ll be installing/presenting TOR, an anonymity program, on a GNU/Linux workstation to hide web browsing request. </p>
<p>&nbsp;</p>
<p>Let it be known that TOR is not the ultimate solution. This software should not be used as a way to &#8216;secure&#8217; transactions/requests. Its very usage is to proxy tcp requests to a series of hosts all around the world.  In other words, it will scramble the source IP of every request. </p>
<p>&nbsp;</p>
<p><strong>Installing TOR for anonymity</strong></p>
<p>&nbsp;</p>
<p>TOR is :</p>
<blockquote><p>[...] a network of virtual tunnels that allows people and groups to improve their privacy and security on the Internet. It also enables software developers to create new communication tools with built-in privacy features. Tor provides the foundation for a range of applications that allow organizations and individuals to share information over public networks without compromising their privacy. <br /> <strong>Source</strong>: <a href="http://http://www.torproject.org/overview.html.en">TOR official website</a> </p></blockquote>
<p><strong>Privacy</strong> is the keyword. Another important fact is that peer-to-peer applications will not work well with proxy relaying (so forget forwarding your bit-torrent traffic inside the &#8216;tor cloud&#8217;). </p>
<p>&nbsp;</p>
<p><strong>Installation process (GNU/Linux)</strong> </p>
<p>&nbsp;</p>
<p><strong>Installing dependencies</strong></p>
<blockquote><p># apt-get install libssl-dev libevent-dev</p></blockquote>
<p><strong>Installing TOR</strong></p>
<p>&nbsp;</p>
<blockquote><p># download latest sources in <a href="http://www.torproject.org/download.html.en">repository</a>.<br />
# tar zxf tor-0.2.0.34.tar.gz<br />
# cd tor-0.2.0.34 ; ./configure ; make ; sudo make install</p></blockquote>
<p>&nbsp;</p>
<p><strong>Installing privoxy</strong></p>
<blockquote><p># download lastest sources in <a href="http://sourceforge.net/project/showfiles.php?group_id=11118">repository</a>.<br />
# apt-get install autoconf<br />
# adduser privoxy<br />
# tar zxf privoxy-3.0.13-beta-src.tar.gz<br />
# cd privoxy-3.0.13-beta<br />
# autoheader ; autoconf ; ./configure ; make ; make install
</p></blockquote>
<p><strong>Start applications </strong></p>
<blockquote><p># /etc/init.d/privoxy start<br />
# tor
</p></blockquote>
<p><strong>Installing TORbutton add-ons for Firefox.</strong></p>
<blockquote><p>
# <a href="https://addons.mozilla.org/en-US/firefox/addon/2275">https://addons.mozilla.org/en-US/firefox/addon/2275</a><br />
# click add to firefox.</p></blockquote>
<p>There you go. Click on the &#8216;tor disabled&#8217; in the lower right corner and test by going at <a href="https://check.torproject.org/">https://check.torproject.org/</a>. You willl be able to browse the web while hiding the source IP of your request (this is only for http, for other protocol, you&#8217;ll have to forward them through a sock4 connection)&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/06/using-tor-for-anonymity/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>top sysadmin stuff</title>
		<link>http://www.cloudweavers.org/2009/03/top-sysadmin-stuff/</link>
		<comments>http://www.cloudweavers.org/2009/03/top-sysadmin-stuff/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 13:45:37 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[freesoftware]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[ossec]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[zabbix]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1053</guid>
		<description><![CDATA[Being challenged everyday to augment my productivity, here is a few quick tricks/software helping system administrator. 1. BlackBerry Yeah, I know. It was an easy one &#8211; and easy to expect since I&#8217;ve bought a Storm. Employees get to hate them (since they are always hooked to the business) but as owner of a small [...]]]></description>
			<content:encoded><![CDATA[<p>Being challenged everyday to augment my productivity, here is a few quick tricks/software helping system administrator.<br />
<br />
<strong>1. <a href="http://www.blackberry.com/">BlackBerry</a></strong><br />
<br />
Yeah, I know. It was an easy one &#8211; and easy to expect since I&#8217;ve bought a Storm. Employees get to hate them (since they are always hooked to the business) but as owner of a small business, I NEED to be informed of everything going on. The ability of answering my email / instant messanging while in route between Montreal &#038; Ottawa is of prime importance. My clients doesn&#8217;t need to know where I am or what I am doing, they know I&#8217;m ready to help them.<br />
<br />
The BlackBerry by itself is not as feature-complete as the iPhone seem to be. Using the pre-loaded email client with gmail just doesn&#8217;t cut it.  It&#8217;s using IMAP and discarding all your filter/labels for incoming messages. There is an alternative : gmail mobile application. Available from the <a href="http://m.google.com">central mobile application repository</a> of Google. Using a customized alert setting, you can be informed when you have new mail (in your inbox), while preserving your filter/label configuration. While you are there, you should also install the maps application, can always be handy.<br />
<br />
Another &#8220;must-have&#8221; app. for sysadmin is <a href="http://www.xk72.com/midpssh/">MidpSSH</a>. Which, as its name make it pretty clear, is a SSH/Telnet client. There have been a few reports of incompatibility between Storm and midpssh &#8211; yet, with an up-to-date OS/taking into account that your device often capitalize the first letter (of a username)/openssh is case-sensitive, you should not have any problems to connect to GNU/Linux systems.<br />
<br />
<strong>2. Monitoring software</strong><br />
<br />
A good monitoring system watching over your network is a life saver and all the difference between you informing your client of a system failure or the other way around. <a href="http://www.nagios.org/">Nagios</a> is pretty well known and getting help is very easy since the community is so dynamic. Another software doing the same job is <a href="http://www.zabbix.org">Zabbix</a>. I do have some predisposition toward it, being a certified expert. Both are free softwares and are easy to install/configure. Zabbix does have a cuter interface though &#8211; can become handy if your client require access.<br />
<br />
Both software allows sysadmins to run remote command. Personally, I find those systems to be way too complicated to setup when <a href="http://mmonit.com/monit/">Monit</a> is easily available. Its configuration allow a syntax very similar to :<em> if load > 5 for 10 minutes, then stop postfix-delivery</em>. Another life saver when you don&#8217;t expect your remote monitoring agent to be able to launch a command. I use it for limits like (<em>if load>80 for 2 minutes, then stop {httpd,mysqld}</em>). If your system is badly losing interactivity, your normal remote monitoring software will never be able to save your system (ssh will timeout).<br />
<br />
<strong>3. Log/Security software</strong><br />
<br />
While Zabbix/nagios can do some checksum on important files (such as /etc/passwd, /etc/shadow, &#8230;), they are not ready as IDS (Intrusion Detection System) yet. For such system, I recommend <a href="http://www.ossec.net/">OSSEC</a>. Following the online documentation, you will have a log-analysis system created in no time &#8211; using thousand of rules given with the software. Customization can also be done pretty quickly. The &#8216;action&#8217; following a trigger can be email-alert or a command. The system come with a pre-built interface to iptables&#8230; port-scanning and brute force password testing are no more.<br />
<br />
<em>Add to all these tools a svn repository for your code, an Puppet system for global configuration and some wiki for documentation and you should have a pretty strong backbone to deal with anything your clients throws at you. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/03/top-sysadmin-stuff/feed/</wfw:commentRss>
		<slash:comments>83</slash:comments>
		</item>
		<item>
		<title>email servers “in the cloud”</title>
		<link>http://www.cloudweavers.org/2008/08/email-servers-in-the-cloud/</link>
		<comments>http://www.cloudweavers.org/2008/08/email-servers-in-the-cloud/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 15:27:00 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[cloudmaster]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=677</guid>
		<description><![CDATA[I&#8217;ve been asked about the possibility of harnessing the power &#8220;of the cloud&#8221; in the context of an email server. For the simplicity of this blog post, I&#8217;ll assume the definition of &#8220;cloud computing&#8221; to be equivalent to &#8220;Amazon AWS&#8221; offer. When emails goes in This is the easy part. Receiving email in an EC2 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been asked about the possibility of <strong>harnessing the power &#8220;of the cloud&#8221;</strong> in the context of an <strong>email server</strong>. For the simplicity of this blog post, I&#8217;ll assume the definition of &#8220;cloud computing&#8221; to be equivalent to &#8220;<a href="http://www.amazon.com/gp/browse.html?node=3435361">Amazon AWS</a>&#8221; offer.<br />
<br />
<b>When emails goes in</b><br />
This is the easy part. Receiving email in an <a href="http://www.amazon.com/EC2-AWS-Service-Pricing/b/ref=sc_fe_l_2?ie=UTF8&#038;node=201590011&#038;no=3435361&#038;me=A36L942TSJ2AJA">EC2</a> (Elastic Cloud Computing) instance is as easy as receiving it anywhere. You launch 2 instances in different availability zone, grab 2 IP and change your MX records. With the recent availability of <a href="http://www.amazon.com/b/ref=sc_fe_c_0_201590011_9?ie=UTF8&#038;node=689343011&#038;no=201590011&#038;me=A36L942TSJ2AJA">EBS</a> (Elastic blocks store), you even have access to permanent storage for email. In hours (big maximum) you have a complete setup supporting fail-over and backup capability (leave your queue/data store on EBS for persistence and snapshot for backup).<br />
<br />
Being in a full virtual environment also negate most scaling problems. You dynamically start and stop anti-{spam,virus} scanning instances following the need of your clients and customers. This setup is also very cost-effective: you don&#8217;t have to pay for hardware (servers, switches, hard drive..), maintenance, power and all the network management involved in having public infrastructure (bgp, firewall, etc&#8230;).You don&#8217;t even have to vouch for a long term contract.<br />
<br />
For your customer, this represent a very decent offer: speed and latency in the Amazon cloud are very nice &#8211; way better than most small technical shop can afford.<br />
<br />
<b>Then emails have recipient</b><br />
Emails are not only coming IN your infrastructure, they &#8211; sometime &#8211; must be transmitted to other people&#8217;s networks. This is where archaic email management style really fail. Emails as a services is a dynasty based on the conception that internet proprieties are big, controllable, static and permanent. This is the exact opposite of what you would get placing an email server inside Amazon Cloud.<br />
<br />
You do not control IP space/range &#8211; even if, you are leased &#8220;1&#8243; IP. This is the big &#8220;bug&#8221;. You have no idea what peoples do in their instances. Get used to it, your range will be tagged, {grey,black} listed often in dns based blocking list. Very often. White list will refuse your queries, since you cannot vouch for Amazon customer use of the cloud.<br />
<br />
Solution, you can still use a smtp server install somewhere else, but&#8230; kind of defeat the whole purpose. The financial exercise of fighting dnsbl vs maintaining hardware infrastructure is left to the reader. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/08/email-servers-in-the-cloud/feed/</wfw:commentRss>
		<slash:comments>174</slash:comments>
		</item>
		<item>
		<title>hashing the know_hosts file</title>
		<link>http://www.cloudweavers.org/2008/08/hashing-the-know_hosts-file/</link>
		<comments>http://www.cloudweavers.org/2008/08/hashing-the-know_hosts-file/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 16:29:58 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[procrastination]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=657</guid>
		<description><![CDATA[OpenSSH client keep a fingerprint of servers to which connections (ssh-client) have been made. Such fingerprints are stored in .ssh/know_hosts and are automatically compared with the current server fingerprint on connection acknowledgment. Hence, the .ssh/known_hosts file is crucial to system security against man-in-the-middle attack in a networked environment. This file is also a very very [...]]]></description>
			<content:encoded><![CDATA[<p>OpenSSH client keep a fingerprint of servers to which connections (ssh-client) have been made. Such fingerprints are stored in .ssh/know_hosts and are automatically compared with the current server fingerprint on connection acknowledgment.<br />
<br />
Hence, the <em>.ssh/known_hosts</em> file is crucial to system security against man-in-the-middle attack in a networked environment. This file is also a very very good vector of attack on system administrator computer and hashing the content of the file is a good practices. Especially with the current wave of big bugs hitting GNU/Linux systems.<br />
<br />
The first step is to enable hashing of the new fingerprints:<br />
</p>
<blockquote><p># cat /etc/ssh/ssh_config<br />
Host *<br />
    SendEnv LANG LC_*<br />
    HashKnownHosts yes<br />
    GSSAPIAuthentication no<br />
    GSSAPIDelegateCredentials no<br />
    TCPKeepAlive yes<br />
    ServerAliveInterval 60
</p></blockquote>
<p>
The &#8220;<em>HashKnownHosts yes</em>&#8221; configuration option is the way to go &#8211; it is a general setting affecting all users on your system (<em>Host *</em>). If you don&#8217;t have access to the central ssh_config option, don&#8217;t forget you have personalized user setting in <em>.ssh/config</em>.<br />
<br />
This enable the hashing of future fingerprints. To modify your actual file, use the following <em>ssh-keygen</em> command. Your unmodified know_hosts will be save as know_hosts.old .<br />
</p>
<blockquote><p># ssh-keygen -H -f .ssh/know_hosts </p></blockquote>
<p>
Have fun, stay safe. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/08/hashing-the-know_hosts-file/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>security of package manager</title>
		<link>http://www.cloudweavers.org/2008/07/security-of-packet-manager/</link>
		<comments>http://www.cloudweavers.org/2008/07/security-of-packet-manager/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 02:23:02 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=633</guid>
		<description><![CDATA[The subject of the week seem to be information security, so I&#8217;ll get on with another post that should keep you awake &#8211; well&#8230; if you are a system administrator doing his job. With the DNS vulnerability, we thought that this was the bottom of the barrel. Yet researcher are always able to amaze us: [...]]]></description>
			<content:encoded><![CDATA[<p>The subject of the week seem to be information security, so I&#8217;ll get on with another post that should keep you awake &#8211; well&#8230; if you are a system administrator doing his job.<br />
<br />
With the DNS vulnerability, we thought that this was the bottom of the barrel. Yet researcher are always able to amaze us: <a href="http://www.cs.arizona.edu/people/justin/packagemanagersecurity/attacks-on-package-managers.html">Attacks on package managers</a>.<br />
<br />
Ok, I must admit that it isn&#8217;t as bad as others bugs. Most of the risk can me mitigated by requesting meta-data verification (openssl) from your packager source or selecting a trusted repository. Still &#8211; I&#8217;ll verify all my sources&#8230;<br /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/07/security-of-packet-manager/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
	</channel>
</rss>

