ThisCalculator

Everyday

Cyber Intrusion: How Attackers Break In and Stay Hidden

Updated · Standard formula, shown below

Exfiltration rate 8.33 MB/min
Total hours
0.50 hours
Result
Time in system
30 minutes
You entered
Data exfiltrated
250 MB
You entered

This article explains what a cyber intrusion is, the common methods attackers use to break into systems, and the techniques they employ to maintain long-term access. You’ll learn about the intrusion lifecycle, how attackers avoid detection, and what defenders can do to disrupt them.

Formula

The calculator above estimates the average data exfiltration rate during an intrusion. The formula is:

Rate (MB/min) = Data Exfiltrated (MB) ÷ Time in System (minutes)

Where:

  • Data Exfiltrated (d) – the total amount of data stolen, in megabytes (MB).
  • Time in System (t) – the total time the attacker had access, in minutes.

The second output converts the time into hours for easier reading.

Worked Example

Using the default values: an attacker spent 30 minutes in a system and exfiltrated 250 MB of data.

  1. Rate = 250 MB ÷ 30 min = 8.33 MB/min
  2. Total hours = 30 ÷ 60 = 0.5 hours

The calculator shows an exfiltration rate of 8.33 MB/min and a total time of 0.50 hours.

What Is a Cyber Intrusion?

A cyber intrusion is any unauthorized access to a computer system, network, or data. It is not the same as a cyberattack – an intrusion is the act of getting in, while an attack can be anything from defacing a website to deploying ransomware. Intrusions are often part of a larger campaign, where the attacker’s goal is to steal data, spy, or prepare for a future destructive action.

Intrusions can be classified by the level of access gained:

  • Unprivileged access – the attacker can run basic commands but cannot change system settings.
  • Privileged access – the attacker has administrative or root rights, allowing full control.
  • Physical access – the attacker has direct contact with hardware, which usually leads to full compromise.

The term “intrusion” comes from the Latin intrudere, meaning “to thrust in.” In computing, it has been used since the 1980s to describe unauthorized entry into systems.

How Attackers Get In

Attackers use a variety of methods to gain initial access. The most common vectors are:

  • Phishing – sending emails that trick users into clicking malicious links or entering credentials on fake login pages.
  • Exploiting public-facing vulnerabilities – taking advantage of unpatched software flaws in web servers, VPNs, or remote desktop services.
  • Credential stuffing – using username/password pairs leaked from other breaches to try them on different sites.
  • Brute force – guessing weak passwords through automated attempts.
  • Supply chain attacks – compromising a trusted vendor’s software update to distribute malware.

Once the attacker has a foothold, they often use a web shell – a small script that lets them run commands on the server – or install a backdoor that bypasses normal authentication.

Maintaining Access: The Attacker’s Playbook

After gaining initial access, attackers work to keep it. This is called “maintaining access” or “persistence.” The goal is to survive reboots, credential changes, and even some security tools. Common persistence techniques include:

  • Scheduled tasks – creating tasks that re-run the malware at set intervals.
  • Registry run keys – adding entries that launch malware at every Windows startup.
  • Services – installing a malicious service that auto-starts.
  • Startup folders – placing executables in folders that run at login.
  • Account creation – making a new user with admin rights, often with a name that blends in.
  • WMI event subscriptions – using Windows Management Instrumentation to trigger code when certain events occur.

On Linux systems, attackers often modify cron jobs, add SSH keys to authorized_keys, or replace system binaries.

Moving Laterally and Escalating Privileges

Maintaining access is not just about staying in one machine. Attackers often move laterally across the network to reach valuable data or systems. They use:

  • Pass-the-hash – reusing password hashes captured from memory to authenticate elsewhere.
  • RDP (Remote Desktop Protocol) – connecting to other machines using stolen credentials.
  • Exploiting trust relationships – using one compromised domain account to access all machines in that domain.

To gain higher privileges, attackers may exploit local vulnerabilities, misconfigured sudo rules, or unpatched kernels. They also look for stored credentials in files, browsers, or the Windows Credential Manager.

Evading Detection

Attackers use several techniques to avoid being noticed:

  • Living off the land – using built-in system tools like PowerShell, WMI, or Python instead of uploading custom malware.
  • Encryption – encrypting command-and-control traffic to hide it from network monitoring.
  • Timestomping – changing file timestamps to make malicious files look old or legitimate.
  • Log deletion – clearing event logs or specific entries that would reveal their actions.
  • Process hollowing – running malicious code inside a legitimate process to hide from process lists.

These techniques are why intrusions can go undetected for months, as seen in many real-world breach reports.

How Defenders Disrupt Intrusions

Defenders can use several strategies to break the intrusion lifecycle:

  • Patch management – regularly updating software to close known vulnerabilities.
  • Multi-factor authentication (MFA) – requiring a second factor makes stolen credentials less useful.
  • Endpoint detection and response (EDR) – monitoring for suspicious behavior like unusual process execution or file changes.
  • Network segmentation – dividing the network into zones so a compromise in one area does not spread.
  • Least privilege – giving users only the permissions they need, reducing the impact of a compromised account.
  • Hunting for persistence – regularly checking for new accounts, scheduled tasks, and startup entries.

If an intrusion is detected, the response typically involves isolating affected systems, revoking credentials, and rebuilding compromised hosts from a known-good image.

Frequently Asked Questions

What is the difference between a cyber intrusion and a cyber attack?

An intrusion is specifically the unauthorized access itself. A cyber attack is a broader term that includes any malicious act, such as a DDoS (distributed denial-of-service) that does not require access, or a data breach that results from an intrusion.

How long do attackers usually stay inside a network?

It varies widely. Some intrusions last only minutes, while others remain for months or even years. The average dwell time (time from compromise to detection) is often cited as several weeks to months, but that figure changes over time and depends on the industry and security maturity.

Can antivirus software detect all intrusions?

No. Traditional antivirus relies on signatures of known malware, but many intrusions use legitimate tools or custom code that has no signature. That is why behavioral monitoring and threat hunting are essential.

What is a “zero-day” exploit?

A zero-day exploit targets a vulnerability that is unknown to the software vendor. Since there is no patch, it is extremely dangerous. Attackers often use zero-days to gain initial access in high-value targets.

Is a cyber intrusion always illegal?

In most jurisdictions, unauthorized access is illegal under computer fraud laws. However, authorized penetration testing (with written permission) is legal and is a standard security practice.

What should I do if I suspect an intrusion?

Disconnect the affected system from the network, preserve logs, and contact a professional incident response team. Do not delete files or attempt to “clean” the system, as that may destroy evidence.

Related

Formula used
in t | Time in system | minutes | 30 | 0
in d | Data exfiltrated | MB | 250 | 0
out rate | Exfiltration rate | MB/min | d / t | 2
out hours | Total hours | hours | t / 60 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.