<?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>Zen Dzign &#187; Security</title>
	<atom:link href="http://www.zendzign.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendzign.com</link>
	<description>The official ZZ Servers Blog - Visit http://www.zzservers.com for your business hosting needs.</description>
	<lastBuildDate>Tue, 03 Aug 2010 13:15:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Kerio Connect Protects Your Privacy with &#8220;Remote Wipe&#8221;</title>
		<link>http://www.zendzign.com/2010/04/kerio-connect-protects-your-privacy-with-remote-wipe/</link>
		<comments>http://www.zendzign.com/2010/04/kerio-connect-protects-your-privacy-with-remote-wipe/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 11:34:19 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Kerio Mail Server]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[Small Business]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=151</guid>
		<description><![CDATA[Smart phones have become an essential part of our lives, and we store everything on them, from our emails, facebook, text messages, events, tasks and contacts. Losing such a device is therefore a real nightmare, as you will not only lose access to all of this information, but if your device falls into the wrong [...]]]></description>
			<content:encoded><![CDATA[<p>Smart phones have become an essential part of our lives, and we store everything on them, from our emails, facebook, text messages, events, tasks and contacts. Losing such a device is therefore a real nightmare, as you will not only lose access to all of this information, but if your device falls into the wrong hands, this person will know everything about you!</p>
<p><span id="more-151"></span> If a phone is lost or stolen, your natural reaction may be to change your password. This is not a good idea, because changing the password will make it impossible to do a &#8220;remote wipe&#8221; of the phone. Fortunately, Kerio Connect offers a solution called &#8220;remote wipe&#8221;. A &#8220;remote wipe&#8221; will erase all data on the phone completely resetting all accounts, and in the case of most phones, erasing all apps and completely resetting the phone. Remote wipe is much more effective than changing a password because it protects the user&#8217;s privacy, and should be used instead. More information regarding the remote wipe feature can be found at <a href="http://www.zzservers.com/hosting/mail-server/">ZZ Servers</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2010/04/kerio-connect-protects-your-privacy-with-remote-wipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zabbix &amp; OSSEC: Open-Source compliance and security monitoring</title>
		<link>http://www.zendzign.com/2010/04/zabbix-ossec-open-source-compliance-and-security-monitoring/</link>
		<comments>http://www.zendzign.com/2010/04/zabbix-ossec-open-source-compliance-and-security-monitoring/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 14:11:53 +0000</pubDate>
		<dc:creator>David M. Zendzian</dc:creator>
				<category><![CDATA[HIPPA]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=96</guid>
		<description><![CDATA[Good security, not just compliance requirements, encourages IT &#38; Security staff to spend time reviewing security events.  There are many tools available for many security components of your network; this article will focus on host security and host log monitoring using OSSEC and Zabbix. After having used many open and commercial  monitoring systems, we have [...]]]></description>
			<content:encoded><![CDATA[<p>Good security, not just compliance requirements, encourages IT &amp; Security staff to spend time reviewing security events.  There are many tools available for many security components of your network; this article will focus on host security and host log monitoring using <a title="OSSEC" href="http://www.ossec.net" target="_self">OSSEC</a> and <a title="Zabbix" href="http://www.zabbix.com" target="_self">Zabbix</a>.</p>
<p><span id="more-96"></span>After having used many open and commercial  monitoring systems, we have settled on <a title="Zabbix" href="http://www.zabbix.com" target="_self">Zabbix</a> because of it&#8217;s extensive features and expandability (especially with the new integrated <a title="API" href="http://www.zabbix.com/documentation/1.8/api" target="_self">API</a>).  That and it doesn&#8217;t hurt that it is well designed for expanded enterprises and is <a title="OpenSource" href="http://www.zabbix.com/licence.php" target="_self">OpenSource</a>.</p>
<p>This article was originally posted with details for Zabbix 1.6 and was updated on April 10 to reflect how to set it up under Zabbix 1.8.</p>
<p>OSSEC is a great tool provided by Trend Micro and is also an <a title="OpenSource" href="http://www.ossec.net/main/license/" target="_self">OpenSource</a> application. OSSEC provides a variety of tools for host based intrusion detection including:  log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.  All of which support several <a title="compliance" href="http://www.ossec.net/ossec-docs/ossec-PCI-Solution.pdf" target="_self">compliance</a> and basic security requirements. OSSEC is deployed in a client-server model with all alerting and active response features being controlled and sent through the central server.</p>
<p>To integrate OSSEC and Zabbix we will be using the active-response feature of OSSEC integrated with zabbix_sender to send the active response alert to the zabbix server.   Configuring for this integration requires a simple script, a quick change to the ossec.conf and the creation of an OSSEC template in the zabbix system.</p>
<p>We will start with the OSSEC changes.  First, we will edit the OSSEC/etc/ossec.conf file, where OSSEC is the path to your OSSEC installation.  In this file you will need to add the following items:</p>
<blockquote><p>&lt;command&gt;<br />
&lt;name&gt;zabbix-alert&lt;/name&gt;<br />
&lt;executable&gt;zabbix-alert.sh&lt;/executable&gt;<br />
&lt;timeout_allowed&gt;no&lt;/timeout_allowed&gt;<br />
&lt;expect&gt;&lt;/expect&gt;<br />
&lt;/command&gt;</p>
<p>&lt;active-response&gt;<br />
&lt;disabled&gt;no&lt;/disabled&gt;<br />
&lt;command&gt;zabbix-alert&lt;/command&gt;<br />
&lt;location&gt;server&lt;/location&gt;<br />
&lt;level&gt;1&lt;/level&gt;<br />
&lt;/active-response&gt;<strong><br />
</strong></p></blockquote>
<p>The first &lt;command&gt; item defines the script we will be using for the zabbix-alert.  The &lt;active-response&gt; item defines when the system will use this script.  The defined configuration above has all alerts at and above level &#8220;1&#8243; sent to the zabbix-alert command.  This can be modified for higher levels or specific rules or rule groups.  More information on this configuration can be found in the OSSEC <a title="manual" href="http://www.ossec.net/main/manual/manual-active-responses/" target="_self">manual</a>.</p>
<p>Now the zabbix-alert.sh script needs to be put into the OSSEC/active-response/bin directory (be sure to watch for lines that are wrapped around but shouldn&#8217;t be).  You can download the script here: <a href="http://www.zendzign.com/wp-content/uploads/2010/04/ossec-zabbix-alert.zip">zabbix-alert.sh</a>.</p>
<blockquote><p>#!/bin/sh<br />
#<br />
# Submits an OSSEC alert as a passive service check result to zabbix.<br />
#<br />
# Author: David M. Zendzian<br />
# ZZ Servers, LLC 2010<br />
#<br />
# Idea from Dave Stycos post: http://groups.google.com/group/ossec-dev/browse_thread/thread/e29c5d71926b8af5<br />
#<br />
# This script is Public Domain, and is provided AS-IS.  There is no<br />
# warranty, and no support given for its contents.<br />
#<br />
# Version 1.0: Apr. 6, 2010<br />
#</p>
<p>DEBUG=&#8221;false&#8221;<br />
ACTION=$1<br />
USER=$2<br />
IP=$3<br />
ALERTID=$4<br />
RULEID=$5</p>
<p>LOCAL=`dirname $0`;<br />
cd $LOCAL<br />
cd ../<br />
PWD=`pwd`<br />
UNAME=`uname`</p>
<p># Zabbix Sender<br />
ZabbixSender=&#8221;/usr/bin/zabbix_sender&#8221;<br />
#ZabbixSender=&#8221;/usr/sbin/zabbix_sender&#8221;</p>
<p># Zabbix Server<br />
ZabbixServer=&lt;your zabbix server ip&gt;</p>
<p># Zabbix Port<br />
ZabbixPort=10051</p>
<p># All alerts will be processed by Zabbix under this key.<br />
ZabbixKeyName=OSSEC</p>
<p># Check that zabbix_sender file exists.<br />
if [ ! -w $ZabbixSender ]; then<br />
logger -p local0.err &#8220;$0: File $ZabbixSender not found.  Exiting.&#8221;<br />
exit 1<br />
fi</p>
<p># Getting alert time<br />
ALERTTIME=`echo &#8220;$ALERTID&#8221; | cut -d  &#8220;.&#8221; -f 1`</p>
<p># Getting end of alert<br />
ALERTLAST=`echo &#8220;$ALERTID&#8221; | cut -d  &#8220;.&#8221; -f 2`</p>
<p># Getting full alert<br />
ALERTTEXT=`grep -A 10 &#8220;$ALERTTIME&#8221; $PWD/../logs/alerts/alerts.log | grep -v &#8220;.$ALERTLAST: &#8221; -A 10 `</p>
<p># Extract host (agent) name from alert.<br />
HOSTNAME=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;1,1s/^.*\:[0-9][0-9]\:[0-9][0-9][^A-Za-z0-9_]*\([-A-Za-z0-9_]*\)\-&gt;.*$/\1/p&#8217;`</p>
<p># if hostname alert wasn&#8217;t from local host, the host value is &#8220;(hostname) ip&#8221;, which extracts differently<br />
if [ "$HOSTNAME" = "" ]<br />
then<br />
HOSTNAME=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;1,1s/^.*\:[0-9][0-9]\:[0-9][0-9] (\([-A-Za-z0-9_]*\)) .*\-&gt;.*$/\1/p&#8217;`<br />
fi<br />
if [ "$HOSTNAME" = "" ]<br />
then<br />
exit 0<br />
fi</p>
<p># Extract alert level from alert.<br />
ALERTLVL=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;2,2s/^.*(level \([0-9]*\).*$/\1/p&#8217;`</p>
<p># Extract description from alert.<br />
ALERTMSG=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;5,5p&#8217;`</p>
<p># Create Alert message<br />
# Short MSG version<br />
#ZMSG=&#8221;$ALERTID | $ALERTLVL | $RULEID &#8211; $ALERTMSG&#8221;<br />
# Full MSG Version<br />
ZMSG=&#8221;AlertID: $ALERTID | User: $USER | IP: $IP | Level: $ALERTLVL | RuleID: $RULEID &#8211; $ALERTMSG&#8221;</p>
<p># Send result to zabbix for logging and notification alerts.<br />
$ZabbixSender &#8211;zabbix-server $ZabbixServer &#8211;port $ZabbixPort &#8211;host $HOSTNAME &#8211;key $ZabbixKeyName &#8211;value &#8220;$ZMSG&#8221;</p>
<p>if [ "$DEBUG" = "true" ]<br />
then<br />
echo &#8220;$ZabbixSender &#8211;zabbix-server $ZabbixServer &#8211;port $ZabbixPort &#8211;host $HOSTNAME &#8211;key $ZabbixKeyName &#8211;value &#8216;$ZMSG&#8217;&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;ACTION: $ACTION&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;USER: $USER&#8221;<br />
echo &#8220;IP: $IP&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;ALERTID: $ALERTID&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;ALERTLVL: $ALERTLVL&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;RULEID: $RULEID&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
fi<strong><br />
</strong></p></blockquote>
<p>With the script saved, you can restart OSSEC (OSSEC/bin/ossec-control restart) or wait until zabbix is setup then restart.</p>
<p>UPDATE 07-16-2010 &#8211; If you are using zabbix-proxies then you need to have the OSSEC alerts for proxy monitored hosts submitted through the proxy server.  This isn&#8217;t a problem with the existing script if the proxy server is also monitored through the proxy; just update the server IP to be the proxy not the central zabbix server.  If you monitor your proxy directly from the central zabbix server then the script needs to be updated to support sending proxy hosts though proxy and the host itself directly to zabbix.  The script can be found <a title="zabbix-alert.zip" href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-alert.zip">here</a>; or below.  Again be sure to watch for broken wrapped lines:</p>
<blockquote><p>#!/bin/sh<br />
#<br />
# Submits an OSSEC alert as a passive service check result to zabbix.<br />
#<br />
# Author: David M. Zendzian<br />
#<br />
# Idea from Dave Stycos post: http://groups.google.com/group/ossec-dev/browse_thread/thread/e29c5d71926b8af5<br />
#<br />
# Updated 7/15/10 &#8211; using 2 server hosts in case using proxies and local host is monitored directly by central server and not proxy.<br />
#<br />
# This script is Public Domain, and is provided AS-IS.  There is no<br />
# warranty, and no support given for its contents.<br />
#<br />
# Version 1.1: Jul. 15, 2010<br />
#</p>
<p>DEBUG=&#8221;true&#8221;<br />
ACTION=$1<br />
USER=$2<br />
IP=$3<br />
ALERTID=$4<br />
RULEID=$5</p>
<p>if [ "$DEBUG" = "true" ]<br />
then<br />
echo &#8220;NOTICE: Starting Zabbix sender&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
fi</p>
<p>LOCAL=`dirname $0`;<br />
cd $LOCAL<br />
cd ../<br />
PWD=`pwd`<br />
UNAME=`uname`</p>
<p># Zabbix Sender<br />
ZabbixSender=&#8221;/usr/bin/zabbix_sender&#8221;<br />
#ZabbixSender=&#8221;/usr/sbin/zabbix_sender&#8221;</p>
<p># Zabbix Server<br />
# Set server2 to be the same if all hosts monitored through proxy or the same server; otherwise<br />
# set ZabbixServer to the proxy for non-localhost and then ZabbixServer2 to the host that the<br />
# local proxy uses<br />
ZabbixServer=&lt;Server/Proxy&gt;<br />
ZabbixServer2=&lt;Server for &#8220;Localhost&#8221;&gt;</p>
<p># Zabbix Port<br />
ZabbixPort=10051</p>
<p># All alerts will be processed by Zabbix under this key.<br />
ZabbixKeyName=OSSEC</p>
<p># Check that zabbix_sender file exists.<br />
if [ ! -w $ZabbixSender ]; then<br />
logger -p local0.err &#8220;$0: File $ZabbixSender not found.  Exiting.&#8221;<br />
if [ "$DEBUG" = "true" ]<br />
then<br />
echo &#8220;ERROR: No Zabbix Sender&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
fi<br />
exit 1<br />
fi</p>
<p># Getting alert time<br />
ALERTTIME=`echo &#8220;$ALERTID&#8221; | cut -d  &#8220;.&#8221; -f 1`</p>
<p># Getting end of alert<br />
ALERTLAST=`echo &#8220;$ALERTID&#8221; | cut -d  &#8220;.&#8221; -f 2`</p>
<p># Getting full alert<br />
ALERTTEXT=`grep -A 10 &#8220;$ALERTTIME&#8221; $PWD/../logs/alerts/alerts.log | grep -v &#8220;.$ALERTLAST: &#8221; -A 10 `</p>
<p># Extract host (agent) name from alert.<br />
HOSTNAME=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;1,1s/^.*\:[0-9][0-9]\:[0-9][0-9][^A-Za-z0-9_]*\([-A-Za-z0-9_]*\)\-&gt;.*$/\1/p&#8217;`</p>
<p># if hostname alert wasn&#8217;t from local host, the host value is &#8220;(hostname) ip&#8221;, which extracts differently<br />
if [ "$HOSTNAME" = "" ]<br />
then<br />
HOSTNAME=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;1,1s/^.*\:[0-9][0-9]\:[0-9][0-9] (\([-A-Za-z0-9_]*\)) .*\-&gt;.*$/\1/p&#8217;`<br />
fi<br />
if [ "$HOSTNAME" = "" ]<br />
then<br />
if [ "$DEBUG" = "true" ]<br />
then<br />
echo &#8220;ERROR: No Hostname&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
fi<br />
exit 0<br />
fi</p>
<p># if the local host is a proxy then monitored items submitted through proxy, localhost probably monitored directly from central server (if not change comment this out)<br />
LOCALHOSTNAME=`hostname -s`<br />
if [ "$HOSTNAME" = "$LOCALHOSTNAME" ]<br />
then<br />
ZabbixServer=$ZabbixServer2<br />
fi</p>
<p>if [ "$DEBUG" = "true" ]<br />
then<br />
echo &#8220;ZabbixServer: $ZabbixServer&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
fi</p>
<p># Extract alert level from alert.<br />
ALERTLVL=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;2,2s/^.*(level \([0-9]*\).*$/\1/p&#8217;`</p>
<p># Extract description from alert.<br />
ALERTMSG=`echo &#8220;$ALERTTEXT&#8221; | sed -n &#8217;5,5p&#8217;`</p>
<p># Create Alert message<br />
ZMSG=&#8221;$ALERTID | $ALERTLVL | $RULEID &#8211; $ALERTMSG&#8221;</p>
<p># Send result to zabbix for logging and notification alerts.<br />
$ZabbixSender &#8211;zabbix-server $ZabbixServer &#8211;port $ZabbixPort &#8211;host $HOSTNAME &#8211;key $ZabbixKeyName &#8211;value &#8220;$ZMSG&#8221;</p>
<p>if [ "$DEBUG" = "true" ]<br />
then<br />
echo &#8220;$ZabbixSender &#8211;zabbix-server $ZabbixServer &#8211;port $ZabbixPort &#8211;host $HOSTNAME &#8211;key $ZabbixKeyName &#8211;value &#8216;$ZMSG&#8217;&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;ACTION: $ACTION&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;USER: $USER&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;IP: $IP&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;ALERTID: $ALERTID&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;ALERTLVL: $ALERTLVL&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;RULEID: $RULEID&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
echo &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; &gt;&gt; /tmp/zabbix-test.log<br />
fi</p>
<p>exit 0</p></blockquote>
<p>For this integration to work, <strong>the host names used in OSSEC need to match the host names defined in Zabbix</strong>.  If they do not match, then zabbix_sender results will not make it into the hosts items correctly.</p>
<p>The easiest way to setup zabbix is to setup a <a title="template" href="http://www.zabbix.com/wiki/templates/start" target="_self">template</a>.  This template will define the application, item and triggers for OSSEC and can easily be linked to the hosts you are monitoring.</p>
<p>In zabbix goto Configure/Hosts and select &#8216;templates&#8217;.</p>
<p>Create a new template called OSSEC and be sure to add it to the Templates group.</p>
<div id="attachment_98" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-add-template.png"><img class="size-large wp-image-98" title="Zabbix: Add OSSEC Template" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-add-template-1024x570.png" alt="Add OSSEC Template" width="525" height="292" /></a><p class="wp-caption-text">Zabbix 1.6: Add OSSEC Template </p></div>
<div id="attachment_144" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-template.png"><img class="size-large wp-image-144" title="Zabbix 1.8: Add OSSEC Template" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-template-1024x759.png" alt="Zabbix 1.8: Add OSSEC Template" width="525" height="389" /></a><p class="wp-caption-text">Zabbix 1.8: Add OSSEC Template</p></div>
<p>With the template created, a new application needs to be created so the OSSEC items have a place to be organized.  Staying in Configuration / Hosts (for Zabbix 1.6 &amp; 1.8), in the drop down on the upper right, select &#8220;Applications&#8221; and then from the group and host dropdown, select Templates / Template_OSSEC that was just created.  There should be no Applications in the list. If you do not see Template_OSSEC that was just created, go back to templates and edit the OSSEC item and be sure that it is in the &#8220;Templates&#8221; group.</p>
<p>Click on &#8220;Create application&#8221; and create &#8220;OSSEC Monitor&#8221; or whatever you want to call it.</p>
<div id="attachment_99" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-create-application.png"><img class="size-full wp-image-99" title="Zabbix 1.6: Create OSSEC Template Application" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-create-application.png" alt="Create OSSEC Template Application" width="525" height="191" /></a><p class="wp-caption-text">Zabbix 1.6: Create OSSEC Template Application</p></div>
<div id="attachment_145" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-application.png"><img class="size-full wp-image-145" title="Zabbix 1.8: Create OSSEC Application" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-application.png" alt="Zabbix 1.8: Create OSSEC Application" width="525" height="220" /></a><p class="wp-caption-text">Zabbix 1.8: Create OSSEC Application</p></div>
<p>Now we are ready to create the Item &amp; Trigger for the OSSEC data.  In Zabbix 1.6, select &#8220;Configuration / Items&#8221; and select &#8220;Templates / Template_OSSEC&#8221; from the group and host selections and then click on &#8220;Create Item.&#8221;  The important item here is the Key which we will setup as OSSEC and is required to match the ZabbixKeyName in the zabbix-alert.sh script on the OSSEC server.</p>
<div id="attachment_100" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/create-item.png"><img class="size-full wp-image-100" title="Zabbix 1.6: Create OSSEC Item" src="http://www.zendzign.com/wp-content/uploads/2010/04/create-item.png" alt="Zabbix Create OSSEC Item" width="525" height="355" /></a><p class="wp-caption-text">Zabbix 1.6: Create OSSEC Item</p></div>
<p>In Zabbix 1.8, remain in the &#8220;Configuration / Hosts&#8221; menu and in the upper right drop down select &#8220;Items&#8221;.  Click on &#8220;Create Item.&#8221;  When the new form is up, click on &#8220;Select&#8221; for the Host and select Template_OSSEC that we created above.  The same values will be set as with Zabbix 1.6.</p>
<div id="attachment_146" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-item.png"><img class="size-full wp-image-146" title="Zabbix 1.8: Create OSSEC Item" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-item.png" alt="Zabbix 1.8: Create OSSEC Item" width="525" height="365" /></a><p class="wp-caption-text">Zabbix 1.8: Create OSSEC Item</p></div>
<p>As you can see, the item is a &#8220;Text&#8221; type getting data from a Zabbix Trapper event.  The things to not forget here are to enter your OSSEC server(s) in the Allowed Host line and to select the OSSEC Monitor application.</p>
<p>The next step is to create a trigger which will let us know when new data has arrived from OSSEC. Select &#8220;Configuration / Triggers&#8221; in Zabbix 1.6.</p>
<p>If you are using 1.8 then remain on the &#8220;Configuration / Hosts&#8221; page and select &#8220;Triggers&#8221; from the dropdown box on the upper right.</p>
<p>It should default to the Template_OSSEC host, but if it doesn&#8217;t then select Templates from groups and the Template_OSSEC host.</p>
<p>There are several ways to monitor the OSSEC text data, but I have selected to alert if there is new data in the last 10 minutes.  As you can see from the screenshot, the expression I used is {Template_OSSEC:OSSEC.nodata(600)}#1.  This works because the nodata(600) will return a 1 if no data is received in the time period specified (600 sec or 10 min).  So if it ever returns anything other than 1, we have new data.  For more information on trigger functions, consult the zabbix <a title="manual" href="http://www.zabbix.com/documentation/1.8/manual/config/triggers" target="_self">manual</a>.</p>
<p>Now click on &#8220;Create Trigger&#8221; go create the trigger.</p>
<div id="attachment_101" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-create-trigger.png"><img class="size-full wp-image-101" title="Zabbix 1.6: Create OSSEC Zabbix Trigger" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-create-trigger.png" alt="Create OSSEC Zabbix Trigger" width="525" height="355" /></a><p class="wp-caption-text">Zabbix 1.6: Create OSSEC Zabbix Trigger</p></div>
<div id="attachment_147" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-trigger.png"><img class="size-full wp-image-147" title="Zabbix 1.8: Create OSSEC Zabbix Trigger" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-ossec-trigger.png" alt="Zabbix 1.8: Create OSSEC Zabbix Trigger" width="525" height="365" /></a><p class="wp-caption-text">Zabbix 1.8: Create OSSEC Zabbix Trigger</p></div>
<p>I have set the alert severity to &#8220;average&#8221; but you may want to change that depending on your needs.  The zabbix actions we will define will send all OSSEC alerts so the severity will not really matter.  One thing that is worth examining is to change the OSSEC item value to log instead of text which could allow for log severity and other values that could be used with the OSSEC alert levels; but that project is for another time.</p>
<p><strong>Updated: 4/16/10 &#8211; </strong>What I have done for alerting based on level is to use the &#8220;short&#8221; ZMSG message type in the zabbix-alert.sh script and define a trigger such as:</p>
<p style="padding-left: 30px;">({Template_OSSEC:OSSEC.<strong>nodata(</strong>600<strong>)</strong>}#1)&amp;({Template_OSSEC:OSSEC.<strong>str(</strong> | 1 | <strong>)</strong>}#1)&amp;({Template_OSSEC:OSSEC.<strong>str(</strong> | 2 | <strong>)</strong>}#1)&amp;({Template_OSSEC:OSSEC.<strong>str(</strong> | 3 | <strong>)</strong>}#1)</p>
<p>What this trigger does is requires all 4 conditions to be met (&amp;=&#8221;AND&#8221; between each item test).  The first is that there is new data within the last 10 minutes, the other 3 are requirements that the new data does not contain | 1 | or | 2 | or | 3 |, which would be OSSEC alert levels 1, 2 and 3.  If you use the longer ZMSG then the str values would be like: {Template_OSSEC:OSSEC.<strong>str(</strong> | Level: 3 | <strong>)</strong>}#1</p>
<p>Only 2 things left to do and the OSSEC/Zabbix integration is done.  These are to create actions for OSSEC events and to link the OSSEC template to the hosts you are monitoring with OSSEC.</p>
<p>In our local zabbix configuration I have created a &#8220;Security Administrator&#8221; group that receives IDS and other security events and will be using that to specify who receives the alerts.  You can modify these settings based on your local policy and zabbix configuration.</p>
<p>As you will also see in the following screenshot, I have modified the default message.  This allows me to receive the full data from the OSSEC event through {ITEM.LASTVALUE}.  I have also shortened the message so I can receive the details I want on my SMS alerts which have a smaller size than full emails.</p>
<p>I have tried to enable escalations for OSSEC alerts, however the way that zabbix handles items is that it will only look at the &#8220;active&#8221; triggers &amp; items, what this means is that when a new OSSEC alert comes in and is added to the items database, the trigger is alerted but after 10 minutes it will &#8220;go away&#8221;.  There is no way, currently, to have a trigger depend on it&#8217;s being &#8220;Ack&#8217;d&#8221; which would be preferred for security, log and other events that just shouldn&#8217;t go away until an admin acks what happened.  There is a currently active zabbix <a title="feature request" href="https://support.zabbix.com/browse/ZBXNEXT-104" target="_self">feature request</a> requesting this, so please go vote it up so we can see it added in the near future!</p>
<div id="attachment_103" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-create-action.png"><img class="size-full wp-image-103" title="Zabbix 1.6: Create OSSEC Action" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-create-action.png" alt="Zabbix Create OSSEC Action" width="525" height="355" /></a><p class="wp-caption-text">Zabbix 1.6: Create OSSEC Action</p></div>
<div id="attachment_148" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-action.png"><img class="size-full wp-image-148" title="Zabbix 1.8: Create OSSEC Action" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-create-action.png" alt="Zabbix 1.8: Create OSSEC Action" width="525" height="365" /></a><p class="wp-caption-text">Zabbix 1.8: Create OSSEC Action</p></div>
<p>All that is left is to link your hosts to the OSSEC template.  The OSSEC alert submits data to zabbix based on the host names defined in OSSEC.  So once again, please be sure the names used match in both systems.</p>
<p>If you do not know how to link the OSSEC template, simply go to &#8220;Configuration / Hosts&#8221; and edit the hosts that are monitored by OSSEC.  You need to link every host as the alerts will be coming in directly to each unique host.  The example below is for one of our ossec servers, but the configuration should be the same for all OSSEC monitored hosts.</p>
<div id="attachment_104" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-host-templatelink.png"><img class="size-full wp-image-104" title="Zabbix 1.6: Host OSSEC Template Link" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-host-templatelink.png" alt="Zabbix Host OSSEC Template Link" width="525" height="462" /></a><p class="wp-caption-text">Zabbix 1.6: Host OSSEC Template Link</p></div>
<div id="attachment_149" class="wp-caption alignnone" style="width: 535px"><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-ossec-template-link.png"><img class="size-large wp-image-149" title="Zabbix 1.8: Host OSSEC Template Link" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix1.8-ossec-template-link-1024x637.png" alt="Zabbix 1.8: Host OSSEC Template Link" width="525" height="326" /></a><p class="wp-caption-text">Zabbix 1.8: Host OSSEC Template Link</p></div>
<p>This should be it.  If you have already restarted OSSEC then you just need to create an event it will alert on (logging onto monitored host, creating &#8220;segfault&#8221; log messages: logger &#8220;segfault&#8221;, etc).  In my quick test, seen below, I did a failed logon (bad pw) and within a few seconds I had my jabber alert pop up and a sms message arrive on my phone!</p>
<p><a href="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-ossec-alert.png"><img class="alignnone size-full wp-image-122" title="Zabbix OSSEC Jabber Alert" src="http://www.zendzign.com/wp-content/uploads/2010/04/zabbix-ossec-alert.png" alt="Zabbix OSSEC Jabber Alert" width="332" height="340" /></a></p>
<p>If you have any problems, you can set DEBUG=true in the zabbix-alert.sh and it will log out what is being sent to zabbix into /tmp/zabbix-test.log.</p>
<p>If OSSEC is not running active-alerts, you may want to jump on #ossec on the openprojects IRC and get some assistance or search google.</p>
<p>Good luck!</p>
<p>David M. Zendzian | Managing Partner | <a title="ZZ Servers, LLC" href="http://www.zzservers.com" target="_self">ZZ Servers</a><br />
268 Bush St. #4127 | San Francisco, CA 94104</p>
<p>Business Hosting Solutions | PCI | HIPAA<br />
Managed Hosting Specialists</p>
<p><em> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2010/04/zabbix-ossec-open-source-compliance-and-security-monitoring/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Anti Virus and PCI Compliance</title>
		<link>http://www.zendzign.com/2009/12/anti-virus-and-pci-compliance/</link>
		<comments>http://www.zendzign.com/2009/12/anti-virus-and-pci-compliance/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 18:14:00 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[anti virus]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[malicious software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=92</guid>
		<description><![CDATA[Last year PCI DSS 1.2 was released changing the intent of the controls required for anti-virus software. In version 1.1 anti-virus software was only required for systems commonly affected by viruses and excluded UNIX based operating systems and mainframes. Version 1.2 now requires all operating system types commonly affected by malicious software be protected and [...]]]></description>
			<content:encoded><![CDATA[<p>Last year PCI DSS 1.2 was released changing the intent of the controls required for anti-virus software. In version 1.1 anti-virus software was only required for systems commonly affected by viruses and excluded UNIX based operating systems and mainframes. Version 1.2 now requires all operating system types commonly affected by malicious software be protected and removes the exclusion for UNIX and mainframes. These changes now open the requirement for protection from &#8220;malicious software&#8221; such as worms, trojans, adware, spyware or any &#8220;malicious software&#8221;.<span id="more-92"></span></p>
<p>In the past, it was though Linux servers were safe from viruses but recently hackers have been taking advantage of this false sense of security. Some researchers point out that 70% of attacks on Linux honeypots were infected with a 6 year old virus (RST-B)* and used as command and control points for botnets.</p>
<p>ZZ Servers now offers affordable F-Prot anti-virus software for Windows, Linux, Exchange, BSD and Solaris. Protect your servers, desktops and critical infrastructure today. Contact <a href="http://www.zzservers.com/">ZZ Servers</a> at 800-796-3574 or email support@zzservers.com to arrange for installation of anti-virus software today.</p>
<p>*RST-B is a backdoor malware runs on Linux/UNIX platforms and infects ELF files in the current and /bin directories. This Linux backdoor and virus compromises system security by allowing remote users to manipulate and access infected machines. If executed as root, it will start processes listening on two network interfaces which provide a remote root shell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/12/anti-virus-and-pci-compliance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create an SSL certificate with strong, 2048 bit encryption</title>
		<link>http://www.zendzign.com/2009/10/create-an-ssl-certificate-with-strong-2048-bit-encryption/</link>
		<comments>http://www.zendzign.com/2009/10/create-an-ssl-certificate-with-strong-2048-bit-encryption/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 16:59:45 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Kerio Mail Server]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=68</guid>
		<description><![CDATA[When creating either a self signed certificate or a certificate request, Kerio MailServer uses 1024 bit encryption. You may however prefer stronger encryption, especially if you are using a signing authority such as GoDaddy, which requires 2048 bit encryption. In this case, you may use the free OpenSSL utility that is available with most Unix [...]]]></description>
			<content:encoded><![CDATA[<p>When creating either a self signed certificate or a certificate request, Kerio MailServer uses 1024 bit encryption. You may however prefer stronger encryption, especially if you are using a signing authority such as GoDaddy, which requires 2048 bit encryption. In this case, you may use the free OpenSSL utility that is available with most Unix or Linux based systems. There is also a version of the tool available for the Windows Operating system.<br />
<span id="more-68"></span> Self signed certificates generated by Kerio MailServer carry a default expiration of 1 year. The OpenSSL utility will also allow you to define your own expiration, for example 3 years. For specific instructions and usage of the OpenSSL utility, read the <a href="http://list.kerio.com/lt.php?id=K0oEAQhRAF4GTQcAVAJFVVcFAAtS">Knowledgebase article</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/10/create-an-ssl-certificate-with-strong-2048-bit-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon confirms EC2/S3 does not meet PCI guidelines</title>
		<link>http://www.zendzign.com/2009/08/amazon-confirms-ec2s3-does-not-meet-pci-guidelines/</link>
		<comments>http://www.zendzign.com/2009/08/amazon-confirms-ec2s3-does-not-meet-pci-guidelines/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 14:35:38 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[compliance]]></category>
		<category><![CDATA[compliant hosting]]></category>
		<category><![CDATA[pci compliance]]></category>
		<category><![CDATA[pci complliant hosting]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=58</guid>
		<description><![CDATA[If your business requires PCI compliant hosting services because you store, transmit or process cardholder data, hosting in the cloud may not be for you.  Most cloud providers do not have the controls or processes in place to protect sensitive cardholder data or the willingness to enter into required business arrangements with merchants.  Because of [...]]]></description>
			<content:encoded><![CDATA[<p>If your business requires PCI compliant hosting services because you store, transmit or process cardholder data, hosting in the cloud may not be for you.  Most cloud providers do not have the controls or processes in place to protect sensitive cardholder data or the willingness to enter into required business arrangements with merchants.  Because of this, it is impossible to meet several requirements found in current PCI standards, leaving your business at risk for heavy fines by not being compliant.</p>
<p><span id="more-58"></span></p>
<p>One such example would be Amazon EC2.  In a recent discussion at <a href="http://developer.amazonwebservices.com/connect/message.jspa?messageID=139547" target="_blank">amazonwebservices.com</a> forum and <a href="http://it.slashdot.org/story/09/08/17/0438207/Amazon-Confirms-EC2S3-Not-PCI-Level-1-Compliant">slashdot.org</a> users were discussing a desire to move to Amazon EC2 and maintain PCI compliance.  While not surprising, at least there was a concrete answer to were Amazon stands with regards to its role in its customer’s compliance.  In an email from Taimur Rashid, an account manager at Amazon Web Services, he states <em>“We do not and will not provide a written agreement attesting compliance and assuming responsibility for cardholder data.”</em><em> </em></p>
<p>PCI requires all merchants maintain a written agreement between the merchant and service provider that outlines responsibility for cardholder data.  “<em>Requirement 12.8.2 Maintain a written agreement that includes an acknowledgement that the service providers are responsible for the security of cardholder data the service providers possess.”</em><em> Without this simple agreement, you cannot be compliant.</em></p>
<p>In addition to not allowing a written agreement, Amazon also will not allow on site audits required for Level 1 and <a href="http://www.zendzign.com/2009/06/level-2-merchants-required-to-have-on-site-assessment-by-qsa/">now Level 2 merchants</a>.  Cindy S from Amazon Web Services states “<em>If you have a data breach, you automatically need to become level 1 compliant which requires on-site auditing; that is something we cannot extend to our customers.”</em></p>
<p>Based on the 2 statements above, Amazon EC2/S3 is currently not capable of providing the level of service required for PCI compliance on any level.  If you are a merchant and require PCI compliance, avoid the cloud and find a reputable service provider which specializes in PCI compliance such as <a href="http://www.gsihosting.com/">GSI</a>, <a href="http://www.rackspace.com">Rackspace</a> or <a href="http://www.zzservers.com/">ZZ Servers</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/08/amazon-confirms-ec2s3-does-not-meet-pci-guidelines/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Batteries.com Credit Card Data Stolen</title>
		<link>http://www.zendzign.com/2009/05/batteriescom-credit-card-data-stolen/</link>
		<comments>http://www.zendzign.com/2009/05/batteriescom-credit-card-data-stolen/#comments</comments>
		<pubDate>Thu, 28 May 2009 00:52:12 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[credit card]]></category>
		<category><![CDATA[data breach]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=25</guid>
		<description><![CDATA[Yet another data breach involving theft of credit card data has been announced. On March 13th, Batteries.com received notice from a customer about potential unauthorized activity on their credit card. They later discovered the Batteries.com network had been breached from around February 25, 2009 to April 9, 2009. The breach involved theft of names, addresses, [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another data breach involving theft of credit card data has been announced.<span> </span>On March 13th, Batteries.com received notice from a customer about potential unauthorized activity on their credit card.  They later discovered the Batteries.com network had been breached from around February 25, 2009 to April 9, 2009.  The breach involved theft of names, addresses, and credit card information.</p>
<p>This breech at Batteries.com shows that a merchant does not need to be large like Heartland to be targeted by hackers.</p>
<p>For more information regarding this breech, visit the Batteries.com <a href="http://batteries.com/security/fraud-prevention.asp">security and fraud prevention page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/05/batteriescom-credit-card-data-stolen/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Credit Card Data Stolen and Distributed in a Dilebarate Attack</title>
		<link>http://www.zendzign.com/2009/04/credit-card-data-stolen-and-distributed-in-a-dilebarate-attack/</link>
		<comments>http://www.zendzign.com/2009/04/credit-card-data-stolen-and-distributed-in-a-dilebarate-attack/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 03:37:52 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[credit cards stolen]]></category>
		<category><![CDATA[data breach]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=24</guid>
		<description><![CDATA[In an ongoing saga, one of the most popular web hosting message boards www.webhostingtalk.com has been dealt another serious blow to it&#8217;s security.  Late last month, Webhostingtalk was hacked in a deliberate, sophisticated and calculated manner. The attacker was able to circumvent their security measures and access via a backdoor protected by a firewall to [...]]]></description>
			<content:encoded><![CDATA[<p>In an ongoing saga, one of the most popular web hosting message boards <a onclick="javascript:pageTracker._trackPageview('/outgoing/www.webhostingtalk.com');" href="http://www.webhostingtalk.com/">www.webhostingtalk.com</a> has been dealt another serious blow to it&#8217;s security.  Late last month, Webhostingtalk was hacked in a deliberate, sophisticated and calculated manner. The attacker was able to circumvent their security measures and access via a backdoor protected by a firewall to deleted all backups and main databases.</p>
<p><span id="more-24"></span>In an update shortly after Webhostingtalk came back online, Dennis Johnson, an iNET Community Coordinator sent out a detailed post explaining all that was then known about the breech with a firm statement that &#8220;Absolutely no credit card or PayPal data was exposed.&#8221;</p>
<p>Today Inet Interactive, the owners of Webhosting talk relased the news no one wanted to hear.</p>
<blockquote><p>ANNOUNCEMENT &#8211; 1:25pm est 04/07/09</p>
<p>This morning, the hacker who attacked WHT initiated further communication. He provided evidence that credit card information on one of our database servers was, in fact, compromised during that attack.</p></blockquote>
<p>While it is surprising that a hacker who has done that much damage would contact the victim, especially with this level of damage but there were apparent motives.  What is currently being done is even more shocking.  A post at <a href="http://www.internetbusiness.co.uk/01042009/wht-crippled-by-database-attack/">Web Host Industry Review</a> mentions the hacker may have been motivated after the hack to release the cardholder data to the web because they &#8220;had downloaded and looked through the database files, and raised some concerns about the manner in which the credit card information was being stored.&#8217; and that the file allegedly includes stored CVV/CVC information.</p>
<p>Now, I don&#8217;t belive mentioning PCI compliance here will be necessary but it is quite obvious that based on the details so far, the data was not stored in a PCI compliant manner.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/04/credit-card-data-stolen-and-distributed-in-a-dilebarate-attack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PCI Data Security Standard version 1.2 now active.</title>
		<link>http://www.zendzign.com/2008/10/pci-data-security-standard-version-12-now-active/</link>
		<comments>http://www.zendzign.com/2008/10/pci-data-security-standard-version-12-now-active/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 03:02:46 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[assesment]]></category>
		<category><![CDATA[credit card]]></category>
		<category><![CDATA[dss]]></category>
		<category><![CDATA[qsa]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=20</guid>
		<description><![CDATA[As of October 1, 2008 the PCI Data Security Standard version 1.2 became active. There are a number of changes to PCI DSS since version 1.1. Version 1.2 removes much of the ambiguity from earlier versions and provides additional details on items such as the use wireless devices. One of the largest and possibly most [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in;">As of October 1, 2008 the PCI Data Security Standard version 1.2 became active.  There are a <a title="PCI DSS Changes" href="http://pcianswers.com/2008/10/01/pci-dss-version-12-differences-and-updates/" target="_blank">number of changes</a> to PCI DSS since version 1.1.  Version 1.2 removes much of the ambiguity from earlier versions and provides additional details on items such as the use wireless devices.</p>
<p style="margin-bottom: 0in;"><span id="more-20"></span>One of the largest and possibly most hard hitting change is how the the certification process is placing an <a title="PCI DSS Requirements" href="http://usa.visa.com/merchants/risk_management/cisp_merchants.html#anchor_2" target="_blank">increasing amount of scrutiny on level 3 and 4 merchants</a>.  If you process credit cards and have not received any notification from your merchant bank regarding PCI DSS compliance, you will soon.</p>
<p style="margin-bottom: 0in;">I will not attempt to cover all of the details of the new standard but will say if your company handles any cardholder data, it is important to get your infrastructure into compliance with PCI DSS.</p>
<p>PCI DSS 1.2 specifies 12 requirements for compliance, organized into 6 logically related groups, which are called &#8220;control objectives.&#8221;</p>
<p>The control objectives and their requirements are:</p>
<ul>
<li><strong>Build and Maintain a Secure Network </strong>
<ol>
<li>Requirement 1: Install and maintain a firewall configuration to protect cardholder data</li>
<li>Requirement 2: Do not use vendor-supplied defaults for system passwords and other security parameters</li>
</ol>
</li>
<li><strong>Protect Cardholder Data </strong>
<ol>
<li>Requirement 3: Protect stored cardholder data</li>
<li>Requirement 4: Encrypt transmission of cardholder data across open, public networks</li>
</ol>
</li>
<li><strong>Maintain a Vulnerability Management Program </strong>
<ol>
<li>Requirement 5: Use and regularly update anti-virus software</li>
<li>Requirement 6: Develop and maintain secure systems and applications</li>
</ol>
</li>
<li><strong>Implement Strong Access Control Measures </strong>
<ol>
<li>Requirement 7: Restrict access to cardholder data by business need-to-know</li>
<li>Requirement 8: Assign a unique ID to each person with computer access</li>
<li>Requirement 9: Restrict physical access to cardholder data</li>
</ol>
</li>
<li><strong>Regularly Monitor and Test Networks </strong>
<ol>
<li>Requirement 10: Track and monitor all access to network resources and cardholder data</li>
<li>Requirement 11: Regularly test security systems and processes</li>
</ol>
</li>
<li><strong>Maintain an Information Security Policy </strong>
<ol>
<li>Requirement 12: Maintain a policy that addresses information security</li>
</ol>
</li>
</ul>
<p style="margin-bottom: 0in;">Each control objective contains additional details on what is required to meet the objective and requires a detailed study to fully understand them and their impact on your existing infrastructure.  Smaller companies have the option to use a self-certification questionnaire but even this can be difficult and time consuming.</p>
<p style="margin-bottom: 0in;">ZZ Servers has fully qualified security assessors and partnerships with PCI ASV/QSA&#8217;s for all levels PCI certification, required security scans and full level 1 PCI audit validation.  Contact us today so we can can assist with your adaption of PCI DSS in your environment and ensure your full compliance with these comprehensive regulations.  Let us help you prepare and prevent the damaging costs of a data breach.</p>
<p style="margin-bottom: 0in;">Peter Zendzian<br />
Managing Partner<br />
ZZ Servers, LLC<br />
<a href="http://www.zzservers.com/">www.zzservers.com</a><br />
800-796-3574</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/10/pci-data-security-standard-version-12-now-active/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSL Vulnerability</title>
		<link>http://www.zendzign.com/2008/05/openssh-vulnerability/</link>
		<comments>http://www.zendzign.com/2008/05/openssh-vulnerability/#comments</comments>
		<pubDate>Fri, 23 May 2008 19:18:37 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[openssl]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/openssh-vulnerability/</guid>
		<description><![CDATA[A weakness has been discovered in the random number generator used by OpenSSL on Debian and Ubuntu systems. As a result of this weakness, certain encryption keys are much more common than they should be, such that an attacker could guess the key through a brute-force attack given minimal knowledge of the system. This particularly [...]]]></description>
			<content:encoded><![CDATA[<p>A weakness has been discovered in the random number generator used by OpenSSL on Debian and Ubuntu systems. As a result of this weakness, certain encryption keys are much more common than they should be, such that an attacker could guess the key through a brute-force attack given minimal knowledge of the system. This particularly affects the use of encryption keys in OpenSSH. </p>
<p><span id="more-14"></span></p>
<p>This vulnerability only affects operating systems which (like Ubuntu) are based on Debian. However, other systems can be indirectly affected if weak keys are imported into them. We consider this an extremely serious vulnerability, and urge all users to act immediately to secure their systems. </p>
<p>The following Ubuntu releases are affected: </p>
<ul>
<li>Ubuntu 7.04 </li>
<li>Ubuntu 7.10 </li>
<li>Ubuntu 8.04 LTS</li>
<li>Debian Etch 4.0</li>
<li>Debian Lenny 5.0</li>
</ul>
<p>For more details visit these links:</p>
<ul>
<li>Ubuntu: <a title="http://www.ubuntu.com/usn/usn-612-2" href="http://www.ubuntu.com/usn/usn-612-2">http://www.ubuntu.com/usn/usn-612-2</a></li>
<li>Debian: <a title="http://www.debian.org/security/2008/dsa-1571" href="http://www.debian.org/security/2008/dsa-1571">http://www.debian.org/security/2008/dsa-1571</a></li>
</ul>
<p>We consider this an extremely serious vulnerability, and urge all users to act immediately to secure their systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/openssh-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing Xen in a Distributed Environment</title>
		<link>http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/</link>
		<comments>http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/#comments</comments>
		<pubDate>Tue, 13 May 2008 07:54:25 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/</guid>
		<description><![CDATA[Xen is one of the newest virtualization platforms available that can securely run multiple virtual guest servers, each running its own operating system, on a single physical system with close to native performance.&#160; It is available on many Linux platforms as an open source application and directly from XenSource Inc.&#160; With the advent of multiple [...]]]></description>
			<content:encoded><![CDATA[<p>Xen is one of the newest virtualization platforms available that can securely run multiple virtual guest servers, each running its own operating system, on a single physical system with close to native performance.&#160; It is available on many Linux platforms as an open source application and directly from XenSource Inc.&#160; </p>
<p><span id="more-13"></span></p>
<p>With the advent of multiple core processors and Xen, it is possible to virtualize an entire data center and fit 50 or more independent servers into one Xen server.&#160; There are a number of third-party tools or known as management consoles have been developed to facilitate the common tasks of administering a Xen host, such as configuring, starting, monitoring and stopping of Xen guests. Examples include <a href="http://en.wikipedia.org/wiki/Enomalism">Enomalism</a>, <a href="http://www.xen-tools.org/software/xen-tools/">Xen Tools</a>, Google&#8217;s <a href="http://code.google.com/p/ganeti/">Ganeti</a>, <a href="http://mln.sourceforge.net/">MLN</a>, <a href="http://en.wikipedia.org/wiki/HyperVM">HyperVM</a>, <a href="http://en.wikipedia.org/wiki/FluidVM">FluidVM</a>, <a href="http://xenman.sourceforge.net/">ConVirt</a> (formerly <a href="http://en.wikipedia.org/wiki/XenMan">XenMan</a>) and Red Hat&#8217;s Virtual Machine Manager, <a href="http://virt-manager.et.redhat.com/">virt-manager</a>.&#160; Unfortunately, all of them fall short in one area or another in a distributed, secure and automated environment.</p>
<p>I will not get into how each of these management programs work but with few exceptions, they require complex installations into the Domain-0 or privileged domain and require incoming connections to it, or require a local desktop tool.&#160; While this is convenient, it is not completely secure and can potentially lead to vulnerabilities.&#160; If Domain-0 is ever compromised, all other guest domains running in it are vulnerable as well.&#160; As a basic for security, the following should be required:</p>
<ol>
<li>
<p>Run the smallest number of necessary services on Domain-0. </p>
</li>
<li>
<p>Use a firewall to restrict the traffic Domain-0.</p>
</li>
<li>
<p>Do not allow users to access Domain-0.</p>
</li>
<li>
<p>Do not allow any incoming connections to Domain-0.</p>
</li>
</ol>
<p>So, How do you manage a Xen server remotely if you cannot directly access Domain-0 you say?&#160; The answer is almost too simple, Domain-0 will use outgoing connections to a remote server.&#160; This not only allows the server to be more secure, it can potentially reduce memory and load requirements of the management domain.</p>
<p>Currently, we have working scripts that can provision and manage guest domains as well as send statistics to a remote server.&#160; These scripts are only just beginning but are currently working in a production environment.&#160; Each are released using GPL licensing in hopes that others will gain some use and provide feedback so we can make managing xen servers easier and more secure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
