Writing
detection engineering
33 articles on this subject.
A vendor's app made itself Global Admin: ConnectWise, Entra service principals and stolen app secrets
In October 2026 a stolen vendor credential let ConnectWise Cloud Management apps assign themselves directory roles in customer Entra tenants. Weeks later a second campaign signed in as customers' own apps using client secrets found in GitHub. What the audit trail looks like, how we test for it, and what to change.
10 min read
Qubole and the AWS cross-account role trap: your vendor's IAM role is an open door
Between 14 and 26 October 2026, an actor used a vendor's AWS account to assume customer integration roles, every call carrying a valid ExternalId. How cross-account trust is abused, the CloudTrail hunt, how we test for it, and the trust-policy changes that would have stopped it.
9 min read
ARTEX and the agentic attacker: 27 AWS events in 23 seconds, and what to do about it
An open-source AI pentest framework is now running against real AWS accounts and Entra tenants. What it does with a leaked key, the CloudTrail and sign-in traces it leaves, how we test for the same path, and the controls that shrink the speed advantage.
9 min read
The URL bar is not lying to you. The window around it is.
Browser-in-the-browser phishing draws a convincing fake popup inside the attacker's page. Why checking the URL does not protect users, and what does.
11 min read
The tool defenders use to watch Linux is the tool attackers use to hide
EDR on Linux runs through eBPF. So do the rootkits. How they hide from ls, ps and bpftool, what the hook can and cannot reach, and what constrains it.
13 min read
Insecure data storage on Android: CVE-2018-19981 and the token sitting in plaintext
An access token in SharedPreferences, a password in a log, an admin credential on the SD card. Android isolates app storage well, and then the app writes secrets where isolation does not reach, or where a backup carries them off the device. What to check, where each secret hides, and what to use instead.
8 min read
Insecure LLM output handling: CVE-2024-5565 and the model reply that ran as code
Prompt injection gets the model to say something. This is about what happens next: when a sink trusts the model's output and runs it, and when an agent with tools can reach further than anyone intended. The Vanna RCE, the LangChain exec chains, and how to bound both.
9 min read
CI/CD injection: CVE-2023-49291, pull_request_target, and the branch name that ran as your pipeline
A pull request title, a branch name, a commit message: all attacker-controlled, all substituted into a shell script before it runs. Combine that with a trigger that hands out write access and secrets, and a stranger's fork owns your pipeline. How the tj-actions bugs worked and how to find the pattern in your own workflows.
9 min read
Dependency confusion: CVE-2026-54232, torchtriton, and the package name nobody registered
A package name is not an address. When two indexes can answer for the same name, the resolver picks the winner, and in pip's default mode the winner is whoever published the higher version. How vLLM's build got caught, how PyTorch's did, and how to find the same gap in your own manifests.
9 min read
Deleting the file does not remove the secret: git history, and why Toyota's key sat exposed for five years
A committed secret lives in git history and in cached copies on the host, not in the file you deleted. Why a new commit changes nothing, what actually removes it, and why the only safe assumption is that the credential is already burned.
9 min read
Delegation abuse: unconstrained keeps the TGT, constrained trusts the wrong bit
Kerberos delegation lets a service act as you. Unconstrained delegation caches your TGT on the server; constrained and resource-based delegation trust attributes an attacker can often set. What CVE-2020-17049 changed, and how to find and fix delegation in your directory.
8 min read
PetitPotam and the coercion family: making a domain controller authenticate to you, then relaying it
NTLM relay needs a victim to authenticate. Coercion supplies the victim on demand. What CVE-2021-36942 fixed, why PetitPotam and PrinterBug are a family, and how signing, EPA and RPC filters break the chain.
8 min read
Kerberoasting: any domain user can ask for the crackable hash, and the request looks normal
Kerberoasting turns one ordinary domain account into offline password cracking against every service account with an SPN. What makes it work, why RC4 is the tell, and how to shrink the attack surface with AES, gMSAs and event 4769.
9 min read
Your state file is a plaintext credential store: Terraform secrets and CVE-2024-47083
Terraform stores secrets in state in plaintext by design, and the tooling around it leaks the same secrets into logs and CI. CVE-2024-47083 is one named instance; the sensitive flag protects your terminal, not your state.
8 min read
Hardening off, namespaces on: container escape and CVE-2022-0492
A container escape is rarely about breaking a sandbox. It is about a capability or a mount the container should never have held. CVE-2022-0492 let a container without CAP_SYS_ADMIN obtain it inside new namespaces and reach root on the host through the cgroups release_agent.
8 min read
Reaching a service account that outranks you: Kubernetes RBAC escalation and CVE-2021-25742
Kubernetes RBAC escalation is rarely a broken authorizer. It is a verb whose blast radius you underestimated, or a component whose service account outranks the caller. ingress-nginx CVE-2021-25742 is the second kind.
8 min read
The bucket was never the secret: object storage exposure and presigned URL abuse
Public buckets, leaked credentials and over-scoped presigned URLs are three different object-storage failures with one outcome. MinIO CVE-2023-28432 shows why the keys, not the objects, are the prize.
9 min read
Subdomain takeover: the CNAME that outlived the thing it pointed at
A subdomain takeover happens when a DNS record still points at a cloud resource you already deleted, and an attacker recreates that resource to claim your subdomain. Here is the dangling-DNS distinction, a real CVE, a detector you can build against your own zone, and the decommissioning discipline that prevents it.
9 min read
SAML signature wrapping and Golden SAML: a valid signature on the wrong assertion
A SAML response can carry a genuine, valid signature and still be a forgery, because the service checks that a signature exists rather than that it covers the assertion it trusts. That gap is signature wrapping. Golden SAML is its post-compromise cousin. Here are the real CVEs, a lab, and the verification logic that closes both.
9 min read
The cache said yes: web cache deception, cache poisoning, and CVE-2024-46982 in Next.js
Web cache deception stores a victim's private response for anyone to fetch; cache poisoning stores an attacker's response for everyone. Both come from the cache and the origin disagreeing about a URL. CVE-2024-46982 in Next.js is the current, well-documented case.
9 min read
One request, two lengths: HTTP request smuggling and the HAProxy Transfer-Encoding bug
CL.TE and TE.CL desync happen when two servers disagree about where a request ends. CVE-2019-18277 in HAProxy is the clean example: how the disagreement forms, how to find it safely, and how to shut it down.
8 min read
login failure for user -2 via ssh: triaging a compromised MikroTik RouterOS device
login failure for user -2 via ssh in a RouterOS log means the MikroTrick chain reached your router. What the -2 means, how to triage it, and what rebuild means.
13 min read
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate is not corruption, and verify=False is not a fix
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate means no path to a trusted root. The five real causes, and why verify=False is not a fix.
13 min read
COPY ... TO PROGRAM in mail_logs: what Cisco's CVE-2026-76461 indicator actually means
COPY ... TO PROGRAM is a documented PostgreSQL feature that runs shell commands. Why Cisco's CVE-2026-76461 grep turns SQL injection into root, and how to hunt it.
12 min read
Non-human identity: 109 machine accounts per human, and the offboarding process that never runs
Service accounts, API keys, OAuth grants and CI/CD secrets hold broader access and longer-lived credentials than any employee would be permitted to carry, and none of them appear in an access review. Inventory, short-lived tokens, and the IAM calls that give the game away.
8 min read
Indirect prompt injection: EchoLeak, CVE-2025-32711, and the email nobody opened
A crafted email sitting unread in an inbox was enough to make Microsoft 365 Copilot exfiltrate internal data. The injectable surface is every document the model reads, and the control that bounds it is least privilege on tools.
7 min read
Your certificate authority is an authentication system: ESC1, the SID extension, and what changed in 2025
ESC1 turns a low-privileged domain account into a domain admin certificate. Strong certificate mapping was supposed to end that, and since September 2025 it cannot be switched off. Here is what still works, what does not, and how to check your own templates.
8 min read
Race conditions are not hard any more: the single-packet attack and what it broke
Web race conditions were dismissed as theoretical because network jitter made the window unhittable. Then HTTP/2 removed the jitter. The technique, the sub-states nobody models, and how to build code that cannot race.
7 min read
Sudo is a shell in disguise: CVE-2025-32463, GTFOBins, and reading sudo -l properly
A 9.3 in sudo itself, plus twenty ways a single sudoers line hands over root. How to read sudo -l like an attacker, why the chroot bug worked, and what a safe sudoers policy looks like.
7 min read
SSRF to cloud takeover: what Capital One taught us, and why half of EC2 still has not learned it
One HTTP request to 169.254.169.254 turned an SSRF into 100 million records. Seven years on, IMDSv2 fixes it and adoption is roughly half. How the attack works, why v2 stops it, and how to enforce it.
7 min read
Shadow APIs: the v1 endpoint nobody remembered to switch off
Every API inventory is a snapshot of what someone remembered to document. The gap between that list and what your servers actually answer is where breaches live, how to find zombie, shadow and orphaned endpoints, and how to stop creating them.
9 min read
MFA succeeded and the account still fell: adversary-in-the-middle phishing and session cookie theft
The phishing chain that still works against companies with MFA switched on. A reverse proxy sits in front of the real login page, the victim authenticates for real, and the attacker keeps the session cookie.
7 min read
Active Directory is walked, not exploited: BloodHound edges, Kerberoasting and ADCS ESC1
Domain compromise is almost never a memory-corruption bug. It is a graph traversal across permissions somebody granted on purpose. Here are the three routes that keep working, and what to check tonight.
8 min read
Other subjects
- penetration testing30
- cve analysis26
- secure code review22
- web security15
- authorization9
- cloud security9
- active directory7
- api security7
- python7
- cryptography6
- ai security4
- container security4
- linux privilege escalation3
- ssrf3
- identity security2
- insecure deserialization2
- phishing2
- supply chain security2
- windows security2