Security operations

What Is a Nation State Attack? How Government Hackers Operate

Nation state attacks are the most patient and best-resourced cyberattacks there are. Here is what they are, how they work, the real campaigns to know, and the defenses that actually help.

Cysoro Security TeamPublished · 8 min read
APT • ESPIONAGE • DISRUPTION SECURITY OPERATIONS Nationstate attack Government hackers. Patient, funded, stealthy.
Quick answer

A nation state attack is a cyberattack carried out, sponsored or directed by a government, usually by its intelligence or military units or by contractors and criminal groups working on its behalf. Unlike ordinary cybercrime, these attacks are funded by state budgets, run for months or years, and aim at espionage, intellectual property theft, pre-positioning inside critical infrastructure, or disruption — not a quick ransom.

Key takeaways

  • A nation state attack is defined by who sponsors it — a government — while APT describes how it is run: advanced, persistent and stealthy.
  • CISA tracks four main state threats to the United States: China, Russia, Iran and North Korea, each with different goals.
  • Small businesses are hit as suppliers and stepping stones, so patching, phishing-resistant MFA and central logging are the defenses that matter most.

Most cyberattacks want your money and want it fast. A nation state attack is different: it is funded by a government, it can run quietly for years, and its goal may be to spy on you — or to sit inside your network until the day it is ordered to break something.

What is a nation state attack?

A nation state attack is a cyberattack carried out, sponsored or directed by a government. The people behind it are usually intelligence or military units, or contractors and criminal groups working on the government's behalf. CISA, the US Cybersecurity and Infrastructure Security Agency, describes these adversaries as known for advanced persistent threat activity: well-resourced, sophisticated, targeted and aimed at prolonged intrusion.

These attacks are also called state-sponsored attacks or state-sponsored hacking. The targets are usually governments, defense contractors, technology companies, telecom providers, energy and water utilities, and the suppliers that serve them.

What sets them apart is not the tools — criminals use many of the same techniques — but the backing. A government attacker has a budget, staff, time and political cover that no criminal gang can match. That is why these campaigns can stay inside a network for years without being found.

How is a nation state attack different from other cyberattacks?

Attackers differ in who they are, what they want and how long they stay. A ransomware gang wants a payout this week. A nation state attacker may want a foothold they can use in five years.

Nation stateOrganized cybercrimeHacktivistInsider
Who paysA governmentCriminal profitsSupporters or self-fundedSelf or a buyer
Main goalEspionage, disruption, strategic advantageMoney: ransom, fraud, theftPublicity, protest, embarrassmentMoney, revenge, ideology
ResourcesEffectively unlimitedHigh, but profit-limitedLow to moderateDepends on access
Time in networkMonths to yearsDays to weeksHours to daysAs long as employed
StealthVery high, custom tools, living off the landModerate, wants to be noticed for paymentLow, wants attentionHigh, uses legitimate access
Typical targetsGovernment, defense, infrastructure, techAnyone who can paySymbolic organizationsTheir own employer

The lines blur in practice. The FBI notes that state actors increasingly make common cause with financially driven hackers, producing a blended threat — for example, North Korean groups that steal cryptocurrency to fund the regime. That is why attribution, working out who is really behind an attack, is hard and often takes months.

What are the goals of a nation state attack?

Nation state attacks serve national strategy, not a bank balance. The same campaign can serve several goals at once, and the goal can change over time — an espionage foothold today can become a sabotage position tomorrow.

  • Espionage. Stealing diplomatic, military and political intelligence. This is the oldest and most common goal.
  • Intellectual property theft. Taking research, designs and trade secrets, sometimes to pass to domestic industry. The FBI has open counterintelligence investigations in all 55 of its field offices, with a heavy focus on technology theft.
  • Pre-positioning. Quietly gaining access to critical infrastructure — power, water, transport, telecom — so it can be disrupted in a future crisis or conflict.
  • Disruption and destruction. Taking systems offline, corrupting data or damaging physical equipment, as in the attacks on Ukraine's power grid.
  • Revenue. North Korea in particular uses cyber theft, including cryptocurrency heists, to fund the regime and evade sanctions.
  • Influence and suppression. Stealing and leaking information to embarrass or manipulate, or targeting dissidents, journalists and activists.

How does a nation state attack work?

Most nation state campaigns follow the same multi-stage pattern. Each stage is a chance for defenders to catch them — and each stage they survive makes them harder to remove.

The nation state attack lifecycle 1Reconmap the target,its people andits suppliers 2Initial accessspear phishing,VPN or routerflaws, supply chain 3Persistencestolen accounts,scheduled tasks,extra footholds 4Move laterallysteal credentials,reach serversand controllers 5Collectfind and copyemails, files,keys and data 6Actexfiltrate,disrupt orwait silently Defenders get a chance at every stage — most campaigns are caught at stages 2 to 4. Living off the land: using built-in tools such as PowerShell instead of custom malware.
The six stages of a nation state campaign, from reconnaissance to action. Illustration by Cysoro.

Reconnaissance comes first. Attackers study the target's website, job ads, LinkedIn profiles and suppliers, and scan for internet-facing systems. They often enter through a supplier or a partner with weaker security.

Initial access usually arrives as a spear phishing email aimed at one person, or through a vulnerability in a VPN, firewall or router. The Volt Typhoon group, for example, exploited known and zero-day flaws in public-facing network appliances, according to the joint CISA, NSA and FBI advisory.

Persistence and lateral movement follow. Attackers steal credentials, create new accounts and move from workstation to server to domain controller. They favor living off the land techniques: using legitimate admin tools already on the system so their activity blends in with normal work.

Collection and action come last — or never. Some groups quietly copy data for years. Others, like Volt Typhoon, appear to have pre-positioned inside critical infrastructure without stealing much at all, which CISA assessed as preparation for disruptive attacks in a future conflict.

Who are the main nation state actors?

CISA names four governments as the main state-sponsored cyber threats to the United States. Each has a different style, and knowing the style helps you recognize the threat.

China

China runs the largest and most persistent campaigns against the United States, focused on espionage, intellectual property theft and pre-positioning in critical infrastructure. The Volt Typhoon group compromised communications, energy, transportation and water organizations, in some cases holding access for at least five years.

The Salt Typhoon campaign breached US telecom providers to steal call records and, in a smaller number of cases, the content of calls and texts from government and political figures, according to FBI testimony to Congress.

Russia

Russia's operations combine broad espionage with disruptive attacks, including the 2020 SolarWinds supply-chain compromise, in which malicious code was hidden in software updates used by thousands of organizations. Russian groups also run hack-and-leak operations and target elections and political processes.

Iran

Iran's cyber capabilities have grown steadily and are used to suppress dissent, harm regional adversaries and target US organizations. Iranian groups have run destructive attacks against private companies and attempted to interfere in US elections.

North Korea

North Korea uses cyber operations to collect intelligence and generate revenue, including large cryptocurrency thefts. The FBI reported initiating the return of $31 million in virtual assets stolen by North Korean cybercriminals, and has disrupted North Korean operations that targeted US technology and defense companies.

Attribution is never simple. Researchers give groups code names — Volt Typhoon, Salt Typhoon, APT28, Lazarus — and different firms often use different names for the same group. The Congressional Research Service notes there is no ultimate arbiter of naming, and that government investigators combine tradecraft, infrastructure and intent evidence before attributing an attack with high, moderate or low confidence.

What are real examples of nation state attacks?

Three campaigns show the range of what nation state attackers do, and why they are hard to stop.

Volt Typhoon: pre-positioning in critical infrastructure

In February 2024, CISA, the NSA and the FBI warned that a China-linked group called Volt Typhoon had compromised IT networks in communications, energy, transportation and water organizations across the United States, including Guam. The agencies assessed that the group was not there to spy, but to pre-position for disruptive or destructive attacks in the event of a future conflict. Some footholds had lasted at least five years.

Salt Typhoon: breaching the telecom networks

In late 2024, the FBI and CISA confirmed that China-affiliated actors had gained access to several commercial telecom providers, stealing customer call records and eavesdropping on a limited number of people, many of whom worked in government or politics. The FBI said the operators behind Salt Typhoon keep pressing to breach telecom infrastructure and other critical networks.

SolarWinds: the supply-chain attack

Discovered in December 2020, the SolarWinds compromise hid malicious code in legitimate software updates, which were then installed by thousands of organizations, including US government agencies. The US government attributed the campaign to Russia. It remains the textbook example of why a trusted vendor update can be the most dangerous way in.

How can you tell if you are being targeted?

You probably cannot prove a nation state actor is in your network — that takes forensic analysis. But several signals, especially together, suggest a patient, well-resourced intruder rather than an ordinary criminal.

  • Long dwell time. Logs show a foothold that has existed for months, with slow, careful activity rather than a smash-and-grab.
  • Custom or fileless malware. Tools that are not seen elsewhere, or attacks that use only built-in admin tools and stolen credentials.
  • Credential theft at scale. The domain controller database was copied, or many accounts were created or modified.
  • Strategic targeting. The intruder went after research data, executive email, source code or operational technology, not payroll or customer payment cards.
  • Careful cleanup. Logs were deleted or altered, and the intruder returned after being removed, suggesting multiple footholds.
  • Your sector or customers match. You work in defense, energy, telecom, biotech or semiconductors, or you supply organizations that do.

If you see these signs, do not try to handle it alone. Preserve logs, isolate affected systems if you can do so safely, and contact CISA and the FBI. A nation state intrusion is a national security matter, and government teams can bring intelligence and help you do not have.

How do you defend against nation state attacks?

No small business can outspend a government, and you do not need to. Nation state attackers look for the easiest path in, and the same basic controls that stop criminals also raise the cost for them — often enough to make them move on to a softer target.

Five defenses that raise the cost for state attackers 1Patch internet-facing devices fastVPNs, firewalls and routers are the usual way in — fix them within days, not months 2Phishing-resistant MFApasskeys and security keys beat codes a spear phishing page can steal 3Central logging and baselinesknow what normal looks like, so months of quiet intrusion stands out 4Segment networks and limit admin rightsa breached laptop should not reach the domain controller or factory floor 5Offline backups and an incident planknow who to call — CISA, the FBI — before you need to call them
Defense in depth against nation state attackers — each layer catches what the one above misses. Illustration by Cysoro.

Patch internet-facing devices fast. Nation state groups routinely exploit known vulnerabilities in VPNs, firewalls and routers. CISA's Known Exploited Vulnerabilities catalog lists the flaws attackers are actually using — patch those first.

Use phishing-resistant MFA. Spear phishing is the most common way in, and one-time codes can be stolen by a fake login page. Passkeys and FIDO2 security keys are bound to the real site, so they cannot be phished. Our guide to what spear phishing is explains the attack in detail.

Log centrally and know your baseline. Send logs to a central, tamper-resistant location and learn what normal looks like. A quiet intrusion is only visible if you can spot what changed. CISA recommends establishing a baseline of normal host and user activity.

Segment and limit privilege. Separate IT from operational technology, keep admin accounts few and monitored, and assume any single device can be compromised.

For a wider starting point, our small business cybersecurity checklist covers these controls alongside backups, updates and device security.

The bottom line

A nation state attack is a government-backed campaign: patient, well-funded and aimed at espionage, theft or future disruption. You may never be its main target, but if you supply, serve or connect to organizations that are, you are part of its path in.

The defense is not exotic. Patch fast, lock logins with phishing-resistant MFA, watch your logs and keep offline backups — and report anything suspicious to CISA and the FBI. You can start by checking how exposed your own domain is with the free DMARC checker.

Frequently asked questions

What is a nation state attack in simple terms?

It is a cyberattack run or paid for by a government. Instead of stealing money quickly, the attackers usually spy, steal secrets, or quietly position themselves inside important networks so they can cause damage later if a conflict breaks out.

What is the difference between a nation state attack and an APT?

Nation state describes who is behind the attack: a government. APT, short for advanced persistent threat, describes how the attack is run: with advanced tools, over a long time, staying hidden. Most nation state campaigns are APTs, but a state can also run a quick noisy attack.

Which countries carry out nation state attacks?

CISA names four governments as the main state-sponsored cyber threats to the United States: China, Russia, Iran and North Korea. Other governments also run cyber operations, but these four appear most often in US government warnings.

Can a nation state attack target a small business?

Yes. Small businesses are attacked directly for their data and as a stepping stone into larger customers, partners or government agencies. A supplier with weak security is often the easiest way into a well-defended target.

How long do nation state attacks last?

Months or years. In the Volt Typhoon campaign, CISA reported that some intrusions into US critical infrastructure had lasted at least five years before they were found. The attackers stay quiet and keep several ways back in.

What is living off the land in a nation state attack?

It means the attackers use tools that are already installed on the victim's computers, such as PowerShell and built-in admin utilities, instead of bringing their own malware. That makes them much harder to spot, because their activity looks like normal admin work.

How do you defend against a nation state attack?

The same fundamentals as against other attackers, applied consistently: patch internet-facing devices fast, use phishing-resistant MFA, keep central logs and review them, segment networks, and back up important data offline. CISA's Cybersecurity Performance Goals are a good free checklist.

Should I report a suspected nation state attack?

Yes. In the United States, report it to CISA at cisa.gov/report or call 1-844-Say-CISA, and to your local FBI field office or the FBI's IC3 at ic3.gov. Early reporting helps other potential victims and brings in government help.

Sources

  1. CISA — Nation-State Threats
  2. Congressional Research Service — Cybersecurity: Selected Cyberattacks, 2012-2024
  3. FBI — Worldwide Threats to the Homeland (statement for the record)
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against CISA's nation-state threats guidance, the Congressional Research Service's cyberattack inventory and FBI testimony to Congress.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free