<?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>envio land &#187; security</title>
	<atom:link href="http://a3-system.info/blog/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://a3-system.info/blog</link>
	<description>Ash Like Snow</description>
	<lastBuildDate>Fri, 27 Aug 2010 14:47:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>YET Another Gumblar</title>
		<link>http://a3-system.info/blog/php/yet-another-gumblar/</link>
		<comments>http://a3-system.info/blog/php/yet-another-gumblar/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 14:47:48 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Gumblar virus]]></category>
		<category><![CDATA[removal]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=296</guid>
		<description><![CDATA[Today I have deal with my client to clean all chaos caused by Gumblar virus, It&#8217;s seem his root password was stolen and all web data infected with code. The virus code snippet is like this:
var D;if(D!='' &#38;&#38; D!='X'){D=''};var U=new Array();var p="";function u(){var aY=new Date();

The condition , all index file , index.html or index.php was [...]]]></description>
			<content:encoded><![CDATA[<p>Today I have deal with my client to clean all chaos caused by Gumblar virus, It&#8217;s seem his root password was stolen and all web data infected with code. The virus code snippet is like this:</p>
<pre name="code" class="js">var D;if(D!='' &amp;&amp; D!='X'){D=''};var U=new Array();var p="";function u(){var aY=new Date();
</pre>
<p>The condition , all index file , index.html or index.php was injected. The virus code injected on last line of file. After couple hour browse I didn&#8217;t find any solution to this problem and this make me confused, it will horrible if I have to remove the virus code one by one. </p>
<p>After two hour doing experiment finally I found the way how to remove the virus, just use bash script , using &#8220;grep&#8221; , &#8220;find&#8221; , &#8220;cut&#8221; , &#8220;grep&#8221; , &#8220;xargs&#8221; and &#8220;sed&#8221;. <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/yet-another-gumblar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pure-FTPD with MySQL support for HTTPD purpose on CentOS 5.5</title>
		<link>http://a3-system.info/blog/apache/pure-ftpd-with-mysql-support-for-httpd-purpose-on-centos-5-5/</link>
		<comments>http://a3-system.info/blog/apache/pure-ftpd-with-mysql-support-for-httpd-purpose-on-centos-5-5/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 03:28:21 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Authentication failed for user]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[pure-ftpd]]></category>
		<category><![CDATA[[WARNING] Can't login as []: account disabled]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=293</guid>
		<description><![CDATA[Recently I want to setup a FTP system which can used to access HTTPD file, the FTP user will can add / modify or delete file or directory on /var/www/html which it is the httpd document root. 
I just follow the instruction from howtoforge for Pure-FTPD with mysql support. Recently I realize that tutorial dedicated [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I want to setup a FTP system which can used to access HTTPD file, the FTP user will can add / modify or delete file or directory on /var/www/html which it is the httpd document root. </p>
<p>I just follow the instruction from <a href="http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-incl-quota-and-bandwidth-management-on-centos-5.3">howtoforge for Pure-FTPD with mysql support</a>. Recently I realize that tutorial dedicated to buid a FTP with no have relation with httpd.</p>
<p>When I try to login to my ftp it can login well but the user will be &#8220;read-only&#8221; because the FTP home folder owner is apache user. For example my FTP user cacti with home user /var/www/html/cacti.</p>
<p>To accommodate my needs I need to adjust some parameter on pure-ftpd config ( /etc/pure-ftpd/pure-ftpd.conf ) , find &#8220;MinUID&#8221; string and set it to apache UID / for example on my server apache UID is 48 , now set MinUID to 48. Restart your Pure-FTPD server and test it ^^</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/apache/pure-ftpd-with-mysql-support-for-httpd-purpose-on-centos-5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conficker Removal</title>
		<link>http://a3-system.info/blog/daily-life/conficker-removal/</link>
		<comments>http://a3-system.info/blog/daily-life/conficker-removal/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 03:55:50 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Conficker Protect]]></category>
		<category><![CDATA[Conficker Protection]]></category>
		<category><![CDATA[Conficker Removal]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=270</guid>
		<description><![CDATA[Last day I have successfully remove all conficker on from serveral Windows XP  computer. Those conficker must be the latest one because the computer has internet computer so it will update it self.
Method that I use is :
1. Unplug / terminate the local area connection.
2. Use rootkit detector to disable some svchost service infected by [...]]]></description>
			<content:encoded><![CDATA[<p>Last day I have successfully remove all conficker on from serveral Windows XP  computer. Those conficker must be the latest one because the computer has internet computer so it will update it self.</p>
<p>Method that I use is :</p>
<p>1. Unplug / terminate the local area connection.</p>
<p>2. Use rootkit detector to disable some svchost service infected by conficker</p>
<p>You can download the rootkit detector at <a href="http://www.gmer.net/.">http://www.gmer.net/</a> Run the rootkit detector software, if your computer has conficker on it it will detect some svchost service in red colour. You not need do full scan, just right click on red svchost service found by the rootkitdetector, and click <strong>disable service</strong>.</p>
<p>3. Use conficker removal software</p>
<p>Use this removal software from <a href="http://www.enigmasoftware.com/products/conficker-removal-tool/">http://www.enigmasoftware.com/products/conficker-removal-tool/</a> it very small tool, less than 200Kb software. Download and run the software. Follow the instruction. It need reboot few time.</p>
<p>4. Patch Your Windows with latest hotfix from microsoft to avoid conficker come again. Get the patch on</p>
<p><a href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx">http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx</a> . Download accourding you operating system.</p>
<p>That&#8217;s it</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/daily-life/conficker-removal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClamAV update to 0.94.1 on OpenBSD 3.9</title>
		<link>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 10:50:27 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ClamAV Update]]></category>
		<category><![CDATA[mknod]]></category>
		<category><![CDATA[nodev]]></category>
		<category><![CDATA[OpenBSD 3.9 ClamAV update]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=64</guid>
		<description><![CDATA[Recently I have successfully update ClamAV on OpenBSD 3.9 server. Yeah, it&#8217;s old OpenBSD version, I read there a security problem on ClamAV version 0.94 and below. I update this ClamAV to version 0.94.1 using OpenBSD ports, need some modification here to make this 3.9 work well.
On &#8220;Makefile&#8221;, remove &#8220;>&#8221; on LIB_DEPENDS section, so it [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have successfully update ClamAV on OpenBSD 3.9 server. Yeah, it&#8217;s old OpenBSD version, I read there a security problem on ClamAV version 0.94 and below. I update this ClamAV to version 0.94.1 using OpenBSD ports, need some modification here to make this 3.9 work well.</p>
<p>On &#8220;Makefile&#8221;, remove &#8220;>&#8221; on LIB_DEPENDS section, so it will be like this</p>
<p>LIB_DEPENDS=     gmp.6::devel/gmp \<br />
                        bz2.10::archivers/bzip2 \<br />
                        iconv.4::converters/libiconv</p>
<p>On &#8220;pkg/PLIST&#8221;, remove &#8220;@bin&#8221; and also &#8220;@sbin&#8221;, and then add &#8220;share&#8221; to &#8220;manual&#8221; path, the &#8220;manual&#8221; path will be like this</p>
<p>share/man/man1/clamconf.1<br />
share/man/man1/clamdscan.1<br />
share/man/man1/clamscan.1<br />
share/man/man1/freshclam.1<br />
share/man/man1/sigtool.1<br />
share/man/man5/clamd.conf.5<br />
share/man/man5/freshclam.conf.5<br />
share/man/man8/clamav-milter.8<br />
share/man/man8/clamd.8</p>
<p>If you finish with &#8220;make&#8221;, use &#8220;make update&#8221; on ClamAV ports to update your installed ClamAV</p>
<p>New version of ClamAV need &#8220;/dev/null&#8221;, so if you run ClamAV in chroot like I did, you need make /dev/null in our chroot path. For example, my chroot path for CLamAV is /var/clamav. Usually /var mounted with &#8220;nodev&#8221; so we must remove &#8220;nodev&#8221; mount option.</p>
<p>#mount -o dev -u /dev/wd0e<br />
#mount<br />
/dev/wd0a on / type ffs (local)<br />
/dev/wd0d on /home type ffs (local, nodev, nosuid)<br />
/dev/wd0e on /var type ffs (local, nosuid)</p>
<p>#mkdir /var/clamav/dev<br />
#mknod /var/clamav/dev/null c 2 2</p>
<p>Make new &#8220;dev/null&#8221; belong to user that run ClamAV chroot, I use &#8220;_clamav&#8221; as my chroot user.</p>
<p>#chown _clamav:_clamav /var/clamav/dev/null</p>
<p>Just Like That &#8230; and don&#8217;t forget to update the virus database <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP, got hacked, please update your WP to 2.6.3</title>
		<link>http://a3-system.info/blog/php/wp-got-hacked-please-update-your-wp-to-263/</link>
		<comments>http://a3-system.info/blog/php/wp-got-hacked-please-update-your-wp-to-263/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 07:55:05 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[admin take over]]></category>
		<category><![CDATA[webzworks]]></category>
		<category><![CDATA[WP hack]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=35</guid>
		<description><![CDATA[Actually, I am too lazy to update My WordPress version, recently I am still using 2.5 version. But yesterday, When I login to my WordPress admin panel something wrong happen. I never change my password, I store it in my computer, courious, then I am chek my password in firefox it was correct no one [...]]]></description>
			<content:encoded><![CDATA[<p>Actually, I am too lazy to update My WordPress version, recently I am still using 2.5 version. But yesterday, When I login to my WordPress admin panel something wrong happen. I never change my password, I store it in my computer, courious, then I am chek my password in firefox it was correct no one change my password in my computer.</p>
<p>From the google I found that the WordPress that I use is buggy , some one has reset my admin password <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  &#8230;.. so I decide to upgrade my WordPress to 2.6.3 I hope it will better now.</p>
<p>This day, when I check my Word press comment I found some one has give me spam comment, for this post <a href="http://a3-system.info/blog/daily-life/webzworks-was-cheating/" target="_blank">http://a3-system.info/blog/daily-life/webzworks-was-cheating/</a> I know it&#8217;s human not comment bot because my WordPress using captcha for comment spam protection,</p>
<p>This spam comment came from IP :  <strong>121.120.226.180</strong></p>
<p>inetnum:      121.120.0.0 &#8211; 121.123.255.255<br />
netname:      MAXISNET<br />
descr:        Maxis Communications Bhd<br />
country:      MY<br />
admin-c:      ST430-AP<br />
tech-c:       MO113-AP<br />
status:       ALLOCATED PORTABLE<br />
remarks:      -+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+<br />
remarks:      This object can only be updated by APNIC hostmasters.<br />
remarks:      To update this object, please contact APNIC<br />
remarks:      hostmasters and include your organisation&#8217;s account<br />
remarks:      name in the subject line.<br />
remarks:      -+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+<br />
mnt-by:       APNIC-HM<br />
mnt-lower:    MAINT-MY-MAXIS<br />
changed:      hm-changed@apnic.net 20070227<br />
source:       APNIC</p>
<p>person:       See Heng Tan<br />
nic-hdl:      ST430-AP<br />
e-mail:       stansee@maxis.com.my<br />
address:      Plot 12155 (Lot13)<br />
address:      Jalan Delima 1/1<br />
address:      Subang Hi-Tech Industrial Park<br />
address:      Shah Alam<br />
address:      Selangor Darul Ehsan<br />
address:      Malaysia<br />
phone:        +603-5880-1636<br />
fax-no:       +603-5880-0228<br />
country:      MY<br />
changed:      stansee@maxis.com.my 20070124<br />
mnt-by:       MAINT-MY-MAXIS<br />
source:       APNIC</p>
<p>person:       Maxis Network and Security Operations<br />
nic-hdl:      MO113-AP<br />
e-mail:       hostmasters@maxis.com.my<br />
address:      Level 19, Menara Maxis,<br />
address:      KLCC, 50088 Kuala Lumpur<br />
address:      Malaysia<br />
phone:        +603-2330-7500<br />
fax-no:       +603-2330-0587<br />
country:      MY<br />
changed:      stansee@maxis.com.my 20070122<br />
mnt-by:       MAINT-MY-MAXIS<br />
source:       APNIC</p>
<p>This malaysian people again ? I have forget what you have done to me, but why you starting again ??</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/wp-got-hacked-please-update-your-wp-to-263/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ClamAV Ports on OpenBSD 4.3</title>
		<link>http://a3-system.info/blog/openbsd-bsd/clamav-ports/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/clamav-ports/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 04:56:13 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[OpenBSD 4.3 ClamAV ports problem updated unknown elemen]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=32</guid>
		<description><![CDATA[It&#8217;s long time for me not deal with OpenBSD ports, few days ago I must install mail server, so I prefer to use OpenBSD  . One component of this mail server is antivirus then I use ClamAV, I prefer to use ports system to install ClamAV to get newest version. So I need &#8216;porting&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s long time for me not deal with OpenBSD ports, few days ago I must install mail server, so I prefer to use OpenBSD <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . One component of this mail server is antivirus then I use ClamAV, I prefer to use ports system to install ClamAV to get newest version. So I need &#8216;porting&#8217; <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-32"></span><br />
Using this CSV to update my port source of ClamAV</p>
<p># cd /usr<br />
# export CVSROOT=anoncvs@anoncvs.ca.openbsd.org:/cvs<br />
# cvs -q get -P ports/security/clamav/</p>
<p>After update my ClamAV source was updated from version 0.92.1 to 0.94, then ready to &#8216;make&#8217; and &#8216;make install&#8217;</p>
<p># cd /usr/ports/security/clamav<br />
# make<br />
# make install</p>
<p>Some thing wrong when on &#8220;make install&#8221;, this error nearly same as I found when I porting postfix, but when in postfix I prefer to use old version rather using new one because It was late and I was so tired :p It say &#8220;unknown element @bin/&#8221; when I do make install.</p>
<p>So what kind of this error, I have no clue about this, googling didn&#8217;t give good result because you know it&#8217;s OpenBSD <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Then I try to compile older ClamAV that came from ports, the version is 0.92.1. The result is, everything was smooth, normal porting process, so I guest the problem was in port update.</p>
<p>I decide to review the ports code, compare the updated version and the original version of clamav ports, Comparing this file /usr/ports/security/clamav/pkg/PLIST and I found this  :</p>
<p>clamav-0.92.1</p>
<p>@comment $OpenBSD: PLIST,v 1.9 2008/01/02 18:10:51 bernd Exp $<br />
@newgroup _clamav:539<br />
@newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin<br />
bin/clamav-config<br />
bin/clamconf<br />
bin/clamdscan<br />
bin/clamscan<br />
bin/freshclam<br />
bin/sigtool</p>
<p>clamav-0.94</p>
<p>@comment $OpenBSD: PLIST,v 1.11 2008/07/08 22:38:12 sthen Exp $<br />
@newgroup _clamav:539<br />
@newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin<br />
bin/clamav-config<br />
@bin bin/clamconf<br />
@bin bin/clamdscan<br />
@bin bin/clamscan<br />
@bin bin/freshclam<br />
@bin bin/sigtool</p>
<p>Why there exist &#8220;@bin&#8221; ? so I remove all @bin, save this file, and doing &#8216;make&#8217; and &#8216;make install&#8217; again. The result : ClamAV 0.94 successfully installed What a weird <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/clamav-ports/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>phpizabi vulnerability</title>
		<link>http://a3-system.info/blog/php/phpizabi-vulnerability/</link>
		<comments>http://a3-system.info/blog/php/phpizabi-vulnerability/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 03:56:51 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[phpizabi vulnerability hacked]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=31</guid>
		<description><![CDATA[Yesterday I have to fix a website that running phphizabi (http://www.phpizabi.net/) it&#8217;s kind of social networking web application. The problem is the thumbnail picture of the all member become a blank (a black box). After couple minute searching I know that the black box appear for the member that didn&#8217;t upload their photo, the site [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I have to fix a website that running phphizabi (http://www.phpizabi.net/) it&#8217;s kind of social networking web application. The problem is the thumbnail picture of the all member become a blank (a black box). After couple minute searching I know that the black box appear for the member that didn&#8217;t upload their photo, the site owner said that last time he saw it still have many thumbnail picture, so where is all the thumbnail now ?<br />
<span id="more-31"></span><br />
I try to register to this website then I upload some picture and it&#8217;s work nothing wrong with the system, then I view the database and search in the web directory for picture storage. I saw so many picture was gone after some specific date, just a single picture of member left, who delete all picture ?</p>
<p>In the picture directory, I saw a .php file, curious why a .php file located here, then I view the source code and I know a bad situation happen, the .php file is remote file explorer, seem some one has put it here and absolutely he can delete all file he want, include the all picture member of this site. The phpizabi is compromised, have a vulnerability so anyone can put some .php file here. </p>
<p>After searching in google I found that this application have vulnerability in  &#8220;create event&#8221; menu. A registered member of this website can make some &#8220;event&#8221; and in this event, the user can upload a photo of the event. Normally it should be a image file can be .bmp .jpg .png .gif  unfortunately the developer of phpizabi forget to filter the file <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  extension, so a registered member can upload a php file then anyone can access it directly, I have test it for prove of concept and it&#8217;s work even I have update phpizabi with their hot fix (newer index.php).</p>
<p>My suggestion, add a file extension filter process on event picture upload or disable the picture event.</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/phpizabi-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
