Feed on
Posts
Comments

A slightly different post this time.

For a few weeks I have followed the news about the new coronavirus from Wuhan in China. At first it sounded far away. Now the city is closed down, the virus has turned up in several other countries and yesterday WHO declared it a public health emergency of international concern. Today we got the first confirmed case here in Sweden.

As a child I was seriously ill in my lungs. I´m fine today and I don´t believe I´m at any particular risk, but some things stay with you. I have always been careful with respiratory infections, and when something new is spreading I prefer to be early rather than late.

So I will look at working from home where it´s possible, at least for the meetings that don´t need me in the room. Luckily most of what I do can be done from anywhere with a good connection, and the customers I work with are used to online meetings by now.

It also made me think about something else. If more people start working from home, how many companies are actually ready for it? Is the VPN sized for it? Are the laptops managed when they are not in the office?

I suspect I´ll come back to that question.

Take care of yourselves, and wash your hands.

Just before New Year a large currency exchange company was hit by ransomware and is still struggling to get its services back. When I read about cases like that my first question is always the same: Could they restore?

For management, backup has been an IT topic for decades. Something that costs money and that you never see. Ransomware changed that. Today the backup is what decides if you have a bad week or a crisis that ends up in the newspapers.

So here are a few questions every board should ask. Do we have a copy of our critical data that an attacker cannot delete, even with full admin rights? When did we last test a full restore, not of a file but of the whole business process? How long would it take to get our most important system back, and can the business survive that long? And do we know in which order the systems need to come back?

If the answer to the last one is ‘we´ll figure it out’, you won´t. Not at three in the morning with the phones ringing.

The investment is usually small compared to the ransom. And remember, paying is no guarantee that you get your data back.

A backup you have never restored is just a hope.

Every time I help a customer recover from ransomware I ask myself what actually made the difference. After a few years the answer is surprisingly short. Three things: immutable backups, a bad network and a bad memory.

Immutable backups first. A backup the attacker can reach is not a backup, it is just another target. Modern ransomware groups go for the backup servers before they encrypt anything. So make sure at least one copy can´t be changed or deleted, not even by a domain admin, for a set number of days. Offline tape works. So does storage with a retention lock.

Then the bad network. I can´t count the times a slow, forgotten line to a branch office or a badly configured replication link stopped the ransomware from reaching everything. Nobody planned it, but it worked.

And the bad memory. This is my favourite. More than once the whole recovery has been saved because someone suddenly remembered: ‘Wait, didn´t we build a lab with a copy of AD on that other cloud service two years ago?’ And there it was. Old, forgotten and not connected to anything. A perfectly good domain controller to start from.

Now, I´m not recommending bad networks and bad memory as a strategy. But they tell you what works: copies the attacker can´t reach.

Build that on purpose instead of by accident.

It is New Year´s Eve again. The family is getting ready, the champagne is cooling and the security architect is writing a blog post. Some things never change.

What did 2019 teach management? For me it was the year when the supply chain became the attack surface. Outsourcing providers were used as a way into their customers, a whole bunch of small municipalities in Texas went down on the same day through one provider and in November it happened in Spain. If you run a business, your providers´ security is your security.

It was also the year when the old servers started to hurt. BlueKeep showed that the systems nobody owns are the ones that get you, and in two weeks Windows 7 and Server 2008 are out of support. I hope your list is shorter than it was in July.

And it was the year when Zero Trust went from a buzzword to something I actually discuss with management. That makes me happy.

Speaking of infections: The news today is about a mysterious pneumonia in a city in China, apparently linked to a market. As having a serious pneumonia as a kid that almost took my life I´m always a bit scared of such reports. Let´s hope it stays there. In our line of business we have enough with the digital viruses, and those don´t care about borders either.

Wash your hands, patch your servers and Happy new year!!!

On the 17th of December Citrix released an advisory for a critical vulnerability in Citrix ADC and Citrix Gateway, formerly known as NetScaler. An attacker without credentials can execute code on the device. There is no patch yet, only a configuration change that mitigates it.

Think about where these devices sit. At the edge of your network, open to internet, handling the remote access for your users. If an attacker owns that box he is not at your door, he is already in the hall.

So before you leave for Christmas: Apply the mitigation from Citrix now, not after the holidays. Make sure you have a list of every appliance at the edge, not only Citrix, and who is responsible for patching it. These boxes are often forgotten because they are ‘network’ and not ‘servers’. And go through the logs from the device. If someone found the hole before the advisory you want to know.

Attackers love holidays. Fewer people watching, slower reactions and a lot of systems that nobody dares to touch until January.

Merry Christmas, and patch your gateway.

On the 4th of November one of Spain´s largest IT consultancies was hit by ransomware. The employees were told to keep their computers turned off and the company disconnected the network to its clients. Some of their customers cut the connections from their side as well, just to be on the safe side.

Imagine being one of those customers that morning. Your own systems might be fine, but the people who run them can´t work, the connections are cut and you don´t know if the attacker came through to you as well.

For management this is the question: What is our plan when our provider is the one that gets hit? Most incident response plans assume that we are the victim and that the provider helps us. Very few cover the opposite.

A few things to think about. Do we know which providers have access to our network and how? Can we cut them off quickly without stopping our own business? Who decides that, and do they have the authority in the middle of the night? Can we run the critical systems ourselves for a week? And does the contract say that the provider must inform us immediately, even before they know the full extent?

Run an exercise where your most important provider is down and possibly compromised. It is a cheap way to find out what you don´t know.

Your supply chain is part of your attack surface, whether you like it or not.

In July I wrote that BlueKeep was a matter of time. On the 2nd of November security researcher Kevin Beaumont saw his honeypots crash, and it turned out that someone was using BlueKeep to install cryptocurrency miners on exposed RDP servers.

The good news is that this was not the big worm everyone feared. It looks like somebody took a publicly available exploit and scanned internet for easy targets, and in some cases the exploit just crashed the machines.

The bad news is that the exploit is public and there are still a lot of unpatched machines out there. Next time it might not be a miner. And remember that the next attacker may not come from internet. Once someone is inside your network, every unpatched server with RDP is an open door to the next one.

So, same advice as in July, only more urgent. Patch. Turn on Network Level Authentication. Close RDP towards internet. And then look inside: Which servers can reach which other servers on 3389? Does every server really need to accept RDP from every client? Use the Windows firewall to restrict it to your admin workstations.

Six months between patch and exploitation is a gift. Don´t waste the next one.

One of the most common misunderstandings I meet in board rooms is that moving to the cloud means moving the security responsibility as well. ‘Microsoft takes care of that now.’ Well, partly.

The cloud provider takes care of the physical datacenter, the hardware and, depending on the service, a good part of the platform. That is a lot and they do it better than most of us could ever afford. But who has access to your data, how your users logon, how the services are configured and what happens to the information is still your responsibility. It always was.

This is called the shared responsibility model and every manager signing a cloud contract should understand it. Not in detail, but enough to ask the right questions. Who in our organisation owns the security of our cloud services? Do we have the competence or do we need to buy it? Do we have the same governance for the cloud as for our own datacenter? Are the security functions we pay for in our licenses actually turned on?

The last one is my favourite. I have seen more than one company pay for advanced security features that nobody activated.

You can outsource the datacenter. You can never outsource the accountability.

After my posts about Zero Trust I have got a few questions from managers along the lines of: ‘Sounds great, what does it cost?’ Fair question. The answer is that it depends on where you start, but probably less than you think.

Zero Trust is not a product you buy. It is a way of building, and most companies already own a good part of the pieces. Identity platform, device management, logging. The problem is seldom the licenses, it is that the functions are not used.

So how should management approach it? Don´t start a big bang project with a three year plan and a hundred page report. Start where the risk is the highest: your admin accounts and your most sensitive data. Protect those first, measure the effect and move on. Every step should reduce a known risk, and if it doesn´t, skip it.

Make it a program, not a project. Give it a sponsor in management, a small yearly budget and a follow-up twice a year. Ask for simple metrics: How many admin accounts do we have? How many devices are managed? How much of our sensitive data is protected?

And please, don´t let the vendors sell you Zero Trust in a box. There is no such thing.

Do the right things first. The rest will follow.

In my Zero Trust posts earlier this year I wrote about verifying everything. One thing I didn´t go into is the device. A username and a password tell you who claims to logon. The device tells you a lot about whether you should believe it.

Think about it. A correct password from a managed, patched and encrypted laptop is one thing. The same password from a computer that has never been seen before is something completely different. The identity is the same, the risk is not.

Technically this isn´t hard anymore. Enroll your devices in a device management tool like Intune and define what a healthy device is: encrypted disk, up to date patches, antimalware running and no jailbreak on the phones. Then let your Conditional Access policies require a compliant device for access to the sensitive stuff. Unmanaged devices can still get access to the less sensitive services, perhaps only through the browser and without the possibility to download.

The beauty is that the user doesn´t notice much. Most of the checks happen in the background. The attacker however will notice, because a stolen password suddenly isn´t enough.

Trust the device, then trust the user a little more.

« Newer Posts - Older Posts »