Feed on
Posts
Comments

This month a critical vulnerability in on-premises SharePoint, called ToolShell, was exploited on a massive scale. Attackers could run code on internet facing servers without logging in. Within days, several hundred servers in many countries were confirmed compromised, and the attackers stole the servers´ machine keys, which let them keep access even after the patch.

What struck me was the speed. From the first exploitation to mass scanning and to the exploit being available in public tools took days, not weeks. That is what automation looks like on the attacker´s side.

So what can defenders do? First, know what you expose to the internet. You can´t patch what you don´t know you have, and many organisations found SharePoint servers they had forgotten.

Second, have an emergency process for critical patches on internet facing systems that works in hours, not in the next maintenance window. Practise it.

Third, assume breach when a vulnerability has been exploited before you patched. Patching closes the door, but if keys or credentials were stolen, the attacker can come back through another. In this case, rotating the machine keys was as important as patching.

Fourth, reduce what you expose. Does that server really need to be reachable from the whole internet? Can it be moved to a cloud service where the provider patches it for you?

And fifth, automate detection. Hunting queries for known indicators should run within hours of their publication.

The attackers automated their side. Automate yours.

After EchoLeak, a question for management: does your risk management cover AI?

In many organisations, AI arrived through the back door. A feature in a product you already used, a pilot in a department, a tool someone bought with a credit card. It never went through the normal risk assessment.

AI brings some new risks, and some old ones in a new form. Data leakage, when sensitive information ends up in the wrong place or is used to train someone else´s model. Wrong answers that look right and are used for decisions. Prompt injection and manipulation, where the AI is tricked into doing something harmful. Bias and discrimination in decisions about people. Dependency on a few suppliers whose models you can´t inspect. And regulatory risk under the AI Act and GDPR.

The good news is that you don´t need a separate process. Use the risk management you already have. Make an inventory of where AI is used. For each use, assess what data it touches, what decisions it influences and what happens if it is wrong or manipulated. Decide on controls and owners. Review it regularly.

Frameworks can help. ISO 42001 is a management system standard for AI, and the NIST AI Risk Management Framework gives a structure for the assessment.

AI isn´t a special case outside your risk management. It is just another system that can fail in new ways.

This month a vulnerability in an AI assistant for business was published that should make everyone building with AI stop and think. The researchers called it EchoLeak. An attacker could send a crafted email to a user. The user didn´t have to open it. Later, when the user asked the assistant an ordinary question, the assistant read the email as context, followed the hidden instructions in it and leaked internal data. Zero clicks.

Microsoft fixed it on the server side and reported no evidence of exploitation. But the class of problem is here to stay. It is called prompt injection.

The core issue is simple. A language model can´t reliably tell the difference between data and instructions. Everything is text. So when an AI reads an email, a document or a web page, any instruction hidden in that content may be followed, with the permissions of the AI.

What can you do? Limit what each AI can reach. An assistant that can read everything is an assistant that can leak everything. Treat external content as untrusted and keep it apart from sensitive data where possible. Restrict how the AI can send data out: links, images, tool calls and connections to external services. Use sensitivity labels and DLP so the most sensitive data isn´t available to the AI at all. And monitor what the AI does, not just what users do.

It is the oldest lesson in security, in a new form. Never trust input.

In the age of AI, every document is potential code.

My previous post was about AI agents as identities. The business question is harder: who is responsible when an agent makes a mistake?

Imagine an agent that handles supplier invoices. It approves a payment to a fraudulent account because the invoice looked right. Or an agent in customer service that promises a refund the company never intended to give. Or a security agent that isolates a production server in the middle of the day. Who is accountable?

The answer can´t be ‘the AI’. Accountability must always land on a person or a function. That means a few things for management.

Every agent needs a business owner, not only a technical one. The person who decided that this task should be automated is responsible for the outcome.

The limits must be clear. What may the agent decide on its own, and what must a human approve? Payments above a certain amount, actions against customers and changes to critical systems should have a human in the loop.

Mistakes must be visible. Log what the agent does and why, so errors can be found and corrected.

And contracts with suppliers of AI services must cover what happens when their AI makes a mistake on your behalf.

Delegating a task to an agent is like delegating it to a new employee. You can delegate the work. You can´t delegate the responsibility.

At Build this month Microsoft introduced Microsoft Entra Agent ID, a way to give AI agents their own identities in the directory. That may sound like a small detail. It isn´t.

An AI agent that reads mail, files tickets, queries databases or changes configurations needs permissions to do so. Today, many agents run with the permissions of the user who started them, or with a service account or app registration that someone created and forgot. We have spent twenty years learning how dangerous forgotten service accounts with too many rights are. We are about to do it again, at a much larger scale.

So treat agents like what they are: identities. Every agent should have its own identity, so you know which agent did what. It should have an owner, a person responsible for it. It should have the least privilege it needs, and nothing more. Its access should be reviewed regularly, and removed when the agent is no longer used. And its activity should be logged and monitored like any other identity, with alerts on unusual behaviour.

Conditional Access, access reviews and lifecycle management, everything we built for users and service accounts, should apply to agents too.

The scary part is the numbers. Users are counted in thousands. Agents may soon be counted in tens of thousands, created by anyone with a few clicks.

Every agent you can´t see is a service account you forgot.

This spring several large British retailers were hit hard by cyberattacks. One had to stop online sales for weeks, another saw empty shelves in its stores. According to reporting, the attackers got in by calling the IT help desk, pretending to be employees and convincing staff to reset passwords and MFA.

No zero-day. No advanced malware. A phone call.

This is a business problem more than a technical one. Help desks are measured on speed and customer satisfaction. Their job is to help people who are locked out, quickly and politely. That is exactly what the attackers exploit. And many help desks are outsourced, sometimes with staff who don´t know the people they are helping.

So for management: look at the process, not just the technology. How does your help desk verify who is calling before resetting a password or MFA? Is it enough to know a name, an employee number and a manager´s name, all of which can be found online? Is there a stricter process for admins and executives? Are outsourced help desks held to the same standard?

Better processes exist. Verification through a known channel, like a call back to a registered number or a video call with ID. Requiring a manager to approve a reset. Temporary access passes instead of resetting everything. And extra checks for privileged accounts.

They will feel slower. That is the point.

The friendliest person in your company is also the easiest to fool. Give them a process that protects them.

While we discuss AI in the SOC, the attackers have been using it for a while.

Phishing mails used to be easy to spot. Bad grammar, strange formatting, generic greetings. Not anymore. Language models write perfect, personal mails in any language, adapted to the recipient´s role and recent news about the company. The old awareness training advice about spelling errors is close to useless now.

Voice is next. With a few seconds of recorded speech, a voice can be cloned well enough to fool a colleague on the phone. Deepfake video calls have already been used to trick employees into transferring large sums of money.

Reconnaissance is faster. Collecting information about an organisation, its people, its technology and its suppliers can be largely automated.

What does that mean for defence? Technical controls become even more important, because you can´t rely on people spotting the fake. Phishing resistant MFA, so stolen passwords and codes are useless. Conditional Access and device requirements, so a stolen session can´t be used from anywhere. Email protection that looks at behaviour and links, not just content.

And processes that don´t depend on recognising a voice or a face. A payment change or a password reset should be verified through a separate, known channel, no matter how convincing the request is.

When anyone can sound like your CEO, the process is your protection.

Your AI policy

Following the AI Act post last month, many have asked for advice on an AI policy. Here is what I think it should cover, in plain language.

Which tools are allowed. List the approved AI services and how to request new ones. Be clear that unapproved services must not be used with company data.

What data may be used. Public information is usually fine. Internal, confidential and personal data only in approved tools that keep the data inside your control. Some data, like health information or trade secrets, might not be allowed at all.

Who is responsible for the result. AI can be wrong, and it can be confidently wrong. The person who uses the output is responsible for checking it, just as with any other source.

Transparency. When should customers or colleagues be told that AI was used? At least when it affects decisions about people.

Building AI. If you develop your own AI solutions or agents, they must go through the same security and privacy review as any other system, plus an assessment of AI specific risks.

Training and ownership. Everyone gets basic training. Someone owns the policy and reviews it regularly, because the technology is moving fast.

Keep it short. A policy nobody reads protects nobody.

The best AI policy fits on two pages and is actually followed.

This month Microsoft announced AI agents for Security Copilot. Agents that triage phishing reports, sort data loss alerts, prioritise vulnerabilities and suggest Conditional Access improvements, working on their own and learning from the analysts´ feedback. Other vendors are going the same way.

I have been sceptical of AI hype for a long time, so let me give you my honest view.

What works. Summarising an incident across many alerts and data sources, so an analyst understands it in a minute instead of twenty. Translating a question into a hunting query. Triaging the large volume of user reported phishing, where most reports are harmless and the work is very repetitive. Explaining a script or a command line that an attacker ran. These are tasks where AI saves real time.

What doesn´t, at least not yet. Deciding on its own to take high impact actions. Understanding the business context, like which server is critical this week. Replacing experience. An AI can tell you that a logon is unusual. It can´t always tell you that the CFO is travelling.

So how should you introduce it? Start with tasks where a mistake is cheap and the volume is high. Keep a human in the loop for decisions. Measure how often the agent is right, and give it feedback. And treat the agent like a new junior analyst: helpful, fast, but supervised.

AI won´t replace the SOC analyst. But the analyst who uses AI will replace the one who doesn´t.

On the 2nd of February the first parts of the EU AI Act started to apply. Many in management have heard of it, few have read it. Here is what matters now.

The first rules are prohibitions. Certain uses of AI are now banned in the EU, for example systems that manipulate people in harmful ways, social scoring and some forms of emotion recognition in the workplace. Most organisations don´t do any of that, but you need to be sure.

The other requirement that applies now is easy to miss: AI literacy. Organisations that provide or use AI systems must make sure that their staff have sufficient knowledge of AI to use it responsibly. That covers a lot more organisations than the prohibitions do.

More is coming. Rules for general purpose AI models apply from August this year, and most of the requirements for high risk systems follow in the coming years.

So what should the board do? First, find out where AI is used in the organisation, including the AI built into products you already buy. Second, check that nothing falls under the prohibitions. Third, start a basic AI training programme for staff. Fourth, decide who owns AI governance. It shouldn´t be the IT department alone. It touches legal, HR, risk and the business.

The AI Act isn´t only a compliance exercise. It is a reason to understand what you are actually doing with AI.

You can´t govern what you haven´t found.

« Newer Posts - Older Posts »