Feed on
Posts
Comments

This year the Model Context Protocol, MCP, has become the common way to connect AI agents to tools and data. It is an open standard, and the idea is simple. A server exposes tools, like ‘search tickets’ or ‘send mail’, and any agent that speaks MCP can use them. The big platforms have adopted it, and thousands of MCP servers are available.

It is a great idea for productivity. From a security point of view, it means every AI agent can potentially be connected to every system you have. So let me suggest some architecture principles.

Treat MCP servers as applications in your supply chain. Only use servers from sources you trust, review what they do and keep them updated. A malicious or compromised MCP server can feed the agent hidden instructions or take actions you didn´t intend.

Authenticate everything. The agent should have its own identity, the server should verify it, and the permissions should be scoped to what that agent needs. Avoid servers that run with a shared, broad token.

Separate read from write. Tools that only read are much less risky than tools that send mail, change configurations or move money. Require human approval for the dangerous ones.

Watch out for the combination. An agent that reads untrusted content, has access to sensitive data and can send data out is the recipe for data leakage. Break at least one of the three.

And log every tool call, so you can see what the agent actually did.

Agents need integration. Give them doors, not master keys.

Everyone wants to introduce AI. Few talk about what it is supposed to run on.

AI assistants and agents work with the data and permissions they get. In many organisations, that data lives in file shares with access rights nobody has reviewed in ten years, in SharePoint sites shared with ‘everyone’, in old systems without modern authentication and in mailboxes full of documents that should have been deleted long ago.

Before AI, much of that was hidden by obscurity. Nobody found the confidential document in the old project folder because nobody looked. An AI assistant looks. It will happily summarise the salary list it found in a folder that was accidentally shared with the whole company. Overshared data becomes a lot more visible.

The same goes for identity and access. If your admins have too many rights, so do the agents you build on top of them. If your service accounts are a mess, adding agents will make it worse.

So for management: Treat AI as a reason to fix your foundations, not as a way around them. Before rolling out AI broadly, clean up permissions on the most sensitive data. Label it, so the AI knows what it may and may not use. Review who has access to what. Fix the identity basics.

It isn´t glamorous. It is what makes AI safe.

AI doesn´t create your data problems. It makes them impossible to ignore.

A few weeks ago, travellers at several of Europe´s largest airports had their check-in done by hand. The airports hadn´t been attacked directly. The shared system that many airlines use for check-in, boarding and baggage had been hit by ransomware at its supplier. At one airport it took more than two weeks before the central system was back.

It is the same pattern again. A shared platform, used by many organisations, becomes a single point of failure for all of them at once.

What can you do technically when you depend on a shared platform like that? Know which of your critical processes depend on it, and exactly how. Have a manual fallback that is documented and practised, not something you improvise on a Saturday morning with a queue of angry passengers. Some airlines were able to switch to their own backup systems and keep operating. That is worth a lot.

Separate your connection to the platform from your own network, so a compromise on the supplier side doesn´t spread to you. Monitor the connection. Agree with the supplier on how you will be informed and how the system will be restored, and in which order.

And after the incident, check what data the supplier held about you and your customers. In this case, passenger data was also affected.

Shared infrastructure gives efficiency. It also gives shared failure. Plan for both.

For years, vulnerability management has meant a long list. Thousands of missing patches and misconfigurations, sorted by severity score. The teams work through it, the list never ends, and the attackers still get in through something that was ranked medium.

Exposure management is a different way of looking at it. Instead of a list, it looks at your environment the way an attacker does: as a graph of identities, devices, applications, cloud resources and the connections between them. The question isn´t ‘what is vulnerable?’, but ‘how can an attacker get from the internet to the things that matter, and which step is easiest to break?’

That is what attack paths show. A vulnerable server exposed to the internet, which has a cached credential of an admin, who has rights in a cloud subscription, where the customer database lives. Each step on its own might look medium. Together they are a highway. Fix one link, the chokepoint, and many paths disappear at once.

But none of this works unless you have defined your critical assets. Exposure management needs to know what you are protecting: the domain controllers, the identity platform, the admins, the databases with customer data, the systems that run production, the backup. If everything is critical, nothing is. Defining critical assets is a business decision as much as a technical one, and it is the single most important step. Microsoft Security Exposure Management lets you classify them, and the attack paths and recommendations are prioritised around them.

Then the work changes. Instead of patching for the sake of the list, you remove the paths to what matters most. Fewer actions, more effect.

Measure exposure, not effort. Report how many attack paths lead to your critical assets, and how that number goes down.

Stop counting vulnerabilities. Start counting the ways in.

At the beginning of this month a large car manufacturer was hit by a cyberattack and shut down its systems to contain it. Production at its plants stopped. As I write this it has been almost four weeks, the restart has been pushed back several times, and the government has stepped in with a loan guarantee to keep the suppliers afloat.

What strikes me is that, as far as has been reported, the attackers didn´t need to touch the machines on the factory floor. A modern car plant runs on IT: production planning, parts ordering, logistics, supplier portals and manufacturing execution systems. When those go down, the line stops, even if every robot is fine. The boundary between IT and OT isn´t where most people think it is.

What can manufacturers do technically? Map the dependencies. Which IT systems does production actually need to run, and for how long can it run without them? Separate them. Production critical systems should be in their own zone, with their own identities and admin paths, so an attack on the office network doesn´t automatically reach them. Plan for running in isolation. Can the plant keep producing for a few days with the corporate network disconnected? Back up configurations and production data, offline, and test the restore. And practise the shutdown and the restart, because a controlled restart of a whole plant is a complex project in itself.

Just in time production has no buffer. Neither does just in time security.

At the end of August, a Swedish provider of systems for work environment and HR was hit by ransomware. Around two hundred municipalities and several regions use its systems. Services stopped, and this month the stolen data started to be published. It includes sensitive information about employees: sick leave, rehabilitation and work related incidents.

I wrote about supply chain risk after the attack on a large IT provider in January last year. Here we go again, and this time the main damage isn´t downtime. It is the data.

For management, especially in the public sector, a few questions. Which suppliers hold your most sensitive personal data? Do you know how they protect it? Have you assessed them as carefully as you would assess your own systems? And what happens to your employees if the data leaks?

When a large share of all municipalities use the same system from the same small supplier, the risk is concentrated in one place. That is efficient. It is also a single point of failure for a whole sector.

So: Map which suppliers handle sensitive data. Set clear security requirements in procurement and follow them up. Ask for evidence, not promises. Make sure you have the right to be informed quickly, and a plan for your own communication when it happens. And think about whether that data really needs to be kept as long as it is.

Your data is only as safe as the weakest supplier that holds a copy.

This month a self replicating worm spread through the npm ecosystem, the package registry used by most JavaScript developers. It stole credentials from developers´ machines, including tokens for npm and GitHub and keys for cloud services. Then it used the stolen npm tokens to publish infected versions of other packages owned by the same developers. Hundreds of packages were affected within days.

It is automation used for attack, in its purest form. No human had to choose the next victim. The worm did it.

What can development organisations do? Treat developer machines as high value assets. They hold the keys to your code, your pipelines and your cloud. Protect them like admin workstations, with EDR, strong authentication and as few stored secrets as possible.

Use short lived credentials. Tokens for package registries, source control and cloud should expire quickly and be scoped to what they need. Trusted publishing, where the pipeline publishes packages without long lived tokens, removes a whole class of problems.

Control what you install. Pin versions, use a lockfile, review new dependencies and consider a delay before adopting brand new package versions. Scan dependencies in the pipeline.

And make your pipeline the only way to production, so a stolen developer token can´t push straight to customers.

Code is a supply chain. Every package you install is someone else´s code running with your privileges.

On the 2nd of August the next part of the EU AI Act started to apply: the rules for general purpose AI models, the large models that many AI services are built on. They mostly concern the companies that develop those models, with requirements for documentation, transparency, copyright and, for the most powerful models, risk management and security.

Most organisations don´t build such models. But almost all of them use services built on them. So what does it mean for you?

It means you should ask your suppliers questions. Which model is your service built on, and who provides it? Where is our data processed, and is it used for training? How do you protect against prompt injection and data leakage? How do you handle the requirements of the AI Act? What happens if the underlying model changes or is withdrawn? What do you do when your AI makes a mistake that affects us?

Put AI requirements in your procurement and contracts. Not as a separate project, but as part of the normal supplier management, just like security and data protection.

And connect it to what happened this month with the stolen tokens from an integration. AI services are suppliers in your supply chain, often with deep access to your data. They need the same scrutiny as any other supplier, maybe more.

Your AI is only as trustworthy as the supplier behind it.

This month an attacker stole OAuth tokens from a chat integration used by a sales automation platform. With those tokens, the attacker could read data from the customers´ CRM systems directly, without logging in, without passwords and without MFA. Researchers have mentioned more than 700 potentially affected organisations. The attacker searched the data for credentials, keys and tokens that could open even more doors.

The CRM platform itself wasn´t vulnerable. The integration was.

This is a pattern I expect to see a lot more of. Every time you connect an app to your Microsoft 365, CRM or other SaaS service, you give it a token with permissions. Many of those tokens are long lived, have broad access and are rarely reviewed. They are, in practice, admin accounts that nobody manages.

What should you do? Make an inventory of all connected apps and their permissions. In Entra, look at enterprise applications and consents. In other SaaS platforms, look at connected apps. Remove the ones that are no longer used. Review the permissions of the rest and reduce them. Restrict who can consent to new apps, so users can´t give an app access to the whole organisation with one click. Use app governance in Defender for Cloud Apps to detect apps that behave unusually, like downloading large amounts of data. And make sure tokens expire and can be revoked quickly.

Don´t store secrets in your CRM either. The attacker went looking for them.

Every integration is a key to your house. Know who holds them.

This month Microsoft introduced a data lake for Sentinel, meant to store large amounts of security data at a much lower cost than before. That may sound like a technical detail, but it touches a business question I have written about many times: how much security data can you afford to keep?

For years the answer has been ‘not enough’. Logging is expensive, so organisations keep the most important logs for a short time and throw away the rest. Then an incident is discovered months later and the logs that would have shown how the attacker got in are gone.

With AI the question becomes more important. AI is good at finding patterns in large amounts of data, but only in data that exists. A model can´t analyse logs you deleted to save money.

So for management, think of security data as an asset, not just a cost. Keep the high value logs searchable for detection and response. Keep the large volumes in cheaper storage for longer, for investigations and analysis. Decide on retention based on how long it takes to discover an attack, not on the default setting. And make sure the data is good enough to be used: complete, consistent and with known sources.

The question isn´t how little data you can get away with. It is how much value you can get from the data you keep.

You can´t investigate what you deleted.

« Newer Posts - Older Posts »