Tag: technology

  • Zero Trust for AI Workloads: From Identity to GPU Infrastructure

    Imagine this- it’s 10:15 a.m. Your teammate opens a chat with an internal AI assistant and asks it to gather the latest contract language about a vendor. They run a prompt, click “OK” and let the assistant analyze the documents and summarize the next steps.

    The user is authenticated.

    The agent has a managed identity.

    The API call uses mutual Transport Layer Security (mTLS) and reaches a private inference endpoint inside the organization’s virtual network.

    Are you done?

    If the answer is yes, you’re missing part of the problem.

    Those controls are necessary. They just aren’t sufficient anymore.

    Once artificial intelligence systems introduce agents, models, retrieval systems, vector databases, and graphics processing unit (GPU)-backed infrastructure into the call chain, the Zero Trust question gets considerably bigger.

    We’re no longer asking only:

    Who is authenticated?

    We’re asking:

    Who or what is acting? What artifact is running? What data is being accessed? Where is it running? And why is that action being taken?

    That’s the shift I think security architects need to make when applying Zero Trust to AI.

    Zero Trust still works. The trust boundary gets bigger.

    The fundamentals of Zero Trust haven’t changed.

    Zero Trust Architecture (ZTA) is still about explicitly verifying access, enforcing least privilege, assuming compromise, and continuously evaluating the environment rather than trusting something simply because it sits inside a network boundary.

    The difference is that AI gives us a lot more things to verify.

    A traditional application might have a user, an application, a database, and a network around it. An AI workload can have a user, an agent, several tools, a retrieval service, a vector database, a model, model weights, containers, a host operating system, drivers, and GPUs.

    Each of those components can become part of an attack path.

    That means the policy decision has to account for more than the user’s identity and the resource they’re requesting. A Policy Decision Point (PDP)—the component that decides whether an action should be allowed—may need additional evidence about the model, workload, runtime, data, and environment.

    The Policy Enforcement Point (PEP) then enforces that decision.

    The basic Zero Trust model hasn’t been replaced.

    We’ve expanded what the policy decision needs to know.

    The identity problem: humans are only one principal

    This is probably the easiest place to start.

    In an AI system, the person sitting at the keyboard is only one identity in the system.

    There may also be a workload running the model server, an agent acting on the user’s behalf, a retrieval service accessing documents, and tools that the agent can call.

    Those identities need to be distinct.

    Consider an agent that uses a developer’s long-lived credentials. If that agent is compromised, the attacker doesn’t just gain access to the agent. They potentially inherit everything that developer was allowed to do.

    That’s a terrible blast radius.

    Instead, agents and workloads should have their own managed identities and short-lived credentials. In Kubernetes (K8s), service accounts can be mapped to cloud workload identities so that individual workloads can be identified and authorized independently.

    Microsoft Entra Workload Identity is one practical way to implement this pattern in Azure.

    The important idea isn’t the Microsoft product, though.

    It’s identity separation.

    An agent should not become a proxy for the human who created it.

    That distinction becomes even more important when agents are ephemeral, automatically created, or capable of taking actions without a human approving every individual step.

    Authorization has to understand the action, not just the actor

    Role-Based Access Control (RBAC) remains useful. If someone is an administrator, developer, or analyst, that role still tells us something about what they’re allowed to do.

    But AI introduces situations where role alone isn’t enough.

    Attribute-Based Access Control (ABAC) evaluates additional information—attributes about the identity, resource, environment, or requested action.

    That’s where AI gets interesting.

    Imagine an agent is authorized to use an internal ticketing system. That doesn’t necessarily mean it should be allowed to export every ticket in the system.

    The authorization decision might need to consider the following:

    • Which agent is making the request
    • Which model is running it
    • Whether that model is an approved artifact
    • Whether the workload is running in an approved environment
    • What data the request touches
    • What operation the agent is attempting
    • What the stated purpose of the action is

    Instead of granting the agent broad access to the tool, the system can make an authorization decision at the point of the individual request.

    That’s the direction per-call authorization takes Zero Trust.

    It’s also where some of the hardest unsolved problems begin. Expressing something as simple as “this agent can reconcile invoices for this vendor but cannot export the underlying financial records” requires more than traditional role assignments.

    Purpose-bound or semantic authorization is still an emerging area. The architecture should account for it without pretending the industry has already solved it.

    RAG turns your data store into part of the AI’s security boundary

    Retrieval-Augmented Generation (RAG) is straightforward in concept: instead of relying only on what a model learned during training, the system retrieves external information and gives that information to the model as context.

    It’s incredibly useful.

    It’s also a security boundary.

    If the retrieval system can access sensitive documents, an attacker who compromises that system—or manipulates the documents going into it—may be able to influence what the model sees.

    That makes the vector database more than an AI component.

    Treat it like a sensitive database.

    Use private networking, strict authentication, authorization around retrieval, and logging that tells you what information was retrieved and by whom.

    Provenance matters here too.

    If a response was generated using five internal documents, you should be able to determine which documents were retrieved and connect those retrieval events to the user, agent, and model involved.

    That gives security teams something they desperately need with AI: a way to reconstruct what actually happened.

    There’s another problem.

    A malicious document can become an instruction to the model.

    That’s prompt injection.

    The attacker doesn’t necessarily need to compromise the database itself. They may only need to get malicious content into the retrieval corpus and wait for an AI system to consume it.

    So the security boundary isn’t simply:

    User → AI

    It’s:

    User → Agent → Retriever → Documents → Model

    Every step deserves scrutiny.

    Models need a software supply-chain mindset

    We already know how dangerous an untrusted software artifact can be.

    A model shouldn’t receive special treatment simply because it happens to contain neural-network weights instead of executable application code.

    Model artifacts should have identifiable provenance, integrity protections, and deployment controls.

    A Software Bill of Materials (SBOM) is an inventory of the components that make up a software artifact. Supply-chain Levels for Software Artifacts (SLSA) provides a framework for improving software build provenance and supply-chain integrity.

    The exact implementation for machine-learning models is still evolving, but the underlying idea is useful: know where the model came from, what produced it, and whether the artifact being deployed is the artifact that was approved.

    Cryptographically signing a model can establish origin and integrity.

    It cannot establish that the model is safe.

    A malicious model can be perfectly signed.

    A poisoned training dataset can produce a perfectly signed model.

    A legitimate model can still behave badly when combined with malicious retrieved data or an overly privileged agent.

    That’s why signed artifacts should be combined with staged deployment, testing, canary releases, rollback capability, and runtime monitoring.

    Provenance tells you what you deployed. It doesn’t tell you that what you deployed is good.

    Eventually, Zero Trust reaches the GPU

    This is where the discussion gets much more interesting.

    The model doesn’t exist in isolation.

    It runs in the container, operating system, drivers, firmware, host, and GPU.

    Kubernetes provides the orchestration layer for many modern AI deployments, and the same security fundamentals apply: signed container images, admission controls, appropriate Kubernetes security policies, workload identities, and strong separation between workloads.

    But GPU workloads introduce another layer of risk.

    GPUs aren’t simply oversized CPUs. They have their own memory architectures, drivers, firmware, scheduling behavior, and hardware-specific attack surfaces.

    A shared GPU environment can therefore introduce risks that don’t exist—or don’t look the same—in a conventional CPU workload.

    For sensitive workloads, dedicated GPU nodes or validated hardware partitioning can reduce those risks. Error-Correcting Code (ECC) telemetry, GPU utilization, memory behavior, driver versions, and host state can also provide useful security signals.

    For particularly sensitive workloads, confidential computing can provide another layer of protection.

    A Trusted Execution Environment (TEE) is designed to protect workloads and data while they’re being processed. Confidential GPU infrastructure extends that concept into GPU-backed workloads and can provide additional attestation information about the environment.

    That’s useful, not magic.

    Confidential computing doesn’t make every hardware attack disappear, and it doesn’t eliminate every microarchitectural, firmware, or driver vulnerability. Research into GPU-specific attacks—including GPUHammer-style attacks—demonstrates why hardware isolation should be treated as one layer of defense rather than the entire security strategy.

    The broader Zero Trust lesson is straightforward:

    Don’t stop verifying at the application boundary.

    Verify the environment that actually runs the application.

    You can’t secure what you can’t see

    Eventually, all of these controls come back to telemetry.

    If an incident occurs, security teams need to know which model was running, where it was running, what data it retrieved, what tools the agent called, and what the underlying infrastructure looked like at the time.

    That means AI environments need more than traditional application logs.

    Useful signals include:

    • Model version and cryptographic hashes
    • Agent and tool-call traces
    • Retrieval events and document identifiers
    • Data provenance
    • Host and workload attestation
    • Driver and firmware state
    • GPU errors and abnormal utilization
    • Redacted inputs and outputs where appropriate

    Those events can feed a Security Information and Event Management (SIEM) platform such as Microsoft Sentinel, along with other security telemetry.

    The goal isn’t to log everything because logging everything sounds secure.

    The goal is to make the attack path reconstructable.

    If a model is compromised, can you identify every workload that ran that model?

    If an agent token is stolen, can you determine which tools it accessed?

    If a malicious document entered a RAG system, can you determine which responses used it?

    If a GPU node shows abnormal behavior, can you identify which workloads were running there?

    That’s the level of visibility Zero Trust for AI should be moving toward.

    What this looks like in Azure

    Azure provides a useful reference architecture because many of these capabilities already exist as cloud primitives.

    Microsoft Entra ID can provide human and workload identity. Entra Workload Identity can extend that model into Kubernetes workloads and agents.

    Azure Key Vault can broker access to secrets and cryptographic keys rather than leaving long-lived credentials embedded in applications.

    Azure Kubernetes Service (AKS) can provide the orchestration layer, with dedicated GPU node pools, admission controls, signed container images, and workload identity mapping.

    Private endpoints and virtual networks can isolate sensitive inference and retrieval infrastructure from unnecessary network exposure.

    Azure Attestation and confidential-computing capabilities can provide additional evidence about workload and platform state for sensitive deployments.

    Azure Monitor and Microsoft Sentinel can collect the resulting telemetry.

    None of these services, individually, creates Zero Trust for AI.

    That’s the wrong way to think about the architecture.

    The services are enforcement and evidence mechanisms.

    The actual architecture is the policy model connecting them.

    A practical starting point

    If I were implementing this incrementally, I wouldn’t try to build the entire thing at once.

    I’d start here:

    1. Give every workload and agent its own identity. Avoid shared credentials and long-lived secrets.
    2. Control what agents can actually do. Don’t confuse permission to use a tool with permission to perform every operation that tool exposes.
    3. Treat RAG data as sensitive data. Secure the vector store, control retrieval, and maintain provenance.
    4. Establish model provenance. Sign approved model artifacts and maintain build and deployment records.
    5. Harden the runtime. Use signed containers, admission controls, workload isolation, and dedicated GPU infrastructure where the risk warrants it.
    6. Collect AI-specific telemetry. Know which model ran, what data it retrieved, what tools it called, and where it ran.
    7. Build toward richer authorization. Incorporate artifact integrity, runtime attestation, data sensitivity, and action context into policy decisions as the technology matures.

    That’s a much more realistic starting point than trying to build some mythical “AI Zero Trust platform” in one shot.

    What we still haven’t solved

    There are some uncomfortable gaps.

    Purpose-bound authorization is still immature. There isn’t a universal way to express and enforce complex statements about what an AI agent is allowed to accomplish.

    Model provenance standards are still developing. SBOM-style approaches and signed artifacts are useful, but there isn’t one universally adopted model-provenance format that solves the problem.

    GPU security is also an active area of research. Hardware attestation and confidential computing can reduce risk, but they don’t eliminate every hardware-level attack.

    And perhaps the hardest problem is behavioral.

    A model can be legitimately built, legitimately signed, legitimately deployed, and still contain a subtle backdoor or behave unexpectedly under a specific trigger.

    We don’t have a magic attestation mechanism that proves an AI system will behave safely.

    That means we’re back to a security principle that predates AI:

    Defense in depth still wins.

    The bigger Zero Trust question

    If you already understand traditional Zero Trust, the important change isn’t that you need to throw away everything you’ve learned.

    You don’t.

    Strong identity still matters. Least privilege still matters. Segmentation still matters. Continuous monitoring still matters.

    What changes is what you’re applying those principles to.

    The trust boundary expands from:

    User → Network → Application

    toward:

    User → Agent → Tool → Data → Model → Runtime → Host → GPU

    At every step, we should be asking the same basic question:

    What am I trusting, and what evidence do I have that I should trust it?

    That’s the real challenge of Zero Trust for AI.

    The human is still part of the security decision.

    They’re just no longer the whole decision.

  • Raspberry Pi Badge. There’s a game on it that can be updated, but I haven’t gotten to it.

    Intro

    This was likely the hottest weather I’ve ever experienced. I think it was a high of 117 (47.2c) , and the heels of my shoes were slightly melty. It was DefCon 32 at the Las Vegas Convention Center. Even as a non-hacker, I gained amazing perspective and I’d love to go back.

    The trip itself was kind of last minute. I did not think I was going to be able to go and it was worth it.

    Day One

    I had heard about “LineCon” prior to the event. They weren’t kidding. It appeared to be a mile long. Essentially, day one is dedicated to registrations and obtaining badges. I cannot recall if there was merch that day, but that was a long line as well.

    We were fortunate enough to assist inside of the ICS Village. We set up tables, chairs, and rolled T-Shirts, lots of T-Shirts, up for sale the following day. I met some great people and learned a lot there.

    No idea where I was looking.

    Days 2-4

    First an foremost, the Hacker Tracker app is a must. Without it, I would have been completely lost. The app itself contains a map of the entire conference, from floor to floor. It contained a complete list of talks and workshops with tons of filters as well. 10/10.

    You’ll want do download Signal as well, especially if going with a group. It provided out of band chat, separate from SMS. Very helpful .

    I lost count of the talks I attended, but tried to gameplan the best I could. Here were a few that I enjoyed.

    Side Quest: Speed Vegas

    Let me say t

    here are tons of things to do in Vegas. I mean, it’s Vegas. That being said, I’m a car guy. I also enjoyed time in the MGM Grand poker room and Freemont Street.

    I recommend that anyone into performance cars try this. I booked the GT4RS, Huracan STO, and of course the 992 GT3RS. All were spectacular. As a car guy, I’ll likely pick up my own 4.0 Porsche in the future. My instructor, Luigi, was awesome. I even got the best lap time in my group with the GT3RS.

    The Huracan STO is the most insane Huracan ever made. The NA V10 absolutely screams.
    The STO was a Beat
    The Grail of the day. The ultimate cheat code for the track.
    The 992 911 GT3RS is the ultimate track day cheat code.
    Luigi. He’s the man.

    Summary and Lessons Learned

    If I could some it up in five tips, it would be the following:

    1. Plan WAY Ahead- Things to plan include hotels, rental cars, and airfare. Bookings fill up QUICK.
    2. Pick a niche- Whether it’s cloud security, lockpicking, medical devices, voting machines, or cars, DefCon has it all. Picking a niche can guide you into what workshops, capture the flags (CTFs) or talks you’d like to attend. (See point one- the workshops and CTFs fill up quickly, typically the day they are released, way ahead of the event). Do your homework and keep updated on the official website for release schedule. Or else, you’re walking around blind like I was.
    3. Go with a group- Unless you’re meeting folks at the event, it’s great to travel there with a group. You can schedule Ubers or share rides, grab food, and plan to attend events of common interest. It definitely eases the overwhelm.
    4. Have fun and keep an open mind! Along with that, don’t be intimidated. Everyone is there to learn, network, AND teach. Villages are always happy to discuss their product or niche.
    5. You probably won’t get “hacked”, but use precautions. I kept my phone in Airplane mode or off, with no WiFi or Bluetooth. I think even that was overkill. I saw people with wireless antennas, and all sorts of other gadgets “sniffing” around. I don’t think someone malicious would just be out doing that in the open, however.
    No context sushi. This one is from Louie Louie in North Vegas.
  • The Beginning

    Sometime in 2020, I decided to pursue the CISM certification. As written in a previous blog, my employer covered three exam attempts due to a job requirement. After two CISSP failures, I began to research the CISM. According to the ISACA web page, “the Certified Information Security Manager® (CISM®) affirms your ability to assess risks, implement effective governance, and proactively respond to incidents.”

    Who should take it?

    As the name implies, this is a managerial certification. Similar to ISC2, ISACA requires at least five years experience in at least three of the four domains. The CISM domains are as follows:

    1. Information Security Governance
    2. Information Security Risk Management
    3. Information Security Program
    4. Incident Management

    https://www.isaca.org/credentialing/cism/cism-exam-content-outline

    Honestly, I would recommend 2-3 years of solid IT work at a minimum to start thinking about this one, possibly longer. You should ALSO have the strong desire to manage, now and into the future. It helps to have a very strong background in cybersecurity project management, as well as interfacing with senior management regularly over the course of multiple years. If you have the foundation mentioned above, the study material will make sense to you.

    I want to be clear about something. This certification isn’t for everyone and my career has been extremely unconventional. Although I had great success with this one, ISACA certifications such as Certified Information Systems Auditor (CISA) or Certified in Risk and Information Control (CRISC) may be better for you. It all depends on your line of work and future goals. Everyone is different.

    As a professional in the Risk Management field, it seemed to fit the bill. I was legitimately interested in the material as well. I even crack the book open from time to time today, in 2024. After only a bit of research, it was time to start studying.

    The Studying

    The only book I used

    For the CISM, studying consisted of the All-In-One guide, along with the official ISACA Questions and Explanations (QAE) bank.

    The latest guide can be found here:

    http://CISM Certified Information Security Manager All-in-One Exam Guide, Second Edition https://a.co/d/032VneNc

    As of today, the QAE bank is $299 USD for members and $399 USD for non-members. I highly recommend for paying for the ISACA membership first ($145 USD), at least for year one. You can find out more here:

    https://store.isaca.org/s/store#/store/browse/cat/a2D4w00000Ac6NNEAZ/tiles

    With the ISACA membership, you get discounts on most products, including exam fees and renewals. You also get access to free webinars, local ISACA chapter events, and other CPE-earning opportunities at low or no fee.

    There are sample questions for free and other “pay to play” material via ISACA and other means. However, my best advice is to always keep things simple.

    When I received the book, I dove right in. Over a couple of months, I read the entire thing and performed each set of practice questions at the end of the chapters. At the time, I was a Reservist in the Navy, which meant a lot of downtime. I was able to handle a huge chunk of these studies during drill weekends. Looking back, I don’t know if I’ll ever swear by reading an entire study guide cover-to-cover, but here we are. I called them “intentional reading sessions”.

    If you’ve read my CISSP synopsis, there are a lot of similarities here, but there was no battle. There was no fight. There was no lack of understanding.

    After reading the full study guide, I entered a “drill and kill” mode in the QAE bank, doing reps of 10-20 questions until I was comfortable. I would study during lunch and in the evenings, mostly. Full disclosure- I was actually doing quite poorly at first, but “reset” the QAE bank about midway and my scores improved.

    After being exposed to all 800 or more questions (it is now over 1,000), I was scoring well above 80 percent on the practice exams. I would go back into the book and re-read the topics of contention, and then I scheduled my exam.

    The Exam

    The exam itself is timed for four hours and 150 questions. Unlike the CISSP, it is NOT a Computer Adaptive Test (CAT) format. Basically, what you see is what you get. Everyone has four hours and 150 questions, no matter what. It does not shift scope based on your answers, while CISSP can sense towards what you are getting wrong, and hone in on that topic. The exam will not end early. You will see the full 150 questions.

    Going into the exam, I was confident. Granted, it was years ago, but I don’t remember too many questions that threw me for a loop. Nothing was surprising. It was still a long, challenging exam, however. I do not recall how long it took me, likely around two hours or less. I did not come close to the time limit whatsoever.

    This is a bit anticlimactic, but I passed. I was both proud and grateful to be done, meeting the requirements to keep my job in the DoD (yes, seriously). I also learned some valuable stuff that I still use today. Bonus- ISACA is even kind enough to share your actual score. I shattered the minimum.

    Summary

    I’d like to reiterate that my career has been very, very unconventional. I’ve been a “jack of all trades” administrator on a submarine, who basically fell into Governance, Risk, and Compliance (GRC) after applying for positions out of the military. Everyone’s journey is different.

    If your journey lies in GRC, management, or another non-technical facet of Cybersecurity, the CISM could be the right path. I wouldn’t say it’s easy, not by a long shot. It takes months of preparation and heavy reading.

    Additionally, it is pricey ($575-$760 USD), so only do it if you are truly ready to invest in yourself. If you have an employer cover the costs, definitely take the opportunity to explore an ISACA certification. I learned a lot on the way, and will continue to learn. Overall, the answer to the title is a resounding “Yes”. It was worth it and I will continue to hold the certification. In my studies, I became more confident in communicating and assessing cyber risk to multiple audiences. You can too.

    In the future, I look forward to writing more, and diving into multiple topics. Feel free to reach out anytime.

    • Mark E .