Mainframe Cybersecurity and Cyber Resilience: Are We Prepared for When Prevention Fails?

The mainframe has earned its reputation for security, reliability and availability. But protecting a system against unauthorised access is only part of the challenge. What happens when a trusted identity is compromised, critical information is corrupted, or the organisation discovers that its recovery environment may no longer be trustworthy?

For decades, mainframes have supported some of the most critical business processes in banking, insurance, government and other large organisations. Their reputation for security and reliability is well deserved, and it is supported by an architecture that has evolved considerably over the years.

IBM Z and z/OS provide sophisticated mechanisms for controlling access to resources, maintaining system integrity, protecting information and supporting highly available workloads. These capabilities are among the reasons organisations continue to trust the platform with business-critical applications.

However, there is a distinction that I believe deserves more attention.

A secure architecture doesn’t necessarily mean that every environment built on it is secure. And a highly available system isn’t necessarily a cyber-resilient one.

We spend considerable time reviewing security configurations, managing privileged access, implementing encryption, monitoring compliance and ensuring that our systems remain available.

All of these activities are essential. But they don’t answer every question we need to consider.

Imagine an attacker obtaining access to a legitimate application identity and using it to modify financial records. The transactions complete successfully, the databases remain available, and the storage infrastructure continues replicating data to the secondary site.

From an infrastructure perspective, everything appears to be working exactly as intended.

Unfortunately, the organisation may now have corrupted information in both its production and disaster recovery environments.

How do we determine when the corruption began? Which information can still be trusted? And how do we restore the business without reintroducing the consequences of the attack?

These are questions that go beyond traditional security controls and disaster recovery procedures.

They are at the heart of cyber resilience.

Cybersecurity and Cyber Resilience: Understanding the Difference

Cybersecurity is concerned with protecting systems, information and services against threats to their confidentiality, integrity and availability. It includes access control, vulnerability management, encryption, security monitoring, incident response and numerous other disciplines.

Cyber resilience builds on those foundations but also considers how an organisation continues operating, limits damage and recovers when preventative controls are insufficient.

NIST SP 800-160 Volume 2, Revision 1 describes cyber resilience in terms of the ability to anticipate, withstand, recover from and adapt to adverse conditions, including cyberattacks and compromises.

For mainframe environments, that distinction has significant practical implications.

An organisation may have excellent availability arrangements, including Parallel Sysplex, replicated storage and established disaster recovery procedures. It may also have strong security controls protecting its z/OS systems.

But neither automatically demonstrates that the organisation can recover trustworthy business information following a malicious or accidental corruption event.

Traditional disaster recovery often concentrates on failures involving infrastructure, storage or an entire processing site. Cyber recovery must also consider the possibility that systems, identities, configurations or data have been deliberately compromised.

The objective is therefore not simply to restore processing. It is to establish sufficient confidence in the recovered environment and its information to resume business operations safely.

That requires a combination of prevention, detection, containment, protected recovery capabilities and operational expertise.

The Mainframe Is Part of a Much Larger Attack Surface

The idea that mainframes are isolated from the rest of the enterprise has become increasingly difficult to defend.

Modern z/OS environments communicate with distributed applications, cloud platforms, external services and business partners through a variety of interfaces.

CICS and IMS transactions can be exposed through APIs. Applications exchange messages through IBM MQ. Db2 data is accessed by distributed applications, while administrators and automation tools connect through TCP/IP, TN3270, SSH and web-based management interfaces.

z/OS UNIX System Services also introduces interfaces, services and operational considerations that require appropriate security and maintenance.

These capabilities have helped the mainframe remain an important part of modern enterprise architectures. They also mean that security cannot stop at the boundary of the operating system.

Consider a distributed application that authenticates users and invokes transactions running under CICS.

If an attacker compromises that application, they may be able to submit requests through an interface that the mainframe considers legitimate. Whether those requests succeed depends on how authentication, identity propagation, authorisation and business validation have been implemented.

The attacker doesn’t necessarily need a TSO account or direct access to a z/OS command interface.

A weakness in an application connected to the mainframe may be sufficient to compromise a business process that ultimately executes on it.

This is why mainframe security must be integrated with the organisation’s wider cybersecurity architecture. Protecting the platform remains essential, but the security of its interfaces, dependencies and connected systems is equally important.

RACF, ACF2 and Top Secret: Strong Controls Still Require Good Administration

On z/OS, the System Authorization Facility (SAF) provides interfaces through which system components and applications can request security services.

External security managers such as IBM RACF, Broadcom ACF2 and Broadcom Top Secret implement the corresponding security policies and authorisation decisions.

These are mature and powerful technologies. Nevertheless, their effectiveness depends on how security policies are configured and whether the relevant system components and applications invoke the appropriate security checks.

Consider a batch application that uses a service identity to access several datasets and Db2 resources.

As the application evolves, additional permissions are granted. Some are temporary, others support functionality that is subsequently removed, and a few may have been introduced simply to resolve an operational problem.

Years later, the identity has considerably more authority than it requires.

If that identity is compromised, an attacker may be able to perform operations that the security manager legitimately authorises.

The problem isn’t necessarily a failure of RACF, ACF2 or Top Secret. It may be that the organisation’s security policy permits more than it should.

This is where least privilege, periodic access reviews, separation of duties and effective security administration become particularly important.

Specialist tools can help organisations examine their security configurations and identify potential weaknesses. For example, Vanguard Administrator provides mainframe security administration capabilities, while Vanguard Analyzer supports security assessment and the identification of potential exposures.

Such tools can make complex security environments easier to assess, but they don’t eliminate the need for technical judgement.

An apparently excessive permission may exist because of a legitimate application dependency. Removing it without understanding that dependency could interrupt production processing.

The objective should be to understand why access exists, determine whether it remains justified and correct weaknesses without introducing unnecessary operational risk.

I would pay particular attention to the protection of security administration itself.

An identity authorised to modify security profiles, grant privileges or change audit settings can potentially affect the controls protecting the rest of the environment.

Those identities, and the mechanisms through which they operate, deserve at least as much scrutiny as the resources they administer.

System Integrity: Protecting the Foundations of z/OS

Access control is only one aspect of mainframe security.

System integrity is fundamental to the z/OS architecture and represents one of the platform’s most important security characteristics.

IBM defines system integrity around preventing programs that haven’t been appropriately authorised from bypassing security controls, defeating storage protection or obtaining control in an authorised state.

The operating system uses several mechanisms to maintain these boundaries, including storage protection, supervisor state, protection keys and the Authorized Program Facility (APF).

These mechanisms are related, but they aren’t interchangeable.

APF authorisation, execution in supervisor state and execution with a system protection key are distinct aspects of the z/OS privilege architecture. A program may be authorised through different mechanisms, and individual system services can impose specific authorisation requirements.

APF is particularly important because it allows installations to identify programs that can use sensitive system functions.

An APF-authorised program doesn’t necessarily execute in supervisor state or with a system key from the outset. Nevertheless, APF authorisation can provide access to privileged services and mechanisms through which an authorised program may obtain additional execution privileges.

This makes the protection of APF-authorised libraries, the link pack area, relevant system configuration and authorised code extremely important.

Inappropriate update access to an authorised library may allow malicious or defective code to be introduced into a trusted execution path.

The same concern applies to installation-written authorised programs, system exits and other components that operate with elevated authority.

IBM’s z/OS system integrity documentation makes clear that installations have responsibilities for protecting these facilities and ensuring that their own authorised code doesn’t introduce integrity exposures.

Organisations also need to detect unexpected changes to security-sensitive configurations.

Products such as Vanguard Enforcer can complement established controls through supported security-policy enforcement capabilities. Their value depends on the policies configured, the resources covered and how corrective actions are managed.

Automatic enforcement must be implemented carefully. A legitimate change that hasn’t been incorporated into an approved baseline could otherwise trigger an inappropriate response.

In a production mainframe environment, a poorly designed corrective action can introduce an availability problem while attempting to resolve a security issue.

Security enforcement, configuration management and change control must therefore work together.

There is also a maintenance dimension to system integrity that shouldn’t be overlooked.

Mainframe organisations need a disciplined process for reviewing IBM security notifications, evaluating relevant PTFs, applying vendor fixes and validating changes to security-sensitive components.

The same applies to middleware, third-party software, network services and cryptographic configurations.

A strong operating system architecture is valuable, but it doesn’t eliminate the responsibility to maintain the software and configuration built around it.

Security Monitoring: Are We Seeing What Matters?

Mainframes generate considerable amounts of operational and security information.

For RACF environments, SMF type 80 records provide important evidence of security-relevant events, including selected authentication activity, resource-access attempts and security administration changes.

Other SMF record types, subsystem records, network information and application audit trails can provide additional context.

However, it would be incorrect to assume that every successful access generates an SMF type 80 record.

Audit coverage depends on the event, applicable security settings, resource definitions and the interfaces involved. Other external security managers also have their own audit configurations and reporting characteristics.

A security monitoring strategy therefore needs to establish what information is required, whether it is being captured and how it will be retained and protected.

Consider a privileged identity that normally accesses a relatively small group of datasets but suddenly begins accessing hundreds of unrelated resources.

Individual operations may be authorised. The suspicious element is the pattern of behaviour.

Rules-based monitoring can identify known conditions, while behavioural analytics may help detect deviations from established patterns.

IBM zSecure Detection provides capabilities for analysing mainframe security activity, including anomaly detection.

Other products address complementary aspects of the monitoring process.

BMC AMI Command Center for Security provides capabilities for monitoring, correlating and investigating security-relevant mainframe activity.

BMC AMI Datastream supports the collection and forwarding of supported mainframe security and operational events to external analytics and SIEM platforms, helping organisations incorporate z/OS activity into wider security investigations.

Vanguard also provides security reporting and alerting capabilities through products such as Vanguard Advisor and Active Alerts.

These technologies perform different functions. Event collection, correlation, reporting, anomaly detection and policy monitoring shouldn’t be treated as identical capabilities.

Nor should every automated security function be described as artificial intelligence.

What matters is whether the organisation can identify suspicious activity, understand its significance and respond before the impact becomes more serious.

For that to happen, mainframe monitoring must be integrated into the wider Security Operations Centre.

A suspicious event on z/OS may be associated with a compromised workstation, an identity provider, a distributed application or another system entirely.

Investigating the mainframe event in isolation may provide only part of the picture.

Audit information must also remain available during an incident. Appropriate retention, restricted access, protection against tampering and reliable delivery to monitoring platforms are important parts of the design.

There is little value in detecting a compromise if the evidence needed to understand it has already been lost or altered.

Disaster Recovery and Cyber Recovery Are Different Problems

Mainframes have a long history of supporting demanding availability and recovery requirements.

Parallel Sysplex, storage replication and technologies such as IBM GDPS provide important capabilities for maintaining service availability and recovering from infrastructure failures.

However, recovering from a cyberattack can introduce challenges that conventional disaster recovery arrangements were not designed to resolve on their own.

Consider a financial application processing transactions against a Db2 database.

An attacker obtains access through an authorised application interface and begins modifying customer information.

The transactions are committed successfully. The changes are recorded in the database logs, and the storage infrastructure replicates the updated information to the recovery site.

Nothing has necessarily failed at the infrastructure level.

In fact, the replication technology has performed exactly as intended.

Unfortunately, the corrupted information may now exist in both environments.

Failing over to the secondary site won’t necessarily restore the information to a trustworthy state.

Replication supports availability, but it doesn’t distinguish legitimate changes from malicious ones.

This is one of the reasons cyber recovery requires more than a traditional disaster recovery plan.

The organisation must establish when the corruption began, identify which information was affected and determine whether a trustworthy recovery point is available.

It must also consider the consequences of restoring data to an earlier point in time.

What happens to legitimate transactions processed after that point? Have downstream applications already consumed the corrupted information? Have messages been transmitted to external systems or files delivered to business partners?

Recovering the storage is only part of the problem.

The business service, and the information on which it depends, must be restored to a consistent and trustworthy condition.

IBM Z Cyber Vault and the Protection of Recovery Data

A cyber recovery strategy needs recovery copies that remain protected even when parts of the production environment have been compromised.

IBM addresses this requirement through IBM Z Cyber Vault, an architecture combining protected point-in-time copies, isolation, validation and recovery processes.

IBM DS8000 Safeguarded Copy technology can create protected copies that are not exposed to ordinary host write and deletion operations.

These copies can provide recovery points for investigation and restoration, while an appropriately isolated environment allows organisations to examine data and validate recovery procedures without relying entirely on the compromised production environment.

IBM’s Getting Started with IBM Z Cyber Vault, published in January 2026, provides a detailed technical explanation of the architecture, including storage protection, recovery orchestration, validation and forensic investigation.

There are two important qualifications.

First, a safeguarded copy is not necessarily equivalent to a physically air-gapped backup. The isolation and protection characteristics depend on the storage architecture, administrative controls and the wider solution design.

Second, a protected copy isn’t automatically a clean copy.

If the corruption occurred before the copy was created, the copy may preserve the compromised information.

That is why multiple recovery points, suitable retention policies and regular validation are essential.

Validation should go beyond confirming that a storage copy can be accessed. Depending on the workload, it may need to include database consistency checks, application-level validation and examination of business data.

The recovery environment also requires its own security controls.

Administrative identities, storage management interfaces, network connectivity and recovery automation must be protected against compromise. The recovery design should minimise unnecessary dependencies on the same credentials and management infrastructure used by production.

Otherwise, an attacker who compromises production administration may also be able to interfere with the organisation’s recovery capabilities.

This is where I believe organisations need to be particularly demanding about their recovery architecture.

It is not enough to have copies that production applications cannot modify. The management mechanisms controlling those copies, their retention and their use must also be protected.

The objective is to maintain credible recovery options even when the production environment cannot be trusted.

Recovering the Application Is Not Necessarily Recovering the Business

Imagine that an organisation identifies a trustworthy Db2 recovery point from several hours before a corruption incident.

The database can be restored, and the application can be restarted.

But during those hours, the organisation may have processed thousands of legitimate transactions alongside the malicious activity.

Simply restoring the database would remove both.

Replaying all transactions could reintroduce the corruption.

The problem becomes more complicated when the application has dependencies on IMS, MQ, VSAM, external databases or distributed services.

Different components may have committed changes at different times. Messages may already have been consumed, and some business transactions may have produced consequences outside the organisation.

A recovery plan therefore needs to address application consistency, transaction reconstruction and reconciliation.

For some workloads, targeted recovery may be preferable to restoring an entire environment. For others, the dependencies may make a broader recovery necessary.

There is no universal answer.

The correct approach depends on the application architecture, available logs, recovery facilities, transaction relationships and the organisation’s business requirements.

This is also where technical recovery objectives need to be interpreted carefully.

Recovery Time Objective (RTO) and Recovery Point Objective (RPO) remain important, but they don’t fully describe the challenge of determining which data can be trusted.

An organisation may be able to restart a system within its RTO while still needing additional time to investigate corruption and reconcile transactions.

And the recovery point selected for technical reasons may not be the point from which the business can most safely resume.

This distinction needs to be understood and tested before an incident occurs.

Ransomware: The Threat Doesn’t Have to Execute on z/OS

Ransomware is generally associated with Windows and Linux environments, but its consequences can extend well beyond the systems on which the malware executes.

It would be misleading to assume that ransomware developed for another operating system can simply execute unchanged on z/OS. The operating system architecture, executable formats and security interfaces are different.

However, the absence of conventional ransomware running natively on z/OS doesn’t make the mainframe immune to destructive attacks.

A compromised distributed application may be able to invoke authorised mainframe transactions. An attacker with inappropriate access to datasets or database utilities may be able to delete or corrupt information. A ransomware incident affecting middleware, identity services or file-transfer infrastructure may interrupt essential mainframe-dependent business processes.

The attack may also affect the organisation’s ability to administer, monitor or recover its mainframe environment.

The relevant question is therefore not simply whether ransomware can execute on z/OS.

It is whether an attacker can disrupt or compromise the business services supported by the mainframe, either directly or through the systems connected to it.

This broader view is consistent with the approach taken by NIST’s Ransomware Risk Management Community Profile, which addresses prevention, detection, response and recovery as connected activities.

Zero Trust: Extending Established Security Principles

Zero Trust is often discussed as though it were a completely new approach to security.

In reality, some of its principles should be familiar to mainframe professionals.

Resource-level authorisation, separation of duties and carefully controlled identities have been fundamental to z/OS security for many years.

However, NIST SP 800-207 describes a broader architecture in which access is not implicitly trusted because of network location or an assumed security boundary.

For modern mainframe environments, one of the most interesting challenges concerns identity across interconnected applications.

Consider a user who authenticates through a distributed application that subsequently invokes a CICS transaction.

If the connection uses a shared service identity, the mainframe may not receive sufficient information to distinguish the individual user who initiated the request.

Depending on the implementation, the application may need to enforce user-level authorisation itself or use supported identity propagation and delegation mechanisms.

The important point is that authentication and authorisation responsibilities must be clearly defined across the complete transaction path.

Digital certificates and TLS also play an important role in protecting communications between mainframe and distributed systems.

Certificate lifecycle management deserves attention because expired certificates can interrupt critical services, while poorly controlled private keys or inappropriate trust relationships can introduce security weaknesses.

BMC provides mainframe digital certificate management capabilities within its security portfolio, supporting certificate lifecycle processes and related enterprise integrations.

Such capabilities can help reduce manual administration and improve the consistency of certificate management, although their effectiveness depends on the product configuration and supported integrations.

Certificate automation alone does not constitute a Zero Trust architecture.

The objective should be to extend established mainframe security principles across the enterprise, rather than treat the mainframe as a separate security domain.

Cyber Resilience Needs to Be Demonstrated

Most organisations have disaster recovery plans, backup procedures and incident response documentation.

But documentation is not evidence that recovery will work under the conditions of a real cyber incident.

Consider an annual disaster recovery exercise in which the primary site becomes unavailable.

The recovery environment is activated, applications are restarted and selected business transactions are tested.

That demonstrates something important: the organisation can recover from the failure scenario represented by the exercise.

A cyber recovery test should go further.

What if the production environment is considered compromised? What if security administrators cannot use their normal credentials? What if the latest recovery copies contain corrupted information?

The team may need to investigate several recovery points, validate system configuration, examine application data and determine which information can safely be restored.

It must also establish how the recovered environment will be protected against reintroducing the original compromise.

NIST SP 800-61 Revision 3 provides guidance on integrating incident response into wider cybersecurity risk management.

For mainframe organisations, that means ensuring systems programmers, security specialists, database administrators, storage teams, application owners and enterprise incident responders understand their respective responsibilities.

Recovery exercises should test not only whether systems can restart, but whether the organisation can establish confidence in the recovered business service.

There is a significant difference between proving that a database is technically recoverable and demonstrating that the business can safely resume processing against it.

The Mainframe Skills Dimension

Cyber resilience also depends on something that technology alone cannot provide: experienced people who understand how the environment works.

During a serious incident, someone needs to interpret security records, assess privileged activity, validate system configuration, identify recovery dependencies and determine whether a proposed action could make the situation worse.

These tasks require specialist knowledge.

Mainframe security, systems programming, database administration and storage management are disciplines that take time to develop.

As organisations face changes in their workforce and increasingly depend on external providers, they need to ensure that critical recovery knowledge is documented, maintained and shared.

The Security Operations Centre may have considerable experience investigating distributed and cloud incidents but limited familiarity with z/OS.

Conversely, a mainframe team may understand the platform in great detail while having less experience coordinating an enterprise-wide cyber incident.

Both groups have knowledge the other needs.

That cooperation should be established through procedures, training and exercises, not improvised during a crisis.

Where Should Organisations Concentrate Their Efforts?

I don’t believe that improving mainframe cyber resilience starts with buying another security product.

It starts with understanding the business services that depend on the platform, the ways those services could be compromised and the organisation’s actual ability to recover them.

I would concentrate on six areas:

  1. Privileged access and system integrity. Review security administration, authorised code, sensitive libraries, system configuration and service identities. Confirm that excessive authority and integrity exposures are identified and addressed.
  2. Security visibility and incident response. Ensure that relevant mainframe security events are collected, protected, correlated and investigated as part of the enterprise SOC.
  3. Vulnerability and configuration management. Maintain a disciplined process for evaluating security advisories, applying appropriate maintenance and validating changes to security-sensitive components.
  4. Application and infrastructure dependencies. Understand how critical mainframe services depend on distributed applications, identity providers, middleware, networks and external systems.
  5. Protected and validated recovery capabilities. Establish suitable recovery points, secure the recovery environment and regularly validate the integrity of recoverable information.
  6. Realistic cyber recovery exercises. Test scenarios involving compromised identities, logical corruption, unavailable management services and the need to reconcile business transactions.

The objective isn’t to eliminate every possible risk. That would be unrealistic.

It is to reduce exposure, improve detection and ensure that the organisation retains credible recovery options when preventative controls prove insufficient.

Final Thoughts

The mainframe has earned its reputation for security and reliability. Its architecture provides capabilities that remain extremely valuable in an increasingly complex and interconnected technology landscape.

But those capabilities must be properly configured, maintained and integrated with the organisation’s wider cybersecurity arrangements.

IBM provides the underlying platform security architecture and technologies supporting high availability and cyber recovery. Specialist software from vendors such as BMC and Vanguard can complement those capabilities through security administration, assessment, monitoring, alerting and integration with enterprise security operations.

Each addresses different requirements. None should be viewed as a complete cyber-resilience solution on its own.

What concerns me most is the possibility that an organisation could have excellent availability arrangements, strong access controls and a well-documented disaster recovery plan, yet still struggle to recover from a deliberate compromise of its business information.

A mainframe can continue processing transactions while those transactions are being manipulated. Storage replication can preserve corrupted information just as efficiently as legitimate data. And a successful system restart tells us very little about whether the recovered business records are correct.

This is why I believe cyber resilience deserves the same attention as traditional mainframe security and availability.

We need to protect our systems, detect suspicious activity and respond effectively when something goes wrong. But we also need to understand what it takes to restore the integrity of the information on which the business depends.

Being able to bring a mainframe back online is important. Being able to demonstrate that the recovered systems and data can be trusted is what ultimately makes the difference.

That is the standard against which I believe mainframe cyber resilience should be measured.


References and Further Reading

The following resources provide additional technical information about the principles, architectures and products discussed in this article.

NIST and CISA

IBM

BMC

Vanguard


Disclaimer: The views and opinions expressed in this article are my own and do not necessarily reflect those of my employer.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.