
There's a question Andrés Fernández asks himself every time he rolls out a new detection rule: what's going to happen to the analyst on call when this fires at three in the morning? After "working a lot of 24x7 shifts," that perspective, the one of whoever's on the other side of the alert, runs through the whole conversation.
Andrés is a computer engineer from the University of Vigo and started in cybersecurity in 2018, on Tarlogic's Blue Team. He moved through Devo designing detection rules, then EDNON as a Lead SOC Analyst, and today he's a Senior Detection and Response Analyst, combining the two things he likes most about this job: investigating, and then taking another pass to see at what point it could have been detected earlier.
We talked from the seat of someone who builds detections and also lives with them: what separates a good detection from noise, why identity is still the least mature terrain, and what he'd do differently. What follows are his answers, unfiltered.
8Layers: You've built a career very focused on Blue Team and detection, from Tarlogic to Devo, EDNON and now as a Senior Detection and Response Analyst. What attracted you most to the defensive side, and what has changed in the way we detect threats over those years?
Andrés: What hooked me was investigating. When I started, in 2018, I knew people working in cybersecurity, but I knew quite little about the field, fresh out of university, and like most people I'd heard much more about the offensive side because it's the flashier one. But when you get into the defensive side you see that it's a challenge: an alert would come in and I wanted to pull the thread until I understood how someone had gotten in and what they'd managed to do.
And as for what's changed... well, pretty much everything. At first what I mostly saw were perimeter alerts, and a lot of simple phishing; telemetry on processes on machines was limited and not everyone ingested it into the SIEM, and detections on user accounts tended to be custom, not provided by the IdP.
Today we work much more by behavior and context. It's no longer enough to look at a specific log: you have to cross-reference what that user does, where they come from, what permissions they have, whether it fits their day to day; and besides, with an EDR, it's much less costly to reconstruct what happened, especially at the level of a specific machine.
8L: You've worked designing new ways to detect threats, not just consuming detections. From that experience, what makes a detection truly good? And why do you think so many teams end up drowning in rules that generate more noise than value?
Andrés: Well, as an analyst I've worked a lot of 24x7 shifts and, however hard it is to believe, when I work on rolling out a new rule I really do think about the analyst on call. If an alert fires for them, I want it to be about something worth investigating, and for them to be able to see the reason as soon as they open it. In other words, a good detection has to have an acceptable volume, fire for something relevant, tell you what happened, why it matters, and give the context so the analyst can pull the thread. On top of that, before enabling it, I look at what would have made that rule fire with the real data we have and, if we have a known incident, I check whether it would have detected it; backtesting seems fundamental to me.
The noise problem almost always comes from believing that more is better, from wanting to cover everything at once by enabling out-of-the-box rule packs by default without touching them. In many companies maturity is measured by the number of use cases active in the SIEM, and that's a trap, because if you don't adapt the detections to your environment all you achieve is burning out the team with false positives, and when a possible real attack does come in it gets lost in the noise. I've even seen automations that automatically closed every alert of the same type instead of doing fine tuning, or just disabling the detection because it adds nothing.
8L: A good part of classic detection was built around the endpoint and the network. How prepared do you think detections are today for an attack that uses legitimate credentials and access, where there's no malware or suspicious process to hunt?
Andrés: Well, the way I see it, on that front we're still quite a bit behind where we should be. A lot of emphasis has been placed on protecting endpoints with EDR agents, and the perimeter has also been watched and protected, but at the identity level there's still quite a lot to do.
Events like impossible travel or an unexpected MFA enrollment are things we know how to detect, but what worries me more is the access that, at first glance, makes sense: the time is the usual one, the network too, and if on top of that they're reusing a session there might not even be an interactive login that lets us detect anything anomalous. In cases like that which I've investigated, the clue was often in what the account did once inside. To give a somewhat basic example: a privileged account that queries resources daily. If one day it starts looking at resources it never touches and shortly after changes their permissions, that already worries me. But it's not easy to detect, and besides, many companies still have identity logs separated from the rest of the telemetry, or simply don't monitor what happens once the user passes MFA. We lack a lot of maturity to detect identity abuse in real time without blocking the legitimate user every two minutes.
8L: With your experience in forensic analysis: when the incident has already happened and it's time to reconstruct what occurred, what's hardest to investigate in an identity compromise versus an endpoint one? What trace does an attacker who only authenticated leave, or not leave?
Andrés: What's hardest is knowing who did what. The user carries on with their work and it's up to you to separate their activity from the attacker's. On a machine I have more clues: I can follow a process, see what it connected to or what it left on disk. If someone uses a stolen session from another device, it may be that on the user's corporate machine there's not even a trace of what they do afterward in the application.
To give an example, to know whether the attacker opened a document: with authentication logs I can tell you the account logged in. To know whether the file was opened, the application has to have recorded the opening and still retain that log. And even with it right in front of me... if the user works with that file daily and the office's public IP appears in the event, it's perfectly possible that they opened it themselves. But several machines go out through that IP. If the attacker used the stolen session from another of those machines, I'd see the same account and the same IP in both cases.
8L: You've designed and run honeypots. Do you see a role for deception in identity defense? Can you set a trap for an attacker abusing legitimate credentials, like a "honey credential," or do you find it odd?
Andrés: Not only do I not find it odd, it seems to me one of the techniques with the best cost-benefit ratio. In an environment full of false positives, the use of some trap credentials, a fictitious user, or a secret that no one should ever touch, gives us a very reliable signal that something strange is going on. That said, the deception has to be credible, and that's perhaps the hardest part: integrating the breadcrumb well into the environment. Leaving the credentials of an account no one uses in a config file might seem like a good idea, but to an attacker with some skill it's suspicious; if instead you inject them into memory, it stands out much less. And in the cloud it's exactly the same: leaving some AWS keys or a Service Principal lying around in an old public repository stands out much more than putting a trap secret in a real secrets manager, in a container's environment variables, or inside a bucket you only reach if you're already enumerating permissions from within.
8L: Detecting is one part; responding is another. When you confirm an identity is compromised, what makes the response harder than with an infected endpoint? Can you "isolate" an identity the way you isolate a machine, or is it more complicated?
Andrés: Isolating a machine these days, if it has an EDR agent, tends to be pretty direct if the machine is connected and the agent responds: you request the isolation and confirm it's been applied. With an identity it's much, much more complex, especially if it's a privileged account. To begin with, changing the password isn't enough: if the attacker already had a session in an application, that session may stay active after the password change, so it becomes necessary to revoke the relevant sessions and refresh tokens. On top of that, they may have left persistence: a new MFA method, a new device added to Entra, or a new application with privileges in the cloud.
Also, in the case of service accounts, you have to bear in mind that it can have impact; so they can't be blocked without prior consultation or authorization, without being clear about which processes depend on them, etc.
8L: Do you have an unpopular opinion about detection, response or identity security that you'd defend even knowing a lot of people in the sector wouldn't agree?
Andrés: Well, I'm not sure it's an unpopular opinion, because I think it's something we analysts all agree on and, on the other hand, the management folks looking at KPIs not so much. I think the obsession with 100% coverage in matrices like MITRE ATT&CK doesn't make much sense. There's a kind of fever for turning the matrix squares green, creating detection rules to cover techniques that will never apply to you, while basic things get neglected, like permission hygiene, real visibility of identity logs, or having a clear response process that doesn't break because it has to be applied on a Friday afternoon and half the escalation tree is unavailable.
If anything stays from this conversation with Andrés, it's that view from the other side of the alert. A good detection isn't the one that covers the most techniques in a matrix, but the one that, when it fires at three in the morning, tells the analyst on call what happened, why it matters, and where to pull the thread. And in identity, where the attacker comes in with a valid session, at the usual time, from the usual network, that clarity is exactly what's most lacking: not more rules, but detections that tell the user apart from whoever's impersonating them, and a response plan that doesn't break on a Friday afternoon.
Identity Attack, Unfiltered
Identity Attack, Unfiltered is 8Layers' biweekly series where we give security experts the floor to talk, unfiltered, about identity risk: how they see it from the field, what worries them, and what they'd do differently. Each conversation adds a different perspective, from governance to digital forensics, from the SOC to threat intelligence.
The series grows out of what we do at 8Layers: uniting in a single view of identity what normally lives apart: posture, detection, and compliance.
Do you work in identity security and feel you have something to contribute? We'd love to hear from you. Write to us at marketing@8layers.io and tell us your perspective; you could be the next voice in the series.