[Snort-users] Using snort in an PCI DSS environment
john at ...16591...
Wed Nov 20 11:56:00 EST 2013
On 11/20/2013 11:34 AM, elof at ...6680... wrote:
> Thanks, John.
> As I suspected then.
> Damn those loose definitions.
> If I enable the sensitive data masking option, that is an Action of mine
> to try to prevent clear text card numbers to be stored, however I know
> the action has no effect at all to what I was describing.
> The question is:
> How long and deep must I protect myself against clear text passwords
> from accidentally being logged before the QSA approve?
> In the LAN where I'm sniffing, no clear text card numbers should exist
> in the first place, so the whole discussion is kind of messed up.
> I find it hard to protect myself from any kind of what-if-scenarios.
> What if the traffic isn't encrypted so there are plain text card
> numbers? What if a rule matches a packet, and this packet just happen to
> also have a card number in clear text in it?
> So what was you solution? Did you encrypt the snort logs or did the QSA
> accept that everything was encrypted over the LAN?
> Sure, building a pre-preprocessor that anonymizes all possible card
> numbers in all frames in all protocols will keep me in the clear from
> PCI compliance demands, but performance-wise it would be really bad for
> the sensor. Not to mention that such anonymization could modify random
> data that just happen to match the Luhn algorithm and thereby cripple
> the ordinary IDS detection.
> On Wed, 20 Nov 2013, John Millican wrote:
>> Just worked with a QSA on a PCI DSS audit, Although IANAL! YMMV.
>> We did use snort as part of our IDS/IPS scheme(pfSense install) and we
>> were told that any time there is a chance that a card number could be
>> captured it was our responsibility to prevent that. There are
>> remediation policies that "might" allow you to get around this but it is
>> highly doubtful that they would stand up in court if it ever came to
>> The first issue that comes to mind though is that anytime track data is
>> in transit on a public network it should be encrypted so snort should
>> never even see that there is a card number (or any other track data) in
>> the data stream. On your internal network this requirement is not as
>> clear, but we kept all data encrypted until it was actually needed to be
>> used by the application and then re encrypted immediately afterward.
>> One of the very first things our QSA did was scan every system in scope
>> for card numbers, and other data, that should not be stored in the clear.
>> PCI does not "force" you to encrypt the entire HDD, you can encrypt only
>> the protected data and be in compliance. It is your choice which method
>> best suits you environment.
>> On 11/20/2013 09:03 AM, elof at ...6680... wrote:
>>> Anyone here using a snort sensor in an PCI environment?
>>> I'm wondering about PCI compliance regarding logging of potential card
>>> Say I have a snort sensor in a PCI environment.
>>> Nothing in the sensor is configured to detect and log card numbers on
>>> purpose. Only normal IDS-rules are enabled.
>>> Do PCI still force me to encrypt the harddrive just because there is a
>>> possibility that a card number *could* accidentally be logged?
>>> What do your QSA say?
>>> Yes, the sensor's HDD is in scope and must be encrypted.
>>> No, a few potential card numbers, logged by accident, does not count.
>>> It's like saying you need to encrypt your mailserver's harddrive just
>>> because someone can e-mail you card numbers even though you haven't
>>> for them.
Sorry for the previous top posting, that is what happens when I think
and type at the same time.
What we did was convince and prove that all data was encrypted in
transit. Since we had some control over what was sent to us from
terminals and such we able to ensure that data was encrypted in transit
when on the public Internet and since snort was on the edge of our
network (WAN side only) it never actually saw any unencrypted card data.
Internally was a tightly controlled application only LAN where we could
More information about the Snort-users