<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[How do I determine that my VE is hacked / compromised?]]></title>
<link>http://kb.parallels.com/en/1013</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How do I determine that my VE is hacked / compromised?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1013&nbsp;</div>
					<div>Last Review: Mar,23 2009</div>
					<tr>
						<td>Author: </td>
						<td>Vitaly Filatov</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>system</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Virtuozzo Containers for Linux</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					VE can be compromised if its owner uses insecure or out-of-date software.  To detect if VE #101 has any rootkits installed one can use the chkrootkit utility either inside the VE or (better) on the hardware node using -r /vz/root/101 parameter.  There is also a way to determine which packages were modified on the VE:<br /><br />- mount VE private area (it may be needed in case VE can not be started):<br /><div class="commandline"><code># vzctl mount 101</code></div><br />- check packages integrity:<br /><div class="commandline"><code># /usr/share/vzpkgtools/vzrpm/bin/rpm --root=/vz/root/101 --veid 101 -Va | egrep '^..5|missing'</code></div><br /><br />This command shows the files that were modified or removed.<br /><br />Path to the needed package manger (/usr/share/vzpkgtools/vzrpm/bin/rpm n the example above) may be different for different VEs (it depends on OS template of VE). You may check  which package&nbsp; manager (PKGMAN) shoud be used in OS template in  the file &quot;<em>/vz/template/</em>$OSRELEASE/conf/$OSRELEASE.conf.$OSVERSION&quot; for  standard OS template or in the file&nbsp;  &quot;<em>/vz/template/</em>$OS/$RELEASE/$ARCH/config/os/default/package_manager&quot; for  EZ template, and use appropriate rpm in the command above.<br /> <br />For example, CentOS 4 uses 'PKGMAN=rpm43x86' so the path will be '/usr/share/vzpkgtools/vzrpm43/bin/rpm'<br /><br />Follow the instructions from <a title="How to repair hacked VE" href="http://kb.parallels.comhttp://faq.swsoft.com/article_133_1012_en.html">the corresponding article</a> to repair a hacked VE.<br />
				</div>
				<div class="keywords"><strong>Keywords:</strong> hack crack compromise restore repair</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1013&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1013&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '1013',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Vitaly Filatov</author>
<guid isPermaLink="false">660 LastUpdated: 2009-03-23 06:05:45</guid>
<pubDate>2008-10-06 09:10:57</pubDate>
</item>
</channel>
</rss>



