<?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; PCI</title>
	<atom:link href="http://www.zendzign.com/category/pci/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>PCI Data Security Standards Rock Video</title>
		<link>http://www.zendzign.com/2010/05/pci-data-security-standards-rock-video/</link>
		<comments>http://www.zendzign.com/2010/05/pci-data-security-standards-rock-video/#comments</comments>
		<pubDate>Tue, 25 May 2010 19:14:34 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[credit card]]></category>
		<category><![CDATA[credit cards stolen]]></category>
		<category><![CDATA[data breach]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=160</guid>
		<description><![CDATA[This short animated video provides an overview of the PCI Data Security Standard in a more entertaining way.]]></description>
			<content:encoded><![CDATA[<p>This short animated video provides an overview of the PCI Data  Security Standard in a more entertaining way.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/xpfCr4By71U&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/xpfCr4By71U&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2010/05/pci-data-security-standards-rock-video/feed/</wfw:commentRss>
		<slash:comments>2</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>PCI Compliant Hosting &#8211; Are you sure your host knows what PCI is and what they are selling?</title>
		<link>http://www.zendzign.com/2009/10/pci-compliant-hosting-are-you-sure-your-host-knows-what-pci-is-and-what-they-are-selling/</link>
		<comments>http://www.zendzign.com/2009/10/pci-compliant-hosting-are-you-sure-your-host-knows-what-pci-is-and-what-they-are-selling/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 15:01:23 +0000</pubDate>
		<dc:creator>David M. Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[credit card]]></category>
		<category><![CDATA[qsa]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[shared hosting]]></category>
		<category><![CDATA[Small Business]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=70</guid>
		<description><![CDATA[I recently had a discussion with a potential customer on why they should work with ZZ Servers instead of one of the now hundreds of other hosting providers offering PCI &#8220;compliant&#8221; hosting services. After spending the last 5 years doing PCI Level 1 validations I have run into many areas that hosting providers just do [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a discussion with a potential customer on why they should work with ZZ Servers instead of one of the now hundreds of other hosting providers offering PCI &#8220;compliant&#8221; hosting services. After spending the last 5 years doing PCI Level 1 validations I have run into many areas that hosting providers just do not get PCI and what hosting providers need to know to provide secure &amp; compliant hosting. I have also been able to compile a list of questions that I can use to determine if they are just trying to sell a service or really provide a PCI solution.</p>
<p><span id="more-70"></span></p>
<p>I was able to spend a good 1/2 an hour with the now new customer and help them understand how our approach meets the intent of PCI and is not focused only on trying to &#8220;make the sale.&#8221;  However, for those that we do not know what questions to ask of a hosting provider I have started a new project where I will be &#8220;shopping&#8221; for a new hosting provider and will post the communications I have with them, along with some additional comments on what their answers would mean to me if I was in my QSA role evaluating their solutions.  I will keep the communications anonymous to prevent any liability issues, but feel free to use any of the questions or comments I have when discussing hosting solutions with any providers you may be examining; and feel free to use my questions against us when you call and ask about PCI or Compliant based hosting with ZZ Servers.</p>
<p>With that in mind, here is the first discussion with a decent data-center with multiple data-centers fully owned and operated by their staff in the northern midwest.  I have highlighted items that caused me to be concerned about their understanding of PCI and what it takes for merchants or service providers to be hosted with managed PCI solutions.  Please note, anyone can take a rack of hardware and managed / deploy it in a compliant manor.  But that is not what these hosting providers are selling.  They are selling compliant solutions, leading customers who do not fully undersand the requirements to think they are meeting all of the requirements.</p>
<p>***Chat Information*You are now chatting with &#8216;Paul&#8217;<br />
*Paul: *Greetings, my name is Paul.  Welcome to &lt;HOSTING PROVIDER&gt; Sales.  With<br />
whom am I speaking?   How may I be of assistance?<br />
*you: *Hello, i saw your VPS servers have a $50/mo PCI certification?<br />
what does that provide? Does that mean i&#8217;ll be compliant? do i need<br />
anything else? does that include my scanning, pen test,<br />
internal/external? log monitoring?<br />
*you: *hello?<br />
*Paul: *Hello, sorry about that<br />
<strong>*Paul: *the PCI certification will include all scans for your server to<br />
be entirely compliant</strong><br />
<em>&#8211; This is common, many people belive that if you get your ASV scanning &amp; answer questionairre you are compliant..if it was only that simple</em><br />
*you: *so it is only the scans?<br />
*you: *not the rest of the compliance needs?<br />
*you: *internal &amp; external scans then?<br />
*Paul: *it covers all services needed<br />
*you: *external logging/monitoring, firewalls, IDS, 2 factor remote<br />
access, pen-testing (internal/eternal), asv scanning &amp; internal scanning<br />
(&amp; other stuff i can&#8217;t remember atm)??<br />
<strong>*Paul: *Yes, it is the complete service</strong><br />
<em>&#8211; how can he say it&#8217;s scanning, then a complete service? At this point I really believe the sales guy does not know what he is selling</em><br />
*you: *applicatoin &amp; network penetration testing? how do you have that<br />
for $50/mo? the best quote I have from a professional pen-testing<br />
company is 5000/year<br />
*Paul: *let me double check<br />
<strong>*Paul: *yes, it does, I have confirmed</strong><em><br />
&#8211; confirmed? if you can&#8217;t tell by now that I am asking questions above his knowledge level; why not conference in someone who knows the answer..<br />
&#8211; Many hosting providers want you to email or fill in a form so they can manage their response, if they can&#8217;t answer your quetions at all hours<br />
&#8211; then are you sure they can manage your compliance needs at any hour??  Get them to bring the expert on the phone while you are asking questions!</em><br />
*you: *interesting, do you have a detailed whitepaper or pdf on the<br />
complete services offereed?<br />
*you: *and i assume i&#8217;ll have to get more than 1 server<br />
<strong>*Paul: *No, you can have PCIC with one server</strong><br />
<em>&#8211; big big red flag!! If you are only using paypal/google for payments then yes this is right but if you are not then the requirement for &#8220;single use&#8221; is pretty important</em><br />
*you: *and that includes firewalls too right? do i have a dedicated<br />
rfc1918 address space?<br />
*you: *you can?<br />
*you: *how do you satisfy the &#8220;single purpose&#8221; requirement?<br />
*you: *where a server can not be a web &amp; database server<br />
<strong>*Paul: *we do not require a cluster for pcic<br />
&#8211; </strong><em>I wasn&#8217;t asking about a cluster. This is a typical issue, the sales team is use to selling hosting of servers but does not understand PCI.  I guess they have not had<br />
&#8211; any PCI training (which you merchants &amp; service providers are required to have annually)<br />
</em>*you: *you do not, but PCI requires that<br />
*you: *pci has something somewhere that requires each server have a<br />
single function<br />
*you: *do you have any documentation? or details about what is included<br />
in your PCI services?<br />
<strong>*Paul: *I do not have a detailed outline, but I know these are the<br />
standards we follow</strong><br />
<em>&#8211; Another warning&#8230;PCI is documentation heavy, if they do not have documentation, have they really done all thats required?</em><br />
*Paul:<br />
*<a href="https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml">https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml</a><br />
*you: *yes i am familiar with that<br />
*you: *our QSA has ingrained tht into us<br />
*you: *i was just curious because some of your answers do not jibe with<br />
what the PCI-DSS requires<br />
*you: *ok i think i have enough for now; thank you for your time<br />
*you: *Have a great night..oh one last question; where are your<br />
data-centers located?<br />
*Paul: *My pleasure, they are in &lt;LOCATION&gt;<br />
*you: *any other geographic areas?<br />
*Paul: *they are all located in &lt;ONE LOCATION&gt;<br />
*you: *thank you have a great night<br />
*you: *oh one other questoin<br />
*you: *what technology do you use for your remote 2 factor auth &amp; vpn<br />
technology?<br />
*you: *rsa/certificates/?<br />
*Paul: *The only vendors I have info on at the moment are control scan,<br />
security metrics, trustkeeper, and clone systems<br />
*you: *so it&#8217;s not included w/the pci service?<br />
*you: *it&#8217;s a 3rd party vendor we have to engage?<br />
*Paul: *Send me an email to &lt;SALES-EMAIL&gt; and I will find out for sure<br />
<em>&#8211; Remember earlier they said it included all required services? Again, lack of documentation &amp; training lead me to think they just do not know what the requirements are or what they are selling</em><br />
*you: *ok thank you, have a great night/morning</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/10/pci-compliant-hosting-are-you-sure-your-host-knows-what-pci-is-and-what-they-are-selling/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>Level 2 Merchants Required to Have On-Site Assessment by QSA</title>
		<link>http://www.zendzign.com/2009/06/level-2-merchants-required-to-have-on-site-assessment-by-qsa/</link>
		<comments>http://www.zendzign.com/2009/06/level-2-merchants-required-to-have-on-site-assessment-by-qsa/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:58:09 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=46</guid>
		<description><![CDATA[On June 15, 2009 MasterCard International introduced several changes to their Site Data Protection (SDP) program.  Among these changes was a new requirement for Level 2 Merchants to undergo an on-site assessment by a Qualified Security Assessor in order to validate their PCI DSS compliance.  The initial deadline for these validations is December 31, 2010. [...]]]></description>
			<content:encoded><![CDATA[<p>On June 15, 2009 MasterCard International introduced several changes to their <a href="http://www.mastercard.com/us/sdp/">Site Data Protection (SDP)</a> program.  Among these changes was a new requirement for Level 2 Merchants to undergo an on-site assessment by a Qualified Security Assessor in order to validate their PCI DSS compliance.  The initial deadline for these validations is December 31, 2010.<span id="more-46"></span></p>
<p>MasterCard has posted a change to their Site Data Protection program that requires <a href="http://www.mastercard.com/us/sdp/merchants/merchant_levels.html">Level 2 merchants to use a QSA</a> and an on-site assessment. This is a dramatic change from the current, industry wide requirement of self-assessing for merchants processing less than six million transactions annually.</p>
<p>While this is definitely going to put a dent in Level 2 merchant budgets from this point on, there have been a number of breeches involving larger merchants and creating higher risk for the card brands. This is not an unexpected move by MasterCard and so far none of the <a href="http://usa.visa.com/merchants/risk_management/cisp_merchants.html">other</a> <a href="https://www209.americanexpress.com/merchant/singlevoice/dsw/FrontServlet?request_type=dsw&amp;pg_nm=merchinfo&amp;ln=en&amp;frm=US&amp;tabbed=merchantLevel">card</a> <a href="http://www.discovernetwork.com/fraudsecurity/disc.html">brands</a> have changed their status.   It&#8217;s unclear if others will follow suit, but regardless, if you are defined as a Level 2 merchant with ANY card brand, you are automatically a Level 2 with MasterCard, and are now required to have an on-site assessment.</p>
<p>Previously, Level 2 Merchants were required to submit an Annual Self-Assessment Questionnaire and undergo Quarterly Network Scans by an Approved Scan Vendor (ASV).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/06/level-2-merchants-required-to-have-on-site-assessment-by-qsa/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Understanding PCI Levels and Types</title>
		<link>http://www.zendzign.com/2009/06/understanding-pci-levels-and-types/</link>
		<comments>http://www.zendzign.com/2009/06/understanding-pci-levels-and-types/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:19:57 +0000</pubDate>
		<dc:creator>Peter Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[credit card]]></category>
		<category><![CDATA[credit card payment]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Small Business]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=26</guid>
		<description><![CDATA[Any merchant who accepts credit cards and has a merchant account must validate compliance. It does not matter if you use a 3rd party processor or if you outsource all of your credit card processing. It&#8217;s the ownership of the merchant account that defines if you must validate compliance. The only to avoid PCI compliance [...]]]></description>
			<content:encoded><![CDATA[<p>Any merchant who accepts credit cards and has a merchant account must validate compliance. It does not matter if you use a 3rd party processor or if you outsource all of your credit card processing. It&#8217;s the ownership of the merchant account that defines if you must validate compliance. <strong><em>The only to avoid PCI compliance is by not having a merchant account. </em></strong>Below are some charts which will help you decide which category and merchant type your business fits into.<span id="more-26"></span></p>
<h4>Merchant levels and Compliance Validation Requirements</h4>
<table style="height: 416px;" border="1" width="547">
<tbody>
<tr>
<td colspan="3" align="center" valign="top"><strong>PCI Merchant Levels</strong></td>
</tr>
<tr>
<td align="center" valign="top"><strong>Level</strong></td>
<td align="center" valign="top"><strong>Description</strong></td>
<td align="center" valign="top"><strong>Validation Requirements</strong></td>
</tr>
<tr>
<td align="center" valign="middle">1</td>
<td align="left" valign="top">
<ul>
<li>Any merchant, &#8220;regardless of acceptance channel, processing over 6,000,000 Visa transactions per year</li>
<li>Any merchant that has suffered a hack or an attack that resulted in an account data compromise.</li>
<li>Any merchant that Visa, at its sole discretion, determines should meet the Level 1 merchant requirements to minimize risk to the Visa system.</li>
<li>Any merchant identified by any other payment card brand as Level 1</li>
</ul>
</td>
<td align="left" valign="top">
<ul>
<li>Annual Report on Compliance (“ROC”) by Qualified Security Assessor (“QSA”)</li>
<li>Quarterly network scan by Approved Scan Vendor (“ASV”)</li>
<li>Attestation of Compliance Form</li>
</ul>
</td>
</tr>
<tr>
<td align="center" valign="middle">2</td>
<td align="left" valign="top">
<ul>
<li>Any merchant-regardless of acceptance channel-processing 1,000,000 to 6,000,000 transactions per year</li>
</ul>
</td>
<td align="left" valign="top">
<ul>
<li>Annual Self-Assessment Questionnaire (“SAQ”)</li>
<li>Quarterly network scan by ASV</li>
<li>Attestation of Compliance Form</li>
</ul>
</td>
</tr>
<tr>
<td align="center" valign="middle">3</td>
<td align="left" valign="top">
<ul>
<li>Any merchant processing 20,000 to 1,000,000 transactions per year.</li>
</ul>
</td>
<td align="left" valign="top">
<ul>
<li>Annual SAQ</li>
<li>Quarterly network scan by ASV</li>
<li>Attestation of Compliance Form</li>
</ul>
</td>
</tr>
<tr>
<td align="center" valign="middle">4</td>
<td align="left" valign="top">
<ul>
<li>Any merchant processing fewer than 20,000 transactions per year.</li>
</ul>
</td>
<td align="left" valign="top">
<ul>
<li>Annual SAQ recommended</li>
<li>Quarterly network scan by ASV if applicable</li>
<li>Compliance validation requirements set by acquirer</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p><strong>Merchant Types</strong></p>
<p>The “SAQ” is a self-validation tool for merchants and service providers who are not required to do on-site assessments for PCI DSS compliance. The SAQ includes a series of yes-or-no questions for compliance. If an answer is no, the organization must state the future remediation date and associated actions. In order to align more closely with merchants and their compliance validation process, the SAQ was revised and now allows for flexibility based on the complexity of a particular merchant’s or service provider’s business situation (see chart below). The SAQ validation type does not correlate to the merchant classification or risk level.</p>
<table border="1" width="100%">
<tbody>
<tr>
<td colspan="3" align="center" valign="top"><strong>Self-Assessment Questionnaires and Validation Types</strong></td>
</tr>
<tr>
<td align="center" valign="top"><strong>SAQ Validation</strong><strong>Type</strong></td>
<td align="center" valign="top"><strong>Description</strong></td>
<td align="center" valign="top"><strong>SAQ</strong></td>
</tr>
<tr>
<td align="center" valign="middle">1</td>
<td align="left" valign="top">Card-Not-Present (e-commerce or MO/TO) merchants, all cardholder data<br />
functions outsourced. This would never apply to face-to-face merchants.</td>
<td align="center" valign="middle">A</td>
</tr>
<tr>
<td align="center" valign="middle">2</td>
<td align="left" valign="top">Imprint-only merchants with no cardholder data storage.</td>
<td align="center" valign="middle">B</td>
</tr>
<tr>
<td align="center" valign="middle">3</td>
<td align="left" valign="top">Standalone dial-up terminal merchants, no cardholder data storage.</td>
<td align="center" valign="middle">B</td>
</tr>
<tr>
<td align="center" valign="middle">4</td>
<td align="left" valign="top">Merchants with payment application systems connected to the Internet, no<br />
cardholder data storage.</td>
<td align="center" valign="middle">C</td>
</tr>
<tr>
<td align="center" valign="middle">5</td>
<td align="left" valign="top">All other merchants (not included in descriptions for SAQs A, B or C above), and<br />
all service providers defined by a card brand as eligible to complete a SAQ.</td>
<td align="center" valign="middle">D</td>
</tr>
</tbody>
</table>
<p><strong>Service Provider Levels</strong></p>
<p>Service providers are organizations that process, store, or transmit cardholder data on behalf of clients, merchants, or other service providers. Service provider levels are defined as:</p>
<table border="1" width="100%">
<tbody>
<tr>
<td colspan="3" align="center" valign="top"><strong>Self-Assessment Questionnaires and Validation Types</strong></td>
</tr>
<tr>
<td align="center" valign="top"><strong>Service Provider Level</strong></td>
<td align="center" valign="top"><strong>Description</strong></td>
<td align="center" valign="top"><strong>Validation Requirements</strong></td>
</tr>
<tr>
<td align="center" valign="middle">1</td>
<td align="left" valign="top">Processors or any service providers that stores, processes and/or transmits over 300,000 transactions per year.</td>
<td align="left" valign="top">
<ul>
<li>Annual On-Site PCI Data Security Assessment validated Qualified Security Assessor (“QSA”)</li>
<li>Quarterly network scan by Approved Scan Vendor (“ASV”)</li>
</ul>
</td>
</tr>
<tr>
<td height="42" align="center" valign="middle">2</td>
<td align="left" valign="top">Any service provider that stores, processes and/or transmits less than 300,000 transactions per year.</td>
<td align="left" valign="top">
<ul>
<li>Validated by Service Provider</li>
</ul>
<ul>
<li>Quarterly network scan by Approved Scan Vendor (“ASV”)</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>By using the charts above, you should be able to easily determine your level and validation type. Knowing this details will go a long way in guiding you through your compliance but it is important to partner with other qualified businesses for your service. <a href="http://www.zzservers.com">ZZ Servers</a> provides PCI focused hosted infrastructure designed for PCI compliance and includes many of controls and measures required for your business infrastructure to be fully compliant.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2009/06/understanding-pci-levels-and-types/feed/</wfw:commentRss>
		<slash:comments>0</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 Compliance and Receiving Credit Card Payments by Fax</title>
		<link>http://www.zendzign.com/2008/10/pci-compliance-and-receiving-credit-card-payments-by-fax/</link>
		<comments>http://www.zendzign.com/2008/10/pci-compliance-and-receiving-credit-card-payments-by-fax/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 17:09:35 +0000</pubDate>
		<dc:creator>David M. Zendzian</dc:creator>
				<category><![CDATA[PCI]]></category>
		<category><![CDATA[credit card payment]]></category>
		<category><![CDATA[Small Business]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/?p=21</guid>
		<description><![CDATA[The low cost of web and email based fax delivery services may seem like a good way to save your business money but not if you receive credit card payments by fax. This would fall under the Payment Card Industry standard section 4 that requires transmission of cardholder data across open-public networks to be encrypted [...]]]></description>
			<content:encoded><![CDATA[<p>The low cost of web and email based fax delivery services may seem like a good way to save your business money but not if you receive credit card payments by fax. This would fall under the Payment Card Industry standard section 4 that requires transmission of cardholder data across open-public networks to be encrypted and section 12 for contracts that require partners or service providers who handle card data for your company be PCI compliant and accept all PCI security requirements. You will not find an affordable PCI compliant solution without using your own dedicated fax machine.</p>
<p><span id="more-21"></span></p>
<p>Many on-line fax services send received faxes by unencrypted email with cleartext (TIFF/JPG or PDF) attachments which are not PCI compliant. One reason for this is PCI clearly states that credit card numbers are not to be emailed in clear-text, they must be encrypted. A fax converted to PDF &amp; emailed is not encrypted and if done that way then both the service provider and the receiver are non-compliant.  During an audit you can&#8217;t say you didn&#8217;t know, you signed up for the service knowing you were going to receive card numbers.</p>
<p>So, how do you receive credit card payments by fax? The first step is get a phone line w/a $50 fax machine from your local office supplier and come up with a security policy for how to secure the fax machine and incoming faxes. This is cheaper and easier to deal with than trying to make some digital systems PCI compliant. The fax needs to be classified as confidential and handled how your data retention policy dictates, assuming your retention policy is PCI compliant. An example would be a secured fax machine in accounting or other area set aside for receiving secure faxes. Additionally faxes containing credit card numbers need to be stored or archived properly and when disposed of, it needs to again follow your data retention policy and be securely destroyed (cross cut / incinerate, whatever:).</p>
<p>If your company is receiving card data on behalf of your customers, you are liable for all the paths it takes to get to you. Claiming you didn&#8217;t know or that it&#8217;s out of your hands is not enough when there are secure solutions. Don&#8217;t use a fax service unless they can send encrypted emails and securely purge the fax data when sent; otherwise get a real fax machine &amp; secure it and instruct those who have access what it may contain and how to handle it appropriately, and yes training for your employees is a PCI requirement.</p>
<p>In the end, you will find a phone line with $50 fax from your local office supplier is cheaper and easier to deal with than trying to make some digital systems PCI compliant.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/10/pci-compliance-and-receiving-credit-card-payments-by-fax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
