Threat detection, explained

Advanced Persistent Threat Detection: Spotting the Attack That Doesn't Leave

Advanced persistent threat detection is the discipline of finding attackers who do not want to be found — intruders who get inside a network, settle in quietly, and work towards a goal over weeks or months instead of smashing and grabbing in an afternoon. The "advanced" is their skill and tooling, the "persistent" is their refusal to leave, and the "threat" is that they have a specific target in mind. This page explains what makes an APT different from ordinary malware, how detection works when the attacker is trying to look normal, and what organisations of any size can realistically do about it.

Decide what you are looking at: APT or ordinary malware?

Suspect an APT when…

The signs stretch over weeks: logins at odd hours that keep recurring, an account touching systems it has no business touching, data moving out in small amounts over time, or a security tool that keeps getting disabled and re-enabled. The pattern is patient and deliberate, and the pieces only make sense together.

Probably ordinary malware when…

The infection is loud and fast: a phishing attachment runs, files get encrypted within hours, a ransom note appears, or a single machine starts mining cryptocurrency. The damage is immediate, the motive is obvious, and cleaning the machine ends the incident.

Check first: the boring explanations

Before concluding you face an APT, rule out the ordinary: a backup job that runs at night, a new employee whose role genuinely spans systems, a misconfigured tool phoning home. Good detection starts by knowing what normal looks like on your own network — without that baseline, everything looks suspicious and nothing gets investigated properly.

The decision matters because the response is completely different. Ordinary malware is cleaned up: isolate the machine, wipe it, restore from backup, move on. An APT is a campaign: cleaning one machine while the attacker still holds credentials elsewhere simply tells them you noticed, and they will go quieter and deeper. The right response to a suspected APT is containment of the whole footprint, password resets across the board, and a hunt for every foothold — work that takes days and needs someone in charge.

How detection works against a quiet attacker

Behavioural baselines

Detection starts with knowing normal: which accounts log in when, which machines talk to which servers, how much data usually leaves the network. An APT's movements are only visible against that background. A finance account logging into a development server at 3 a.m. is not suspicious in a vacuum — it is suspicious because that account has never done it before.

Lateral movement signs

Attackers rarely land where they want to be. They land where they can, then move sideways: harvesting credentials, using legitimate remote administration tools, and hopping from workstation to server. The signs are subtle — a helpdesk tool used from an unusual machine, a service account authenticating to dozens of systems in an hour — but they are distinctive once you know to look for them.

Persistence mechanisms

Staying inside means surviving reboots and password changes. Attackers plant scheduled tasks, new services, modified startup entries, or extra accounts. Hunting for persistence means regularly checking for these mechanisms and asking, for each one, who created it and why. An unexplained scheduled task on a server is worth more investigation than a dozen antivirus alerts.

Data staging and exfiltration

Before data leaves, it is usually gathered and compressed somewhere inside the network — a staging folder, an archive on an unmonitored share. Watching for large archives appearing in odd places, or for steady small transfers to an unfamiliar destination, catches the attack at its last stage, when there is still something to protect.

What an APT actually is

An advanced persistent threat is not a piece of malware. It is a campaign, run by a skilled and resourced attacker — often a group, sometimes backed by a state — against a specific organisation, for a specific goal: stealing intellectual property, gathering intelligence, or positioning for future disruption. The campaign runs in stages. Initial access comes through spear phishing, a compromised credential, or an unpatched internet-facing system. Then the attacker establishes a foothold, explores the network quietly, escalates privileges, moves sideways towards the target, and finally takes what they came for — or waits, sometimes for a long stretch, for the right moment.

Two features define the APT. The first is the use of legitimate tools: the attacker's favourite software is often the same administration software the IT team uses, which makes their activity hard to distinguish from normal work. The second is patience. Where ordinary malware wants a quick payoff, an APT operator will wait weeks between steps, keep their traffic low, and avoid anything that would trip an alarm. The dwell — the time between getting in and being found — is often measured in weeks or months rather than hours, not because defenders are slow but because the attacker is careful.

It is worth saying plainly that the term is overused. Vendors label almost any serious attack an APT, because the label sounds more threatening and justifies more expensive tools. A ransomware gang that encrypts a network in a weekend is not an APT, however damaging it is. The label should be reserved for campaigns that show the hallmarks: a specific target, custom tooling, staged goals, and a long quiet presence. Using it loosely makes real APT detection harder, because teams start looking for ghosts instead of learning their own network's normal behaviour.

What to do when you suspect one

The first rule is the hardest: do not tip off the attacker. If you wipe the one machine you found, you lose the evidence that would have shown you the rest of the footprint, and the attacker simply moves to a foothold you have not found yet. The correct first move is quiet observation — preserve logs, snapshot the affected systems, and watch what the intruder does next, while a small team plans the containment.

The second rule is to scope before you clean. Map every compromised account, every machine the attacker touched, and every persistence mechanism they planted. Then contain them together, in one coordinated action: reset credentials, disable the attacker's access, remove the footholds, and restore affected systems from known-good backups. A partial cleanup is worse than a slow one, because it leaves the attacker inside with a warning.

The third rule is to bring help early. Most organisations, large or small, do not have an incident response team sitting idle. An external response firm, the organisation's insurer, and — where the law requires it — the relevant authorities should be involved while the intrusion is still being scoped, not after the cleanup. The cost of calling for help is real; the cost of a botched response is larger.

For smaller teams: you do not need a security operations centre to do the basics. Centralised logging that you actually retain, endpoint detection on every machine, multi-factor authentication everywhere, and a habit of reviewing privileged accounts will catch more APT activity than a shelf of expensive tools nobody watches. The most valuable detection tool is a person who knows what normal looks like and has the time to notice when it changes.

Frequently asked questions

What are the signs of an APT attack?

Signs include logins at unusual hours, accounts accessing systems they never normally touch, large or unusual data transfers, new scheduled tasks or services on servers, and security tools being disabled or blinded. No single sign proves an APT, but several together, especially over weeks, point to a patient intruder rather than a one-off infection.

How can organisations improve their APT detection capabilities?

Start with visibility: centralised logging, endpoint detection, and network monitoring that records what actually happened. Then build a baseline of normal behaviour so anomalies stand out, hunt proactively for the signs of lateral movement and persistence, and rehearse the response so a confirmed intrusion is contained in hours rather than weeks.

Is APT detection only for large enterprises?

No. Smaller organisations are targeted too, often as a route into a larger partner or customer, or simply because their defences are thinner. The tooling scales down: the same ideas — logging, baselines, watching for lateral movement — work for a small team, even if the tools are simpler and the hunting is part-time.

What is the difference between an APT and ordinary malware?

Ordinary malware is usually opportunistic and noisy: it infects, does its damage, and is often caught quickly. An APT is a campaign by a skilled, resourced attacker with a specific goal, who stays quiet, uses legitimate tools, moves slowly between systems, and works in stages over a long period. The difference is intent, patience, and persistence, not just the code involved.

Related reading

Keep your real inbox for the accounts that matter.

Use a free disposable address for signups and trials, and keep your primary email for the banking, recovery, and paid accounts an APT would prize.

Get a free temp inbox at TempoMailUSA