We've previously written about the threat of offensive AI, as well as what abundant defensive AI could accomplish. We also wrote about our mission to end Persistence by adversaries. But now we want to play a leading role in addressing the most important cybersecurity problem of our time:
Our mission is to stop rogue and hostile AI.
This bold mission will involve a wide set of capabilities across essentially every technology layer. We believe that AI in the wild will not always align with human goals (with or without guardrails). Deploying extremely capable offensive AI to hack enterprise networks will only become easier and cheaper.
How do we defend? A few things are clear to us:
Current enterprise networks are not ready.
Currently available defensive systems, even if universally applied, will not be enough to stop AI hackers.
We need far stronger systems that self-harden, can detect & respond to intrusions, and defend and heal themselves in real time. We'll need all these elements working together to be able to stop AI adversaries.
Self-harden
We are building an agent that can
Find the minimal permission set needed and create a policy to match it
Analyze permission denials and reliably determine whether the policy needs to be changed or it's an attack
Modify the policy quickly to minimize disruptions
Today, networks are mostly protected against known vulnerabilities and threats, in a "Default allow, deny by exception" mode. It's clear that that stance will no longer work, as AI can improvise on the spot, discover brand new Zero days if needed, and get in.
"Default deny, allow by exception" is the strongest defensive strategy, but it was mostly abandoned in the 1990s because such policies are labor-intensive to configure and maintain.
Based on our experience with File Integrity Monitoring (which has been intractable for similar maintenance difficulties), default deny policies can be built and maintained with AI. It's time to adopt strong controls and strengthen our networks, not just at the perimeter, but throughout.
Suitable controls exist at all technology layers, for example (not an exhaustive list):
Host (OS/Application/Container): AppArmor/SELinux, seccomp
Cluster: namespaces, RBAC, NetworkPolicy
Network: firewalls (ingress and egress), reverse proxies with Zero Trust
Cloud: custom permissions policies, role-restricted storage access, resource deployment limited to IaaC frameworks
Identity: minimized role-based access control (RBAC), Just-In-Time (JIT) access with multi-party permission
Any administrator will look at this list and cringe, because they know how hard it is to minimize any kind of permissions, with all the necessary exceptions are in place. Again, AI-assisted configuration is what makes it possible and not an endless firehose of change control requests that have to be examined by humans.
Detect & Respond
Detection systems most commonly recognize malicious patterns, which by its nature is backwards-looking. Since AI can improvise, this approach is too weak.
A stronger approach is noticing unauthorized or unexpected behavior, and then deciding whether it is malicious. Examining anomalies and exceptions cannot scale if a human has to examine each case, but we've seen that it is scalable if AI is making the determination. Here too, we've seen that with enough context, current frontier models are extremely good at classifying activity as malicious/benign.
A two-step process of configuring strong, valid controls, then examining activity that attempts to violate those controls and classifying as malicious/benign, can be a very high signal way to detect hacking.
Appropriate anomaly detection can enhance this approach, still supplemented by well-designed signatures and rules to capture the known bad.
Response means being able to improvise the investigation and remediation needed to respond to a highly skilled, dynamic and improvising offensive AI. Static playbooks won't be sufficient (though some static remediation could still be useful).
Defend & Heal
Once an exploit is observed in the wild, AI-assisted analysis can perform the root cause analysis and identify the minimal control that would block the exploitation from occurring. For example, a particular vulnerable API endpoint could be blocked, or if possible, a more targeted block configured (for example, a particular HTTP header known to be the attack vector). While this could make the API endpoint unavailable, that is preferable to allowing exploitation to continue.
Meanwhile, the exploited (but now protected) instances of the server can be redeployed, and a permanent fix prepared. Once the permanent fix is available, the new (tested) version of the API is rolled out in a red/black failover with metrics to ensure that the exploitation is prevented and normal functionality is restored.
This way we build a self-protecting and self-healing network.
Our role
For now, Perj Security will execute this vision with a focus on hosts, initially in the Self-harden/Detect & Respond phases. Stay tuned...
If you're a vendor who shares this vision and would like to partner with us, please reach out.