• Secure Your Online Store

    Secure Your Online Store

    More and more stores are moving online. Whether that was part of your plan or something that
    you’ve recently decided to do, it’s important to make sure that you protect your customers’ data.
    That means you need to take steps to secure your online store. In this article, we want to focus
    on giving you some suggestions for the most effective ways you can improve your security with
    the least amount of effort.

    We know that small business owners have a lot of different roles, and that these roles are
    changing. You’re responsible for keeping the sales flowing, marketing, dealing with customers
    and clients, staff, finances, the list of responsibilities never ends. With this in mind, you may not
    have the skill or time to look after the security of your website or maybe you just aren’t sure
    where to start.

    Ultimately, you are responsible for making sure that your website is secure even if you use
    other people to help you look after it. And the last thing you want is to find your website has
    been hacked and your customer data stolen.

    So whether you look after your site yourself or you outsource it to someone else, we’ve written
    this article to help you minimise the risk of a breach and help you start the conversation about
    security with your website provider.

    Who is This Article For and
    What Does it Cover?

    f someone else looks after your site and you aren’t very technical, you might want to jump
    down to our list of questions you can ask your provider.

    If you want to read more about what steps we recommend to secure your website, keep reading
    on or jump to the topic that interests you the most.

    This article is not meant to be exhaustive and cover everything that you need to do, but it is a
    starting point for understanding some of the key steps you can take to minimise your risks if
    you’re hosting your own web store or using open source shopping solutions.

    Patch Everything

    Difficulty: Easy to Hard

    This means:

    • Patch your host (the server that your web store runs on)
    • Patch your application (the application you are using for your website, like Magento
      or WordPress)
    • Patch your plugins
    • Patch your themes

    If you aren’t patching all of these things then you might not be aware of all of the potential
    vulnerabilities in your environment. And if there are things in your environment that you can’t
    patch (for example, your application), then you should be looking to see if you are missing
    some patches for your host’s operating system or one of the underlying dependencies like php.
    Very often the reason you can’t patch one thing is because you haven’t yet patched another.
    That’s why patching everything is so important!

    Patching your plugins might be easy, but if you don’t have access to the host or you’re not
    familiar with how to update your server and what needs updating, this might be a bit harder.

    Secure Your Login

    We all know that long, strong passwords are best. And PCI says that you should make sure that
    they are complex, regularly changed, and have lockouts and password policies. But before you
    even get to that, the most effective thing that you can do is put multi-factor authentication
    everywhere that you sign in.

    Multi-Factor Authentication (MFA)

    Difficulty: Easy 

    Most web applications (including WordPress and Magento) have plugins that can be used
    to configure multi-factor authentication. You’ve probably had to use multi-factor authentication
    before, maybe with your email, maybe at work, maybe for your bank. Examples of multi-factor
    authentication (MFA) include:

    • SMS notifications
    • Entering a code from an application on your phone
    • Confirming a push notification on your phone
    • Confirming a login with a phone call

    Making sure that anyone who has access to the host or the admin part of the application uses
    MFA is one of the most effective tools you can use to prevent someone from guessing your
    password or using a password that has been compromised (want to see if your password may
    have been compromised? Check have I been pwned?). By using a one-time limited time token,
    you add another factor that makes it much harder for someone to get access to your account.
    Will it take a little longer to login? Yes. But the security that it adds is worth it!

    Most shopping and web applications support plugins for multi-factor authentication. We
    recommend finding one that supports multiple users so that if you have more than one person
    with access, everyone is able to configure it for themselves.

    Note: You don’t have to make your customers use MFA. This recommendation only applies to
    people who have access to change the configuration of the website.

    Change the Login URL

    Difficulty: Easy 

    One of the most basic things an attacker will do is try to login from the default login page. It’s
    usually a quick and easy process to do. Most applications let you either change it as part of the
    basic configuration options or you can add a plugin to change the login URL.

    Bonus Tip: Lock down access to your login page to just your static IP address by configuring it
    on your firewall. This way even if someone does stumble on your login page, they won’t be able
    to use it.

    Whitelist Your (Static) IP Address

    Difficulty: Medium 

    One of the key things you can do is regularly check to make sure that new accounts aren’t
    being added and that accounts are only being logged into by the right people.

    So for example, if you know you only ever login between 10am-3pm and suddenly there’s a
    login at 2am, then this should raise some red flags for you.

    Things that you should look for in the logs include:

    • Logins
    • Uploads of files
    • Changes to configurations

    We know that sometimes knowing what to look for is half the battle. And knowing what is normal
    and what is not normal can also be hard when you first start looking at the logs. Regularly
    looking at the logs you will probably start to see patterns. We recommend that you keep logs for
    at least 12 months just in case you need to go back and find out when something happened.

    Add Security Controls

    Here’s where things can get a little more challenging. You can go as in-depth as you want
    depending on your skill. We will provide some recommendations for things you can do at
    different levels of difficulty.

    Add a Web Application Firewall (WAF)

    Difficulty: Easy to Medium 

    A web application firewall can be used to mitigate the risk of vulnerabilities in the application
    that might be exploited. For example, it can help protect against cross-site scripting or injection
    vulnerabilities.

    There are lots of different options out there for web application firewalls.

    The easiest option is to use a fully managed Web Application Firewall (for example, CloudFlare,
    Akamai, CloudFront and Stackpath are just some of the options out there). These services
    charge a monthly fee, but they look after the the detail of how they protect your web application.

    You can also install plugins that provide an application layer web application firewall. These
    usually have a bit more configuration to them and you should understand what you might break
    by enabling them. These can be added on the host or to the application.

    The important thing is to make sure that you’ve configured things to block potential attacks.
    Make sure you’re regularly checking that you aren’t blocking legitimate traffic as well.

    Configure Transport Security Layer (TLS)

    Difficulty: Easy to Medium 

    The default standard for web pages is to ensure that they are encrypted. Browsers and search
    engines expect that you will use TLS. And browsers now warn if the website is using a version
    of TLS that is considered as insecure.

    Some WAF / CDN (content delivery network) solutions let you configure what versions of TLS
    you use from their web interface. If you can do that from your WAF / CDN, this is pretty easy.
    We recommend setting it to accept TLSv1.2 and higher.

    But if you aren’t using a WAF / CDN or it doesn’t have that option, you might need to figure out
    how to configure TLS on your web host yourself.

    Disable (or Secure) Anything You Don’t
    Need

    Difficulty: Easy to Hard

    This can apply to a number of different areas in your web store. This advice most often applies
    to:

    • Application plugins / themes
    • Open ports
    • OS features

    Some of these are easier than others.

    The easiest part is disabling / removing plugins that you don’t need in the application.
    Regardless of what application you use, it probably supports plugins. Maybe you’ve tried some
    but no longer use them, maybe some of them came with the application by default. By disabling
    / removing any of the plugins you don’t need, you have fewer potential vulnerabilities and fewer
    things to patch. Removing these is usually a few clicks in the application.

    A little bit more difficult might be disabling open ports that you don’t need. For example, if you
    don’t regularly use FTP to upload files, then make sure you disable it when it is not in use. To
    do this, you will need to be able to access a firewall or the host operating system. There are too
    many possibilities to list here for how you would do it. And we know that different people will
    have different approaches. But a few recommendations that might help are:

    • Allow access on port 443
    • Redirect traffic from port 80 to port 443
    • Restrict access via RDP or SSH to your static IP address
    • Disable FTP except when you need it

    The area that is probably the most challenging is disabling things in the operating system that
    you don’t need. To be able to do this, you need to understand what is necessary and what you
    might break by removing things. We only recommend this if you are very familiar with how to
    secure an operating system. More importantly, make sure that you patch everything!

    Monitor Critical Files

    Difficulty:  Medium 

    There are certain files that should be monitored for changes. Exactly which files should be
    monitored will depend on what application you are using.

    You can monitor these files using programs on the web server itself, or some plugins will help
    you lock down access to certain files or monitor for changes.

    The important thing to be able to tell is if someone has added something to your site (like
    malicious code) which could cause a security breach.

    Vulnerability Scans

    Difficulty: Medium to Hard

    Vulnerability scans are a type of scan that is different from antivirus scans. They aren’t looking
    for malware, they are looking for misconfigurations in your environment (for example, insecure
    versions of TLS, open ports, some insecure software).

    To make them effective, you have to be able to understand what it is that they are saying. So
    you might need some help if your expertise isn’t in this area. The other thing you have to do is
    understand how to fix the things that are identified. Identifying a vulnerability without doing
    anything about it doesn’t change the risk.

    These kinds of scans can be useful, but they are one of the more advanced recommendations
    in this post since they require a level of technical expertise.

    What to Ask

    Even if you don’t understand some of the terminology in this article, we’ve put together a table
    of questions that you can ask the people who look after your website (if you don’t look after it
    yourself). While you should probably be asking more questions than this, you can use these as
    a starting point.

    If you find that most or all of these recommendations haven’t been implemented, it’s probably a
    good time to find out if they are things that your provider can do for you and start the discussion
    about security.

    Do I Have to Do Everything in the List?

    No, you probably don’t have to do everything. But the more you can do, the more you minimise
    the risk of a compromise.

    Depending on how you take payments you will probably have to do some of these things, but
    even if your bank hasn’t requested you to be PCI compliant, we recommend looking at the
    steps you can take with a focus on protecting your customers.

    What Next?

    If you’re a merchant, you might want to read more about some of our PCI basics, including:

    If you aren’t sure about how your online store has been secured, Confide can help. We have 
    packages for small businesses and can do security reviews of your web site to identify
    improvements you can make.

  • Why is it Important to Measure and Manage your Cyber Risk?

    Why is it Important to Measure and Manage your Cyber Risk?

    For a long time, the domain of specialised technology teams within organisations resulted in siloed IT operations and risk being kept away from the wider business. Cybersecurity a topic gaining attention around Exec and Board tables in today’s digital world. Terms like cyber activism, ransomware, and cyber terrorism haven’t been around all that long but are set to become permanent fixtures when discussing risk at a strategic level.

    Taking a step back from the ‘nitty gritty’ of specific technology risks, a good starting point can often be understanding the organisation’s overall cyber risk posture – because let’s be honest, Exec teams are much more at home discussing risk management, as opposed to jumping straight into why you need $1m worth of network upgrades to address a newly discovered cyber threat!

    But understanding the true extent of this cyber risk also means measuring it’s potential impact to your organisation. This is something we’ve seen an increasing number of partners and customers explore and we’ve noted a few of the learnings we’ve picked up along the way, which we summarise as:

    1. Industry standards are important
    2. Know all your exposure points – and minimise them
    3. Report through to decision makers “in their language”

    Keep reading to find out more about each of these.

    1. Industry Standards are
    Important

    Industry standards can be an excellent way to accurately and consistently identify cyber risk. A
    good example of this would be the Factor Analysis of Information Risk Model developed by
    the FAIR Institute. This international standard starts by looking at both the Loss Event
    Frequency (LEF), alongside the Loss Magnitude (LM) before drilling down into an individual
    threat’s primary and secondary loss potential.

    Other, well known standards include ISO 27005 and NIST SP-800-30, both of which are
    mentioned in Requirement 12.2 of the PCI standard itself and again stressing the importance of 
    having a consistent approach to Risk Management. Unsurprisingly for an organisation steeped
    in the world of PCI Compliance, we see real value in these types of models, which adds 
    consistency, rigor and creditability to each risk that is analysed, reported and presented.

    2. Know Your Exposure Points – and Minimise Them!

    For those starting out on their cyber journey, one activity that really helps is an initial ‘stock take’
    of current cyber threats, and overall risk position. An security audit or gap analysis can readily
    identify key areas of risk (where loss frequency and magnitude are both considerable), as well
    as highlight those ‘quick wins’, that don’t require substantial investment although greatly reduce
    vulnerability to any sort of data compromise.

    They key thing to here is to ensure that you review your entire organisation, from systems and 
    processes through to policies, training and culture. We’ve developed a helpful guide to
    conducting an initial Risk Assessment in one of our previous articles. Key here is to define
    your process, understand the actual cost of a risk being exploited and to keep evolving your
    mitigation plan over time – and remember, simply saying your mitigation is “PCI Compliance” is
    not enough, always ask the ‘why?’ and ‘how?’ a  specific control leads to risk reduction.  

    3. Report to Decision Makers “In Their Language”

    So now that you’ve done the analysis work and identified/measured each cyber risk, what next? 
    Generally, it’s time to deliver this information to interested parties that are in a position to
    approve remediation action – particularly when investment is required.

    As touched on at the start of this article these forums are not generally an audience attuned to
    the ‘in’s and out’s’ of new technology threats which are often heavily steeped in jargon. This
    makes it even more important to report this information to decision makers in a way that is both 
    consumable and action orientated. Focus on concepts like:

    • Quantified risk,
    • Business impact,
    • ROI for security investments, and
    • Recommended next steps and timelines.

    A great additional resource to support your work pulling this together is the Institute of Directors
    recent cyber risk “Practice Guide” which groups cyber risk management into five core principles.

    So as we get started with 2022, let’s continue to flip the Cyber conversation from one of 
    detailed technical controls, to one of managing & measuring cyber risk. We’ve worked with organisations at along every stage of this journey and if it sounds like something for you – get
    in touch today!   

  • PCI DSS: Gold Standard, Bare Minimum, or Somewhere in the Middle?

    PCI DSS: Gold Standard, Bare Minimum, or Somewhere in the Middle?

    How Often is Periodic

    A criticism often aimed at Payment Cards Industry’s (PCI) Data Security Standard (DSS) is that
    it sets the bar too high. Often security practitioners find fault in the way that PCI DSS does
    some things (minimum password lengths anyone?). The truth is probably somewhere in
    between these two extremes. There are parts of PCI DSS that could be considered as best
    practices, but there are also areas that could use some updates. We’ll be talking about many of
    those updates when version 4 is released in 2022.

    But just because PCI DSS sets the bar lower in some areas and higher in other areas doesn’t
    mean that there aren’t good opportunities to do better. PCI DSS never sets a highest possible
    limit for how you can do things, but often uses the words “at least” and “at a minimum”. In the
    language of ISO 27001, look at these as “opportunities for improvement” and “continuous
    improvement”. While PCI DSS does not specifically require you to do better than the minimum,
    there are good reasons to see where you can rise above the bare minimum – and easy ways
    that you can do this.

    Suggestions for “Doing Better”

    Increase Password Length

    We know that NIST recommends longer passwords that aren’t changed as frequently, and while 
    PCI DSS hasn’t quite caught up to the frequency of password changes, there is no reason why
    you can’t increase the minimum password length to 8 or 12 characters instead of the PCI DSS 
    minimum of 7 characters.

    Vulnerability Scans

    If you don’t already have to do vulnerability scans as part of your PCI DSS requirements,
    consider adding them into your security toolbox. Scans can help you identify vulnerabilities in
    software and configurations before someone takes advantage of them. If you must do external
    vulnerability scanning, consider adding internal vulnerability scanning in too so that you can
    ensure that you identify all vulnerabilities early. When doing internal vulnerability scans also
    take the opportunity to:

    1. Remove any old applications and software that are no longer required or supported, and
    2. Make sure internet browsers are updated when new releases become available – which is
      very frequently with Chrome and Firefox. Force them to automatically update.

    More Frequent Scans

    If you already do quarterly vulnerability scans as part of your PCI DSS requirements, consider 
    running these scans more frequently. Running the scans at a weekly or monthly cadence
    instead of the minimum quarterly frequency not only helps you identify vulnerabilities early,
    but also helps you to ensure that you can fix or mitigate them so that you can ensure that you have
    at least one passing scan every quarter. Doing more frequent scans decreases the risk that
    there’s a quarter where you won’t be able to achieve a passing scan.

    Multi-Factor Authentication

    PCI DSS requires multi-factor authentication (MFA) for all administrative access. So why not
    start expanding the use of MFA into other areas? Require MFA for web interfaces that support it
    or consider whether it might also be possible to use MFA for your people to log in to their
    machines. And if possible, consider how you could also allow your customers to enable MFA on
    their accounts. While not all customers may want to use it, allowing people to enable it helps
    them keep themselves safer online and shows your commitment to security. 

    Review Your Risk… Regularly

    And so that you don’t start thinking that all the controls that can be improved need to be
    technical controls, start thinking about how often you review your risks versus how often the risk
    environment changes. We saw a lot of change in 2020 and 2021. And the risks that may have
    been identified at the start of 2020 are unlikely to be the same 3 or 6 months later, let alone a
    whole year later. As many people moved from brick and mortar to online stores, the risk profile
    changed. As more people have moved online, the number of attacks has increased – Check
    Point reported that in the APAC region, there was a 13% increase in cyber-attacks – or
    approximately 1,338 attacks per week. Reviewing your risk more frequently can help you stay
    aware of changes and help you understand which controls might need to be prioritised. 

    Need Help?

    At Confide we help you ensure that you continue to grow in your security maturity. We identify
    ways that you can improve what you’re doing as part of our assessments, and we work with you
    to understand how you can fit best practices into your own practices without compromising on
    security or compliance.  

    Get in touch today!  

  • Looking forward to 2021 in the World of Payments

    Looking forward to 2021 in the World of Payments

    We all know that 2020 brought a lot of uncertainty and changes to the way that we do things.
    And while some of that is not going to change in 2021, we thought this was a good time to look
    forward to what we expect for 2021 in the payments industry and how you can take steps to
    make your business more secure.

    What to Expect in the Payment Industry in 2021 (PCI DSS v4.0)

    Last year, we wrote about the timeline for the upcoming version 4 of PCI DSS. PCI DSS v4.0 is
    due to be released publicly in Q2 of 2021. That’s less than six months from now! While we still
    can’t talk about version 4 until it’s publicly released, some of the highlights that we can talk
    about include:

    • Many key areas are being reviewed, including authentication, monitoring of requirements,
      and the frequency of testing controls.
    • Changing from “Compensating Controls” to a “Customized Approach” which will let
      organisations have more flexibility on how controls are met as long as the objective 
      of the control is met. This is an area we will be exploring in future posts.
    • Changes to SAQs and reporting templates which always come along with new major
      versions of PCI DSS.

    At a high level though, what we can expect in version 4.0 is significant changes since there will
    be an extended time for future dated requirements to be put in place. Version 3.2.1 (the current
    version of PCI DSS) is not expected to be retired until Q2 of 2023, a full 2 years after the v4.0 is
    released.

    Over the course of 2021 and 2022, Confide will be publishing a series of posts looking at how
    version 4.0 changes things and what this might mean for organisations.

    What We Expect to See in the Industry

    More Online Shopping

    One thing that’s become clear in the last 12 months is that the transition to e-commerce has 
    accelerated in New Zealand. More and more companies have had no choice but to make the
    move to having an online shop either in addition to or instead of the traditional bricks and
    mortar business. After New Zealand moved to level 3, online shopping increased 105%. And
    while the increase has tapered off, online shopping is still approximately 30% higher than
    normal.

    Changes to How People Donate

    With cheques being phased out by all the major banks in NZ in 2021, charities are having to
    look at new ways to get donations. Just like shops have had to do during the pandemic,
    charities are having to look at new ways to get donors. And that means that charities that
    haven’t traditionally accepted online payments are now faced with all the benefits (and risks) of
    moving online.

    Increased Risks and Costs

    While the main benefit of having an online presence is that you can suddenly reach a much
    larger audience, we all know that there are risks (and costs) associated with going online. 
    CERT NZ does a quarterly report on the incidents that have been recorded. In an average
    quarter, approximately 1300 incidents were reported with a direct financial loss of $3.6 million.
    In Q3 of 2020, the number of incidents increased by 33% over the Q2 numbers (approximately
    2600 incidents reported in Q3) and the direct financial losses were reported at $6.4 million.

    While we expect to see breaches continue, there are steps that you can take to minimise the
    risk of a breach.

    Improving Your Security in
    2021

    Looking back on what either caused or contributed to breaches in 2020 gives us a good starting
    point to look at what steps can be taken to improve security in 2021 for businesses and charities alike.

    Learn from the Past

    The biggest areas where there were compliance gaps in 2020 were:

    • Requirement 11: Test security systems and processes
    • Requirement 5: Protect against malicious software
    • Requirement 10: Track and monitor access
    • Requirement 8: Authenticate access

    Based on the report from Verizon, there were no organisations that were fully compliant with all
    PCI DSS requirements at the time of a breach. And 55% of organisations that suffered a breach
    were small and medium sized businesses.

    One area that did not have a large control gap, but that is regularly the cause of security
    breaches is Requirement 6 (Develop and maintain secure systems), and in particular, this often
    comes from missing security patches. Whether it is Windows or Linux patches, or patches to
    your key applications, making sure that your systems are patched is part of the ASD Essential
    Eight (a list of essential mitigation strategies to use as a baseline to make it harder for a system
    to be compromised).

    Adapt Your Security For How You Work

    If there’s one thing that was contestant in 2020, it was changes to how we work. And now that a lot of these changes have become the norm, security needs to be updated to ensure that it is still part of the “new normal”.

    One of the key things that we saw and continue to see is more people working from flexible locations. Which means there are more risks that need to be considered. For example, making sure that:

    • Their home devices are patched,
    • Any security scans are including remote machines,
    • VPN access uses multi-factor authentication,
    • Any of the temporary steps you took to secure people during the lockdowns have now
      been incorporated into your policies.

    You can read more about steps you can take to secure your workers when they are working
    from home in our post.

    Improve in the Future

    If you can only do a few things to protect your online business in the coming months, we recommend:

    • Regularly install both operating system and application patches (have a process to check for and install patches at least monthly if not more frequently)
    • Use multi-factor authentication anywhere you can (this way if your password is compromised it’s a lot harder for someone to use it)
    • Regularly scan your website and server for vulnerabilities.
    • Check for malware (make sure if you’re using antivirus software that it’s regularly updated)

    We also have a number of recommendations for different types of organisations:

    How Can Confide Help

    We can only guess at what’s going to happen in the next 12 months, but we want to help as
    much as we can. Confide is a Qualified Security Assessor Company (QSAC) and we have
    services to support organisations of all sizes and can help you understand your current security
    risk and compliance state from completing a gap analysis through to a full PCI DSS
    assessment. Contact us and find out how we can help you reach compliance in 2021.

  • Updates to the NZ Privacy Act 2020

    Updates to the NZ Privacy Act 2020

    You may have heard something about the Privacy Act being updated. There’s lots in the news
    these days about privacy, including new laws being passed which protect customer data:

    • GDPR (EU General Data Protection Regulation) from 25th May 2018
    • CCPA (California Customer Privacy Act) from 1st January 2020
    • PDPB (India Personal Data Protection Bill)
    • Australia Privacy Amendment (Notifiable Data Breaches) from 22nd February 2018

    New Zealand has recently passed the Privacy Act 2020 which aims to strengthen privacy
    protections and introduces new privacy breach notification regime for breaches that have
    caused or are likely to cause serious harm.

    The Privacy Act 2020 comes into full force as of 1 December 2020. While we won’t dig into all
    of the legal aspects of the Privacy Act, we will focus on how frameworks like the PCI DSS can
    be applied to help protect all information (not just credit and debit card data)!

    In this post, we will cover:

    • What data do you need to protect?
    • How does PCI relate to privacy?
    • How can PCI be used to protect personally identifiable information (PII)?

    What Data Needs to be
    Protected?

    For PCI DSS, the answer is pretty simple. It’s the 16 (or more) digit personal account number
    (PAN) that is the number on the credit or debit card. You can’t store any sensitive authentication
    data (SAD) after authorisation.

    When it comes to privacy though, it’s a lot wider than PCI (and often a whole lot more
    complicated to decide what is personally identifiable data (PII).

    Let’s start with the definition from the NZ Privacy Act 2020.

    Personal Information means information about an identifiable individual. 

    Since that’s pretty broad, we can look at the definition from data.govt.nz which says that
    personal information includes data such as:

    • Names
    • Phone numbers
    • Email addresses
    • Other observations where an individual is identified

    It’s that last one that makes the concept of personal information so broad. And that’s why you
    could even include credit / debit card numbers under the scope of personal information since
    these numbers are associated with an identifiable individual.

    To quote the Privacy Commissioner: “The Privacy Act is concerned with the
    content of personal information, rather than the specific form that content is in.
    This means that all sorts of things can contain personal information, including
    notes, emails, recordings, photos and scans, whether they are in hard copy or
    electronic form.”

    PCI DSS Is All About Credit
    Cards, Right?

    It is, but that doesn’t mean that the concepts don’t relate back to information security and
    protection of private data. Consider how PCI DSS protects credit card information:

    • You have to make sure it is protected in your network
    • You have to make sure that the locations where it is stored are protected and monitored
      for unauthorised access
    • You have to make sure that the data itself is protected so that only those people who need
      access can see it.
    • You have to make sure that when people access private data, there are records of it
    • You have to regularly identify technical vulnerabilities and address them
    • You need to be able to identify if there is unauthorised access to private information and
      be able to respond appropriately (including notifying the appropriate people).

    While PCI does only specifically apply to credit and debit cards, none of these principles would
    be out of place for protecting ANY of your customers’ data that would be considered as private.

    Think about it. If all of your customer data was encrypted and only the people who needed
    access to it could see it, how much less damage would there be if someone got access who
    shouldn’t have it?

    You would be much less likely to have to worry about email addresses or other personal data
    being disclosed if it were protected.

    How Can PCI Be Used to
    Protect Personally Identifiable
    Information (PII)?

    In the simplest of terms, take the word credit card and replace it with PII.

    It seems pretty simple, right?

    • Identify locations where cardholder data is stored becomes identify all locations where PII
      is stored.
    • Have a process to delete cardholder data on a quarterly basis when it is no longer
      required  becomes delete PII on a quarterly basis when no longer required.
    • Place systems that store cardholder data in an internal network zone becomes place
      systems that store PII in an internal network zone.

    The list goes on, and in pretty much every case, it’s easy (in principle) to substitute the wording
    to encompass any personal information.

    In reality, it is harder because we aren’t used to protect personal information the same way we
    are used to protecting cardholder data. It’s a change. And it’s probably a big step to start by understanding what personal information you hold on behalf of your customers, where that
    personal information is stored, why you need to store it, and who really needs to be able to
    access it.

    And we know the question that comes after that is: how do we use the data if we now have to
    protect it?

    But, if We Have to Protect Data,
    How Can We Use It?

    The focus in PCI is that only authorised individuals have access to data and that this access is
    for their role / a justified business reason.

    So think about it this way: does everyone need access to all the customer data or do only
    certain people need access? Maybe more people need access to customer data like names and
    email addresses than credit card numbers, but the principle is still the same.

    Make sure that only the people who need access to data have access. And if you don’t
    need the data, don’t store it.

    Will it make things more complex? Maybe. But giving your customers the assurance that their
    data is protected is even more important. Because the last thing company or organisation
    wants, is to make the news, be fined and/or face a class action because of a data breach.

    But, if We Have to Protect Data,
    How Can We Use It?

    The updated Privacy Act will make it mandatory for companies and organisations who have
    suffered “serious” data breaches to let affected parties and the NZ Privacy Commissioner know
    as soon as they find out about it – not months or years down the track, which has often been
    the case in the past.

    The amended Privacy Act also allows the Privacy Commissioner to issue compliance notices to
    compel organisations and companies to comply with the law and fine them up to $10,000 for
    failing to do so.

    Secondly, the new Privacy Act could allow for something we haven’t seen in New Zealand
    before being the “data breach class action”. Under the Act, an affected group, organised and
    perhaps funded by law firms, could take a case to the Human Rights Review Tribunal, the
    independent judicial body that hears claims relating to breaches of the Human Rights Act, the
    Privacy Act and the Health and Disability Commissioner Act.

    The Tribunal regularly awards damages to the amount of tens of thousands of dollars for
    “emotional harm” and “humiliation, loss of dignity and injury to feelings” for individuals or groups
    of individuals. It will typically issue a “declaration of breach of privacy” if that has happened.

    Under the declaration, the Privacy Act allows for the Human Rights Review Tribunal to award
    up to $350,000, paid by your company or organisation.

    Finally, if credit card numbers and therefore card holder data is included in the disclosed
    breach, the card brands under the agreement you have with your bank can also fine you. We
    talk about what you probably agreed to in your merchant banking agreement in our post Where
    Does it Say I Have to be PCI Compliant? After all, new credit or debit cards will need to be
    issued and they will be looking at you to meet those costs, not mention cover any other losses
    the card schemes or banks may incur.

    More Resources

    If you’re looking for more information on data privacy, we recommend:

    What Now?

    Confide has people who specialise in data security and data privacy We can help you build a
    framework to protect personal information and understand the risks associated with the data
    you store. Talk to us to see how we can help you.

  • Moving to the Cloud and Staying PCI Compliant

    Moving to the Cloud and Staying PCI Compliant

    We are seeing a lot of trends where organisations are moving to the cloud. If you haven’t moved to the cloud, you’ve probably been asked about it by at least one person in your organisation. The biggest players that we see in the cloud space are:

    • Amazon Web Services (AWS)
    • Microsoft Azure
    • Google Cloud (GCP)

    We’ve seen most people have moved to either AWS or Azure, but we are starting to see people make more use of GCP as well. In this article we will try to be be cloud-agnostic. Whatever cloud-service you decide to investigate and/or use will each have it’s own services, solutions, and approach to compliance. Our focus here is on how you approach a cloud migration with PCI in mind no matter what stage you are at.

    Before You Migrate

    Just like any significant change, you need to take steps to understand what your risk is. The only way that you can understand your risk fully is to start by performing due diligence and understanding exactly where the potential may be for certain risks.

    Do Your Due Diligence

    When we talk about due diligence for a potential cloud move, there are lots of things that need to be considered. Some of these include:

    • What compliance does the cloud provider have? Do they meet regulatory and contractual regimes that you have to comply with in all the countries you operate in?
    • What rights do you have as a customer over controlling your data?
    • Who has access to your data?
    • What happens to your data when you delete it?
    • Does the cloud service offer native versions of the security controls you need or will you need to implement additional security controls?
    • What obligations do they have to notify you of a breach or potential breach?
    • How easy (or difficult) is it to move platforms?
    • What items would be your responsibility and which would be the cloud providers?

    The list above is not meant to be exhaustive. What it should do is make you start thinking about what your potential risks might be that are associated with bringing another service provider into the scope of your PCI environment. If you don’t do your due diligence, you may find yourself in a situation where your cloud provider is not compliant and suddenly there is a significant increase in costs, probably not budgeted. While that’s extremely unlikely with one of the big three cloud providers, they are not the only providers out there.

    Understand Your Risks

    Once you’ve done your due diligence, you’re in a much better place to be able to understand your risks. Incomplete due diligence can lead to an inaccurate or incomplete understanding of the risks leaving you with gaps that you may not know about until it is too late.

    As part of any significant change, you need to be doing a risk assessment. Migrating from a physical infrastructure to the cloud is considered a significant change to your environment. So significant, that it is the kind of change that will, once ready, be required to be re-assessed. We will talk about that later.

    While your risks will differ based on your organisation and even your cloud provider, some risks will be common regardless. When identifying risks, ensure that you are including not only technical risks, but people and process risks as well.

    • Those logs that you previously sent to your SIEM, where do those go now, and are they still in a format that you can review? Or will you need a different tool?
    • The documentation you have that relates very clearly to your old systems, what happens if it doesn’t get re-written? How and who will rewrite it?
    • What happens if your cloud provider stops offering their services?
    • What happens if your cloud provider no longer provides PCI compliant services?
    • What happens if auto-scaling isn’t configured properly and you get a spike of traffic leading to a similarly enormous bill?
    • What happens if that old bespoke piece of software you’re using can’t be deployed in the cloud?

    Once again, the list isn’t meant to be exhaustive. But you should be looking at the ways that changing to the cloud could add not only what new risks you might add, but how the cloud migration might change your current risks. It may be that migrating to the cloud removes the risk of a data centre that was not PCI compliant and therefore had to be included in your scope. It may be that using a cloud service they offer a log pre-processing service which suddenly makes it much easier to understand when an event is a threat, improving your ability to detect incidents.

    When reviewing a migration to the cloud, you should absolutely look at ways that it may also decrease existing risks in your current risk assessment though additional controls that may not have otherwise been available to you.

    Draft Your Architecture

    Once you’ve done your due diligence and understood the potential risks, you’re probably in a place to make a decision about the cloud-solution that you will use and you can finally get to the part you wanted to get to all along. Playing with the shiny new toys that cloud services offer so that you can figure out which of those things you want (and need) to include in your new architecture.

    When considering what your architecture might look like, it’s a good idea to run it by a QSA earlier rather than later so any key items for compliance which may have been forgotten or left out can be identified, saving you time later. Confide can perform architecture reviews to help customers ensure that their cloud migrations will meet their PCI requirements.

    Make sure that when you are drafting your architecture design documents, you consider services that may be available from your cloud provider which are PaaS or SaaS offerings which may be able to decrease your overall compliance burden (as long as they are within the scope of your cloud provider’s Attestation of Compliance or AoC).

    For example, Azure offers a Bastion Service that lets you implement a jump host with multi-factor authentication for all direct server access. Once you’ve configured it, you can use it with Azure AD and enforce multi-factor authentication. As it is PaaS (Platform as a Service), you do not have any access to the underlying operating system.

    Compare this to setting up your own bastion host, being responsible for the patching, for application updates, internal and external vulnerability scans, penetration testing, server build and configuration standards, hardening, potentially antivirus software and server logging to list the key ones. The list goes on because a bastion host is a critical security control within your environment, providing access and segmentation to your environment.

    While of course you could migrate your environment like for like, and recreate everything that currently exists in your data centre, you may find that some of the managed services can make PCI compliance easier. So make sure to consider these when designing what your new environment will look like.

    Ready to Migrate? What Do Do During Your Migration

    So, you’ve decided to migrate, you’ve had your architecture reviewed by a QSA, but that doesn’t mean that everything is ready to go and you’ll immediately be PCI compliant.

    Document Everything

    As you start building and deploying your environment, make sure that you are documenting everything. A move to a cloud environment is a significant change (remember Requirement 6.4.6), so you’ll need to make sure that you are documenting as you go. As you deploy the environment, remember to consider things like:

    • Do I need to run a vulnerability scan?
    • Do I need to organise a penetration test?
    • What documentation do I need to create or update?
    • What PCI requirements do I need to implement as part of the deployment?

    By recording each of these things as part of the change and keeping the evidence with it, you make it even easier to show your QSA how you made sure that each change

    As you add (and remove) users and roles to the solution, make sure that you are documenting this as part of your changes. Make sure you document their privileges and understand who should have access once the system goes live. You may find that a different team of people needed access to build the solution and that the team is much different or smaller for maintaining it. So as part of your process, make sure that you’ve only got the right people with the right access.

    Test Early, Test Often, Test When You’re Done

    You’re always remembering to test things as you implement them, right? No, not just that they work, but that they are secure.

    One of the things that you need to do for PCI is to make sure that you do vulnerability scans and penetration tests as part of your significant change. Not every change will require a penetration test, nor will every change require a vulnerability scan. But any time there is a change to networking, your first step should be to run a vulnerability scan (internal or external depending on what type of networking change). Do these scans as often as you need to, and re-scan until any vulnerabilities have been fixed. Keep the results with the change ticket.

    You might decide to do penetration testing at different points in your deployment. Great! Just make sure that you book in a final penetration test once you’re ready to go live. You want to make sure that you’re testing the environment in as close a state as possible to what you will actually be using.

    Double Check Your Solution

    Before getting a QSA in to do the assessment of your new environment, we recommend doing some internal spot checks of your environment against key requirements to make sure you have addressed everything. This includes checking that your documentation has been updated and reflects the new environment, as well as making sure the environment is production ready. This will save you from too many surprises during the assessment.

    If possible, build spot checks in early and include them as part of your key milestones. It’s much easier to check things piece by piece rather than all at once, but it’s better to do it once than not at all. It will also help you understand how you will need to explain your implementation of the solution when you are talking about it with your QSA.

    Done and Deployed? What To Do After Your Migration

    That’s it, you’re done, right? Not quite.

    Document Your Decommissioning

    Before your assessment, you will want to finalise your decommissioning of your old environment. If your old environment hasn’t been decommissioned, it will have to be included in your scope until it is.

    Decommissioning, much like adding new systems is a significant change. You need to make sure they are removed from your security tools, make sure their firewall rules are removed, remove them from your inventory and your diagrams. There’s still a few things that need to be done and documented before you are ready for your assessment.

    Review Your Documentation (One More Time!)

    Make sure that all of your change tickets are easily identifiable and contain the information that they need to. Make sure that all of your diagrams have been updated to reflect your new environment. Basically, just do a once over to make sure you are in a place where you are ready to be re-assessed.

    Schedule Your Re-Assessment

    We know that figuring out exactly when you will be done is difficult. There are bumps along the way and nothing ever goes as planned. So figuring out when to schedule your re-assessment is key. Your systems should be production ready. This means that everything has been deployed, everything has been tested, and the only thing left to do is to make sure that it is PCI compliant.

    If you assess too early, you run the risk of an extended assessment while we wait for your systems to be production ready. If you assess too late, you run the risk of a security breach due to an incorrectly configured security control. The important thing is to keep your QSA in the loop. Engage with them early, and take steps to keep them up to date as key milestones are achieved. This gives you the assurance you need that your QSA will be able to advise you on when you are ready for your assessment and you can worry less about not being able to fit into the schedule once you’re ready.

    How Can Confide Help

    Confide understands that a cloud migration is a process and PCI is just one part of it. We’re here for you throughout your PCI journey whatever part of it you’re at. Confide has staff who specialise in cloud security who can advise you and assess your environment. Contact us to find out how we can help you take advantage of cloud offerings.

  • Suddenly Working from Home?

    Suddenly Working from Home?

    New Zealand is starting a period where lots of people are going to be working from home because of COVID-19. For some of us, it’s temporary; for others it may be (or become) a normal way of working. With this massive shift in how we are having to work for a period of time, we at Confide thought it would be good to offer some advice on how to stay secure and still maintain the Payment Card Industry (PCI) Data Security Specification (DSS) compliance.

    PCI DSS is probably the last thing on your mind. But let’s start with some things that you can do to keep yourself secure at home.

    • Always remember to lock your computer. [Windows: Control-Alt-Delete   MacOS: Control-Command-Q] This isn’t because you think your family will do something with your data; it’s to make sure that someone doesn’t accidentally do something they shouldn’t, like delete something critical.
    • Make sure that you enable multi-factor authentication anywhere it isn’t already enabled. And if it’s a cloud service managed by your company (GitHub, Jira, etc.) and you can’t enable it yourself because of how it’s configured, ask your IT team to enable it.
    • Make sure you have a strong password on your home’s wireless network and that the software on your wireless devices (including your ISP’s router) is up to date (if you can update it). Make sure you update the admin password on it too.
    • Make sure you continue to patch your computer and keep key things running like antivirus and firewalls. Just because you’re at home, doesn’t mean that your computer is more secure.
    • Keep your laptop to work use only. This is for both helping you draw a line between your work and home life when you’re working from home and to keep your computer secure by not installing other things on it.
    • Before you start using your own computer to work remotely, check with your organisation to find out about their BYOD policy and if you need to add things like antivirus software or firewalls before you connect to the network.
    • If you’re using your own device, make sure it has a strong password!
    • Encrypt your local hard drive and your backups (and make sure you keep doing your backups!)
    • Consider what else is on your network. If you have the ability to set up a separate network for VLAN for your work, do that. Keep your IOT devices and cameras separate (and patched).

    While not a security issue, also check the speed of your broadband connection. You might be on a cheaper plan with low speed e.g. fibre running at 100 Megabits, when you could be running at a higher speed e.g. One Gigabit or higher.   Check here: https://broadbandmap.nz/home If there are a couple of you working out of the same home, the increased speed will be very useful. Almost all ISPs in New Zealand have lifted their data caps until further notice.

    So with some basics covered, we move on to steps that organisations can take to minimise risk with such a significant change in how people are working.

    • You’re probably already using multi-factor authentication for your remote access since it’s been part of PCI DSS requirements for years, so this one shouldn’t be hard. What may be hard is making sure that all the new people who may have to have remote access are using multi-factor authentication. We know this may mean you need more licenses or you may have to ask staff to use their personal devices for authentication. But it’s important for your compliance to ensure that everyone has multi-factor authentication in place for remote access.
    • Making systems available remotely can also offer some challenges. Say you normally lock down access to your internal systems by IP address so that only certain people can access it. Suddenly you’re having to allow for dozens, hundreds, or thousands more people requiring access. So however you decide to do things, whether that’s whitelisting a lot more IP addresses or removing IP address restrictions altogether, you need to make sure your changes are documented and go through proper change control.
    • Sure, you’ve probably had to make some emergency changes because of how quickly the work from home mandate was put in place nationally. But make sure that these changes get documented as soon as possible. Don’t wait for weeks to complete the documentation.
    • You may have to make some other significant changes. Maybe you need to add a new jump box to let more people access the environment, maybe you need to change some firewall rules to make access less restrictive. Make sure that you’re reviewing the impact of that significant change for PCI DSS. When things are back to normal, one of the things that we look for as Qualified Security Assessors (QSA) is evidence of how you have managed and documented your significant changes and how you’ve considered your risks.
    • With all these potential changes going on, make sure you’re running vulnerability scans (internal and external). It should give you an idea if any of the changes are opening up new vulnerabilities in your environment. And if your change is particularly significant, make sure you’re reaching out to a penetration testing company who should be able to conduct testing remotely.
    • Review your change control processes to make sure that you can still follow them even if people are working remotely. If your system is highly restricted, you may have to consider how you deal with this if the people who need it can’t access it remotely.
    • If you are fully shutting down, treat this just like you might the Christmas black out or brown out period. Take the same steps and same precautions.
    • Consider how you roll out some additional training for your staff remotely. Not only will this make it easier to ensure that you can train staff as and when needed (when they first join and annually thereafter), you might find that this opens up new opportunities for staff to complete their training when they have time rather than everyone attending a single session.
    • Remember to make sure that people are still on call for monitoring for security breaches. If you rely on people generally being in the office to be able to respond to things, your response processes might need to change. You may need to create a more formal roster to make sure that someone is monitoring for incidents. You may need to make a more formal process for recording and responding to incidents so that people know who responded and what was done.
    • Document everything. Document what you’ve done, how you’ve addressed the risk. We know that there will be things that you have to do to get things set up to keep operating in this situation.
    • If your staff are using BYOD, make sure they have antivirus software installed! A few more licenses is better than the risk of malware infecting your environment.

    We know that things are hard at the moment. But maybe you’ll find some new opportunities over the next few weeks to improve the way you do things and become more secure in the process.

    There are other great articles out there on how to secure your organisation and your workers.

    Stay safe and be kind everyone. PCI DSS compliance isn’t the end of the world and neither is the COVID-19 outbreak.

    Confide is available to answer your questions about PCI DSS and how remote working could affect your compliance during the current situation and once things are back to normal.

    In addition to being a Qualified Security Assessment Company (QSAC) under the PCI Security Standards Council, Confide is also an active corporate member of the New Zealand Internet Task Force (NZITF), whose mission is to improve Information Security standards in New Zealand.

  • Automated Pen-testing and PCI DSS: A QSA Perspective

    Automated Pen-testing and PCI DSS: A QSA Perspective

    Automated penetration testing (pen-testing) is an up-and-coming approach that aims to address the issues businesses face with more traditional approaches to pen-testing, which relies almost completely on the skill and experience of pen-testers and the budget and timeframes applied to the pen-testing engagement.

    Caveat

    The author of this article has not evaluated or reviewed an automated pen-testing solution as part of research or during a PCI DSS assessment. All information regarding automated pen-testing solutions has been sourced from vendor-provided documentation publicly accessible on the Internet. The article does not endorse nor provide a formal opinion as to whether an automated pen-testing solution meets applicable PCI DSS requirements but merely provides discussion points regarding compliance based on the documentation available to the author. The author is not a qualified pen-tester but is an active QSA.

    What is Automated Penetration Testing

    Automated pen-testing is an approach where systems and devices are continuously scanned to detect vulnerabilities within the business. The service automatically attempts to exploit the vulnerabilities using pen-testing tools and techniques without the need for a human pen-tester. Automated pen-testing tools appear to have been built on years of automated vulnerability scanning, making the leap to attempting to exploit the vulnerabilities that have been found. The benefits of automated pen-testing systems are readily apparent and attractive to any business requiring pen-testing as part of their compliance obligations such as PCI DSS.

    Benefits of Automated Penetration Testing

    The benefits include:

    1. Continuous pen-testing of systems. Instead of the traditional point-in-time pen-tests undertaken annually or as part of a significant change to the information technology environment, automated pen-testing can be ongoing. A significant and exploitable vulnerability could be introduced into the environment at any time via patching, upgrading systems, or updates to custom-code. If a pen-test is only undertaken annually then there is risk that a vulnerability could be available for a significant period of time before its detected and exploited.
    2. Improved speed and coverage. Using computer-based automation dramatically increases the speed, coverage and type of pen-testing techniques that can be used. Where human pen-testers may only be able to focus on a small sample-set of systems and devices per engagement, automated tools can run multiple streams of tasks on the entire environment and do not rely on a single person’s skill set.
    3. Quick updates. Depending on the automated pen-testing vendor, the automated pen-testing system could be updated with the latest vulnerability data, attack vectors and exploit techniques hours/days after the detection and identification of the vulnerability is known the security community. However, with the traditional pen-testing engagement, it may take longer for pen-testers to develop the tools to exploit new vulnerabilities.

    Why Automated Penetration Testing Might Not Be a Silver Bullet

    Although automated pen-testing systems would be a very attractive proposition for a business over engaging human pen-testers, consideration of compliance requirements must be factored into the procurement process.

    For PCI DSS, Requirement 11.3 and its sub-requirements address pen-testing. An extract of Requirement 11.3 is provided below.

    11.3 Implement a methodology for penetration testing that includes the following:

      • Is based on industry-accepted penetration testing approaches (for example, NIST SP800-115)
      • Includes coverage for the entire CDE perimeter and critical systems
      • Includes testing from both inside and outside the network
      • Includes testing to validate any segmentation and scope-reduction controls
      • Defines application-layer penetration tests to include, at a minimum, the vulnerabilities listed in Requirement 6.5
      • Defines network-layer penetration tests to include components that support network functions as well as operating systems
      • Includes review and consideration of threats and vulnerabilities experienced in the last 12 months
      • Specifies retention of penetration testing results and remediation activities results

    Based on the publicly accessible information available for automated pen-testing tools reviewed at the time of this article’s published date, further research is required in the automated pen-testing tool’s ability to meet the requirement’s objective for application layer pen-testing (PCI DSS requirement 6.5).

    The objective of requirement 6.5 is to provide a minimum level of testing custom applications for security vulnerabilities. Requirement 6.5.1 through to requirement 6.5.10 cover the following vulnerabilities:

    1. 6.5.1 – Injection flaws such as SQL injection and command injection.
    2. 6.5.2 – Buffer overflows.
    3. 6.5.3 – Insecure cryptographic storage which addresses the use of insecure cryptographic ciphers, keys and algorithms.
    4. 6.5.4 – Insecure communications
    5. 6.5.5 – Improper error handling such as dumping out a stack trace to the end-user or providing too much information about the error to the end-user.
    6. 6.5.6 – Ensures that an organisation’s policy and procedures are updated and robust enough to identify all “high-risk” vulnerabilities.
    7. 6.5.7 – Cross-site scripting (XSS).
    8. 6.5.8 – Improper access control such as directory traversal and restricting access to functions.
    9. 6.5.9 – Cross-site request forgery (CSRF)
    10. 6.5.10 – Broken authentication and session management such as incorporating sensitive session variables in the session cookie.

    In regards to off-the-shelf software, the requirements above all sound doable for the automated pen-testing tool since there is an abundance of vulnerability sources publicly available for off-the-shelf applications such as web servers, blogs, office applications, CMS and CRM systems etc.

    However, consider an application that has been developed solely for an organisation. The automated pen-testing tool may identify a SQL injection vulnerability in the login page, but could the tool be smart enough to exploit this vulnerability to attempt further exploration within the application in order to identify and exploit more vulnerabilities? The SQL injection vulnerability on the login page may be identified and patched however, what other vulnerabilities still exist that were not identified via automated pen-testing?

    For example, if a skilled human pen-tester identified the SQL injection vulnerability within the login page the pen-tester could use a known users account name and bypass the login process using SQL injection technique, then locate the user’s current password and log into the server via SSH. Upon finding that the MySQL server root account has no password, the pen-tester logs into mySQL server as root and searches the database for valuable information. Further, based on the mySQL version the pen-tester uses a well-known function within the mySQL sever to gain root privileges to the server. As this example shows, the human pen-tester has gone from identifying a SQL injection vulnerability in a web-based login page to “owning” the entire server.

    It could be suggested that the whole example scenario above would be removed once the SQL injection vulnerability was located but there are many more ways to get a user’s password. The lax security for SSH access and mySQL running as root with no password on the root account stills remains to be exploited another way.

    Automated Pen-Testing & Application Layer Testing

    NIST Special Publication 800-115 “Technical Guide to Information Security Testing and Assessment” provides guidance on “application security testing”.

    Application security testing and examination help an organization determine whether its custom application software—for example, Web applications—contains vulnerabilities that can be exploited, and whether the software behaves and interacts securely with its users, other applications (such as databases), and its execution environment. Application security can be assessed in a number of ways, ranging from source code review to penetration testing of the implemented application.

    Custom application software provides challenges to pen-testers in that the application or components of the application are not known outside of the business and any third-party developers and testers engaged to develop and test the application. Whereas vulnerabilities detected within operating systems and off-the-shelf applications are shared publicly, and in doing so allow effective tools to exploit the vulnerabilities to be crafted and released, custom code applications almost always require a reasonable amount of time researching the functions provided by the application, testing possible attack vectors and applying a unique path of attack that may result in further vulnerabilities being detected.

    The cost of black-box pen-testing of custom applications is a constant discussion point with a business due to the pen-testers effectively testing “blind” which consumes more time and resources with a reasonable risk that not all vulnerabilities will be detected. In many cases white-box testing is more effective at detecting vulnerabilities in custom code since the source code is often provided to the pen-testers to locate vulnerabilities not easily detected at the applications interfaces.

    A good example of the lengths pen-testers have to go to when pen-testing custom applications is the following video of a pen-tester attempting to detect and exploit a vulnerability in a war-game application “Learning object serialization vulnerabilities – Natas 26 Walkthrough – Overthewire.org”

    [fusion_youtube id=”https://youtu.be/ILfPqpdTm0k” alignment=”center” autoplay=”false” api_params=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” css_id=”” /]

    When reflecting on the uniqueness of custom code applications where consideration such as software methodologies used, coding languages used, information disclosure within comments, logic path flows and manipulation of application-level data are researched and tested resulting in a custom attack vector that has been hand-crafted, it is difficult for the author to see how an automated pen-testing tool could obtain the same or better result than a human pen-tester. The automated pen-testing tool may allow for such attack vectors to be scripted and therefore automated. However, there is always the discussion point around who would be qualified and experienced enough in pen-testing to script the attack? The developers of the application or the in-house testers could be a possibility but it would be rare that a developer or application tester would also be skilled in pen-testing.

    Another possibility that the use of automated pen-testing tools could meet PCI DSS version 3.2.1 pen-testing requirements is a combination of automated pen-testing and human pen-testing. The automated pen-testing tool could be used frequently to detect and exploit attack vectors that can be scripted and repeated without requiring changes such as detecting unencrypted user account credentials, weak password policy, insecure protocols, daemons and services and exploiting known vulnerabilities in off-the-shelf applications. The benefit to the business would be reduced costs for pen-testing as less engagement of human pen-testers would be needed, faster detection of vulnerabilities and consistent testing and reporting. However, as shown in above, the automated pen-testing tool could identify a SQL injection vulnerability in a login page for example, but a skilled human pen-tester would use that exploit to explore the environment and more than likely identify more vulnerabilities. So, would the QSA consider the automated pen-testing tool a very sophisticated vulnerability scanner only?

    Pen-testing or Vulnerability Scanning

    For the QSA further guidance is provided in The Information Supplement: Penetration Testing Guidance version 1.1 which provides the following guidance in section 4.2.2 Network Layer. The author has highlighted in bold the most relevant part of the extract.

    Since most protocols are well defined and have standard modes of interaction, network-layer testing is more suitable for automated testing. This makes automation the first logical step in a network-layer test. Because of such standardization, tools may be used to quickly identify a service, the version of the software, test for common mis-configurations, and even identify vulnerabilities. Automated tests can be performed much faster than could be expected of a human. However, simply running an automated tool does not satisfy the penetration testing requirement. Automated tools cannot interpret vulnerabilities, misconfigurations, or even the services exposed to assess the true risk to the environment. The automated tool only serves as a baseline indication of the potential attack surface of the environment. The penetration tester must interpret the results of any automated tools and determine whether additional testing is needed.

    This version of the supplement was written in 2017 so consideration of automated pen-testing tools may not have been incorporated. However, section 2.1 “How does a penetration test differ from a vulnerability scan?” provides further guidance on what PCI DSS considers as implementing pen-testing. You can also read more about this in Confide’s PCI Basics article: Penetration Testing and Vulnerability Scanning, What’s the Difference? In fact, the guidance infers frequently through the document that pen-testing is a human executed process.

    Until further understanding of how automated pen-testing tools support the ability to apply complex and intelligent pen-testing techniques, and the PCI Security Standards Council provides guidance on the use of automated pen-testing tools, further discussion between your QSA or acquiring bank may be needed.

  • PCI By the Numbers 2019

    PCI By the Numbers 2019

    Every year, Verizon publishes a report on PCI DSS and the key findings from the year. 2019 was no different.

    One of the most interesting findings of this report is how few organisations have a programme in place to measure the maturity of the PCI compliance program. Approximately 60% of organisations that were surveyed did not have a program to apply capability and maturity models to measure their PCI security program’s maturity.

    Other interesting numbers include:

    • Only 36.7% of organisations were actively maintaining PCI DSS programmes in 2018, a 20% decline from 2016.
    • Only 18% of organisations measure their PCI DSS controls more frequently than what PCI DSS requires.
    • No organisations were fully compliant at the time of a cardholder data breach. The biggest issues were with:
      • Requirement 3: Protection of cardholder data at rest
      • Requirement 8: Identification and authentication
      • Requirement 10: Logging and monitoring
      • Requirement 11: Security testing
      • Requirement 12: Security policy, governance, and service provider management
    • Approximately 35% of organisations suffered a compromise that involved a mobile device. Most of these compromises were major.

    One positive note to take away from this report is that organisations in the APAC region were regularly outperforming their global counterparts. However, the same findings were there, just in slightly lower numbers.

    Confide can help you understand gaps in your security process and to help measure the maturity of your PCI compliance programs. Contact us for more information.