Feed on
Posts
Comments

Every year the time between a vulnerability being published and being exploited gets shorter. For the most critical ones on internet facing systems, it is now a matter of days, sometimes hours. Most organisations still patch in monthly cycles, if that. How do we close the gap?

Know what you have. You can´t patch what you don´t know exists. Use your vulnerability management, for example Defender Vulnerability Management, to get a continuous inventory of devices, software and missing patches, and let it tell you what is actually exposed and exploited.

Prioritise. Not every patch is urgent. Internet facing systems, known exploited vulnerabilities and your Tier 0 systems first.

Automate. Use update rings, where a small group gets the patch first, then a larger one, then everyone, automatically. Windows Autopatch can handle much of this for clients. For servers, use automated deployment with maintenance windows that actually happen. Consider hotpatching where it is available, so some updates don´t need a restart at all.

Remove what you don´t need. Every uninstalled application and every decommissioned server is something you never have to patch again.

And for the systems that can´t be patched, isolate them and monitor them closely.

Patching faster isn´t about working harder. It´s about automating what can be automated, so your limited people can focus on what can´t.

The same report, read with management´s eyes.

One theme stands out for me this year, and it fits what I have been writing about all year: resources. The report notes that a large share of organisations hit by human operated ransomware are small and medium sized, with only a few hundred employees. They are targeted not because they are valuable, but because they are easy. Small IT teams, no SOC, little time for anything beyond keeping things running.

The report also ends with a clear message: the world needs more cybersecurity professionals. There aren´t enough of us, and the gap isn´t closing fast enough.

What does that mean for an organisation? First, accept that you can´t do everything yourself. Use managed services, partners and the security built into the platforms you already pay for. Second, focus. If basic hygiene stops 99 % of attacks, make sure your limited resources go there first. Third, invest in people. Train your IT staff in security, even if they aren´t security specialists. A little knowledge in the right place goes a long way. Fourth, collaborate. Share information with others in your sector. Small municipalities and companies face the same attackers and can help each other.

Last December I spent half my birthday helping one of those small organisations. I wish they didn´t need it.

Nobody can do security alone. Nobody should have to.

The Microsoft Digital Defense Report 2023 is out, and once again I have read it with an incident responder´s eyes.

Some of the findings. Human operated ransomware attacks have tripled since September 2022. Password attacks have increased more than tenfold compared with the year before, to more than 4,000 per second. The large majority of successful ransomware compromises start through unmanaged devices. And basic security hygiene still protects against 99 % of attacks.

The report also presents a set of foundational principles against ransomware: modern authentication with phishing resistant credentials, least privilege across the whole technology stack, threat and risk free environments, posture management for devices and services, and automatic cloud backup and file syncing for important data.

Technically, my takeaways are these. Find your unmanaged devices and either manage them or keep them away from your resources. Move to authentication that can´t be phished, starting with admins. Remove standing privileges. And make sure your EDR and your identity protection can stop an attack automatically, because attackers are now so fast that a human can´t always respond in time.

Most of this isn´t new. That is exactly the point.

Do the basics. They still stop almost everything.

My previous post was about resetting the krbtgt password, a simple maintenance task that few organisations do. It is just one example of many.

Active Directory and other core systems need regular maintenance just like a car does. Resetting krbtgt. Cleaning out old accounts and computers. Reviewing privileged groups. Removing old trusts and old domain controllers. Updating the functional level. Testing the restore of a domain controller. None of it is difficult. All of it takes time, and in a small IT team that time is always needed for something else.

So it is skipped, year after year. Nothing happens, so it seems fine. Until the day of an incident, when the skipped maintenance becomes very expensive. Unknown accounts the attacker can hide behind. A krbtgt password that hasn´t been changed in ten years and that nobody dares to reset during the crisis. A restore procedure that has never been tested.

In incidents I have worked on, the lack of basic maintenance has added days, sometimes weeks, to the recovery. At the price of a full business standstill, that is enormous compared to the few hours a month the maintenance would have taken.

So for management: ask for a maintenance plan for your core systems, and protect the time to do it.

Maintenance is cheap. Emergency repairs are not.

The krbtgt account is the account whose password is used to sign every Kerberos ticket granting ticket in your domain. If an attacker gets its password hash, he can create his own tickets, golden tickets, for any user, with any rights, for as long as he likes. Changing the passwords of all admins doesn´t help. The tickets are still valid.

The fix is to reset the krbtgt password. And you need to do it twice. Why?

Because Active Directory keeps the current and the previous password for krbtgt. That is a feature: when you reset the password, tickets already issued with the old key keep working, so users aren´t thrown out. But it also means that a golden ticket made with the old hash keeps working after the first reset. Only after the second reset is the stolen key gone.

But don´t do the two resets right after each other. Wait until the first change has replicated to all domain controllers and the existing tickets have expired, by default ten hours. Otherwise you will break authentication for a lot of users and services. Microsoft has published a script that helps check replication and do it safely.

Do this after every incident where Tier 0 may have been compromised. And do it regularly as maintenance, for example twice a year, so it isn´t the first time you do it in the middle of a crisis.

One reset closes the door. The second one changes the lock.

Following my post on point to point access, a question for management: If security moves from the network to identity and devices, what does that mean for what we spend on the network?

For decades, a large part of the security budget went into the network. Firewalls at every border, VPN concentrators, network access control, internal segmentation, intrusion detection. Expensive hardware with expensive support contracts and specialised people to run it.

In a world where most applications are in the cloud and users work from anywhere, much of that protects a perimeter that hardly exists any more. When access is decided per application, based on identity and device, the network becomes more of a transport. It still needs to be reliable and fast, but it doesn´t need to carry the whole weight of security.

That doesn´t mean the network costs disappear. You still need firewalls at the edge of your datacenters, segmentation for critical systems and OT, and good connectivity. But over time, the balance can shift. Fewer VPN appliances to buy and patch. Simpler internal networks. Money that can be moved to identity, devices and detection.

For organisations short on resources, this is an opportunity. The network team doesn´t have to protect everything any more.

Spend where the attacks are, not where they used to be.

The classic VPN puts the user on the network. Once you are connected, you can reach a large part of it, and so can any malware on your laptop. That is the opposite of Zero Trust.

What I think is the future instead is point to point access. Each connection is made between one user, on one verified device, and one specific application. Nothing else. The user never gets onto the network as such, only to the app he is allowed to use, and the decision is made again for every connection, based on identity, device health and risk.

The industry calls it Zero Trust Network Access, and it is growing fast. Microsoft announced Microsoft Entra Private Access in July, now in preview, which does exactly this for private applications on-premises and in any cloud. Conditional Access can then be applied to every single application, even legacy ones that never supported modern authentication.

Why is it better? An attacker with a stolen password and a compromised laptop gets access to one app at most, not the whole network. Lateral movement from the remote user is much harder. And the old VPN concentrators, which have been among the most exploited systems in recent years, can eventually be switched off.

It takes time. Every application needs to be mapped and published.

Connect people to apps, not to networks.

The same report, but with management´s eyes.

The most important organisational message in the Digital Defense Report 2022 is that the threats are no longer a technical issue alone. Ransomware is described as a threat on a national level. State actors use cyberattacks as part of war. Cybercrime works as a business, with services for hire. That means security decisions are business decisions, and they need to be made at the right level.

Second, almost everything in the report points to basic hygiene. Strong authentication, protected privileged access, patching and backups. These are not expensive technologies. They are hard because they require time, people and persistence, exactly what many organisations lack.

Third, nobody can do it alone. The report talks a lot about collaboration, between companies, governments and security vendors. For a smaller organisation this means using partners and services rather than trying to build everything in house.

So what should management do? Make sure someone owns cyber risk at management level. Make sure the basics are measured and reported. Give the security team the time to do the boring work. And decide in advance who you call when the worst happens, because you won´t have time to find out during an incident.

The attackers are organised. Your defence needs to be too.

I have gone back to the Microsoft Digital Defense Report 2022 this summer, with a technical eye.

A few numbers that stood out. The volume of password attacks rose to an estimated 921 attacks every second, a 74 % increase in one year. And 93 % of Microsoft´s ransomware incident response engagements found insufficient controls on privileged access and lateral movement. That number doesn´t surprise me at all, given what I see.

The report also describes how the war in Ukraine started with a destructive cyberattack hours before the invasion, and how fast attackers now exploit new vulnerabilities once they are published.

What does it mean technically? First, passwords alone are not enough. Strong authentication, preferably a kind that can´t be phished, is the base. Second, privileged access and lateral movement are where ransomware attacks are won or lost. Tier your admins, use dedicated admin devices and limit where admin accounts can log on. Third, patch internet facing systems quickly. The time between publication and exploitation keeps getting shorter. Fourth, use the cloud´s security capabilities. The report points out that the cloud gave Ukraine both physical and logical protection.

None of this is new. What is new is the scale.

Read the report. Then go check your Domain Admins group.

In my last post I described the SAW, the Secure Admin Workstation Microsoft uses for its own admins. A few of you asked how it compares with the PAWs I see at customers. Fair question. The idea is the same. The level is not.

Let me describe a typical customer PAW. It is a separate physical laptop as a PAW always should be physical.. It is managed with Intune and has no Outlook installed. But the browser can still reach most of the internet, because the admin needs to download a tool now and then. The admin has local admin rights, because something always needs installing. It connects from the same home network or office network as everything else. And after a year, it has quietly become a second normal laptop that also does admin work. Sadly, but it happens.

Now the SAW, as Microsoft has described it publicly. It is dedicated hardware, used only for administration of high value systems. No mail, no general browsing, no personal applications. Only approved software can run, enforced by application control. The user has no local admin rights. Credentials are protected by hardware. The production environments only accept administration from these devices, so a stolen password on a normal laptop gets the attacker nowhere. The devices are centrally managed, closely monitored and rebuilt rather than cleaned if something looks wrong. And the people who use them accept that the device is restrictive, because that is the point.

The difference isn´t one extra control. It is the mindset. A typical PAW is a normal device with a few things removed. A SAW starts from nothing and only adds what is needed.

Can a customer get there? Not all the way, and not overnight. But a few steps close a big part of the gap: remove local admin rights, block general internet browsing, enforce application control, and make your Tier 0 systems refuse administration from anything that isn´t a PAW.

A PAW that does everything is just a laptop with a better name.

« Newer Posts - Older Posts »