0:00
–:––
React at 0:00
Black Hat USA 2025

Unix Underworld: Tales from the Dark Side of z/OS

When and where

Day
Wed 6 Aug 2025
Time
11:20 to 12:00 PDT
Room
Jasmine A & E, Level 3

Speakers

  • Philip YoungNetSPI

    Philip Young, aka Soldier of FORTRAN, Director of Mainframe Penetration Testing Services at NetSPI is an oldschool hacker. He started out with an Amiga 500 and a modem and never looked back, cutting his teeth on Datapac (the Canadian X.25 network), he eventually grew to searching the internet for interesting things. Later in his career, he started taking a serious look at mainframe cybersecurity and realized how far behind mainframes had fallen when compared to their more open system (Windows/Linux). At that point, he made it his life's mission to raise awareness and produce tooling to aid in the testing of these critical resources to help keep them safe. Since then, he has given talks around the world at places like Black Hat, DEFCON, RSA, has taught multiple workshops and was even under investigation by the Swedish secret police. In addition, he has released countless open-source tools to pentest mainframes.

  • Chad RikansrudBroadcom

    Chad Rikansrud is an expert in all things mainframe security and is also an award-winning speaker, with appearances at: DEF CON, RSA, SHARE, DerbyCon, and other local conferences. Most of Chad's 20-year career has been in technology leadership for the financial services industry, where he has held various senior leadership positions, including worldwide datacenter operations, infrastructure and recovery responsibility, as well as enterprise-wide system z storage. His current role has taken him back to his hacker roots, in which he gets to literally hack the Gibson for a living - performing mainframe security assessments, exploit development, and penetration tests for some of the world's largest organizations.

Abstract

You may have heard tales of mainframe pentesting and exploitation before - mostly from us! Those stories often focused on the MVS/ISPF side of the IBM z/OS. But did you know that all those same tricks (and more!) can be pulled off in z/OS Unix System Services (OMVS) as well? I bet you didn't even know z/OS had a UNIX side! Over the years, we've discovered multiple unique attack paths when it comes to Unix on the mainframe. In this talk, we'll present live demos of real-world scenarios we've encountered during mainframe penetration tests. These examples will showcase what can happen with poor file hygiene leading to database compromises, inadequate file permissions enabling privilege escalation, a lack of ESM resource understanding allowing for privileged command execution, and how dataset protection won't save you from these attacks. We'll also be demonstrating what can happen when we overflow the buffer in an APF authorized dataset. Attendees will learn how to test these controls themselves using freely available open-source tools and how to (partially) detect these attacks. While privesc in UNIX isn't game over for your mainframe, it's pretty close. By the end, it will be clear that simply granting superuser access to Unix can be just as dangerous, if not more so, than giving access to TSO on the mainframe.

What you'll get from it

IBM's z/OS mainframes have a Unix side, Unix System Services, and Philip Young and Chad Rikansrud show it's open to the same tricks as the rest of the system. Through live demos from real penetration tests, they show poor file hygiene leading to database compromise, weak permissions giving privilege escalation, and misunderstood security resources allowing privileged commands, plus a buffer overflow in an authorised dataset. You'll learn how to test these controls with free open-source tools and partly detect the attacks. It's for anyone who tests or runs mainframes.

Did you find what you came for?