<?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>Admins eHow</title>
	<atom:link href="http://www.adminsehow.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adminsehow.com</link>
	<description>Guides and Tricks for Administrators</description>
	<lastBuildDate>Wed, 18 Jan 2012 09:29:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fix nginx 502 Bad Gateway error</title>
		<link>http://www.adminsehow.com/2012/01/fix-nginx-502-bad-gateway-error/</link>
		<comments>http://www.adminsehow.com/2012/01/fix-nginx-502-bad-gateway-error/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 11:01:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[502]]></category>
		<category><![CDATA[bad gateway]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[glype]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=593</guid>
		<description><![CDATA[Today I was getting &#8220;502 Bad Gateway&#8221; on a Glype proxy installation , after digging into the problem I found out it is a problem of nginx fastcgi buffers , here is how to fix it : open /etc/nginx/nginx.conf add the following lines into http section : you config should look like this : restart [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was getting &#8220;502 Bad Gateway&#8221; on a Glype proxy installation , after digging into the problem I found out it is a problem of nginx fastcgi buffers , here is how to fix it :<br />
open /etc/nginx/nginx.conf<br />
add the following lines into http section :</p>
<pre class="brush: plain; title: ; notranslate">
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
</pre>
<p>you config should look like this :</p>
<pre class="brush: plain; title: ; notranslate">
http {
.
.
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
.
.
}
</pre>
<p>restart nginx and fastcgi.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2012/01/fix-nginx-502-bad-gateway-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Delete Empty Directories (Folders)</title>
		<link>http://www.adminsehow.com/2011/12/linux-delete-empty-directories-folders/</link>
		<comments>http://www.adminsehow.com/2011/12/linux-delete-empty-directories-folders/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 06:01:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[remove]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=589</guid>
		<description><![CDATA[As simple as one single command :]]></description>
			<content:encoded><![CDATA[<p>As simple as one single command :</p>
<pre class="brush: bash; title: ; notranslate">find -type d -empty -delete</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/12/linux-delete-empty-directories-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Oct 2011, Bad day for iSheeps</title>
		<link>http://www.adminsehow.com/2011/10/4-oct-2011-bad-day-for-isheeps/</link>
		<comments>http://www.adminsehow.com/2011/10/4-oct-2011-bad-day-for-isheeps/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 20:21:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[4s]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apology]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[letter]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=584</guid>
		<description><![CDATA[No doubt, 4th Oct 2011 has been a very bad day for iSheeps, their beloved fruit company left them with a minor upgraded phone after 16 months of waiting and frustration. no wonder why Steve Jobs left the company just a few weeks before new iPhone 4S announcement, he decided to leave the company in [...]]]></description>
			<content:encoded><![CDATA[<p>No doubt, 4th Oct 2011 has been a very bad day for iSheeps, their beloved fruit company left them with a minor upgraded phone after 16 months of waiting and frustration. no wonder why Steve Jobs left the company just a few weeks before new iPhone 4S announcement, he decided to leave the company in glory days. the legend will stay the legend. lambs are to be slaughtered.<br />
I know many iSheeps have decided to leave iSheep camp and join the Android revolution. that&#8217;s a wise decision friends <img src='http://www.adminsehow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  welcome to superiority and excellence.<br />
I just found something interesting. compare the following stats , first one belongs to 2009, second one to 2011 :<br />
2009 :<br />
<img src="http://www.adminsehow.com/wp-content/uploads/2011/10/marketshare-comscore-400x282.png" /><br />
2011:<br />
<img src="http://www.blogcdn.com/www.engadget.com/media/2011/08/topsmartphoneplatforms.jpg" alt="" /></p>
<p>As you can see in almost two years Apple has hardly kept its market share and has only grown from %25 to %27. it has happened during the golden age of iPhone 4 ! while Google market share has grown from 5% to 42% ! now you can guess what would happen with current weak embarrassing iPhone 4S ! and this superiority and excellency of Android phones now. I even expect a minus Point Change for Apple market share in next reports.<br />
And I expect some iSheeps send apology letters to me if Google Point Change beats Apple. We will see that happen <img src='http://www.adminsehow.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/10/4-oct-2011-bad-day-for-isheeps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gateway on a different subnet on Linux</title>
		<link>http://www.adminsehow.com/2011/09/gateway-on-a-different-subnet-on-linux/</link>
		<comments>http://www.adminsehow.com/2011/09/gateway-on-a-different-subnet-on-linux/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 07:50:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[different]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[SIOCADDRT]]></category>
		<category><![CDATA[subnet]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=580</guid>
		<description><![CDATA[Theoretically host IP and gateway should be on the same IP subnet. but there are some situations where host IP and gateway subnet are on different subnets. like my situation today. I was assigned two additional IPs for my server by my Data-center, but IPs were from a different subnet compared to server main IP. [...]]]></description>
			<content:encoded><![CDATA[<p>Theoretically host IP and gateway should be on the same IP subnet. but there are some situations where host IP and gateway subnet are on different subnets. like my situation today. I was assigned two additional IPs for my server by my Data-center, but IPs were from a different subnet compared to server main IP. these IPs will work if you set them as additional IPs. but I needed them to create two new VPS&#8217;s on my server with bridged network interface. in this situation additional IPs should serve as main IP address and there is no gateway on same subnet available.<br />
So here are the assumptions :</p>
<p>a.b.c.d is the host IP<br />
e.f.g.h is the gateway IP<br />
a.b.c.d &#038; e.f.g.h are on different subnets.</p>
<p>by default if you try to set gateway by following command :</p>
<pre class="brush: bash; title: ; notranslate">route add default gw e.f.g.h</pre>
<p>you will get this error :</p>
<pre class="brush: plain; title: ; notranslate">SIOCADDRT: No such process</pre>
<p>the trick is simple , first add a route to default gateway itself and then set the default gateway , like this :</p>
<pre class="brush: bash; title: ; notranslate">route add e.f.g.h/32 dev eth0
route add default gw e.f.g.h</pre>
<p>remember you may need to change eth0 to your device name , it may be eth1 or wlan0 or anything.</p>
<p><strong>How to make these route changes persistent ?</strong></p>
<p>For Debian/Ubuntu :<br />
Add the following lines to /etc/network/interfaces :</p>
<pre class="brush: bash; title: ; notranslate">post-up route add e.f.g.h/32 dev eth0
post-up route add default gw e.f.g.h</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/09/gateway-on-a-different-subnet-on-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Steve Jobs&#8217; 2005 Stanford Commencement Address &#8211; Must See</title>
		<link>http://www.adminsehow.com/2011/09/steve-jobs-2005-stanford-commencement-address-must-see/</link>
		<comments>http://www.adminsehow.com/2011/09/steve-jobs-2005-stanford-commencement-address-must-see/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 20:25:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[speech]]></category>
		<category><![CDATA[stanford]]></category>
		<category><![CDATA[steve jobs]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=575</guid>
		<description><![CDATA[If you read my blog , you will know that I am not a fan of Apple. In fact I fight against its dominance and its policies.but I really admire this man, Steve Jobs. He deserves what he has acquired. I recommend everyone to listen to this speech very carefully several times and make use [...]]]></description>
			<content:encoded><![CDATA[<p>If you read my blog , you will know that I am not a fan of Apple. In fact I fight against its dominance and its policies.but I really admire this man, Steve Jobs. He deserves what he has acquired.<br />
I recommend everyone to listen to this speech very carefully several times and make use of advises of this man. What he says and recommends in life is very true and useful.</p>
<p>Watch here :<br />
<a href='http://www.youtube.com/watch?v=UF8uR6Z6KLc' target="_blank">Steve Jobs&#039; 2005 Stanford Commencement Address</a></p>
<p>The text of speech :<br />
<a href="http://news.stanford.edu/news/2005/june15/jobs-061505.html" title="'You've got to find what you love,' Jobs says" target="_blank">&#8216;You&#8217;ve got to find what you love,&#8217; Jobs says</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/09/steve-jobs-2005-stanford-commencement-address-must-see/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An analysis of recent security breach to DigiNotar and Man-In-The-Middle attack to Iranian users</title>
		<link>http://www.adminsehow.com/2011/09/an-analysis-of-recent-security-breach-to-diginotar-and-man-in-the-middle-attack-to-iranian-users/</link>
		<comments>http://www.adminsehow.com/2011/09/an-analysis-of-recent-security-breach-to-diginotar-and-man-in-the-middle-attack-to-iranian-users/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 09:23:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[breach]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[DigiNotar]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Iran]]></category>
		<category><![CDATA[MITM]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=560</guid>
		<description><![CDATA[As I have received several requests from Iranian readers of my blog, I have done some analysis on recent DigiNotar security breach and MITM attack to Iranian users. This analysis is based on Fox-IT interim report of breach. You can download the complete report in PDF Format from the following link : http://www.adminsehow.com/wp-content/uploads/2011/09/rapport-fox-it-operation-black-tulip-v1-0.pdf What is [...]]]></description>
			<content:encoded><![CDATA[<p>As I have received several requests from Iranian readers of my blog, I have done some analysis on recent DigiNotar security breach and MITM attack to Iranian users.<br />
This analysis is based on Fox-IT interim report of breach. You can download the complete report in PDF Format from the following link :<br />
<a href='http://www.adminsehow.com/wp-content/uploads/2011/09/rapport-fox-it-operation-black-tulip-v1-0.pdf'>http://www.adminsehow.com/wp-content/uploads/2011/09/rapport-fox-it-operation-black-tulip-v1-0.pdf</a></p>
<p><strong>What is MITM attack and how to prevent it ?</strong><br />
MITM stands for Man-In-The-Middle. it simply means someone stands between you and destination and intercepts or modifies your communication. it is quite easy when communication is not encrypted.<br />
SSL protocol is originally invented to address this issue. The idea is that a trusted Authority (CA) authenticates the identity of destination and by using some cryptography protocols your connection to authentic destination becomes encrypted and impossible to intercept or modify.<br />
It has been shown that the cryptography methods like AES or RC4 which are employed to encrypt the data are quite effective and very hard to crack. so the easier solution is to attack the base of trust model, the trusted authorities (CA). In this kind of attacks, hackers break into CA systems and forge valid certificates for themselves so they can impersonate themselves as authentic destinations and intercept the data. this kind of attack is used in both recent incidents, Commodo and DigiNotar.<br />
Although the protocol is almost safe itself, unfortunately many of these CAs are vulnerable themselves making the whole process vulnerable.<br />
The FOX-IT report indicates the DigiNotar systems were using Windows (Which is vulnerable in nature) and passwords has been crackable through brute-force attack. (More on this later)</p>
<p>To understand it better, I have created a diagram of recent MITM attack to Iranian users with the goal of intercepting communications between them and Google. the attackers have been able to gain access to Google accounts of users through this attack :</p>
<p><img src="http://www.adminsehow.com/wp-content/uploads/2011/09/mitm_gmail-diginotar-iran.jpg" alt="" /></p>
<p>This diagram is self-explanatory. The attacker in middle impersonates itself as Google and establishes a secure connection to the user which is signed by DigiNotar CA. Although the connection is still secure, but users have a secure connection to the attacker, not real Google. so attacker has access to all information sent by user, including username, passwords, cookies and etc.<br />
<span id="more-560"></span><br />
<strong>Analysis of Report</strong><br />
As I said, I will not go into all details of report as original report is available to download and study. I will only analyse,comment and clarify the crucial points.</p>
<blockquote><p>The rogue certificate found by Google was issued by the DigiNotar Public CA 2025. The serial number of<br />
the certificate was, however, not found in the CA system&#8217;s records. This leads to the conclusion that it is<br />
unknown how many certificates were issued without any record present. In order to identify these<br />
unknown certificates and to prevent them from being used by victims, the OCSP responder requests<br />
were monitored.</p></blockquote>
<p>As report suggests many of rogue issued certificates are not recorded in CA database make it impossible to revoke them (Although the revocation process is not effective itself and doesn&#8217;t resolve the issue). so the resort was to remove the whole DigiNotar certificates from browsers and chain of trust &#8211; Make DigiNotar an untrusted firm &#8211; these steps have been taken by Microsoft, Mozilla Firefox and Google Chrome immediately except Apple !<br />
<strong>So please note if you use Apple products like Safari browser, Apple iPhone, Apple iPad and etc. you are still vulnerable to this attack. All users are urged to stop using Apple products and update their browsers and systems to latest versions. Using Mozilla Firefox or Google chrome is recommended for better security.</strong></p>
<blockquote><p>Current browsers perform an OCSP check as soon as the browser connects to an SSL protected website<br />
through the https-protocol. The serial number of the certificate presented by the website a user visits is<br />
send to the issuing CA OCSP-responder. The OCSP-responder can only answer either with good,<br />
revoked or unknown. If a certificate serial number is presented to the OCSP-responder and no record of<br />
this serial is found, the normal OCSP-responder answer would be good. The OCSP-responder answer<br />
revoked is only returned when the serial is revoked by the CA. In order to prevent misuse of the<br />
unknown issued serials the OCSP-responder of DigiNotar has been set to answer revoked when<br />
presented any unknown certificate serial it has authority over. This was done on September 1st.</p></blockquote>
<p>OCSP stands for Online Certificate Status Protocol, it enables CAs to revoke the certificate they have issued before. but OCSP could not be helpful in this case for following reasons :<br />
1.Many browsers still do not support or activate OCSP by default like Apple Safari.<br />
2.OCSP is not enforced for certificate verification. so even if certificate was revoked by CA (which was not) the attacker could simply block the OCSP requests.<br />
3.The certificates were not revoked by OCSP efficiently (Using white-listing policy) until 1 Sept. it means the attackers have had rogue valid certificates in their hands for about 2 months.</p>
<blockquote><p>A script was found on CA server public 2025. The script was written in a special scripting language only<br />
used to develop PKI software. The purpose of the script was to generate signatures by the CA for<br />
certificates which have been requested before. The script also contains English language which you can<br />
find in Annex 5.3. In the text the hacker left his fingerprint: &#8220;Janam Fadaye Rahbar&#8221;. The same text was<br />
found in the Comodo hack in March of this year. This breach also resulted in the generation of rogue<br />
certificates.</p></blockquote>
<p>This is the fingerprint of the hacker &#8220;Janam Fadaye Rahbar&#8221;, means something like &#8220;I will die for my leader&#8221; which points to Iranian Supreme Leader Ayattolah Khamenei. This part has nothing technical to discuss, but from ethical point of view, what kind of leader could be that his followers are involved in mass cyber crime activities ? if it was an attack against Pentagon or CIA, may be it was adjustable, but mass interception of users communications without official court order is mass cyber crime comparable to mass destruction weapons. it leaves no space for bragging. anyone involved in this crime should be ashamed and prosecuted by international laws. it shows the true face of hackers. it is cyber terrorism.</p>
<blockquote><p>We investigated the OCSP responder log files around the time of the *.google.com incident. That incident<br />
was detected on August 27th. The first known public mention was a posting in a google forum. The user<br />
(from Iran) was warned by the Google Chrome browser that there was something wrong with the<br />
certificate. The corresponding rogue certificate was created on July 10th.</p></blockquote>
<p>It is still unclear to me how Google chrome has detected this certificate is rogue. through OCSP ? if that&#8217;s true many users using the same version of chrome should have gotten the same warning message. as report states DigoNotar has employed white-listing OCSP policy on 1 Sept. so the user has got the warning message before that. it is possible that attacker have been intercepting using a revoked certificate.<br />
anyway if user had not notified the community about this incident only god know for how long more those cyber terrorists could continue on their criminal acts and intercept the communications of Iranian users.<br />
This shows the security protocols on web need to be revised and new methods should be employed to protect users privacy. We are on that cyber terrorists <img src='http://www.adminsehow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>Based on the logging mentioned above from the OCSP responder, we were able to extract the following<br />
information. On August 4th the number of request rose quickly until the certificate was revoked on August<br />
29th at 19:09. Around 300.000 unique requesting IPs to google.com have been identified. Of these IPs<br />
>99% originated from Iran, as illustrated in figure 1</p>
<p><a href="http://www.adminsehow.com/wp-content/uploads/2011/09/fox-it-diginotar-map.png"><img src="http://www.adminsehow.com/wp-content/uploads/2011/09/fox-it-diginotar-map.png" alt="" title="fox-it-diginotar-map" width="961" height="405" class="alignnone size-full wp-image-567" /></a></p></blockquote>
<p>There some very important points here :<br />
1. Around 300.000 unique IP addresses have been identified to use rogue certificate through OCSP responder. but as I mentioned before about OCSP, many browsers do not perform OCSP check and this number doesn&#8217;t count the users behind NAT servers using private IP addresses so the number of affected users is far more than 300.000 users. I believe it could be at least 1 million users. anyone in Iran using Google account. may be Google has a more precise statistics.<br />
2. The expansion and scale of attack show only a government having access to infra-structure of Internet and Gateways could perform this attack in such a scale. there is no doubt that Iran government has been involved in this attack. (more proof on this later)</p>
<blockquote><p>A sample of the IP?s outside of Iran showed mainly to be TOR-exit nodes, proxies and other (VPN)<br />
servers, and almost no direct subscribers.</p></blockquote>
<p>As Fox-IT report states , some IP addresses outside of Iran have been found to be using rogue certificates. most of them have been TOR-exit nodes. it is clear that the security of Tor network is compromised in Iran. so if you are in Iran , TOR is not safe for you anymore. I am not an expert in TOR , but I believe Iran government is running TOR routers (relayers) itself and intercepts the communication of TOR network inside Iran. TOR project officials are to step in and explain regarding this incident.<br />
The reports also talks about proxies and VPNs, but it is not specific and detailed. what kind of Proxy and VPN ? PPTP ? L2TP ? SSTP ? not clear.<br />
But I hardly believe they have the required knowledge and equipment to compromise all VPN networks. if FOX-IT can hand over a list of outside Iran IP addresses, it is possible to investigate what kind of VPN and services are being run on those IPs and identify the compromised protocols.<br />
For now I only believe TOR is compromised (using fake certs generated for TOR). until more info is available.</p>
<blockquote><p>We found that the hackers were active for a longer period of time. They used both known hacker tools as<br />
well as software and scripts developed specifically for this task. Some of the software gives an<br />
amateurish impression, while some scripts, on the other hand, are very advanced. In at least one script,<br />
fingerprints from the hacker are left on purpose, which were also found in the Comodo breach<br />
investigation of March 2011. Parts of the log files, which would reveal more about the creation of the<br />
signatures, have been deleted. </p>
<p>The list of domains and the fact that 99% of the users are in Iran suggest that the objective of the<br />
hackers is to intercept private communications in Iran.</p></blockquote>
<p>The attack to DigiNotar has had two major parts:<br />
I.Gain access to CA infrastructure : As DigiNotar has been using Windows (Most insecure OS) and a weak password for logging into domain of CA servers. it is the part that amateur tools have been used to accomplish. the attackers may be still active finding fool CAs using Windows + weak password.<br />
II.Generate the CAs : When Administrative access is gained. you can do anything on servers. steal the programs, data and etc. It was mentioned in the report that dropbox was used to transfer files , it&#8217;s kinda funny. There has been 1 million way to transfer files, but even hackers choose the more convenient way.<br />
I still see nothing that much impressive or mind blowing. when you have administrative access to file system , it is possible to reverse engineer everything. specially for a government with millions of dollars budget and hundreds of programmers working on the project. specially for softwares which are not built to be secure to reverse engineering.<br />
The claim of being an individual hacker behind this is a big lie, it is very clear to security experts and I have discussed it before and responded to it.</p>
<blockquote><p>The most critical servers contain malicious software that can normally be detected by anti-virus software.<br />
The separation of critical components was not functioning or was not in place. We have strong indications<br />
that the CA-servers, although physically very securely placed in a tempest proof environment, were<br />
accessible over the network from the management LAN.  </p>
<p>The network has been severely breached. All CA servers were members of one Windows domain, which<br />
made it possible to access them all using one obtained user/password combination. The password was<br />
not very strong and could easily be brute-forced. </p>
<p>The software installed on the public web servers was outdated and not patched. </p>
<p>No antivirus protection was present on the investigated servers. </p>
<p>An intrusion prevention system is operational. It is not clear at the moment why it didn?t block some of<br />
the outside web server attacks. No secure central network logging is in place.</p></blockquote>
<p>It is the tragedy part for security experts, in who are we putting our trust ? How many of other CAs like this still exist ?<br />
The following components have facilitated the attack :<br />
I.   Use of Windows as CA Servers.<br />
II.  Use of Windows Domains and Joining all servers to a single windows domain.<br />
III. Use of a weak password for windows domain.<br />
IV.  Lack of security softwares on systems like Anti-Viruses and Firewalls.<br />
V.   Use of outdated softwares.<br />
VI.  Lack of proper monitoring and notification system.</p>
<blockquote><p><a href="http://www.adminsehow.com/wp-content/uploads/2011/09/diginotar-issued-certs.png"><img src="http://www.adminsehow.com/wp-content/uploads/2011/09/diginotar-issued-certs.png" alt="" title="diginotar-issued-certs" width="1003" height="704" class="alignnone size-full wp-image-568" /></a></p></blockquote>
<p>This list proves exactly who has been behind this attack. In this list you can find the name of Iran regime opposition sites like Balatarin.com and Azadegi.com beside Google, Facebook, Yahoo and etc.<br />
It completely explains the intentions of these hackers and cyber terrorists.</p>
<blockquote><p><a href="http://www.adminsehow.com/wp-content/uploads/2011/09/diginotar-hacker-message.png"><img src="http://www.adminsehow.com/wp-content/uploads/2011/09/diginotar-hacker-message.png" alt="" title="diginotar-hacker-message" width="789" height="567" class="alignnone size-full wp-image-569" /></a></p></blockquote>
<p>Finally the hackers message left intentionally on server. I have already answered to his claims here :<br />
<a href="http://www.adminsehow.com/2011/03/a-response-to-comodohacker/">http://www.adminsehow.com/2011/03/a-response-to-comodohacker/</a><br />
So there is no need to repeat them. in both incidents the security of CAs are to be blamed.<br />
Also the structure or procedures of trust on web should be revised by security experts.</p>
<p><strong>What should be done now by users ?</strong><br />
1.Always keep your operating system and browser updated.<br />
2.Use Firefox or Chrome for better security.<br />
3.Do not use TOR network until it is clarified how it is compromised.<br />
4.Do not use Apple products like Safari and iPhone and iPad.<br />
5.Always use secure private networks like VPN or SSH Tunnels for accessing all websites. thats another layer of protection.<br />
6.Read this post by Google Security Team : <a href="http://googleonlinesecurity.blogspot.com/2011/09/gmail-account-security-in-iran.html">http://googleonlinesecurity.blogspot.com/2011/09/gmail-account-security-in-iran.html</a></p>
<p>If you have any questions , you may ask in comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/09/an-analysis-of-recent-security-breach-to-diginotar-and-man-in-the-middle-attack-to-iranian-users/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Start of the End for Apple iPhone</title>
		<link>http://www.adminsehow.com/2011/09/the-start-of-the-end-for-apple-iphone/</link>
		<comments>http://www.adminsehow.com/2011/09/the-start-of-the-end-for-apple-iphone/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 07:37:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iPhone 5]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=552</guid>
		<description><![CDATA[It seems the start of the End of Apple iPhone has begun. After few years of fruit style glory and ripping off the the customers. Our beloved open source Android is going to put an end to it. The signs are very clear, Apple does not introduce its new iPhone based on its custom. seems [...]]]></description>
			<content:encoded><![CDATA[<p>It seems the start of the End of Apple iPhone has begun. After few years of fruit style glory and ripping off the the customers. Our beloved open source Android is going to put an end to it.<br />
The signs are very clear, Apple does not introduce its new iPhone based on its custom. seems fruit company has nothing significant to offer so decides to offer nothing. if you don&#8217;t play , you won&#8217;t lose. iSheeps becomes depressed and speculate the new iPhone will be released in September or October. Apple prefers to stay quiet as always based on its marketing strategy. they try to keep the iSheeps fed and excited. so they can be ripped off later.<br />
The anticipated date for releasing iPhone 5 is closing , Steve Jobs steps down as CEO. leaving the fruit company in glory and as a hero. others are to be blamed later.<br />
September comes, still no sign of iPhone 5. this phone has become obsolete before its release. its rival Samsung Galaxy S II is equipped with a Dual core 1.2Ghz CPU. at the best scenario iPhone 5 will be equipped with a A5 CPU made by Samsung with a clock of 1Ghz ! yet more to come, Samsung announces its next dual core 1.5Ghz smart phone will be released in next quarter. Apple is almost a year behind now. Google announces the Android based Nexus Prime will be released very soon. Apple is completely knocked out now, unable to compete in the field, sends its legion of lawyers to war.<br />
3 major US operators Sprint, Verizon and AT&#038;T desperate of Apple actions, decide to offer iPhone 5 rival Samsung Galaxy SII.<br />
Statistics start to leak from research companies. Apple is not only losing the in field but also loses market share very fast.<br />
<img src="http://www.blogcdn.com/www.engadget.com/media/2011/09/smartphone-late-adopters.gif" alt="" /><br />
<img src="http://www.blogcdn.com/www.engadget.com/media/2011/08/topsmartphoneplatforms.jpg" alt="" /></p>
<p>The stats are very clear , by July 2011, Android is dominating the US market share by 42% compared to 27% Apple. the stats should have become worse for Apple by now.<br />
<strong>If you are an iSheep reading this article , I recommend you to turn on your brain and start using it. The start of The End of iPhone has begun and clock is ticking.<br />
Join the wave NOW ! Confess to your Sins and promise you will NEVER ripped off again by fruit company. You will be sent to Android heaven.</strong></p>
<p>Edit : Seems I have had high hopes for iSheeps , there is no way to save them ! here is a response from an iSheep :</p>
<blockquote><p>Oh I am deeply impressed <img src='http://www.adminsehow.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I confess to all my sins <img src='http://www.adminsehow.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ( I was innocent but one day when i was sick, a bad doc at hospital told me an Apple a day keeps the doctor away and involved me to this Fu&#8230; fruit lovers wave <img src='http://www.adminsehow.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I declare that I would not trust that doc. I&#8217;m regret and i want to apply for that anti fruit wave which you mentioned on your blog.<br />
I give you my word that I will never ever let that fruit company to ripoff me again.<br />
So i won&#8217;t buy any fruit company product anymore, down with apple , down with peach , down with Kivi , down with pineapple and banana. (Except watermelon which i&#8217;m in love with it, Sorry!)<br />
Long live Pepsi and that anti fruit wave.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/09/the-start-of-the-end-for-apple-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Apache2 + PHP5 on Debian</title>
		<link>http://www.adminsehow.com/2011/09/install-apache2-php5-on-debian/</link>
		<comments>http://www.adminsehow.com/2011/09/install-apache2-php5-on-debian/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 08:16:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=550</guid>
		<description><![CDATA[Very Simple&#8230;]]></description>
			<content:encoded><![CDATA[<p>Very Simple&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
apt-get install libapache2-mod-php5
/etc/init.d/apache2 restart
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/09/install-apache2-php5-on-debian/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Xen &#8211; PyGrub &#8211; warning: grub-probe can&#8217;t find drive for /dev/xvda1</title>
		<link>http://www.adminsehow.com/2011/09/xen-pygrub-warning-grub-probe-cant-find-drive-for-devxvda1/</link>
		<comments>http://www.adminsehow.com/2011/09/xen-pygrub-warning-grub-probe-cant-find-drive-for-devxvda1/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 08:05:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[pygrub]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[XEN]]></category>
		<category><![CDATA[xvda1]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=544</guid>
		<description><![CDATA[If you get following while doing &#8220;apt-get upgrade&#8221; on Debian Squeeze : The solution is : Run&#8230; Edit /usr/sbin/update-grub : Change&#8230; to&#8230; Run&#8230; Everything should be fixed now. References : http://www.sysadmintalk.net/forums/Thread-PyGrub-grub-probe-can-t-find-drive-for-dev-xvda1-error-Debian-Squeeze http://lists.bitfolk.com/lurker/message/20080529.142153.954fedf4.el.html]]></description>
			<content:encoded><![CDATA[<p>If you get following while doing &#8220;apt-get upgrade&#8221; on Debian Squeeze :</p>
<pre class="brush: plain; title: ; notranslate">
Setting up linux-image-2.6.32-5-amd64 (2.6.32-35squeeze1) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
Searching for GRUB installation directory ... found: /boot/grub
warning: grub-probe can't find drive for /dev/xvda1.
grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your device.map.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-amd64.postinst line 799, line 2.
dpkg: error processing linux-image-2.6.32-5-amd64 (--configure):
subprocess installed post-installation script returned error exit status 2</pre>
<p>The solution is :</p>
<p>Run&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
echo '(hd0) /dev/xvda' &gt; /boot/grub/device.map
mknod /dev/xvda b 202 0
</pre>
<p>Edit /usr/sbin/update-grub :<br />
Change&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
find_device ()
{
if ! test -e ${device_map} ; then
echo quit | grub --batch --no-floppy --device-map=${device_map} &gt; /dev/null
fi
grub-probe --device-map=${device_map} -t device $1 2&gt; /dev/null
}
</pre>
<p>to&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
find_device ()
{
if ! test -e ${device_map} ; then
echo quit | grub --batch --no-floppy --device-map=${device_map} &gt; /dev/null
fi
#grub-probe --device-map=${device_map} -t device $1 2&gt; /dev/null
echo /dev/xvda
}
</pre>
<p>Run&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
update-grub 0
sed -i &quot;s/xvda/xvda1/g&quot; /boot/grub/menu.lst
</pre>
<p>Everything should be fixed now.</p>
<p>References :<br />
<a href="http://www.sysadmintalk.net/forums/Thread-PyGrub-grub-probe-can-t-find-drive-for-dev-xvda1-error-Debian-Squeeze">http://www.sysadmintalk.net/forums/Thread-PyGrub-grub-probe-can-t-find-drive-for-dev-xvda1-error-Debian-Squeeze</a><br />
<a href="http://lists.bitfolk.com/lurker/message/20080529.142153.954fedf4.el.html">http://lists.bitfolk.com/lurker/message/20080529.142153.954fedf4.el.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/09/xen-pygrub-warning-grub-probe-cant-find-drive-for-devxvda1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IPTables packet traverse map</title>
		<link>http://www.adminsehow.com/2011/09/iptables-packet-traverse-map/</link>
		<comments>http://www.adminsehow.com/2011/09/iptables-packet-traverse-map/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 07:23:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[chain]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[packet]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[traverse]]></category>

		<guid isPermaLink="false">http://www.adminsehow.com/?p=534</guid>
		<description><![CDATA[1. 2. 2.]]></description>
			<content:encoded><![CDATA[<p>1.<br />
<a href="http://www.adminsehow.com/wp-content/uploads/2011/09/tables_traverse.jpg"><img src="http://www.adminsehow.com/wp-content/uploads/2011/09/tables_traverse.jpg" alt="" title="tables_traverse" width="647" height="1100" class="alignnone size-full wp-image-537" /></a><br />
<span id="more-534"></span><br />
</p>
<hr />
2.<br />
<a href="http://www.adminsehow.com/wp-content/uploads/2011/09/packet_flow9.png"><img src="http://www.adminsehow.com/wp-content/uploads/2011/09/packet_flow9.png" alt="" title="packet_flow9" width="726" height="1443" class="alignnone size-full wp-image-536" /></a><br />
</p>
<hr />
2.<br />
<a href="http://www.adminsehow.com/wp-content/uploads/2011/09/iptables.png"><img src="http://www.adminsehow.com/wp-content/uploads/2011/09/iptables.png" alt="" title="iptables" width="918" height="310" class="alignnone size-full wp-image-535" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adminsehow.com/2011/09/iptables-packet-traverse-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

