Feb 14th, 2021 by Jesper Kråkhede
After two months of writing about compliance I have had a few questions from managers along the lines of: Fine, but what should it cost?
There is no single answer, but here is how I suggest you think about it. Split the cost in three: the work to implement the controls, the work to prove that they are in place and the work to handle the audit itself.
In most companies I meet, the first part is surprisingly small compared to the other two. The money goes into collecting evidence, writing reports, meetings and consultants who translate between the auditors and the technicians. In other words, into proving rather than protecting.
That is where automation makes the biggest difference. If the technical controls are monitored continuously, like I described in my previous post, a large part of the evidence comes for free. The audit becomes a review of a dashboard instead of weeks of preparation.
So when you look at your compliance budget, ask your team how much of it goes into proving and how much into protecting. Then set a goal to move money from the first to the second.
And remember that the most expensive compliance is the one you lose. Fines, lost customers and, as several companies learned last year, a breach that the audit didn´t catch.
Spend on protection. Automate the proof.
Tags: Business, Compliance, Cost
Posted in Business, Security Architecture | No Comments »
Feb 5th, 2021 by Jesper Kråkhede
There is one moment every security architect fears. You arrive at a new customer, you ask about their requirements and someone proudly opens a spreadsheet.
It has every regulation and standard the company needs to follow mapped against each other. ISO 27001, NIST, GDPR, the industry regulator, a couple of customer contracts. Hundreds of rows, each with a requirement, and a column of rules that everyone must follow so that the company is compliant by default.
It looks great. It is a nightmare.
Here is why. Every row becomes a rule, every rule must be implemented on every system and every exception must be approved. The rules come from different standards with different wording, so half of them overlap and some contradict each other. Nobody can tell you which threat a specific rule is meant to stop. And when a new project wants to build something, it has to go through all of it before it can even start.
So everything takes a very long time, and it rarely ends up right. Teams either give up and ask for exceptions, or implement the rules literally without understanding them.
The fix is to turn it around. Start with a small set of technical security patterns that you know stop real attacks. Then map the requirements to the patterns, not the other way around.
One good pattern can satisfy fifty rows in a spreadsheet.
Tags: Compliance, Controls, Security Architecture
Posted in Security Architecture, Technology | No Comments »
Jan 22nd, 2021 by Jesper Kråkhede
Following my previous post, a word to management about compliance.
In many companies compliance has become a game of doing as little as possible. The auditor comes once a year, the team prepares the evidence, the findings are negotiated down to something manageable and everybody is happy until next year. I understand it. Compliance costs money and nobody gets a bonus for exceeding a requirement.
But think about what that means. You are spending money to reach a level that you know is the minimum, and then you stop. Every gap between that minimum and what your threats actually require is a vulnerability you have paid to keep.
The attackers don´t read your audit report. They look for the easiest way in, and the easiest way is very often exactly where the requirement ended.
So for management: Don´t ask only ‘Are we compliant?’ Ask ‘What would an attacker do to us, and would our compliance stop it?’ If the answer is no, compliance isn´t the goal. Security is.
And the good news is that if you build real security, compliance usually comes almost for free. The other way around never works.
Compliance tells you that you did your homework. It doesn´t tell you that you passed the exam.
Tags: Business, Compliance, Governance
Posted in Business, Security Architecture | No Comments »
Jan 22nd, 2021 by Jesper Kråkhede
In my previous post I described the spreadsheet where all compliance requirements are mapped into one big set of rules. This post is about what it costs.
The first cost is time. Every new system needs to be checked against hundreds of rules. Projects that should take months take a year. The business waits, or worse, goes around IT and buys a cloud service with a credit card.
The second cost is people. Somebody needs to maintain the spreadsheet, interpret the rules, handle the exceptions and prepare the evidence for each audit. In larger companies that is a whole team, often made up of expensive consultants.
The third cost is the most expensive and the hardest to see. When everything is a requirement nothing is a priority. The real security work, protecting the admins, patching, monitoring, gets the same attention as row 347 about screensaver timeouts.
So for management: Ask how much your compliance programme costs per year, all in. Then ask how much of it actually reduces risk. You will probably find that a small part of the rules does most of the work.
Simplify. Focus on what matters and accept that some requirements can be met with a document instead of a technical project.
Compliance by default sounds cheap. It is the most expensive way there is.
Tags: Business, Compliance, Cost
Posted in Business, Security Architecture | No Comments »
Jan 3rd, 2021 by Jesper Kråkhede
A new year and a new theme. This year I want to spend some time on compliance, because it is one of the most misunderstood parts of security.
Let me start with a statement that usually upsets someone: Compliance is never good security. At best it is a baseline.
Every standard and regulation is written to work for a large number of organisations. That means it describes the minimum that everyone should be able to do. It can´t know your environment, your threats or what an attacker would go for in your network. And it is always a few years behind, because it takes time to agree on a standard.
The problem starts when the minimum becomes the goal. I see it all the time. The audit requires password complexity, so passwords are complex but the admins still logon everywhere with the same account. The standard requires logging, so the logs are collected but nobody reads them. The control is in place, the box is ticked and the attacker walks right past it.
Technically, the gap is almost always the same: how admin accounts are protected, how lateral movement is stopped and how fast you detect someone who is already inside. Very few standards go deep on those.
Use compliance as the floor, not the ceiling. Then build the security on top of it.
Tags: Compliance, Risk management, Security Architecture
Posted in Security Architecture, Technology | No Comments »
Dec 31st, 2020 by Jesper Kråkhede
It is New Year´s Eve again. A quieter one this year. Fewer guests, a bit of champagne and, as usual, the security architect writing a blog post.
What a year. A year ago I wrote about a strange pneumonia in China and hoped it would stay there. It didn´t. A month later I was thinking about working from home for my own health, and by March most of us had no choice. Offices emptied, the VPN became the front door and the attackers noticed it faster than most IT departments.
Looking back at the security year, three things stand out for me. Remote access became the most attacked part of the company, through VPN vulnerabilities, brute force on remote desktop and stolen passwords that kept working after the patch. Ransomware kept growing, and the attackers got even better at timing their attacks and at switching off our defences. And just a few weeks ago we learned that a widely used network management product had been used to sneak into thousands of organisations through a poisoned software update. A reminder that trust in the supply chain is also something we need to verify.
On the positive side, I have never had so many good discussions about Zero Trust. The crisis forced many companies to do in weeks what they had planned for years.
The vaccines are rolling out. Let´s hope 2021 brings us back to the office, at least now and then.
Stay safe, patch your servers and Happy new year!!!
Tags: Business, Methodology
Posted in Security Architecture, Technology | No Comments »
Dec 24th, 2020 by Jesper Kråkhede
A last business post for this year, about patching. It is the least exciting topic in security and one of the most important.
This year we have seen VPN gateways, remote desktop servers and old drivers used to get into companies. In almost every case the patch already existed. Sometimes for months, sometimes for years.
Why aren´t things patched? Usually for good reasons. The system is critical and can´t be restarted. The vendor doesn´t support the new version. Nobody knows who owns the server. There is no time. All understandable. But every one of those reasons is a risk that someone in management has accepted, often without knowing it.
So think about the cost. A good patching process costs staff, tools and some planned downtime. Not patching costs nothing, until it does. Then it costs incident response, downtime, lost customers and sometimes a ransom.
What should management do? Demand to know how much of the environment is patched within a set time, for example 30 days for normal patches and a few days for critical ones on internet facing systems. Ask for a list of everything that can´t be patched and who decided that. And give IT the maintenance windows they need, even if it is inconvenient.
The patch you don´t install is the one they will use.
Tags: Business, Cost, Patching
Posted in Business, Security Architecture | No Comments »
Dec 14th, 2020 by Jesper Kråkhede
In my previous post I wrote about attackers using old vulnerable drivers to switch off security products. Let me continue on the same theme from a patching perspective.
Most companies are fairly good at patching Windows by now. Some are good at patching applications. Very few patch drivers and firmware. They come from a long list of vendors, they are updated through different tools or not at all, and nobody wants to be the one who updated the network card driver on the database cluster.
The result is machines running drivers that are years old, with known vulnerabilities, and nobody knows. The same goes for the firmware in the BIOS, the disk controllers and the network cards.
Start with an inventory. Your device management tool can usually tell you which drivers and versions are installed. Then group them by vendor and find out how each vendor distributes updates. Include driver and firmware updates in the normal patch cycle, even if it is only every quarter to begin with. Test them on a few machines first. And remove what isn´t used, like old software packages that installed a driver for a feature nobody uses.
Patching is not only Patch Tuesday. Everything with code in it needs updating.
Tags: Drivers, Firmware, Patching
Posted in Business, Methodology, Security Architecture | No Comments »
Nov 30th, 2020 by Jesper Kråkhede
Earlier this year security researchers described a ransomware attack with an interesting twist. Before encrypting anything, the attackers installed an old, legitimately signed hardware driver from a well-known manufacturer. The driver had a known vulnerability, and the attackers used it to load their own malicious driver into the Windows kernel. From there they could kill the antivirus and delete its files, and then the encryption could run undisturbed.
Why does this work? Because drivers run in the kernel, with more power than anything else on the machine, including most security products. Windows only loads signed drivers, but a signed driver with a vulnerability is still signed. And there are a lot of old drivers out there.
So what can you do? Keep track of which drivers actually run on your machines and remove the ones nobody needs. Turn on Hypervisor-protected Code Integrity, HVCI, where the hardware supports it. It makes it a lot harder to run malicious code in the kernel. Use Windows Defender Application Control to block drivers you don´t want. And watch for the signs: a driver being installed by an admin account on a server is not something that happens every day.
And as always, the attacker needed admin rights to install the driver. Protect your admins and this attack gets a lot harder.
Signed doesn´t mean safe.
Tags: Drivers, Endpoint protection, Ransomware
Posted in Computer Forensics, Security Architecture, Technology | No Comments »
Nov 21st, 2020 by Jesper Kråkhede
Following my previous post, let´s talk money, because that is usually where the PAW discussion ends up.
When an admin needs two devices, an extra logon and a few more minutes for each task, someone in management eventually does the math. Ten minutes a day for twenty admins is a lot of hours per year. Add the cost of the devices and the project, and the answer comes back: too expensive, let´s find something else.
The problem is that the calculation only has one side. On the other side is the cost of an attacker getting domain admin, and that number is not ten minutes per day. It is weeks of downtime, rebuilt infrastructure, incident response consultants and sometimes a ransom. In the cases I have worked on it is often more than the entire IT budget for a year.
Security will always cost some productivity. The question is where you pay it. Spend it on the few people with the keys to everything, the admins, and keep it as low as possible for everyone else. That is good prioritisation.
What doesn´t work is asking everyone to be a little bit secure and nobody to be really secure.
Ten minutes a day is cheap insurance. Ask anyone who has rebuilt an Active Directory.
Tags: Business, Cost, Privileged access
Posted in Business, Methodology, Security Architecture, Technology | No Comments »