>_ Exploit the Edge

Home › Cybersecurity

Network Defence: A Practical Baseline for 2026

Published 22 Nov 2026 · 9 min read

Start with assets, not security products

Network defence begins with four questions:

  1. What systems and data do you have?
  2. Who is responsible for each one?
  3. Which services are exposed or reachable?
  4. How would you detect and recover from a compromise?

This maps cleanly to the six functions in NIST Cybersecurity Framework 2.0: Govern, Identify, Protect, Detect, Respond and Recover. The framework describes outcomes rather than prescribing a particular product stack, so it works for organisations and serious home labs alike.

A firewall, endpoint agent or SIEM cannot compensate for an unknown internet-facing server, an unmanaged administrator account or a backup nobody has restored.

How do you build an asset inventory?

Record hardware, virtual machines, cloud resources, network devices, applications, identities and important data stores. At minimum, each entry should include:

Field Why it matters
Asset identifier Provides a stable name for tracking and incident response
Owner Identifies who approves changes and accepts risk
Location Shows whether the asset is on-premises, remote or cloud-hosted
Operating system or firmware Supports vulnerability and patch decisions
Business purpose Separates essential systems from disposable ones
Data classification Determines handling and access requirements
Exposure Records internet, VPN, management and internal access paths
Backup status Shows whether recovery is possible
Last reviewed Prevents the inventory becoming abandoned documentation

NIST CSF 2.0 places inventories of hardware, software, services and systems under its Identify function. It also calls for prioritising assets according to their classification, criticality, resources and operational impact.

Collect a local Linux snapshot

Run these commands only on systems you own or administer:

hostnamectl
ip -brief address
ip route
ss -lntup
lsblk --fs
systemctl list-unit-files --state=enabled

ip reports addresses and routes, while ss displays socket information, including listening TCP and UDP services. The commands provide evidence for an inventory; they do not discover every dependency, container, cloud resource or externally forwarded port.

On Debian or Ubuntu, list installed packages with:

dpkg-query -W -f='${binary:Package}\t${Version}\n' | sort

On an RPM-based distribution:

rpm -qa --qf '%{NAME}\t%{VERSION}-%{RELEASE}\n' | sort

Store the results somewhere access-controlled rather than leaving sensitive network details in a public repository.

Collect a local Windows snapshot

Open PowerShell as an administrator where required:

Get-ComputerInfo
Get-NetIPAddress
Get-NetRoute
Get-NetTCPConnection -State Listen
Get-Service | Where-Object StartType -eq 'Automatic'
Get-Package | Sort-Object Name

Microsoft documents Get-NetTCPConnection as returning current TCP connections, including local and remote addresses, ports and connection state. Review listening services against the system's intended role rather than assuming every open port is malicious.

Validate the inventory

Local commands miss systems nobody remembered to inspect. Compare the inventory with:

  • DHCP and DNS records
  • Router, firewall and VPN client lists
  • Hypervisor and container platforms
  • Cloud account inventories
  • Identity-provider accounts and service principals
  • Backup jobs
  • Endpoint-management records

Investigate discrepancies. An asset present in DHCP but absent from the inventory may be harmless, retired or unauthorised; the records alone do not establish which.

How should assets and data be prioritised?

Not every device needs identical controls. Classify assets by the impact of losing confidentiality, integrity or availability—three security objectives used throughout NIST SP 800-53.

A simple internal scheme can be enough:

  • Critical: identity systems, routers, hypervisors, backup infrastructure and essential production services.
  • Sensitive: systems holding personal, financial, health or confidential business data.
  • Standard: managed user endpoints and routine internal services.
  • Untrusted or experimental: guest devices, IoT hardware and temporary lab workloads.

Classification should produce action. Critical systems may need tighter administrative access, faster patch decisions, more detailed logging and tested offline recovery. Experimental devices should not automatically share a trusted network with identity, management or backup infrastructure.

Document dependencies as well. A service may appear non-critical while relying on the only DNS server, identity provider or storage array supporting the environment.

What is a secure configuration baseline?

A baseline is an approved configuration for a class of system. NIST SP 800-53 defines configuration-management controls covering baseline configurations, inventories, change control, least functionality and configuration monitoring.

For each operating system, network-device family or application, document:

  • Supported versions and patch process
  • Required services and ports
  • Approved administrator groups
  • Authentication requirements
  • Logging configuration and retention
  • Host firewall rules
  • Encryption requirements
  • Backup and restore procedure
  • Exceptions, their owners and expiry dates

Export the effective configuration where the platform permits it. Version-controlled configuration is easier to compare and review, but secrets must be kept out of the repository.

On Linux, start by identifying enabled services and listeners:

systemctl list-unit-files --state=enabled
ss -lntup

Before disabling anything, confirm its purpose and dependencies. Removing unused functionality reduces exposure, but an undocumented change can also create an outage.

Configuration drift should be reviewed rather than blindly overwritten. A change may represent authorised maintenance, an emergency fix, operator error or malicious persistence.

Which logs should you collect?

Logs are useful only when they answer operational questions. NIST SP 800-92 describes log management as the generation, transmission, storage, analysis and disposal of log data.

Prioritise records that help establish:

  • Who authenticated, from where and whether the attempt succeeded
  • When privileges or group memberships changed
  • Which configuration or policy changed
  • Which process started and, where appropriate, its parent process
  • Which network connection was allowed or blocked
  • Whether security tooling, backups or logging stopped
  • What happened on identity, DNS, VPN, firewall and cloud control planes

On a system using systemd's journal, inspect recent high-priority events with:

journalctl -p warning..alert --since '24 hours ago'

Review authentication-related SSH service events with:

journalctl -u ssh --since '24 hours ago'

Some distributions name that unit sshd instead of ssh:

journalctl -u sshd --since '24 hours ago'

For a portable incident snapshot:

journalctl --since '24 hours ago' --output=short-iso > journal-24h.txt
sha256sum journal-24h.txt > journal-24h.txt.sha256

A hash can later reveal whether the exported file changed, but it does not by itself prove who created the file or whether the original logs were complete.

Centralise high-value logs so that compromising one endpoint does not automatically remove every relevant record. Restrict access, synchronise system clocks and test alerts with benign events. Retention should follow operational, legal and contractual requirements rather than an arbitrary universal period.

What does defence in depth mean in practice?

Defence in depth means using controls that fail independently. It does not mean buying several tools that all depend on the same identity account or management plane.

A practical stack includes:

  1. Segmentation: separate users, servers, management interfaces, guests and untrusted IoT devices according to required communication paths.
  2. Strong identity: use individual accounts, least privilege and multifactor authentication, especially for administrators and remote access.
  3. Secure configuration: remove unnecessary services and manage changes against an approved baseline.
  4. Patch management: track supported versions, vulnerability exposure and compensating controls when immediate patching is not possible.
  5. Endpoint protection: collect useful host telemetry and restrict unauthorised execution where the platform supports it.
  6. Backups: maintain recoverable copies that are not all writable through the same compromised credentials.
  7. Detection and response: centralise important logs, define alerts and rehearse containment and recovery.

NIST SP 800-207 explains that zero trust removes implicit trust based solely on physical or network location. Access decisions should consider the requesting subject, asset and resource rather than treating an internal subnet as inherently safe.

Zero trust does not eliminate firewalls or segmentation. It changes the assumption behind access: being connected to a network is not sufficient authorisation.

Which security policies matter most?

Policies should describe decisions people can follow and administrators can enforce. A short, maintained policy is more useful than a long document disconnected from the environment.

Identity and authentication

Define account ownership, enrolment, recovery, privileged access and account removal. Require multifactor authentication where supported, with stronger methods for administrators and remote access.

Do not mandate arbitrary periodic password changes unless there is evidence of compromise or another defined reason. Current NIST digital identity guidance says verifiers should not require periodic password changes and should compare new passwords against blocklists of commonly used, expected or compromised values. It also states that password composition rules should not be imposed.

Password managers can support unique passwords, while phishing-resistant authenticators reduce reliance on reusable secrets. Recovery paths need equivalent protection; a strong sign-in method is undermined by a weak help-desk reset process.

Remote access

Specify:

  • Approved access methods and managed devices
  • Authentication requirements
  • Which resources remote users may reach
  • How administrative sessions are separated from routine activity
  • Logging and review requirements
  • Emergency revocation procedures

Avoid exposing management interfaces directly to the internet when a controlled administrative path can be used instead.

Personal and IoT devices

A BYOD policy should state which devices and operating-system versions are supported, what organisational data may be stored, what management is required, and how access is removed. Personal ownership does not remove the need to protect organisational accounts and data.

Devices that cannot meet the required baseline can be placed on a restricted network with access only to necessary services.

Vulnerability and patch management

Define who monitors vendor advisories, how affected assets are identified, how remediation is prioritised and how exceptions expire. A vulnerability score is one input; internet exposure, exploitation evidence, asset criticality and available mitigations also affect urgency.

Incident reporting

Give users one memorable reporting route and tell them what to include: the affected account or device, observed time, screenshot or message where safe, and actions already taken. Reporting should not require users to diagnose the incident first.

How should incident response work?

NIST SP 800-61 Revision 3 integrates incident response with CSF 2.0 risk management. Preparation therefore includes governance, asset knowledge, protective controls, detection capability and recovery planning—not just a document opened after an alert.

Create playbooks for likely scenarios such as:

  • Suspected account compromise
  • Lost or stolen endpoint
  • Malware detection
  • Exposed service or leaked credential
  • Ransomware indicators
  • Unauthorised configuration change
  • Data sent to the wrong recipient

Each playbook should identify decision-makers, technical contacts, communication channels, evidence to preserve, containment options and recovery criteria. Keep an accessible copy outside the systems most likely to be affected.

Run a tabletop exercise at least whenever the environment or response team changes materially. Use a plausible scenario and record unresolved questions, missing access and unclear authority. The exercise succeeds when it exposes gaps before a real incident—not when participants finish without finding any.

How does compliance fit into network defence?

Compliance requirements depend on jurisdiction, sector, contracts and the data being handled. They are constraints and minimum obligations, not a complete threat model.

Examples include:

  • The US Department of Health and Human Services publishes the HIPAA Security Rule for protecting electronic protected health information held by regulated entities.
  • PCI DSS defines security requirements for environments involving payment account data.
  • The EU's General Data Protection Regulation sets requirements for processing personal data within its scope.
  • California's CCPA gives covered consumers rights concerning personal information and places obligations on covered businesses.

Determine scope with qualified legal, privacy and compliance advisers. Passing an audit does not establish that an organisation is secure, and deploying a security control does not by itself establish legal compliance.

What changed since the original

The original 2023 article recommended regular password changes. Current NIST guidance says passwords should not be changed periodically without evidence of compromise, and it rejects mandatory composition rules. This revision also adopts the six functions in NIST CSF 2.0—including the added Govern function—and aligns incident-response planning with NIST SP 800-61 Revision 3.

Broad claims about “AI-powered attacks” and product categories have been removed. They did not help readers establish a measurable defensive baseline.

Actions to take today

  • [ ] Create one asset register with an owner, purpose, exposure and support status for every system.
  • [ ] Compare it with DHCP, DNS, firewall, hypervisor, cloud and backup records.
  • [ ] Review listening services on critical Linux and Windows hosts.
  • [ ] Remove or document unnecessary services and stale administrator accounts.
  • [ ] Enable MFA for administrative, email, VPN and cloud accounts.
  • [ ] Replace forced periodic password changes with long, unique passwords and compromised-password screening.
  • [ ] Centralise authentication, privilege, firewall, VPN and configuration-change logs.
  • [ ] Verify clock synchronisation and generate a benign event to test each important alert.
  • [ ] Restore one important system or dataset from backup in an isolated environment.
  • [ ] Assign owners to incident-response playbooks and schedule a tabletop exercise.

FAQ

What should be the first step in network defence?

Build and validate an asset inventory. Record each system's owner, purpose, software or firmware, network exposure, data classification and backup status, then compare the list with DHCP, DNS, firewall, cloud, hypervisor and backup records.

Does zero trust mean removing the firewall?

No. NIST SP 800-207 says zero trust removes implicit trust based on network location. Firewalls and segmentation still provide useful enforcement boundaries, but connection to an internal network should not automatically grant access.

Should users change passwords every 30 or 90 days?

Not as an arbitrary routine. NIST SP 800-63B says verifiers should not require periodic password changes and should force a change when there is evidence that an authenticator has been compromised. Use unique passwords, compromised-password screening and MFA instead.

Which security logs should a small team collect first?

Start with identity-provider, administrator, VPN, firewall, DNS, endpoint and cloud control-plane events. Prioritise successful and failed authentication, privilege changes, policy changes, exposed connections and failures of logging, backup or security tooling.

Is compliance the same as security?

No. Compliance shows that defined requirements were assessed within a particular scope and period. Effective defence also requires asset knowledge, threat-informed controls, monitoring, incident response and tested recovery.

Sources

  1. NIST Cybersecurity Framework 2.0
  2. NIST SP 800-53 Revision 5: Security and Privacy Controls
  3. NIST SP 800-92: Guide to Computer Security Log Management
  4. NIST SP 800-207: Zero Trust Architecture
  5. NIST SP 800-61 Revision 3: Incident Response Recommendations
  6. NIST SP 800-63B: Authentication and Authenticator Management
  7. Microsoft Get-NetTCPConnection documentation
  8. systemd journalctl manual
  9. Linux ss command manual
  10. HHS HIPAA Security Rule
  11. PCI Security Standards Council: PCI DSS
  12. EU General Data Protection Regulation
  13. California Consumer Privacy Act