Attackers use TCP (ISN) Greatest Common Divisor Probe to analyse how initial sequence numbers change across connections and infer the generator’s pattern. If the pattern is weak, spoofing and connection hijacking become easier. Defenders should treat unusual repeat connection tests as reconnaissance and confirm that TCP initial sequence numbers are not predictable.
What the probe is actually testing
The greatest common divisor probe is a way of checking whether TCP initial sequence numbers advance in a regular, low-entropy pattern. Attackers are not just “looking at packets”; they are trying to learn whether the sequence-number generator can be predicted well enough to support spoofing, session takeover, or other off-path abuse.
That makes the probe useful as a reconnaissance step, because it turns a normal transport-layer behavior into a measurement of predictability. If the outputs cluster around a repeatable increment or a weak cycle, the attacker has learned something actionable about the target’s TCP stack or host implementation.
In practice, the value of the technique is in correlation. A single connection rarely proves much, but a series of test connections can reveal whether the initial sequence number behaves like a strong random value or a pattern an attacker can model.
How attackers turn sequence-number predictability into abuse
Once an attacker understands the pattern, they can try to guess or align a forged TCP conversation more easily. The attack path is usually easier when the target still accepts spoofed packets, does not sufficiently validate session state, or is exposed to a trust relationship that assumes traffic is genuine.
This is why the probe matters operationally: predictable TCP state can lower the difficulty of connection hijacking and related spoofing techniques. In mature environments, the probe should be treated as a signal that someone is testing whether transport-layer trust can be abused, not just as generic noise.
For defenders, the key question is not whether the probe “worked” in isolation, but whether the exposed system would tolerate follow-on abuse if the attacker can approximate the sequence-number space accurately enough.
What defenders should confirm and harden
The first check is whether the host, appliance, or virtualized stack is generating TCP initial sequence numbers with sufficient randomness and per-connection variation. The second is whether monitoring can distinguish benign connection setup from repeated test traffic that looks like reconnaissance.
Network teams should also verify that spoofing does not become useful simply because of weak segmentation, permissive ACLs, or legacy services that still rely on unauthenticated TCP trust. The Network Ports and Protocols Security Guide is a useful companion when you are reviewing exposed services and the transport assumptions behind them.
When sequence-number predictability is suspected, the right response is usually to confirm implementation behavior, reduce unnecessary exposure, and validate that adjacent controls such as ingress filtering and session integrity are not allowing a weak transport assumption to become an account or service compromise.
Risk and Threat Considerations
Weak TCP sequence-number behavior creates a real exposure because it can reduce the effort required for spoofing, desynchronisation, or connection hijacking. The risk becomes more material when the target accepts traffic from trusted networks, maintains long-lived sessions, or still depends on transport assumptions that were safe only when sequence values were harder to predict.
Failure mechanism: The attacker performs repeated probes, infers the generator pattern, and then uses that knowledge to place forged packets into a live or newly opened TCP flow with less guesswork.
Impact: Successful prediction can enable session interference, unauthorized traffic injection, or a stepping stone to broader lateral movement when the TCP trust boundary is weak.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1021 — Remote Services | TCP hijacking and spoofing often target active network sessions and remote trust relationships. |
| Recommendation — Monitor remote session anomalies and restrict exposed services to reduce session-hijack opportunities. | ||
| NIST SP 800-53 Rev 5 | SI-4 — System Monitoring | Reconnaissance probes and unusual repeat connection tests are detectable monitoring events. |
| SC-23 — Session Authenticity | Predictable TCP state weakens assurance that a session is genuine and untampered. | |
| SC-8 — Transmission Confidentiality and Integrity | Connection hijacking and packet injection threaten traffic integrity over the network. | |
| Recommendation — Tune monitoring to flag repeated connection probes and transport-layer reconnaissance patterns. Enforce session authenticity controls where transport trust could otherwise be spoofed. Protect traffic integrity so forged packets cannot be inserted into active communications. | ||
Practitioner Guidance
What to verify: Confirm that the platform’s TCP stack is using strong, per-connection sequence generation and that the behavior is consistent across hosts, images, and virtualization layers. If the same pattern appears only on a subset of assets, treat that as an implementation drift issue rather than a network-wide assumption.
What to measure: Look for repeated connection attempts, short-lived test sessions, and unusual repetition against the same destination and port. A useful operational signal is whether those patterns appear before any successful session interference or only after a visible reconnaissance phase.
Practitioner takeaway: Treat sequence-number predictability as a transport trust problem first, and as an intrusion path second, because the practical defense is to remove the attacker’s ability to model TCP state before they can turn it into abuse.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org