Conducting an Internal Audit for NIST 800-53: A Security Analyst’s Perspective

One of the most valuable exercises I’ve participated in is conducting an internal audit against NIST 800-53 controls. While external assessments often receive the most attention, a well-executed internal audit can uncover gaps, improve security posture, and significantly reduce the stress associated with formal assessments.

Internal audits are not just compliance checklists. They provide an opportunity to evaluate whether security controls are operating effectively, identify weaknesses before auditors do, and strengthen an organization’s overall cybersecurity program.

Understanding the Purpose of the Audit

Before beginning any assessment activities, it is important to understand the objective. NIST 800-53 provides a comprehensive catalog of security and privacy controls designed to protect information systems and organizations from a range of threats.

An internal audit should answer three key questions:

  • Are required controls implemented?
  • Are controls operating as intended?
  • Is there sufficient evidence to demonstrate compliance?

The goal is not to achieve a perfect score. The goal is to accurately assess the current state of the environment and develop a roadmap for improvement.

Defining the Scope

One of the first tasks I complete is defining the audit scope. Attempting to review every control simultaneously can be overwhelming, particularly in large or complex environments.

I typically begin by identifying:

  • Systems included in the authorization boundary
  • Applicable control baselines
  • External compliance requirements
  • Key stakeholders and system owners
  • Critical applications and supporting infrastructure

Having a well-defined scope helps ensure audit efforts remain focused and manageable.

Reviewing Security Documentation

Documentation is often the first area where auditors uncover deficiencies. Before reviewing technical implementations, I evaluate the organization’s security documentation to determine whether controls are adequately described.

Key artifacts typically include:

  • System Security Plan (SSP)
  • Policies and procedures
  • Risk assessments
  • Incident response plans
  • Configuration management plans
  • Contingency plans
  • Vulnerability management procedures

Throughout the review process, I verify that documentation reflects the actual environment. A well-written policy has little value if operational practices differ from what is documented.

Mapping Controls to Evidence

One of the most effective techniques I use is creating a control-to-evidence matrix. This document maps each applicable NIST 800-53 control to specific supporting evidence.

Examples include:

ControlEvidence
AC-2 Account ManagementUser account reviews, access requests, termination records
AU-6 Audit ReviewSIEM dashboards, log review reports
CM-6 Configuration SettingsSTIG checklists, configuration baselines
IR-4 Incident HandlingIncident reports, response procedures
RA-5 Vulnerability MonitoringScan reports, remediation tickets

This approach allows the audit team to quickly determine whether sufficient evidence exists for each control.

Performing Technical Validation

Documentation alone does not demonstrate compliance. Controls must also be validated through technical review and testing.

During technical validation, I focus on areas such as:

Access Control

  • User provisioning processes
  • Privileged account management
  • Multi-factor authentication
  • Account recertification reviews

Vulnerability Management

  • Authenticated vulnerability scans
  • Patch management effectiveness
  • Remediation timelines
  • Exception handling processes

Logging and Monitoring

  • Security event collection
  • Retention requirements
  • Alerting configurations
  • Incident investigation procedures

System Hardening

  • DISA STIG compliance
  • Secure baseline configurations
  • Configuration drift monitoring
  • Unauthorized software detection

The objective is to verify that controls are functioning consistently across the environment rather than relying solely on policy statements.

Interviewing Stakeholders

Another important component of an internal audit is engaging with system owners, administrators, engineers, and management personnel.

Control owners often provide context that documentation cannot capture. During interviews, I ask questions such as:

  • How is this control performed on a recurring basis?
  • What evidence is generated during execution?
  • How are exceptions approved and tracked?
  • What challenges exist in maintaining compliance?

These discussions frequently reveal process weaknesses, undocumented procedures, or opportunities for improvement.

Identifying Findings and Risks

As observations are collected, I categorize findings based on risk and impact.

Common findings include:

  • Incomplete documentation
  • Missing evidence
  • Unapproved configuration changes
  • Delayed vulnerability remediation
  • Inconsistent access reviews
  • Limited audit logging

Each finding should clearly describe:

  1. The control requirement.
  2. The observed condition.
  3. The associated risk.
  4. Recommended corrective actions.

Providing actionable recommendations helps stakeholders understand not only what is wrong but how to address it.

Developing Corrective Action Plans

An audit is only valuable if findings lead to improvement.

For each finding, I work with stakeholders to establish:

  • Remediation activities
  • Responsible personnel
  • Milestones and deadlines
  • Success criteria

Tracking corrective actions through completion demonstrates continuous monitoring and strengthens future assessments.

Lessons Learned

Over the years, I’ve learned that successful internal audits are less about compliance paperwork and more about operational effectiveness. The strongest security programs are not those with perfect documentation. Rather, they are the programs where documentation, processes, and technical implementations align.

An internal audit provides us with an opportunity to identify weaknesses proactively, improve security operations, and build confidence before external assessments occur. When approached as a continuous improvement exercise rather than a compliance burden, the audit process becomes a powerful tool for strengthening an organization’s cybersecurity posture.

Final Thoughts

Conducting an internal audit against NIST 800-53 requires preparation, collaboration, and technical expertise. As a security analyst, I view the process as an opportunity to validate security controls, reduce organizational risk, and support a culture of continuous improvement. Not to mention it’s a requirement.

The most effective audits combine documentation review, technical testing, stakeholder interviews, and evidence collection. When these elements come together, organizations gain a clear understanding of their security posture and are better prepared for both compliance assessments and real-world threats.

Why Vulnerability Scanning is limited in OT Environments

Why Vulnerability Scanning is limited in OT Environments

Vulnerability scanning is one of the most common security practices in traditional IT environments. Security teams use scanners to identify missing patches, insecure configurations, and known vulnerabilities across servers, workstations, network devices, and applications. While this approach is effective in enterprise environments, it becomes much more complicated when applied to Operational Technology (OT) networks.

The reality is that many of the tools and methods commonly used in IT security can introduce risk when deployed in industrial environments. For that reason, organizations frequently place restrictions on vulnerability scanning activities within OT networks. These restrictions are not intended to prevent security assessments. Rather, they exist to protect the systems responsible for controlling critical operations and physical processes.

Understanding the OT Environment

Operational Technology refers to the hardware and software that monitor and control industrial processes. This includes systems such as Supervisory Control and Data Acquisition (SCADA) platforms, Human Machine Interfaces (HMIs), Programmable Logic Controllers (PLCs), Distributed Control Systems (DCS), and various industrial sensors and controllers.

Unlike traditional IT environments, OT systems are designed with a different set of priorities. In most industrial settings, availability and safety take precedence over confidentiality. A temporary outage affecting an email server may be inconvenient, but a disruption impacting a manufacturing line, power generation facility, or water treatment process could have significant operational and safety consequences.

Because of these differences, cybersecurity teams must approach vulnerability management in OT environments with a much higher degree of caution.

The Risks Associated With Active Scanning

One of the primary reasons vulnerability scanning is often restricted in OT environments is the potential impact on critical systems. Many industrial devices were designed years before cybersecurity became a major consideration. As a result, some legacy equipment lacks the processing power and resilience required to handle aggressive scanning activity.

Traditional vulnerability scanners generate large volumes of network traffic while probing systems for weaknesses. In an enterprise network, this behavior is generally expected and well-tolerated. In OT environments, however, the same activity can overwhelm devices, interrupt communications, or cause unexpected system behavior.

Industrial protocols such as Modbus, DNP3, PROFINET, and EtherNet/IP were built to facilitate operational communications, not withstand security testing. Some devices may interpret scanning traffic as invalid commands or malformed communications, potentially leading to application crashes, device lockups, or loss of connectivity.

Even when no outage occurs, organizations are often unwilling to accept the possibility of disrupting systems that support critical business functions or public infrastructure.

Safety and Operational Reliability

Another major factor driving scanning restrictions is safety. OT systems directly interact with physical equipment including pumps, valves, turbines, conveyor systems, and manufacturing machinery. Any disruption to those systems has the potential to affect worker safety, environmental controls, or operational reliability.

In many industries, production environments operate continuously and cannot be easily taken offline for testing. Planned maintenance windows may occur only a few times each year, limiting opportunities to perform active assessments. Because of this, security teams must carefully balance the need for vulnerability visibility against the risk of impacting operations.

This challenge becomes even more significant in critical infrastructure sectors where downtime can affect essential services and result in substantial financial losses.

Alternative Approaches to Vulnerability Management

The presence of scanning restrictions does not eliminate the need for vulnerability management. Instead, organizations often rely on alternative methods that provide visibility while minimizing operational risk.

One of the most common approaches is passive asset discovery. Passive monitoring tools analyze existing network traffic without actively communicating with industrial devices. This allows security teams to identify assets, operating systems, firmware versions, and communication patterns without introducing additional traffic into the environment.

Organizations also frequently use vendor guidance as part of their vulnerability management process. Equipment manufacturers often publish security advisories identifying affected products and recommended remediation actions. By maintaining accurate asset inventories, security teams can compare deployed systems against known vulnerabilities without performing intrusive scans.

Another widely adopted practice is testing within laboratory or development environments that mirror production systems. This allows organizations to evaluate the effects of scanning activities before introducing them into operational environments.

When active scanning is required, it is typically conducted in a highly controlled manner. Scan configurations are carefully tuned, potentially disruptive checks are disabled, and assessments are scheduled during approved maintenance periods to reduce operational impact.

Best Practices for OT Security Teams

Effective vulnerability management in OT environments requires close coordination between cybersecurity professionals, engineers, and operational personnel. Security decisions should never be made independently of the teams responsible for the industrial processes being protected.

Organizations should focus on maintaining accurate asset inventories, understanding system criticality, leveraging passive monitoring technologies, and validating assessment methods before conducting production testing. Risk-based decision making is essential, as the most critical vulnerability may not always present the greatest operational risk.

Conclusion

Restrictions on vulnerability scanning within OT networks are not a sign of weak security practices. In many cases, they represent a necessary safeguard designed to protect the availability, reliability, and safety of industrial operations. Unlike traditional IT environments where aggressive scanning is routine, OT networks require a more deliberate and risk-conscious approach.

As industrial systems become increasingly connected to enterprise and cloud environments, organizations must continue evolving their vulnerability management programs. By combining passive monitoring, accurate asset management, vendor intelligence, and carefully controlled assessments, security teams can improve visibility into cyber risks without jeopardizing the operations that OT systems are designed to support.

Splunk SPL for detecting Agentic AI

Detecting Agentic AI with Splunk: Practical SPL Prompts for Modern Security Teams

Introduction

Agentic AI is rapidly transforming the cybersecurity landscape. Unlike traditional artificial intelligence systems that operate within narrowly defined boundaries, agentic AI systems can plan, reason, make decisions, invoke tools, access external resources, and execute multi-step tasks with minimal human oversight. While these capabilities create tremendous business value, they also introduce new security risks.

Security Operations Centers (SOCs) are now challenged with detecting unauthorized AI usage, identifying potentially malicious autonomous behavior, preventing data leakage through AI systems, and monitoring interactions between AI agents and enterprise resources.

Splunk remains one of the most powerful platforms for detecting emerging threats, including those involving large language models (LLMs), AI copilots, autonomous agents, and AI-powered automation tools. This article provides practical Splunk Search Processing Language (SPL) prompts and detection strategies that security teams can implement today to identify agentic AI activity.


Understanding Agentic AI Behaviors

Before developing detections, it is important to understand the characteristics of agentic systems:

  • Autonomous decision-making
  • Sequential tool execution
  • API chaining
  • External data gathering
  • Code generation and execution
  • Automated account actions
  • Multi-step workflows
  • Persistent goal completion

From a detection perspective, these characteristics often manifest as:

  • Unusual API call patterns
  • Rapid execution of administrative actions
  • Automated browser activity
  • Excessive prompt submissions
  • High-volume outbound requests
  • Interaction with AI hosting services
  • Automated script creation and execution

Detection 1: Identify Access to Popular AI Services

Many organizations want visibility into employees accessing public AI platforms.

SPL Query

index=proxy OR index=web

(url_domain="chat.openai.com"

OR url_domain="claude.ai"

OR url_domain="gemini.google.com"

OR url_domain="copilot.microsoft.com"

OR url_domain="poe.com"

OR url_domain="perplexity.ai")

| stats count by user, src_ip, url_domain

| sort -count

Purpose

This search helps identify:

  • AI service adoption
  • Shadow AI usage
  • Departments frequently accessing AI platforms
  • Potential compliance concerns

Detection 2: Monitor Large Data Uploads to AI Services

One of the greatest concerns surrounding AI tools is sensitive data exposure.

SPL Query

index=proxy

(

url_domain="chat.openai.com"

OR url_domain="claude.ai"

OR url_domain="gemini.google.com"

)

bytes_out > 5000000

| stats sum(bytes_out) as uploaded by user, src_ip

| sort -uploaded

Purpose

Potential indicators include:

  • Intellectual property leakage
  • Source code uploads
  • Customer data exposure
  • Financial document sharing

Detection 3: Detect Automated API Consumption

Agentic AI commonly consumes APIs at a consistent, automated rate.

SPL Query

index=firewall

action=allowed

| bucket span=1m _time

| stats count by src_ip, dest_ip, _time

| eventstats avg(count) as avg_calls by src_ip

| where count > avg_calls*5

Purpose

This detection identifies:

  • AI agents continuously calling APIs
  • Automation abuse
  • Bot-like behavior
  • Potential autonomous workflows

Detection 4: Excessive OpenAI API Usage

Organizations leveraging enterprise AI should monitor API utilization.

SPL Query

index=proxy

url="api.openai.com"

| stats count by src_ip,user

| where count > 1000

| sort -count

Purpose

Helps uncover:

  • Agent deployment activity
  • Scripted AI interactions
  • Unauthorized AI applications
  • Cost-generating API abuse

Detection 5: AI-Generated PowerShell Execution

Many agentic workflows generate and execute code automatically.

SPL Query

index=sysmon EventCode=1

Image="*powershell.exe"

| regex CommandLine="(?i)(invoke-webrequest|invoke-expression|downloadstring|iwr)"

| stats count by user, host, CommandLine

Purpose

Identifies:

  • AI-generated scripts
  • Download-and-execute behavior
  • Autonomous remediation scripts
  • Potential AI-assisted attacks

Detection 6: Browser Automation Associated with AI Agents

Many agents rely on browser automation frameworks.

SPL Query

index=sysmon EventCode=1

(

CommandLine="selenium"

OR CommandLine="playwright"

OR CommandLine="puppeteer"

)

| stats count by user, host, CommandLine

Purpose

Detects:

  • Browser-based autonomous agents
  • Automated account access
  • Web scraping agents
  • AI workflow automation

Detection 7: Correlating Multiple Administrative Actions

One hallmark of agentic AI is rapidly executing multiple tasks across systems.

SPL Query

index=wineventlog

(

EventCode=4720

OR EventCode=4728

OR EventCode=4729

OR EventCode=4732

)

| transaction user maxspan=10m

| where eventcount > 5

Purpose

Highlights:

  • Bulk account creation
  • Mass privilege modification
  • Automation misuse
  • Agent-driven account management

Detection 8: AI-Assisted Reconnaissance Activity

Agentic attackers frequently automate reconnaissance.

SPL Query

index=sysmon

EventCode=1

(

CommandLine="whoami"

OR CommandLine="net user"

OR CommandLine="ipconfig"

OR CommandLine="systeminfo"

OR CommandLine="net group"

)

| stats count by host,user

Purpose

Can reveal:

  • Automated discovery actions
  • AI-assisted penetration testing
  • Lateral movement preparation
  • Internal system enumeration

Detection 9: Long-Duration Automated AI Sessions

Agentic systems often maintain persistent communications.

SPL Query

index=proxy

url_domain IN ("chat.openai.com","claude.ai","copilot.microsoft.com")

| bucket span=1h _time

| stats count by user,_time

| eventstats avg(count) as avg_session by user

| where count > avg_session*3

Purpose

Detects:

  • Extended AI agent operation
  • Workflow automation
  • Non-human interaction patterns
  • Potential autonomous assistants

Detection 10: Multi-Stage Agent Behavior Correlation

A more advanced detection correlates common stages of autonomous operation.

SPL Query

(index=sysmon EventCode=1) OR (index=proxy url="api.openai.com") OR (index=firewall action=allowed)

| stats values(process_name) as processes values(url) as urls count by host,user

| where count > 50

Purpose

Provides visibility into:

  • Prompt submission
  • API usage
  • Tool execution
  • Network communication

This closely aligns with how agentic systems operate in production environments.


Behavioral Detections Are More Effective Than IOC-Based Detections

Traditional security monitoring relies on indicators of compromise (IOCs) such as:

  • IP addresses
  • File hashes
  • Domain names

However, agentic AI introduces dynamic and rapidly evolving behaviors. Instead of hunting for known AI tools, SOC teams should focus on detecting:

  • Automated decision loops
  • Tool invocation patterns
  • High-frequency API activity
  • Autonomous privilege changes
  • AI-driven code execution
  • Task chaining across systems

Behavioral analytics provide more durable detections than simply monitoring known AI domains.


Mapping Agentic AI Detections to MITRE ATT&CK

Several ATT&CK techniques frequently overlap with agentic AI operations:

ATT&CK TechniqueDescription
T1059Command and Scripting Interpreter
T1087Account Discovery
T1018Remote System Discovery
T1105Ingress Tool Transfer
T1078Valid Accounts
T1190Exploit Public-Facing Application
T1021Remote Services
T1047Windows Management Instrumentation

Organizations should enrich detections with ATT&CK mappings to improve threat hunting and reporting.


Conclusion

Agentic AI is fundamentally changing how users, administrators, and attackers interact with enterprise systems. Security teams can no longer rely solely on traditional detections because autonomous systems generate activity that often resembles legitimate user behavior. Splunk provides an ideal platform to identify these emerging threats through behavioral analytics, correlation searches, risk-based alerting, and anomaly detection. By combining network telemetry, endpoint logs, cloud activity, and authentication data, defenders can build effective detections that uncover both authorized and malicious agentic AI activity.

Note: Apologies for the format as I had some trouble pasting from LibreOffice Writer.

Cybersecurity Governance in the Age of Agentic AI

Artificial Intelligence has evolved rapidly over the past few years, but the next significant shift is not simply AI that generates content or answers questions. It is the rise of Agentic AI: systems capable of making decisions, executing actions, and interacting with multiple platforms with minimal human involvement. While many organizations are focused on the productivity gains that these technologies can deliver, cybersecurity leaders need to focus on a different question: how do we govern systems that can act independently?

Traditional cybersecurity governance was designed around human users, predefined automation, and controlled workflows. Agentic AI changes that model entirely. Organizations are now introducing digital agents that can access sensitive data, interact with enterprise applications, make recommendations, execute tasks, and potentially influence security-critical decisions. As a result, governance programs must evolve to address risks that were never contemplated in traditional security frameworks.

One of the biggest changes I expect to see is the treatment of AI agents as managed identities. Today, security teams invest heavily in identity and access management for human users, service accounts, and privileged administrators. Agentic AI should be viewed no differently. Every agent should have a defined identity, documented business purpose, assigned owner, and clearly scoped permissions. The principle of least privilege becomes even more important when dealing with autonomous systems that may interact with multiple environments and data sources simultaneously.

Organizations will also need stronger governance around authorization and accountability. If an AI agent changes a configuration, accesses sensitive information, or triggers an automated response, security teams must be able to determine exactly what action occurred, why it occurred, and what data influenced the decision. Without detailed logging and audit capabilities, organizations risk creating blind spots that make incident response and compliance validation significantly more difficult.

Another area where governance will need to mature is continuous monitoring. Most governance programs today rely on periodic audits, quarterly reviews, and annual assessments. Agentic AI operates in real time, which means governance controls must operate in real time as well. Security operations teams will need visibility into agent behavior, decision patterns, and system interactions. Monitoring should extend beyond traditional indicators of compromise and include behavioral analytics capable of identifying when an agent begins acting outside of its expected parameters.

Human oversight will remain a critical component of any effective governance strategy. Despite the capabilities of Agentic AI, there are certain decisions that should never be fully autonomous. Organizations will likely adopt a risk-based governance model where the level of human involvement is determined by the potential impact of the action. Routine administrative tasks may be executed without approval, while actions involving privileged access, security controls, financial transactions, or regulated data should require human validation before execution. Maintaining a human-in-the-loop approach for high-risk activities provides an additional safeguard against unintended consequences.

Data governance will become inseparable from cybersecurity governance. Agentic AI systems depend on access to large volumes of information to perform effectively. However, unrestricted access creates obvious security and privacy concerns. Organizations must establish clear policies regarding data classification, handling requirements, retention, and access controls. Governance programs should ensure that agents only access the information necessary to perform their designated functions. This becomes especially important in highly regulated environments where compliance obligations related to privacy and data protection are already significant.

Third-party risk management will also play a larger role in governing Agentic AI. Most organizations will rely on external AI models, cloud providers, and software platforms rather than developing their own solutions from scratch. As a result, governance teams must evaluate not only their internal controls but also the security practices of the vendors supporting these AI ecosystems. Understanding how models are trained, how updates are deployed, and how data is handled throughout the supply chain will become a necessary part of security governance.

From a regulatory perspective, I expect increasing scrutiny surrounding AI accountability, transparency, and risk management. Frameworks such as the NIST AI Risk Management Framework provide an early foundation, but organizations should anticipate additional requirements from regulators and industry standards bodies as adoption accelerates. Executive leadership and boards of directors will likely demand greater visibility into AI-related risks, similar to the way cybersecurity risk reporting has matured over the last decade.

Ultimately, the future of cybersecurity governance for Agentic AI will be centered on accountability, transparency, and control. Organizations that view AI agents as trusted employees without implementing the same level of oversight will expose themselves to unnecessary risk. Successful governance programs will treat AI agents as managed entities with defined responsibilities, monitored activities, and enforceable security boundaries.

Agentic AI has the potential to transform how organizations operate, but autonomy without governance can quickly become a liability. As these technologies continue to evolve, cybersecurity leaders must ensure that governance frameworks evolve alongside them. The organizations that establish strong governance foundations today will be better positioned to leverage Agentic AI securely while maintaining compliance, protecting sensitive information, and preserving trust across the enterprise.

Author’s Perspective: As cybersecurity professionals, we have spent years developing governance models around human behavior, system administration, and traditional automation. Agentic AI introduces a new category of actor within the enterprise ecosystem. The challenge moving forward is not simply securing AI, but governing its authority, monitoring its actions, and ensuring accountability for its decisions. The organizations that solve this challenge first will gain the benefits of AI innovation without sacrificing security or compliance.