One of the most common misconceptions surrounding Cyber Essentials is that every device, regardless of its operating system, must have antivirus software installed.
This is not what the National Cyber Security Centre (NCSC) requires.
Under the Cyber Essentials Requirements for IT Infrastructure v3.3, the anti-malware software option is specifically applicable to devices running Windows and macOS, including servers, desktop computers and laptops.
For Linux operating systems, organisations must instead implement application allow listing, restricting application execution through code signing and controlling which software can be installed.
This distinction is particularly important for organisations operating Ubuntu, Debian, Red Hat Enterprise Linux and other Linux distributions, whether hosted on-premises or within cloud environments such as AWS, Microsoft Azure, Google Cloud and OVHcloud.
In this article, we explain the requirements, how organisations can implement appropriate technical controls, how to improve the overall security of Linux servers and what a Cyber Essentials Plus assessor will look for during an assessment.
1. Understanding the Cyber Essentials malware protection requirements
Section 5, page 24, of the NCSC Cyber Essentials Requirements for IT Infrastructure v3.3 defines two approaches to malware protection.
| Operating system | Anti-malware option | Allow listing option |
|---|---|---|
| Windows 10 and 11 | Yes | Yes |
| Windows Server | Yes | Yes |
| macOS | Yes | Yes |
| Ubuntu Desktop | No | Yes |
| Ubuntu Server | No | Yes |
| Debian | No | Yes |
| Red Hat Enterprise Linux | No | Yes |
| Other Linux distributions | No | Yes |
| Android | No | Yes |
| iOS and iPadOS | No | Yes |
The anti-malware software option is explicitly defined for Windows and macOS. Application allow listing is available across all in-scope devices.
For Linux servers, application allow listing is, therefore, the applicable malware protection route under the published Cyber Essentials requirements.
This does not mean that organisations should avoid installing antivirus, endpoint detection and response (EDR), or extended detection and response (XDR) products on Linux.
These products can provide valuable additional protection against ransomware, cryptojacking, malicious scripts, web shells and other threats.
However, installing a Linux antivirus or EDR product does not, by itself, replace the requirement for application allow listing.
If a security product also provides effective code-signing-based application control, those capabilities may contribute towards satisfying the requirement.
The distinction is between implementing additional security protection and meeting the specific requirements of the certification scheme.
Source: NCSC Cyber Essentials Requirements for IT Infrastructure v3.3, Section 5, page 24.
2. Are Linux servers in scope for Cyber Essentials?
Linux servers are not automatically exempt from Cyber Essentials because they operate without a graphical desktop, are hosted in the cloud or are not directly accessible from the internet.
Subject to the applicable certification scope, organisations must consider:
- Physical Linux servers.
- Virtual Linux servers.
- Headless Linux servers.
- Ubuntu and Debian servers.
- Red Hat Enterprise Linux servers.
- Rocky Linux and AlmaLinux servers.
- Web and application servers.
- Database servers.
- File servers.
- Development and build infrastructure.
- AWS EC2 instances.
- Microsoft Azure virtual machines.
- Google Cloud Compute Engine instances.
- OVHcloud virtual private servers.
An Ubuntu database server hosted within a private AWS subnet, for example, may still fall within the scope of Cyber Essentials even though it does not have a public IP address.
Similarly, an internally hosted Linux server accessed exclusively through SSH is not automatically exempt from the underlying malware protection requirements.
The location of the server and the way administrators interact with it do not remove the obligation to implement the applicable Cyber Essentials controls. Our guide to Cyber Essentials scope covers how the boundary is defined across devices, cloud services and remote working.
3. What is application allow listing on Linux?
Application allow listing, sometimes referred to as application whitelisting or application control, is a preventative security mechanism that restricts which applications are permitted to run on a device.
Rather than relying exclusively on identifying known malicious software, application allow listing establishes which software is authorised and prevents unauthorised software from executing.
For Cyber Essentials, organisations must implement controls that achieve the following outcomes:
- Applications are approved before being deployed.
- An up-to-date register of approved applications is maintained.
- Code-signing controls restrict execution to approved applications.
- Users cannot install applications with missing or invalid signatures.
Consider an Ubuntu server running the following applications:
| Approved application | Business purpose |
|---|---|
| Nginx | Web hosting |
| PostgreSQL | Database services |
| OpenSSH | Remote administration |
| Python | Application runtime |
| PHP | Web application processing |
| Internal business application | Organisational services |
| Ubuntu operating system packages | System functionality |
The organisation should establish that these applications are approved, obtained from trusted sources and subject to appropriate technical enforcement.
Maintaining an approved software register is an important administrative control. However, the register alone cannot prevent an unauthorised application from running.
An effective application allow listing implementation combines software approval, trusted repositories, cryptographic verification and application execution restrictions.
4. Locking down Linux software repositories
One of the first steps towards securing a Linux server is controlling where software can be obtained from.
Linux distributions typically provide package management systems that support cryptographic verification of software repositories or packages.
| Linux distribution | Package manager |
|---|---|
| Ubuntu | APT |
| Debian | APT |
| Red Hat Enterprise Linux | DNF / RPM |
| Rocky Linux | DNF / RPM |
| AlmaLinux | DNF / RPM |
| SUSE Linux Enterprise | Zypper / RPM |
| Alpine Linux | APK |
Organisations should restrict software installation to approved repositories and ensure cryptographic verification remains enabled.
Reviewing APT repositories on Ubuntu
The following command can help identify configured software repositories:
grep -RHnE '^(deb |deb-src |URIs:|Signed-By:)' \
/etc/apt/sources.list /etc/apt/sources.list.d/ 2>/dev/null
Administrators should review the results and establish whether:
- All configured repositories have been authorised.
- Repository signing keys have been independently verified.
- Unnecessary third-party repositories have been removed.
- Repository configuration is protected from unauthorised modification.
- Software authentication cannot be disabled by standard users.
Modern Ubuntu installations may use the DEB822 repository configuration format.
An illustrative configuration for Ubuntu 24.04 LTS is:
Types: deb
URIs: https://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Security updates would also require an appropriate security repository configuration.
The Signed-By setting associates a repository with a specific trusted keyring rather than relying on unrestricted repository trust.
This example is illustrative. Organisations should retain appropriate repositories for their operating system release, architecture and security update requirements.
Prevent insecure repository configurations
Administrators should ensure that insecure APT settings have not been introduced.
The following commands can help identify potentially insecure configuration overrides:
apt-config dump | grep -Ei \
'AllowInsecure|AllowUnauthenticated|AllowDowngradeToInsecure'
grep -RiEn \
'trusted=yes|Trusted:[[:space:]]*yes|allow-insecure=yes|Allow-Insecure:[[:space:]]*yes' \
/etc/apt/sources.list /etc/apt/sources.list.d/ 2>/dev/null
Settings that bypass repository or package authentication should not be used as a routine workaround for installation problems.
If a repository cannot be authenticated, administrators should investigate and resolve the trust issue rather than disabling signature verification.
Restrict who can install software
Software installation should be restricted to authorised administrators or controlled deployment systems.
On Ubuntu, administrative group membership can be reviewed using:
getent group sudo
The effective sudo configuration should also be reviewed:
sudo -l -U username
Organisations should avoid granting unrestricted administrative access to users who do not require it.
Where practical, production software should be deployed through centrally managed configuration management or approved deployment pipelines.
Examples include:
- Ansible.
- Puppet.
- Chef.
- Salt.
- Controlled continuous integration and delivery pipelines.
- Centrally managed golden server images.
Larger organisations may benefit from maintaining an internal, approved and signed software repository containing only software authorised for deployment.
This provides greater control than allowing administrators to install arbitrary software from numerous external repositories.
5. Are signed Linux repositories enough for Cyber Essentials?
Not necessarily.
Signed repositories are a fundamental part of securing the Linux software supply chain, but it is important to understand what they protect.
APT authenticates repository metadata and verifies package integrity through a cryptographic chain of trust.
This helps establish that software packages originate from the trusted repository and have not been altered during distribution.
However, APT does not ordinarily control every application that subsequently executes on the operating system.
A user may still be able to download an executable file and run it without installing it through APT or requiring administrative privileges.
For example, an executable placed within a user’s home directory may not require a system-wide installation.
This creates an important distinction:
| Security control | What it provides |
|---|---|
| Signed repositories | Authenticity and integrity of software distribution |
| Approved repositories | Control over permitted software sources |
| Restricted administrative access | Control over privileged software installation |
| Approved software register | Documentation of authorised applications |
| Application execution control | Prevention of unauthorised software execution |
| Signature-based execution enforcement | Verification of executable code against trusted signing keys |
A locked-down repository configuration should, therefore, form part of the application allow listing solution, rather than being treated as automatic proof that unsigned applications cannot execute.
Organisations must also consider applications obtained outside traditional package repositories, including:
- Python packages.
- Node.js packages.
- Manually downloaded binaries.
- Shell scripts.
- Internally developed applications.
- Container images.
- Third-party installation scripts.
These software distribution mechanisms should be subject to appropriate approval, integrity verification and execution controls.
6. Implementing application code signing on Linux
There are several technologies that can contribute towards application execution control on Linux.
The appropriate implementation will depend on the operating system, server workload and the organisation’s ability to manage software deployment securely.
Linux Integrity Measurement Architecture (IMA)
The Linux Integrity Measurement Architecture is a kernel-level security mechanism that supports file integrity measurement and verification.
IMA provides several capabilities:
| Component | Purpose |
|---|---|
| IMA Measurement | Records integrity measurements of files |
| IMA Appraisal | Validates file hashes or digital signatures |
| IMA Audit | Records integrity-related security information |
| Extended Verification Module (EVM) | Helps protect security-related file metadata |
For Cyber Essentials, signature-based IMA Appraisal is particularly relevant.
An appropriately configured IMA Appraisal policy can verify digital signatures associated with executable files and prevent access or execution where the required integrity checks fail.
This allows organisations to establish a controlled signing process for approved applications.
However, IMA must be configured to enforce the appropriate policy. Merely enabling integrity measurement or recording file hashes is not sufficient.
Red Hat fapolicyd
Red Hat Enterprise Linux provides the fapolicyd application control framework.
It allows administrators to establish rules controlling which applications can execute or access files.
It can use information from trusted package databases, application trust lists and integrity verification mechanisms.
Administrators can review whether the service is operational using:
sudo systemctl status fapolicyd
The configured rules can be reviewed using:
sudo fapolicyd-cli --list
The application trust database can also be inspected:
sudo fapolicyd-cli --dump-db
However, organisations must distinguish between application trust based on package installation, file paths or hashes and actual cryptographic code-signing enforcement.
A default fapolicyd configuration should not automatically be assumed to meet every Cyber Essentials application allow listing requirement.
It may need to be combined with appropriate signature-based integrity controls.
Commercial Linux application control solutions
Commercial security solutions may provide centrally managed Linux application control capabilities, including:
- Application approval workflows.
- Publisher and certificate-based execution restrictions.
- Centralised policy management.
- Application inventory.
- File integrity verification.
- Application execution prevention.
- Security event reporting.
Organisations should verify that the product specifically supports the necessary code-signing controls on Linux.
A product supporting certificate-based application control on Windows may not necessarily provide equivalent functionality on Linux.
No product should be assumed compliant simply because it is marketed as antivirus, EDR or application control software.
7. Technical example: Implementing IMA Appraisal on Ubuntu
Consider an Ubuntu 24.04 LTS server hosting an organisation’s business application.
The organisation wants to restrict execution to approved software while continuing to install security updates and maintain normal business operations.
The following illustrates how an IMA-based application signing architecture could be designed.
Step 1: Establish an approved software inventory
Administrators can identify installed packages using:
dpkg-query -W -f='${Package}\t${Version}\n'
Running services can be reviewed using:
systemctl list-units --type=service --state=running
Network services can be identified using:
sudo ss -tulpn
These commands provide a starting point for identifying software installed on the server.
The inventory should also consider manually installed software, application dependencies, scripts, interpreters and containerised workloads.
Step 2: Verify kernel support
Identify the running kernel:
uname -r
Review the relevant kernel configuration:
grep -E '^CONFIG_(IMA|EVM)' /boot/config-$(uname -r)
Depending on the kernel build, relevant settings may include:
CONFIG_IMA=y
CONFIG_IMA_APPRAISE=y
CONFIG_EVM=y
The presence of these settings indicates that the kernel may support the relevant integrity functionality.
It does not demonstrate that application signature verification is currently enforced.
Step 3: Install the relevant management utilities
Ubuntu provides utilities that can assist with managing file integrity metadata and verification keys:
sudo apt update
sudo apt install ima-evm-utils keyutils attr
These packages provide supporting functionality but do not automatically activate an enforced application allow listing policy.
Step 4: Establish trusted code-signing keys
The organisation should establish a controlled process for signing approved applications.
This should include:
- Authorised code-signing certificates.
- Secure storage of private signing keys.
- Verification of software authenticity before signing.
- Documented application approval.
- Controlled deployment of verification certificates.
- Certificate renewal and revocation procedures.
- Protection of the application enforcement configuration.
Private signing keys should normally be retained within a protected signing environment rather than distributed to production servers.
Only authorised signing systems should be able to approve new executable code.
Step 5: Configure signature appraisal policies
An illustrative IMA execution appraisal rule is:
appraise func=BPRM_CHECK appraise_type=imasig
This requires signature appraisal for the applicable binary execution hook.
Another relevant policy rule relates to executable memory mappings:
appraise func=MMAP_CHECK mask=MAY_EXEC appraise_type=imasig
This can contribute towards verification of files mapped into executable memory, including relevant shared libraries.
These rules are examples of individual policy components. They are not a complete production IMA configuration.
Organisations must also consider:
- Operating system files.
- Shared libraries.
- Interpreted scripts.
- Python and Java applications.
- Dynamically loaded code.
- Containerised applications.
- Filesystem compatibility.
- Boot-time certificate loading.
- Protection of the enforcement policy.
An implementation that checks native binaries but allows unrestricted execution of other applicable application formats may not achieve the required security outcome.
Do not apply an untested IMA enforcement policy directly to a production server.
Incorrectly configured policies can prevent essential operating system components and remote administration services from running.
Test the proposed configuration in a representative laboratory environment, establish a recovery process and ensure console access is available before introducing enforcement.
Step 6: Establish a secure software deployment pipeline
A controlled application deployment process could operate as follows:
- A new application or update is requested.
- The software source is verified.
- The application and its dependencies are reviewed.
- The application is approved for deployment.
- Relevant executable components are digitally signed.
- The approved application is deployed.
- The server enforces the applicable signature verification policy.
- Unauthorised or incorrectly signed executable files are rejected.
Ubuntu repository signatures do not automatically provide per-file IMA signatures.
Organisations must, therefore, establish how approved operating system packages, application updates and other executable components will be signed and deployed.
The process must also accommodate timely security updates, including emergency vulnerability remediation.
Step 7: Review the active enforcement configuration
The following read-only commands can help administrators inspect an IMA-based implementation.
Review kernel boot parameters:
cat /proc/cmdline
Review the active IMA policy, where exposed by the running kernel:
sudo cat /sys/kernel/security/ima/policy
Inspect the IMA verification keyring, where available:
sudo keyctl list %keyring:.ima
Review the integrity metadata associated with an executable:
sudo getfattr -n security.ima /usr/bin/ls
Review relevant kernel security events:
sudo journalctl -k --no-pager | \
grep -Ei 'ima|appraisal|integrity'
These commands help establish how the server is configured.
However, configuration evidence should be supported by functional testing. The presence of integrity metadata, a trusted certificate or an IMA policy does not independently demonstrate that unauthorised applications are prevented from running.
IMA is one possible technical implementation. It is not a mandatory or automatically approved Cyber Essentials product.
8. Can ClamAV, CrowdStrike or Microsoft Defender protect Linux servers?
Yes. Linux-compatible antivirus and endpoint security products can provide valuable additional security protection.
Examples include:
- ClamAV.
- CrowdStrike Falcon.
- Microsoft Defender for Endpoint.
- SentinelOne.
- Sophos Protection for Linux.
- ESET Server Security for Linux.
Depending on the product and its configuration, these technologies can provide capabilities such as malware detection, behavioural monitoring, threat prevention, incident investigation and endpoint isolation.
However, organisations must not confuse these capabilities with the applicable Cyber Essentials application allow listing requirement.
Under the published NCSC v3.3 requirements, the anti-malware software option is defined for Windows and macOS.
Consequently, a Linux antivirus or EDR deployment alone should not be relied upon as evidence that the Linux malware protection requirement has been satisfied.
If a security product provides Linux application execution control incorporating the required code-signing capabilities, those specific functions should be evaluated.
The absence of conventional antivirus on a Linux server is not, by itself, a Cyber Essentials failure where the organisation has implemented compliant application allow listing.
Equally, installing antivirus does not automatically make a Linux server compliant.
9. Additional security controls that complement application allow listing
Linux provides numerous security technologies that can reduce the risk of compromise.
| Security technology | Security benefit | Replaces code signing? |
|---|---|---|
| AppArmor | Restricts application permissions and capabilities | No |
| SELinux | Mandatory access control | No |
| Secure Boot | Protects the integrity of the boot process | No |
| UFW / nftables | Restricts network connections | No |
| Restricted sudo access | Limits administrative privileges | No |
| Signed repositories | Protects software distribution integrity | No |
| File integrity monitoring | Identifies unauthorised file changes | No |
| Antivirus / EDR | Malware and threat detection or prevention | No, not alone |
| Signature-based IMA Appraisal | Enforces applicable file signature policies | Potentially, subject to implementation |
Organisations should adopt a defence-in-depth approach rather than rely on any single technology.
For example, AppArmor can restrict what an application is permitted to access after it starts running, while application signing can help establish whether the application should have been permitted to run in the first place.
These are complementary security functions.
10. Cyber Essentials for cloud-hosted Linux servers
Organisations frequently assume that their cloud hosting provider is responsible for securing their Linux virtual machines.
However, Infrastructure as a Service typically operates under a shared responsibility model.
| Cloud service | Customer responsibility |
|---|---|
| AWS EC2 | Guest operating system and application security |
| Azure Virtual Machines | Guest operating system and application security |
| Google Compute Engine | Guest operating system and application security |
| OVHcloud VPS | Guest operating system and application security |
| DigitalOcean Droplets | Guest operating system and application security |
The cloud provider may secure the underlying physical infrastructure, networking and hypervisor, while the customer remains responsible for the guest operating system and applications.
This typically includes:
- Operating system security updates.
- Application security updates.
- Firewall configuration.
- User and administrator access.
- Secure configuration.
- Application allow listing.
- Security monitoring.
The cloud provider holding its own Cyber Essentials, Cyber Essentials Plus or ISO 27001 certification does not automatically establish that the customer’s Linux virtual machines meet the applicable requirements.
Organisations must understand and document the division of responsibilities.
11. Additional Linux server hardening recommendations
Cyber Essentials provides an important baseline of technical security controls, but it should not represent the limit of an organisation’s security strategy.
The following recommendations can help organisations further reduce the risk of Linux server compromise.
Some support mandatory Cyber Essentials controls, while others represent additional security good practice.
11.1 Keep Linux operating systems and applications supported
Use a supported Linux distribution and establish when vendor security support will end.
Long-term support releases are often preferable for production infrastructure, but organisations must also confirm that the packages and third-party applications installed on the server receive appropriate security updates.
Check the operating system release:
cat /etc/os-release
Check the running kernel:
uname -r
On Ubuntu, administrators may also review security coverage using:
pro security-status
Where extended support is required, establish whether the appropriate subscription or support arrangement is active.
Do not assume that every package receives the same security coverage simply because the operating system is an LTS release.
11.2 Implement automatic security updates
Cyber Essentials requires qualifying security vulnerabilities to be addressed within 14 days of the relevant fix becoming available.
This includes vulnerabilities classified by the vendor as high or critical, vulnerabilities meeting the applicable Common Vulnerability Scoring System threshold, and vulnerability fixes for which the vendor provides no severity information.
On Ubuntu, automatic security updates can be managed through unattended-upgrades.
sudo apt install unattended-upgrades
Review the configured automatic update settings:
cat /etc/apt/apt.conf.d/20auto-upgrades
A typical configuration includes:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
Review the unattended upgrade configuration to ensure all required software sources are covered.
Administrators should also monitor update failures and establish whether updates require service restarts or system reboots.
Automatic update configuration alone does not demonstrate that all required patches have been applied successfully.
11.3 Ensure kernel updates are activated
Installing a new Linux kernel package does not necessarily mean the system is running the updated kernel.
Review the running kernel:
uname -r
Check installed kernel images:
dpkg -l 'linux-image*' | grep '^ii'
Check whether Ubuntu has flagged a required reboot:
if [ -f /var/run/reboot-required ]; then
cat /var/run/reboot-required
fi
Where a kernel update is required to remediate a relevant vulnerability, ensure that the updated kernel is activated within the applicable timescale.
Live-patching solutions may provide an alternative for certain vulnerabilities, but their actual coverage must be verified.
11.4 Harden SSH access
SSH is frequently targeted by automated scanning, password attacks and credential-based intrusion attempts.
Where possible:
- Disable direct root login.
- Disable password-based SSH authentication where suitable alternative authentication has been implemented.
- Use individually assigned SSH keys or certificates.
- Restrict SSH access to authorised administration networks.
- Use a VPN or bastion host.
- Remove obsolete authorised keys.
- Implement multi-factor authentication for privileged access where appropriate.
An illustrative OpenSSH configuration might include:
PermitRootLogin no
PubkeyAuthentication yes
PasswordAuthentication no
KbdInteractiveAuthentication no
X11Forwarding no
These settings must be adapted to the organisation’s authentication requirements. For example, keyboard-interactive authentication may be required by some multi-factor authentication implementations.
Validate the SSH configuration before applying changes:
sudo sshd -t
Review the effective configuration:
sudo sshd -T
Always retain an existing administration session and an appropriate recovery mechanism when changing remote authentication settings.
Avoid introducing a configuration that prevents authorised administrators from accessing the server.
11.5 Restrict unnecessary inbound connections
Only services that have a legitimate business requirement should be accessible.
Identify listening ports:
sudo ss -tulpn
Review Ubuntu firewall configuration:
sudo ufw status verbose
Where nftables is used:
sudo nft list ruleset
An example of appropriate network restrictions would be:
| Service | Port | Permitted access |
|---|---|---|
| SSH | TCP 22 | Management network only |
| HTTPS | TCP 443 | Approved clients or public internet where required |
| HTTP | TCP 80 | Only where required, such as HTTPS redirection |
| PostgreSQL | TCP 5432 | Authorised application servers only |
| MySQL | TCP 3306 | Authorised application servers only |
| Redis | TCP 6379 | Approved internal services only |
Databases and administrative interfaces should not generally be exposed directly to the public internet.
Cloud security groups, network security groups and provider firewalls should also be reviewed.
11.6 Remove unnecessary applications and services
A smaller software footprint reduces the attack surface and simplifies vulnerability management.
Review enabled services:
systemctl list-unit-files --type=service --state=enabled
Review active services:
systemctl list-units --type=service --state=running
Administrators should identify unnecessary:
- Web servers.
- File-sharing services.
- Remote access services.
- Database engines.
- Development utilities.
- Desktop environments.
- Unused application runtimes.
- Legacy network protocols.
Only remove or disable services after confirming that doing so will not affect legitimate business operations.
11.7 Implement least privilege and administrative account separation
Administrators should use individually assigned accounts and elevate privileges only when required.
Avoid shared root credentials and unrestricted administrative access for routine activities.
Review administrative group membership:
getent group sudo
On Red Hat-based systems:
getent group wheel
Organisations should also review service accounts and ensure that applications do not run with root privileges unnecessarily.
Where possible, restrict service accounts to the permissions and resources required for their intended function.
11.8 Enable AppArmor or SELinux
Mandatory access control technologies can limit the impact of a compromised application.
On Ubuntu, review AppArmor status:
sudo aa-status
On Red Hat-based distributions, review SELinux status:
getenforce
sestatus
Where appropriate, policies should operate in enforcement mode rather than monitoring or permissive mode.
Disabling AppArmor or SELinux to resolve application compatibility problems should not be the default approach.
Investigate the underlying policy requirements and make controlled adjustments where necessary.
11.9 Consider additional systemd service hardening
Many Linux services are managed through systemd.
Service-level restrictions can help reduce the impact of a compromised application.
Examples of available security settings include:
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
These settings should be applied selectively based on the application and its operational requirements.
Systemd can also provide an indicative security review of individual services:
systemd-analyze security nginx.service
The results can help identify opportunities for additional service isolation.
They do not constitute a Cyber Essentials assessment or guarantee that a service is secure.
11.10 Implement centralised logging and security monitoring
Linux servers should generate and retain appropriate security logs.
Important events include:
- Successful and unsuccessful authentication attempts.
- Privilege elevation.
- Administrative account changes.
- Software installations.
- Application allow listing enforcement events.
- Firewall configuration changes.
- Unexpected service changes.
- Security software alerts.
Review recent SSH events:
sudo journalctl -u ssh --since "24 hours ago"
Review warning-level system events:
sudo journalctl -p warning --since "24 hours ago"
Organisations should consider forwarding security logs to a centralised monitoring platform or security information and event management system.
Centralised logging reduces the risk of losing critical evidence if a server becomes compromised.
Additional monitoring technologies may include:
- Linux Audit (
auditd). - Wazuh.
- Commercial EDR platforms.
- File integrity monitoring.
- Centralised security information and event management platforms.
Security alerts should be actively reviewed and supported by an incident response process.
11.11 Perform authenticated vulnerability assessments
Regular authenticated vulnerability assessments can help identify:
- Missing operating system security updates.
- Vulnerable third-party applications.
- Unsupported software.
- Insecure configurations.
- Weak cryptographic protocols.
- Exposed services.
- Software inventory discrepancies.
Examples of vulnerability management platforms include Qualys, Tenable and Rapid7.
Authenticated scanning is particularly important for Linux because distributions frequently backport security fixes without adopting the latest upstream software version.
A simple version comparison may, therefore, incorrectly identify a patched application as vulnerable.
Vulnerability assessment results should be validated against distribution-specific security advisories. Where this is not something you run internally, our vulnerability management service covers scheduled authenticated assessment and remediation tracking.
11.12 Protect backups and test recovery
Cyber Essentials recommends backups, although they are not one of its mandatory technical controls.
Linux servers should nevertheless have an appropriate backup and recovery strategy.
Organisations should:
- Maintain regular automated backups.
- Protect backups using separate administrative credentials.
- Consider immutable or offline backup copies.
- Encrypt sensitive backup data.
- Monitor backup failures.
- Conduct regular restoration tests.
- Establish documented recovery procedures.
Backups should include relevant application data, server configurations and other information required to restore business services.
Where application signing is used, the recovery strategy must also account for restoring the necessary integrity metadata, enforcement policies and trusted certificates.
11.13 Adopt recognised Linux security benchmarks
Organisations seeking a higher level of assurance should consider recognised security configuration standards.
These include:
- CIS Benchmarks.
- DISA Security Technical Implementation Guides (STIGs).
- Ubuntu Security Guide.
- OpenSCAP.
- Vendor-specific Linux hardening guidance.
Security benchmarks should be applied proportionately to the organisation’s operational requirements and risk profile.
Cyber Essentials is a baseline certification scheme. Implementing broader Linux hardening standards can provide additional protection beyond its minimum requirements.
12. Linux server security checklist
The following checklist provides a practical starting point for organisations preparing their Linux infrastructure for Cyber Essentials and broader security assurance.
| Security control | Classification |
|---|---|
| Supported operating system and applications | Cyber Essentials requirement |
| Qualifying security fixes applied within 14 days | Cyber Essentials requirement |
| Appropriate firewall controls | Cyber Essentials requirement |
| Unnecessary software and services removed or disabled | Cyber Essentials requirement |
| Default credentials changed where applicable | Cyber Essentials requirement |
| Appropriate administrative account separation | Cyber Essentials requirement |
| Approved application register | Cyber Essentials application allow listing requirement |
| Code-signing application execution controls | Cyber Essentials application allow listing requirement |
| Prevention of unsigned or incorrectly signed application installation | Cyber Essentials application allow listing requirement |
| Restricted and authenticated software repositories | Supporting implementation control |
| Controlled software deployment pipeline | Supporting implementation control |
| Automatic security updates | Recommended implementation approach |
| SSH key or certificate-based authentication | Recommended hardening approach |
| AppArmor or SELinux enforcement | Additional security good practice |
| Additional Linux antivirus or EDR | Additional security good practice |
| Centralised security logging | Additional security good practice |
| Regular vulnerability assessments | Additional security good practice |
| Protected and tested backups | Additional security good practice |
| CIS Benchmark alignment | Additional security good practice |
Organisations should prioritise meeting the mandatory scheme requirements while implementing additional controls appropriate to their security risks.
13. Frequently asked questions
Do Linux servers need antivirus for Cyber Essentials?
Conventional antivirus is not the specified malware protection route for Linux under the published NCSC v3.3 requirements.
Linux servers must instead satisfy the application allow listing requirements.
Antivirus and EDR can still be deployed as additional security measures.
Does ClamAV satisfy Cyber Essentials on Ubuntu?
ClamAV can provide valuable malware detection capabilities, but its installation alone does not demonstrate compliance with the applicable Linux application allow listing requirements.
Is using signed Ubuntu repositories sufficient?
Signed repositories are an important component of a secure software deployment process.
However, organisations must also establish how unauthorised or incorrectly signed applications are prevented from being installed and executed.
Repository authentication alone does not establish this.
Are headless Linux servers exempt?
No. An otherwise in-scope Linux server does not become exempt from the underlying Cyber Essentials requirements because it lacks a graphical desktop.
The applicable Cyber Essentials Plus technical tests may differ according to the server’s configuration and hosting model.
Does restricting sudo access satisfy application allow listing?
Not on its own.
Restricting administrative privileges helps control software installation, but applications may still execute without administrative privileges.
Is IMA mandatory for Cyber Essentials?
No.
Cyber Essentials specifies security outcomes rather than requiring a particular Linux product or technology.
IMA is one possible technical approach to establishing signature-based application execution enforcement.
Does Secure Boot satisfy the application signing requirement?
Not on its own.
Secure Boot protects the boot process and associated components. It does not automatically enforce code-signing verification across all applicable user-space applications.
Does Linux need a graphical desktop for Cyber Essentials Plus?
No.
Linux servers can be assessed without a graphical desktop. The assessor will select the applicable tests according to the official specification and the server’s role and hosting arrangements.
14. How will a Cyber Essentials Plus assessor check Linux servers?
Cyber Essentials Plus builds upon the Cyber Essentials self-assessment through independent technical verification.
An organisation’s Linux infrastructure will be considered when establishing the scope and selecting representative samples for testing. Our guide to the Cyber Essentials Plus audit sets out what happens on the day more generally.
The applicable tests are defined within the NCSC Cyber Essentials Plus Test Specification v3.2.
Which Linux servers are assessed?
All in-scope Linux infrastructure must comply with the applicable Cyber Essentials requirements, regardless of whether it is physical, virtual, cloud-hosted or headless.
| Linux infrastructure | In scope | Plus assessment |
|---|---|---|
| Ubuntu desktop | Yes | Yes |
| Linux server providing remote desktop services | Yes | Yes |
| Headless AWS EC2 instance | Yes | Yes |
| Headless Azure Linux VM | Yes | Yes |
| OVHcloud Linux VPS | Yes | Yes |
| Internally hosted headless Linux server | Yes | Yes |
| On-premises virtual Linux server | Yes | Yes |
The assessor determines which specific tests apply to each system.
Test Case 2, covering authenticated vulnerability assessment, includes the relevant samples of servers, Infrastructure as a Service instances and end-user devices.
Test Case 3, covering malware protection, specifically applies to sampled end-user devices, servers providing a graphical interactive desktop and Infrastructure as a Service instances.
An internally hosted headless server that is not an Infrastructure as a Service instance does not ordinarily require mandatory Test Case 3 sampling solely because it is accessed through SSH.
This does not exempt it from the underlying malware protection requirements.
Test Case 3.2: Certificate-based application allow listing
Where application allow listing is relied upon and Test Case 3 applies, the assessor will verify the requirements defined within Sub-test 3.2.
These checks establish whether the organisation’s certificate-based application control mechanism is effective.
Check 1: Establish how application control is implemented
The assessor may ask the organisation to explain:
- Which application control technology is used.
- How applications are approved.
- How software repositories are restricted.
- How software signatures are verified.
- How trusted signing certificates are managed.
- How unauthorised software execution is prevented.
An approved software spreadsheet or a written policy may support the assessment, but it will not independently demonstrate technical enforcement.
Check 2: Verify trusted root certificates
The assessor will review the certificate trust configuration relevant to application signing.
The standard operating system trust roots, or an authorised subset, should be used as the baseline.
Any additional trusted roots must have been explicitly authorised by the applicant organisation.
For an IMA-based implementation, this may involve reviewing the relevant kernel verification keyring and supporting certificate management arrangements.
The organisation should be able to explain why additional signing certificates are trusted and how their introduction is controlled.
Check 3: Verify that unsigned applications cannot execute
The assessor will establish whether an unsigned executable is prevented from running.
This may involve an authorised, harmless executable designed for the relevant Linux operating system and architecture.
The test application does not need to contain malware.
It could simply display a message confirming that execution has occurred.
An illustrative result where application control prevents execution might be:
Permission denied
The assessor must establish that execution was prevented by the relevant security policy rather than an unrelated file permission, incorrect binary architecture or missing application dependency.
Check 4: Verify that an untrusted signing certificate is rejected
The assessor will establish whether an executable signed using a certificate outside the approved trust chain is prevented from running.
This verifies that an application is not automatically authorised simply because it contains a digital signature.
The signature must be associated with an appropriately trusted signing certificate.
Check 5: Verify applicable executable formats
The assessor will review whether the operating system’s policy settings cover the executable formats applicable to the device.
Depending on the Linux environment, this may include:
- Native Linux executables.
- Shell scripts.
- Python applications.
- Other interpreted application formats.
- Shared libraries and supporting executable components.
The organisation must demonstrate that the application control mechanism provides the required protection across the relevant execution paths.
Check 6: Review supporting technical evidence
Depending on the implementation, the assessor may review:
| Evidence | Purpose |
|---|---|
| Approved application register | Establish which applications are authorised |
| Repository configuration | Establish permitted software sources |
| Signing certificate configuration | Establish trusted application signers |
| Application control policy | Establish enforcement settings |
| Kernel configuration | Identify relevant integrity functionality |
| Application control logs | Confirm enforcement activity |
| Functional test results | Demonstrate prevention of unauthorised execution |
The exact evidence will depend on the operating system and application control mechanism.
Additional diagnostic checks may be performed where necessary to establish whether the claimed security controls are operating effectively.
What constitutes a successful application control test?
| Verification activity | Expected outcome |
|---|---|
| Approved application with a valid trusted signature | Execution permitted |
| Unsigned executable | Execution prevented |
| Executable signed by an untrusted certificate | Execution prevented |
| Executable with an invalid signature | Execution prevented |
| Relevant executable formats | Covered by appropriate signing policies |
| Additional trusted roots | Explicitly authorised |
The approved application and invalid-signature checks provide useful additional assurance. Formal Cyber Essentials Plus pass and fail decisions are determined against the applicable criteria within the official test specification.
Organisations that cannot demonstrate the required controls may need to implement remediation and undergo further testing before certification can be awarded.
Source: NCSC Cyber Essentials Plus Test Specification v3.2, Test Case 3 and Sub-test 3.2, pages 12 to 15.
15. Preparing your Linux infrastructure for Cyber Essentials with Malwise
Linux infrastructure should not become an unexpected obstacle when achieving Cyber Essentials or Cyber Essentials Plus certification.
Understanding the distinction between traditional antivirus and application allow listing is essential when preparing Linux servers for assessment.
Organisations should establish approved software sources, implement appropriate signature-based application controls, restrict administrative privileges and maintain a secure software deployment process.
Additional security technologies such as EDR, AppArmor, SELinux, vulnerability management and centralised monitoring can further strengthen Linux server security.
Malwise Cyber Ltd is an IASME Certification Body providing Cyber Essentials and Cyber Essentials Plus assessments to organisations across the UK.
We support organisations operating traditional infrastructure, cloud-hosted environments and complex technical estates, including businesses operating Linux servers and applications.
Our services include:
- Cyber Essentials certification.
- Cyber Essentials Plus assessments.
- Pre-assessment readiness reviews.
- Vulnerability assessment.
- Penetration testing.
- Cyber security consultancy.
Whether you are preparing for your first certification or renewing an existing Cyber Essentials Plus certificate, identifying technical compliance issues before assessment can help reduce delays and unnecessary remediation.
Linux estate to certify?
Tell us what your Linux infrastructure looks like and how it is managed. As a licensed IASME Certification Body we will tell you what the application allow listing requirement means for your servers, and what an assessor would need to see.
References and further reading
- NCSC Cyber Essentials Requirements for IT Infrastructure v3.3, April 2026.
- NCSC Cyber Essentials Plus Test Specification v3.2, April 2025.
- IASME Cyber Essentials Plus Sampling Guidance.
- Ubuntu Server Security Documentation.
- Ubuntu Server Security Recommendations.
- Ubuntu Automatic Security Updates.
- Ubuntu APT Security Documentation.
- Linux Integrity Measurement Architecture Documentation.
- Linux IMA Policy Syntax.
- Red Hat Enterprise Linux Security Hardening.
- CIS Benchmarks.
This article is based on the published Cyber Essentials requirements and Cyber Essentials Plus Test Specification applicable in December 2026. Technical configuration examples are illustrative and should be validated in a representative environment before production deployment. Individual products and configurations are not automatically approved by the NCSC or IASME.