portfolio terminal
AI & Security
AI makes domain knowledge more valuable, not less
Why understanding systems, questioning assumptions, and interpreting evidence matter as AI makes security tools easier to build.
As a security professional, you have probably experienced how much easier it has become to turn an idea into something that works. A script that parses authentication logs, a query that searches for suspicious activity, or a small tool that collects information from an API can often be built with AI assistance in a fraction of the time it would take to write everything yourself. You still need to test the result, but the distance between having an idea and being able to try it has become smaller.
For me at least, this makes domain knowledge way more valuable. When implementation becomes easier, you have more opportunities to apply what you know. You can investigate questions that previously required more programming experience or development time. But you also face an important challenge: producing an output and understanding what that output means are separate things. A script can run successfully, return results, and still fail to answer the question you actually needed to investigate.
In security, domain knowledge includes understanding how systems authenticate users, how permissions are evaluated, how applications communicate, and how attackers can abuse those mechanisms. It also included understanding your own environment: which systems are important, how administrators normally work, and which activities are expected. This knowledge helps you decide what to build, what evidence to collect, and which conclusions that evidence can support.
A working tool still needs a sound assumption
Imagine asking AI to write a PowerShell script that identifies inactive accounts in Active Directory. The script retrieves a timestamp, compares it with a threshold, and produces a clean report. From a programming perspective, everything might look correct. Yet the usefulness of that report depends on decisions that came before the code: which timestamp represents the activity you care about, how that value is updated, and whether the same interpretation makes sense for user accounts and service accounts. An account appearing inactive in your selected data does not automatically establish that it is safe to disable.
AI can help you explore those questions as well as implement the script, of course. The point is that they need to become part of the task. If your request contains an incorrect assumption, a successful implementation can make that assumption look more convincing. A neatly formatted report gives the result a sense of authority, even when the underlying reasoning remains incomplete.
The same applies to detection engineering. A query might correctly identify a particular event without establishing that the event represents malicious activity. Its usefulness depends on what the event records, which legitimate processes produce it, and whether the necessary telemetry is collected consistently. Testing that a query executes is one step. Testing whether it detects the intended behaviour requires a separate understanding of that behaviour.
Kerberos provides a useful example (again). In my previous articles, I explored what tickets represent, who can read their protected contents, and how service names connect to service identities. That knowledge becomes relevant when interpreting authentication data. A service-ticket request tells you something about an authentication exchange, but it does not, by itself, prove that the client successfully connected to the target service or accessed a particular resource. A tool that lists ticket requests can be technically correct while a report describing them as confirmed resource access overstates the evidence.
Domain knowledge allows you to recognize the gap between what your data shows and what you want to conclude. It also helps you identify what additional evidence would close that gap. Without that distinction, collecting more data or generating a more detailed explanation can simply reinforce the same misunderstanding.
Better implementation increases the value of clear thinking
It would be too easy to build this argument entirely around AI making mistakes. Humans make mistakes too, and AI can identify problems that a person overlooks. Its usefulness extends beyond writing syntax: it can help explain unfamiliar code, challenge an approach, suggest alternative hypotheses, and investigate security weaknesses. Anthropic’s work on AI-assisted vulnerability discovery is one example of this broader capability.
Some of this context is specific to the organization. An administrative action may be routine on one server and unexpected on another. An account may have permissions that appear excessive until you understand a dependency, or appear harmless until you discover which systems you trust it. AI can reason about this context when it is available, but a generic description of a technology does not establish how your environment actually uses it. Gathering and validating that information remains part of the security work.
This is also where domain knowledge creates opportunities. An analyst who understands a recurring investigation problem can use AI to build a tool around it. They might automate a repetitive comparison, bring related evidence together, or test a hypothesis against a larger dataset. The benefit goes beyond completing an existing task faster: ideas that previously remained in a notebook can become tools that other people use.
That ability makes assumptions more consequential. When you manually interpret one event incorrectly, the mistake affects that investigation. When the same interpretation becomes part of a shared tool or an automated response, it can influence many decisions. This is why verification needs to include the reasoning behind the implementation. You need to consider what would demonstrate that the tool is wrong, which cases it cannot handle, and whether missing data could be mistaken for an absence of suspicious activity.
For someone forever learning security, I see this as a reason to keep investing in fundamentals. Understanding identity, operating systems, networks, and application behaviour gives you more ways to direct AI productively. Programming knowledge remains useful too: reading code, following data through a program, and understanding failure modes help you assess the tools you build. AI assistance makes it possible to practice these skills together, provided you take the time to explain the result, test alternatives, and investigate behaviour you did not expect.
The value of domain knowledge is therefore broader than catching an incorrect AI answer. It shapes the questions you ask and the solutions you can imagine. As implementation becomes more accessible, security professionals have more capacity to turn their understanding into useful work. Knowing what a tool does, why it does it, and what its output actually proves becomes an essential part of making that work trustworthy.