Having security tools, controls, and even a SOC doesn’t prevent an attacker from obtaining an employee’s credentials. The question is: How far could they go from there? We’ll explain how an AI-powered attack simulation works, what scenarios you can evaluate, and how they help you prioritize and justify your security investment to senior management.
What is an AI-powered penetration test?
In an AI-powered attack simulation, we put ourselves in the attacker’s shoes and test what they can achieve in a specific environment. This is always done with authorization and according to rules agreed upon with the client.
Before we begin, we define what we want to know, which systems we can evaluate, and what actions are permitted. If we also want to test detection and response, we must include that in the exercise objectives.
What scenarios can you test?
It depends on what you need to know and the systems or information you want to protect.
- If you’re concerned about what could happen if a corporate account were compromised, we can assess Active Directory and the networks included in the scope. We examine that account’s permissions, the resources it can access, and whether there are any ways to gain additional privileges.
- If the concern involves a web application or an API, we check what actions and access it would allow. For example, whether a user can view information they’re not authorized to see or obtain administrative permissions.
Also, if you want to check your employees exposure to phishing, we simulate campaigns and observe how they respond. In these campaigns, we also use AI to craft messages just as real attackers do.
The process begins with the question: What do you need to verify? From there, we define the scenario and the test.
How is an AI-based attack simulation conducted?
Below, we discuss a real-life case involving a client whose identity we cannot disclose for confidentiality reasons.
We started with a standard user account with no administrative privileges. We assumed that the user’s credentials had already been compromised—for example, through phishing. The goal was to see how far an attacker could go from that starting point:
- We explored the environment and analyzed possible paths to elevate that account’s privileges. We found a particularly dangerous configuration: the user had a permission regarding the domain administrators group that allowed him to add himself as a member. Although he was not initially an administrator, he had a way to become one. But identifying that possibility wasn’t enough. We needed to verify whether it actually worked.
- We reviewed the proposed approach and tested that permission. Then, we returned to Active Directory to verify the result: the account, which had initially been a standard user, now belonged to the domain administrators group. We had demonstrated that the vulnerability could be exploited.
From here, we can take a specific step to improve the situation: review that permission, correct it, and double-check that it does not allow that elevation.
Here is the information you need to make a decision: what kind of access was gained, what enabled it, and what you should review to prevent it. And there’s still another question: Would it have been detected and addressed in time? To answer that, we also need to evaluate detection and response.
How does AI enhance attack simulations?
In attack simulations, we use AI agents developed by Softeng.
How do they help us?
Once the objective and the environment in which they can operate have been specified, simulations help us gather information and analyze potential attack vectors. They then suggest which paths are worth testing.
In this case, the simulation identified the permission that would allow the user to add themselves to the administrators group. We then reviewed the proposal before testing it.
And this is important: a proposed route is not yet a proven route. You have to follow it according to the rules of the exercise and see what happens. If it doesn’t work, you can explore other alternatives.
In this way, we automate part of the recognition and analysis process. At Softeng, we interpret the proposals and results and decide how to proceed.
Since the agent has the ability to interact with the company’s systems, it is very important to limit the networks on which it operates, the permissions it uses, and the actions it can perform. Its autonomy must always remain within those limits.
What benefits can you gain from attack simulations?
- Insight into risks you may not have identified. You might discover an account with more permissions than it needs or confidential information that’s accessible from places it shouldn’t be.
- Decide what to address first. Imagine you have several pending improvements and a limited budget. If you know which ones allow access to critical systems or sensitive information, you have a basis for prioritizing those actions based on their impact on your business.
- Gather evidence. This is one way to help you explain the situation to management. With an AI-powered penetration test, you receive a report with concrete findings: where the breach occurred, what was exposed, and what measures are recommended to address the issue. That information provides a solid basis for justifying the investment.
If you already have security measures in place, you can assess what they’re preventing and where there’s still room for improvement. And if you need to strengthen them, you can explain what capabilities you’re missing and what problem you want to solve with them.
From here on, you can make a decision about your environment, armed with information you didn’t have before.
When is it advisable to conduct an attack simulation?
It’s recommended to conduct a penetration test in the following cases:
- After significant changes to the infrastructure.
- When adding applications or modifying access and permissions.
- When you need to test existing controls.
- When deciding how to strengthen your security.
If you already have a SOC, you’ll also want to test how your SOC would respond to an attack on your environment. What actions would it detect? How would it investigate them? And what would it do to stop the attack from progressing?
This way, you can see if detection and response are working as expected or if there’s something that needs to be checked. Because the longer it takes to respond, the greater the impact on the business can be.
If you don’t have SOC, you may find it difficult to justify that investment to management. You can explain the risks, but it’s much more effective to show what has been achieved in your organization and what capabilities you currently have to detect and respond to them. The simulation allows you to have that conversation using objective results and to link the investment to your business risks.
Conclusion
To wrap up, think about the questions we’ve been discussing.
Do you know how far an attacker could go within your company? What systems or information could be compromised? Would you be able to detect what’s happening and respond in time?
You may have measures in place to prevent this, but you need to know if they work as expected.
If you can’t answer any of those questions right now, this is a good starting point for conducting a penetration test.