Today we are talking to Kev Milne, who is one of the rare mainframe penetration testers. We are talking all things mainframes, their weaknesses, strengths and what makes them unique when it comes to security.
Kev has worked in IT since 1993, specializing in security and networking since 1999, gaining extensive expertise across operating systems, networking, and security. Since 2000, he has held various management and technical lead roles, including managing Standard Life’s global penetration testing service and serving as IT Security Manager in Germany. He holds CISSP, CHECK, and CREST certifications, is SC cleared by the British government, and is currently pursuing CISM.
This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit covertaccessteam.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00I am here with a special guest today who actually, one of the few people on Earth who actually knows how to do mainframe, I guess, everything. Everything from pen testing and actually how to abuse them and talk to them and everything else. So, Kev, could you go ahead and introduce yourself a little bit?
SPEAKER_02Yeah, sure. I'm Kev Milne. I live in Scotland. I am the father to two kids and I've been married quite a long time. I'm cyber threat intelligence manager now and I've done pen testing for... outside of security for almost 30 years including networking firewall and all the rest of the stuff. I actually came to mainframes about three years ago and I hadn't touched them up until then.
SPEAKER_02But I got the bug and I find them absolutely fascinating. So yeah, that's where I am at the moment.
SPEAKER_00Well, pen testing on mainframes or mainframes in general are such a rare breed of person like nobody nobody talks to mainframes right like I mean it's like for if you round it up for every 100 pen testers or programmers or anything else you might be lucky to have one person in there who could actually talk to a mainframe so why did you pick mainframes or what what made you what drew you to mainframes Basically, so I work for a large bank and we were looking at this sort of thing.
SPEAKER_02Well, one, to try and save some money. And two, I, you know, I led the pentest team at that point. I said, hey, we can do the pentest. How difficult can this be? Right. Little did I know that it was a huge steep learning curve and there was a massive ecosystem out there. So trying to find information out about it and trying to get access to a mainframe was very, very difficult. It took me a year to get access to a mainframe. Luckily, we have open source versions of that and some videos on YouTube.
SPEAKER_02And I started listening to a guy called Phil Young and Chad Rickendrood, who were the only two people who were really doing this and really saying, we need to test these things. And basically, over the space of a few months, started to understand how they worked. And so basically, I caught the bug and I was able to do the testing at the bank that I was at. Then I realized,
SPEAKER_02hey, I've got to create a course here because I'm going to have to teach the rest of the guys in the team to be able to do this as well. Basically, we were doing it because even though we had lots of external contractors and suppliers, none of them could actually do a pen test on a mainframe. You know, it was, it was something that needed to be done.
SPEAKER_00T-side compliance, blah, blah, blah, that sort of stuff, you know? Oh yeah, for sure. Absolutely. It's, you know, it's funny. That's how it always works, right? Like one person gets interested in something or gets trained in something and now you are the company expert in that thing and you will now train the entire company on that thing. So.
SPEAKER_02Yeah. Yeah, absolutely. Luckily, I love that sort of thing. So, you know, it's not a problem for me. But yeah, it was a steep learning curve, but it needed to be done. And it's more difficult than I thought it would be. But now I'm there. It's an extra string to the bow, which is useful.
SPEAKER_00Oh, yeah. I mean, for sure. Like I said at the beginning, I genuinely... I've been doing this along with like the cyber physical security stuff. And the amount of people that I've met who are like, oh yeah, I program or pen test or do something with mainframes. I could probably count it in one hand, man. I mean, it's a really, really rare skill to have. And I can only imagine with the legacy, you know, languages that they're talking, it's probably an annoying thing to learn. You know, you're coming from like, you know, Python where it really holds your hand on everything to something,
SPEAKER_00you know, that's written basically in Cobalt and Fortran. yeah absolutely so um we are i'm now part of the mainframe hacker society so there's probably around about 20 of us all together we do this and we call ourselves basically unicorns you know hacker unicorns because we're so rare um but yeah when it when it comes to these sort of things the whole pen testing is is slightly uh different when it comes to these things but the you
know luckily there
SPEAKER_02are ways of of uh getting around the cobalt fortran uh job control language gcl stuff there now luckily so um yeah it's it's it's good though but it is obscure i suppose so are there are there any kind of uh because i genuinely don't know uh are there
SPEAKER_00any kind of like helpful like helper languages or helper softwares or something that help bridge the gap between basically 1970s coding languages and what you're running today? When you want to talk to the mainframe, I mean, is it still as obnoxious as it would be if you were programming something in 1970 or is it actually easier today?
SPEAKER_02Actually, once you log in, it's not too bad at all. For example, we have a thing called TSO, which is the equivalent of a bash shell. Instead of a dollar prompt, you've got a ready prompt and the commands are slightly different. I think where it was difficult to learn this originally is because the language is different. When we talk about memory, we're talking about storage. When we talk about hard drives, we talk about DASD. and we talk about LPARs instead of virtual machines.
I remember asking the question, why is it they don't just change language?
SPEAKER_02It's like, well, they were there first. We've invented the changes. If you don't boot a mainframe, you IPL it, which will program load. I think all these things were quite tricky. Basically, you're still connecting to Telnet, you're still connecting to FTP, you're still connecting to SSH, HTTPS. And you still have APIs into the mainframe. You still got all of these things that are now there connecting to a massive, powerful machine that is split into various virtual machines.
SPEAKER_02So it's still a box. It's still a box. It may run some COBOL code, but if you're not sure what that code is, You know, there's always, you know, there's always artificial intelligence or any of these sort of things, and that's good for converting or understanding or looking at security and things like that. Obviously, don't take your code out and put it on the internet. That's a bad idea, but it's easier to understand now. I just had an image in my head of somebody,
you know, some mainframe programmer.
SPEAKER_00It's like, well, I don't understand what this error code is. Let me just dump, you know, the syntax for the mainframe onto some Chinese-based, you know, new AI system and see what it says.
SPEAKER_02Let's not be doing that sort of stuff, no. I mean, this is the thing, you know. I mean, I've talked to... to Phil and various other people. His soldier of Fortran, he pulls himself. And, you know, he's been doing pen tests and found vulnerable code from the 1970s. And I'm aware that there's lots of code like that running because it just runs, right? There's no issue with it. And even the latest machines will still run the old code because they're all
SPEAKER_02backward compatible. And he's gone, we need to fix this. who wrote this code and the guy's either a retired or actually died. So that in itself is a vulnerability. So, you know, it's, it's interesting stuff though. So nobody knows how some of it works.
SPEAKER_00So they don't want to touch it. Yep. If it, if it works, just get, just leave it alone. I, um, I I've talked to and worked with, uh, a lot of IOT or, uh, OT, uh, people in OT environments. And I was kind of surprised the first time an OT pen tester kind of mentioned to me, you know, he was showing me, you know, kind of what their standard operating procedure is in case all hell breaks loose and everything goes wrong. And there was a phone number and a guy's name. And it's just like, in case of emergency, call this person.
SPEAKER_00And it's some guy who retired like, you know, five, 10 years ago. And they weren't joking. It was like, no, like literally, like if something really, really goes wrong, pull this guy out of retirement, offer him anything he wants to come back and fix the problem. Because we don't know the spaghetti code, you know, the millions of lines of obnoxious spaghetti code and all these, you know, function calls and everything else. So yeah, that's not surprising that the same type of thing is kind of in, I mean, I don't know if you have that same standard operating procedure, but it's not surprising that it's all legacy stuff. So nobody really knows how it works or well,
you know, how it was written. yeah absolutely i mean i think one of my friends said well you've got job control language which is um you know the the you used to have punch cards and punch cards used to go in a hopper and you know there's certain films you can you can watch from the 1970s and you can see these sort of things it's quite hilarious but job
SPEAKER_02control language is is sort of based on that and um You know, somebody said to me, well, nobody's ever written job control language from scratch because there's always been something that's been there for the last 30 years. You just update it or things. So, you know, who knows what half of this stuff is actually doing and whether it's still relevant a lot of the time.
SPEAKER_00That's a valid point. So as somebody who does not go after mainframes, what are some, if any, kind of common myths about mainframe security or anything that you think you'd like to debunk? Is it that they're super complicated and nobody can get into it? Is that they're, I don't know, whatever. Is there any kind of security myths around mainframes that are interesting to you?
SPEAKER_02Yeah. First of all, people think It's some of the attitudes that actually come from some of the older guys in the mainframe. We've still got a lot of people, a lot of young people now coming in the mainframes and looking at that sort of thing. But some of the older guys are like, well, you can't get in the mainframe because behind a firewall, it's not on the internet. Or IBM have a warranty. Therefore, even if somebody does break in, you're completely covered. So that's not going to happen.
some other things that are just really interesting sort of attitudes towards mainframes.
SPEAKER_02Also, you can't break into a mainframe. You can't do buffer overflows in the mainframe. They're completely secure, which is absolutely not true. They're not secure out of the box. They can be made to be very secure. They can have quantum cryptography. They can have all these sort of things, but like any other system, like any sort of Linux system or Windows system, unless you keep that patching up to date, unless you configure it properly, you are still in the same position with this one million pound machine,
SPEAKER_02a one million dollar machine than you are with anything else. So that's it. The idea is that, you know, you can't break into them. And I think, you know, I've got a book probably coming out at the end of the year, if I managed to get through the editors at NoStarchPress and they they finally be to allow some of the chapters to go. But, you know, that's... I mean, it's all tricky sort of stuff,
but it's very interesting.
SPEAKER_00That is very interesting. So you can combine... kind of very legacy hardware and programming stuff, i.e. mainframes, with some absolutely cutting edge encryption, like quantum computing, sorry, quantum encryption, maybe elliptic cryptography and other things? Did I hear that right? Yeah, absolutely. When it comes to mainframes, these days, there's no such thing as legacy, really.
SPEAKER_02I mean, I've interviewed people in the past, and they've come in and gone, they've come on and said, oh, right, so you still run mainframes, that must be legacy stuff. And no, I mean, mainframe, for example, Z16 mainframe that came out in May 2022, That has 40 terabytes of memory on it. It can hold up to 500 petabytes of hard drive space.
SPEAKER_02They have AI built into the Telum processors, which are all five gigahertz each, and you can run 200 of them in parallel. It can do 25 billion instructions per second and run through 800 to a billion transactions per day. So that's 25,000 transactions per second. So these machines are absolute beasts. The fact that they are so backward compatible, we can still run code from the 1970s, is...
SPEAKER_02is just one of those things that it can do. It's been designed to do that sort of thing. And it still has a non-GUI interface, but why would they have a GUI interface, right? They're designed for specific things, healthcare, transactions, database access, et cetera. So they're definitely, the kit is not legacy.
SPEAKER_00It is extraordinarily powerful. Okay, so you're saying that it could run Doom effectively. Oh, yeah. Oh, yeah. All right, so that brings a question though, because it sounds like, and maybe I'm wrong, but it sounds like they are actually far more secure and much more capable than most people think. So then what exactly are the big threats to mainframes these days, you know, from a security standpoint?
SPEAKER_02Yeah, so probably the biggest threats to mainframes are, even though they're running the latest things, You can still have old code on them. That's one thing. You can also have misconfigurations as ever in any sort of system. So even if you've got an external security manager like RackF that is doing all the security for the mainframe, if you misconfigure it, you're still going to give somebody too much access.
SPEAKER_02And also, if you're not quite sure what you're doing, there's... there are datasets or files that give real access to the mainframe. If you give somebody too much access to those datasets, then it's game over basically. Finally, unencrypted protocols because usually people are using SSH or HTTPS, any of these sort of things. That is the case on the mainframe. However, I have still seen Telnet and FTP being used.
SPEAKER_02So, you know, your man in the middle attacks are very much coming into play with that sort of stuff.
SPEAKER_00Fair enough. So, I mean, OK, so. So when you have. OK, so you've got, you know, kind of this merging between modern and antiquated technologies. Does that in and of itself bring in any type of vulnerabilities? So like, let's say that you wanted to communicate, you know, like a Citrix environment, talk to the mainframe or a jump host, or you want to talk to it through Linux or whatever. However, you're, you know, you're, you're trying to integrate, you know, this, it sounds like you're trying to integrate this mainframe that can do both the modern and the antiquated.
Does that in and of itself bring in like security vulnerabilities or is that not
SPEAKER_00really an issue?
SPEAKER_02Yeah, absolutely. The mainframe will still run APIs, right? So we've got a thing called ZOS Connect. So you're integrating APIs. Because it does so many banking transactions, so if you look at standard transactions, if you swipe your credit card or you use your direct debit card or any of these sort of things, that is a banking transaction that goes straight generally to a mainframe. also if you pay your mortgage and you pay your rent or you get
your salary these are batch jobs that happen on the mainframe right now these have got to be connected to the mobile applications standard applications and so now apis are being plugged into what we call kicks or a customer information control system that
SPEAKER_02was once upon a time this nice green screen that people type data into So everything is integrated straight to the database at the backend. That means you suddenly have issues potentially with SQL injection attacks and input validation and anything else that you might have with any database sitting on any system. So it still is the same sort of thing. But they're running the banking transactions and the mobile applications that allow you to transfer money.
SPEAKER_02So, you know, big target.
SPEAKER_00Yeah, I mean, that sounds like a big target because on the one hand, it seems like the mainframe is very secured by sequestering it away, right? Like the whole PCI compliance thing, you can't go from the internet to the mainframe directly. There has to be some segmentation. But it sounds like Anytime you use any form of payment card, you are in some way, shape or form talking to the mainframe. I imagine that that's probably also true for ATM transactions or any type of credit card transactions. So with so many things all over the world talking in some way
to your mainframe,
SPEAKER_00how exactly do you secure it? Because to me, that sounds just like a website. Like everybody can, you know, anyone there in the world can talk to the same thing.
SPEAKER_02Yeah, absolutely. So, I mean, if you think about it, the mainframe is just massively powerful. And this is why when you run a transaction, so you swipe your credit card, it gets done so quickly because it has to be done instantaneously. You're still going to secure it in the same sort of way as you would secure a backend database or web server. You're still going to do input validation security. You're going to still secure it through SQL injection attacks.
SPEAKER_02You are going to do your segmentation. Then you're going to make sure your password authentication is either multi-factor, or you know at least um as secure as you can possibly make it and that's how you you secure the mainframe against all different uh attack vectors from the web from atms and uh other other areas like that as well so yeah do you do you see any type
SPEAKER_00i don't know if you're in much incident response stuff, but do you see actual attacks coming through? Like people trying to throw any type of injection style attacks through, you know, I don't know, like the credit card swiping machines or ATM transactions or anything like that? Or is that like a, that doesn't happen? Well, obviously I've got to be careful what I say because of course, of course.
SPEAKER_02Yes, of course we do. Of course we do. And we have to have everything in place and all that sort of stuff. But yes, of course. Like any front-end website, you will see SQL injection attacks, cross-site stripping. I mean, I've even set up... I have been doing some testing, even in my house, with a sort of fake mainframe just to see what happens. And you're constantly getting...
NMAP scans, you're getting constant connections coming in from China and Iran, Lithuania, ukraine russia everywhere constantly and that is my small little mini machine sitting in my home and i can guarantee if i put a website up on that you're going to get input validation you're going to get sequel injection cross-section attack as well so absolutely okay that makes perfect sense so you kind of you kind of tiptoed into something that i wanted to ask you about so you've
you've spun up a
SPEAKER_00mock mainframe at your house When you want to actually do a pen test or any type of offensive check on a mainframe, which is clearly in production, how do you do it? What exactly is the process of like, all right, I've got this extremely expensive, extremely what I assume to be fragile system. How do I actually pen test it?
SPEAKER_02A couple of things. Generally, luckily, they're not as fragile as people think. They think that you do an NMAP scan on it and it'll fall over. The only thing that might fall over is your 1970s COBOL code that was written before there was any security thought about. Yeah, I mean, that is really the main thing. So with regards to production, we will tend to test in the test of development environments or NFT,
SPEAKER_02so as near to production as we possibly can. Where I work, our development systems are very, very close to production because they have to make sure that everything is absolutely right and worse before they promote it to production. So that is what we do. When it comes to some of the stuff that might be required in production, and that might be PCI compliance, because I'm aware that PCI compliance has to be tested on production,
we will likely audit it and be much more careful because we can't afford to have
SPEAKER_02those transactions going down. But it's kind of like any system in the bank there. But yeah, test is where we do all our testing. Uh, generally, luckily for us, it is very, very close to production.
SPEAKER_00Okay. Fair enough. So, so just, so it sounds like you're, you're kind of making a clone of the mainframe and then you're testing that, that kind of like a copy. Is that right? Or are you actually, did I hear that correctly?
SPEAKER_02A hundred percent. And we'll also test the backup one. So, I mean, obviously there's lots of fault tolerance here. We will always touch the, do the one that is not currently in production at that point.
SPEAKER_00That makes, honestly, that makes perfect sense. I've done a lot of ATM testings and we kind of have the same kind of idea. Now, one question that I have is when I, so, You will often get, maybe not often, but sometimes you'll get where you say, as the security guy, I think that there's a problem here, or I think that we need to do X, Y, or Z, and you get pushback from the client. And if you can't answer this, I totally understand. So for example, in physical security, one of the pushbacks that I will often get is,
SPEAKER_00well, we don't really need to run a pen test because we know that you can already break into the building, so why bother? Do you ever have... When it comes to mainframe security, do you ever have any pushback or what typical pushback could you see from a client? Oh, we don't need to do that for this reason or that's not a security issue because of whatever. Yeah, it just kind of comes down to the attitudes from the mainframe community.
SPEAKER_02I don't really see it. where I work because our mainframe owners are really progressive and they're a real mix of ages and they totally understand that the security is important. But I have seen people saying everything from, oh, well, don't touch the mainframe because if you scan it, it'll fall over. Or we don't need to do that because we're behind the firewall. So you don't need to actually test it. It's in the bowels of the network.
SPEAKER_02So you would get pushback, but it's only because people are kind of worried about that sort of thing, I think.
SPEAKER_00Yeah.
SPEAKER_02Sorry, go ahead. Oh, I was just going to say, yeah, I mean, there does seem to be this kind of a... I guess maybe this misconception that mainframes are the same as the OT environment,
SPEAKER_00where you have to be really, really careful when you have all these microcontrollers and everything else. And if you run an in-map scan, the entire system is going to fall down, and you're going to blow up a city or whatever. So it sounds like that's not the case at all. It really does sound like mainframes are far more robust and resilient than people think.
SPEAKER_02Yeah, absolutely. If you look at one of IBM's videos, actually, they have a mainframe, Z16 mainframe, sitting on, it's sort of a platform, and they shake it to the level of hurricane force wind until everything is almost falling apart, and then show that it's still working at the end of it. That's the resilience that they build into the mainframe. So NMAP scan is not going to bring the mainframe down.
SPEAKER_02Okay. That's, it's, it's very powerful systems that, that, and the, the, the, uh, networking connections and things like that these days are, uh, it's not going to be an issue. Fair enough. Um, ETMs on the other side, they can fall over.
SPEAKER_00Yeah. Yeah. Yeah. That's, uh, that, that actually brings up an interesting question. So now I, I, you can talk in vague generalities or you can just not answer the question. I'm just genuinely curious. I've poked at a lot of ATMs over the years, and it does seem like the ATM has unique, what do I want to say? It seems like the ATM itself does have unique communications to the bank that other systems don't go through the website and other things.
SPEAKER_00I guess my question is, How vulnerable would something like the mainframe be to somebody who has access to the ATM machine? And again, if you can't answer it, if that's like, hey, that's company secret, we can't talk about that, that's perfectly fine.
SPEAKER_02Yeah, absolutely. I can't talk to that. Nope, that's perfectly fine. I know that we are secure. Okay. But I can't have to be vague on that. I've seen things in the past at other companies. maybe 15 years ago where security was quite lax, but then you could basically at those companies, you were able to wander into buildings and things like that
without an ID,
SPEAKER_02the password, and then get to the network cabinet and plug yourself in and be told, oh, well. And even at that point, I remember saying to the IT manager years ago, hey, you know, at least need to put blocks on these cabinets is like oh that's not what we do and i'm like okay well it's security 101 well it's not our policy so we go by our policies yeah so so some mad stuff there but um no i i can't really answer that
question oh i know we're secure perfect okay well that's good it's good to know
SPEAKER_00that you guys are secure over there um So that actually, you're kind of tiptoeing into my bread and butter of, you know, breaking into buildings and stuff. So kind of a, you know, a cute story from many, many years ago. We ran a pen test on a bank. Not yours, obviously. And... We basically, at the end of the day, we convinced somebody to simulate what would happen if you kind of ran PCI compliance testing as far as segmentation is concerned,
SPEAKER_00but you added a physical component to it. So for anybody who doesn't know, PCI payment card industry compliance testing is eh. You just have to have a third party come in every once in a while if you're a bank and make sure that you're not doing anything stupid. And one of those stupid things that you could be doing is you attach the mainframe directly to the website, right? Like if you can go to bank.com and then somehow pivot to the mainframe, that's a big no-no. It has to be segmented away. So... what we did in a simulated test was we were able to break into the bank,
SPEAKER_00physical bank, find the person's workstation who works on the mainframe, which was not hard. We just did an OSINT scan or investigation to figure out who at that location is basically boasting on LinkedIn, you know, like, Oh yeah, by the way, I do mainframe programming. Cause there's only probably going to be like two people. Um, and then we found their workstation bugged their workstation. Uh, and then when they, the next time they got on the mainframe, um, we were kind of like on the session. But the funny thing was, was that we'd gone through all this effort and we hadn't thought through like, okay, what do we do?
Nobody on our team knew at the time, like how to actually do anything on a mainframe.
SPEAKER_00So we had a proof of concept, but that was about it. Like we, so that's, I mean, that's kind of when we talk about mainframes, that's honestly how me and my team, we typically go about it. But I'm curious as to your thoughts on that. Is that something like, I sincerely doubt that that's something that you guys have to worry about or something that you have to deal with, but that's just kind of like how we would go about it. I'm just curious about it.
SPEAKER_02Yeah, yeah, absolutely. Years ago, I used to get things like Wi-Fi pineapples and, you know, I would do physical social engineering type stuff and, you know, get into buildings and things and I'd plug the Wi-Fi pineapple in and then conduct man-in-middle attacks. So that is something that's used to be seen quite a lot. I'm not sure I see it so often these days with standard red teaming,
SPEAKER_02you know, looking at phishing attacks and other things, it's more remote. One of the things about, I have heard, I have other friends who work in pen testing who Adam Finkelstein, inadvertently managed to get on a system that happened to be a gateway into the mainframe. Adam Finkelstein, And then they were picking up all the user IDs and passwords, but he couldn't read them because they're in, they're not in ASCII, they're in EBCDX, so they couldn't read the wire shark traffic.
SPEAKER_02Right, so I've got tools and Python tools that I've created that decrypts the edge of it can, you know, I know to look for these sort of things. But the important thing, obviously, about any penetration test is understanding what you're looking for, how to get there, and then just like your covert access, how to understand how to get around once again. And I'm not brilliant at covert access stuff. I get into somewhere and then generally just get completely lost. So that is a complete weakness of mine.
SPEAKER_02But yeah, once you get land on that mainframe, you've got to know what you're looking for, really. So it's like anything else. But it used to be the same 20 years ago. People didn't really know an awful lot about Linux or Unix. And so they would get me onto a box and go, right, okay, I know how to do LS or I don't know how to do CAT, but what else am I looking for here? Same sort of thing, but yeah.
SPEAKER_00Fair enough. But that does beg an interesting question. So you've written some of your own custom programs in code, but so if you're running a web app pen test, you know, InMap, Burp, you know, like, you know, a responder, if you're running something internal, what tools are you using when you're running a PIM test on a mainframe, or even just talking to the mainframe? What are you using? What kind of stuff, aside from your custom stuff?
SPEAKER_02Yeah, so pretty much using Nmap, obviously. It's pretty much the same sort of tools. It depends whether I'm doing a sort of red team stuff. So you're looking at trying to get onto standard systems first in order before you make your way to the mainframe. If you're doing some mainframe test, sometimes you'll have a low-level user that you're just given But you're still doing your Nmap scans. You can't really use NESes for much because there's not a lot
of vulnerabilities
SPEAKER_02that are actually in there. Netsploit as well is the same. I think Chad and Philip Young wrote two or three exploits, and that is pretty much it. Short of some of the custom tooling, which are a lot of the Python scripts or REC scripts or job control language stuff, for enumeration, etc. A lot of the tools are the same, but some of the critical ones are slightly different once you get on.
SPEAKER_02You've got to do different stuff.
SPEAKER_00Fair enough. Do you guys have, so obviously the mainframe is protected in a whole bunch of ways from segmentation and firewalls and everything else. But do you have some type of SOC or some type of active monitoring on the mainframe to see if any malicious code is running through? Or, you know, if anybody's doing something that they shouldn't, or is it just kind of the whole front heavy security where all the security is around the mainframe and then we don't really test or check, you know,
SPEAKER_00what's going on on the mainframe?
SPEAKER_02Yeah, you've still got the same sort of monitoring. So the monitoring will still come in to SOC for anybody who's trying to make connections. whether they're TLS connections or EBSID connections or any of these sort of things. Once you're on the mainframe, the RACF database, you've got IBM Health Check. You've also got another thing called ZSecure or ZSecure, which will do all the logging and will do all the monitoring. And then there's, it's a whole massive ecosystem. This is the biggest thing about the mainframe that I found.
SPEAKER_02I thought, well, it's COBOL job control language. It's like some, it's like, the menu system and other stuff no it's a huge ecosystem and there are lots of security tools and monitoring tools when you're on the mainframe as well so yeah and they all get plugged into splunk or they get plugged into your sim or whatever else yeah it's all still there you've you've mentioned epsodex several times over
SPEAKER_00could you tell me about what that is and how it's used yeah sure uh so
SPEAKER_02Standard connections, so say you're using Netcat or you're doing any standard TCP connections, they are usually using ASCII code. which is the seven-character code. EBSIDIC comes from the punch cards back in 1964. So it is sort of 8-bit rather than the seven characters that you get in ASCII. And it's slightly different. So if you try and capture traffic, all you get is a bunch of at signs. So it's different when it comes to reading the traffic in Wireshark.
It's the communications protocol that AS400s or i-series and mainframes use.
SPEAKER_02But it is perfectly decodable if you know what you're looking at. The reason why they did that is because in 1964, IBM had already implemented this before ASCII came out. So they just thought, well, we'll just leave it, even though they helped out with the ASCII protocol as well.
SPEAKER_00Yeah, yeah, that whole, like, if it's not broken, don't fix it thing. Yeah, okay.
SPEAKER_00Yeah, that's interesting. Punch cards, wow, man. I am just old enough to have kind of known punch cards, but just barely. Yeah, you're talking some seriously old stuff there.
SPEAKER_02Yeah, absolutely. We used to have guys in our team who remember the punch cards and things like that. But there's... There's... few films on Netflix and various places like that, which are quite hilarious, really, to be honest. You see people actually, you know, get a bunch of cars and feed them into a hopper and they go flying through and then they come out the other side and that's how you programmed all your Fortran code or Cobalt code or
any of these things you know I mean and they wrote job control language off the back of that and it I think the guy and it was 1964 and the the the mainframe that was really the the one that broke the mold was the first system that you you
SPEAKER_02actually The system was the first one that ran different pieces of software, right? So if you wanted a computer system, you programmed the system, it did one thing, and that was it. But in 1964, they decided to build the IBM 360, and it was part of the Apollo space mission, and that's one of the reasons that they did that. And it had to be adaptable so they could have one big machine, and you could program it, and it would do lots of different stuff. So... But that's kind of where that came from.
SPEAKER_02But job control language was built at the same time. And the guy who built it said, this is the worst programming language ever written by anyone ever. And that was the guy at IBM that said that. And it is a pig.
SPEAKER_00Shall we see. Fair enough. I mean, it's not wrong. I mean, programming, like if you, even if you just look at, you know, semi-modern languages, like the difference between C and Python today, I mean, it is night and day different. So I can only imagine trying to program in something in the, you know, the 60s and 70s. It's, it's a sembler that is, is the one I look at and go, I have no idea what is going on.
SPEAKER_02Absolutely zero.
SPEAKER_00So yeah, it's, it's interesting stuff. Absolutely. So that does kind of beg the question, though, of. So I know if I got asked to hack a website or do a Wi-Fi test or do an internal network test, I know kind of the steps that I would take, you know, to do all these things. But if you were tasked with running a mainframe pen test, what exactly are the steps? Are you running recon?
SPEAKER_00Is it just, like, what exactly, like, what are the steps that you're running through when you're going to be tasked with, okay, do your, you know, here's a mainframe, here's the IP address, you know, go get it.
SPEAKER_02It depends if it's an internal test or an external test. So let's just look at, let's just imagine we're doing an external test on a red team. test, which I think more mainframes should be involved in these sort of things, because a lot of time red teamers begin, and the Crown Jewels is Active Directory, right? And I'm like, well, that's not really Active Directory, even Crown Jewels. Okay, you've got that, but you haven't got it in the mainframe. That is the bit that has all the money on it. That is the one that's doing the transactions.
SPEAKER_02So, yeah, I would absolutely start off with Austin. That's the first sort of thing. Also, recon any of these sort of things. Find out who the main framers is. If you've got a RACF guy who's an intern, that sort of thing, even better. Then you're trying to generally, if you're an external sense of phishing emails in order to get onto some sort of workstation, then you're from there, you use a man in the middle attack. So you're using anything else to try and get pivot onto the mainframe.
SPEAKER_02once you're on the mainframe, you may have low level access. It depends, but you're starting to then look at privilege escalation like anything else. And, you know, we look at slightly different things. So we look at things called surrogate access or authorized program facilities. So surrogate access is whereby you have some batch job, which is running some code and has an authorized user with a
higher level of authority,
SPEAKER_02with surrogate user. And you will then, if you're able to look at the code, you might be able to change it and run the code and upgrade your pilgrimage escalation. Second part is authorized program facility, which is APF. And these are a bunch of libraries or directories where all the code in there has full access to the mainframe. If you can get in there or add something to that, then you can escalate your privileges.
Once you get to special, which is the highest level on the mainframe, game over, that's it.
SPEAKER_02The important thing is the output, the report. So, you know, that's the stuff that I think a lot of people who are on Hack the Box and things, they try to root a box. When I'm looking for a pen test, I want to see the statement of work. I then want, or the scope. I then want to see the methodology and I want to see the actual work being done. But then we need to see the output because the output in the report is what people are going to read and fix.
SPEAKER_00Oh, yeah, you're absolutely right on that. I mean, it's the ability to actually the thing that sets you apart from being, you know, good versus excellent is your ability to help the client mitigate the actual problem. I mean, I mean, you know, kind of one of the things that I say is like, look, you know, anybody can break into 90 percent of facilities physically with a brick. You know, that's not usually what clients care about. They care about, you know, if you throw a brick through the window and I take two steps inside and you're already in handcuffs, they're going to look at that as a win. But if you can, you know,
SPEAKER_00it's the question of any actual vulnerabilities you find, can you actually walk the client through solutions to resolve it in a way that doesn't break the bank, it's reasonable, and it actually has efficacy as far as, you know, hey, you know, five, six, seven months down the line, it's still fixed. It's not something like, well, it got fixed for two weeks and now it's broken again. Yeah. So one question that I have, you mentioned on the mainframe that there are actual privilege levels.
SPEAKER_00So how would you go about privilege escalating on a mainframe? Now you mentioned special is effectively root or domain admin or however you want to look at it. But what exactly is the process? Is it different than Active Directory or anything else trying to privilege escalate or how does that work?
SPEAKER_02Yeah, I would say... Yeah, I would say it's probably slightly different. This is one of the things that was difficult, a steep learning curve and things like that. You've got to understand... some of the memory allocation stuff, you've also got to understand things like authorized program facilities and surrogate access. And none of these words mean absolutely anything to most people, right? But at the end of the day,
what you're doing is you're adding code into special programs that have full access
SPEAKER_02to the mainframe. So basically, when you get onto a system, you may have access level none, which is user level. Then from there, you have audit level, you have operator level, and then you have special. Now, special doesn't have access to everything, but special can give itself access to everything. So if you can get to that level and steal any sort of users from that sort of level, then that is that.
SPEAKER_02So there's three ways of doing it. One is tampering with batch jobs that you might be able to execute code with your extra code. Tampering with libraries and adding your files into those special libraries or data or folders that give you access. Or the third one is hacking and decrypting the RackF database, which is, you know, the equivalent of stealing all the hashes and decrypting those
and then escalating
SPEAKER_02the privileges from there. So those are the three sort of methods of privilege escalation that you'd use in an entry.
SPEAKER_00Fair enough. I mean, it honestly sounds like, you know, kind of the really old school style of hacking where you're looking at function calls and memory addresses and trying to say, okay, when this function call gets called at the very end of this, I don't want to go to the memory address where it's supposed to take me. I want to go to the memory address somewhere else and blah, blah, blah. So, I mean, it sounds like that's kind of like, well, maybe I'm misunderstanding.
SPEAKER_02No, you're absolutely right. The only one that is more modern day is actually just stealing the RackF database. So it's downloading all the hashes and all the rest of the policies, et cetera, and then using John the Ripper to just crack it all. You know what I mean? Which he can't. Ah, so you're a John the Ripper kind of guy and not a Hashcat kind of guy, huh? I'm still old school John the Ripper. You know what I mean? I know Hashcat has a lot of things that it can do faster and better,
SPEAKER_02but I still like John the Ripper.
SPEAKER_00There's nothing wrong with John. He's a good guy. Absolutely. And he can crack Racket databases.
SPEAKER_02So it's useful. Interesting.
SPEAKER_00Interesting. Yeah, that's, I mean, you're probably, that's an interesting point. I hadn't thought about that until you brought it up is John the Ripper might actually, I mean, there might be use cases where it actually, for this specific thing with mainframes, I've never once tried any type of, you know, using Hashcat on a mainframe type of credential. So that's interesting. I hadn't even thought about that.
SPEAKER_02Yeah, I mean, one of the things that is possible is to, if you can get RackF database off onto one of your systems, there's a tool called RackF to John, which will convert it to standard, you know, just ASCII text that you can then just use MD5 crypt or AES crypt against. And that's it.
SPEAKER_00Wait, wait, wait. Are you telling me that all the encryptions are in MD5? They were. Yeah, right until 2016, everything was dead.
SPEAKER_01Wow. And they only shifted to AES in 2016.
SPEAKER_00Wow. Okay, so that begs the question, how many systems, how many mainframes in the world do you think actually got compliant and patched versus how many do you think are still running those MD5 hashes?
SPEAKER_02I have no idea, but I would say quite a lot. And one of the reasons being is unless you, I mean, one of the things that you might find in one of the top 10 vulnerabilities that you find on mainframes is that passwords don't get changed. So if the password doesn't get changed after the time that the AES encryption was implemented, it will still be encrypted in DES. Right. So you could think, see, oh, we've got AES encryption.
SPEAKER_02Great. If you haven't done anything to those passwords, because they make the application passwords, they're still encrypted in DES. How many others have been shifted? It depends how much money you've decided to spend on going from a Z14 up to Z16 server.
SPEAKER_00Ah, okay. So it's not as simple as just patching a software kind of thing. You actually have to upgrade hardware or something, or is it a software upgrade?
SPEAKER_02Yeah, it's a software upgrade. It's a software upgrade. So the operating system that runs on the mainframe is called ZOS, or ZOS in the UK. um and it's currently on version 3.1 which is uh super secure and really really actually pretty good out of the box but some of the older versions um aren't absolutely brilliant and it's been a real fight for people like
soldier fortran and big indian smalls who've gone to ibm and places and these other folks and gone hey
SPEAKER_02you know these vulnerabilities that you think are okay, they're not okay. So that's been quite a fight. You know what I mean?
SPEAKER_00Oh yeah, for sure. That's kind of why I brought up earlier. I was like, what kind of pushback do you get from clients? And that's a common pushback where security people will be like, no, this is a vulnerability. And they're like, that's fine.
SPEAKER_02Yeah, exactly. Nah, that's fine. It's kind of pretty common.
SPEAKER_00Right. And then fast forward a few years, they get some kind of catastrophic breach and they're like, oh no, who could have seen this coming?
SPEAKER_02So when things go wrong,
SPEAKER_00they will go wrong. So it's maybe low risk catastrophic impact. So you mentioned, okay, so with the credential encryptions, so if you were sitting a man in the middle or anything else, you're on somehow talking to the mainframe, you're able to grab some of the hashes, you've got low level privileges, you're able to decrypt it, Is it then just as simple as just logging in with those credentials and then poof, your root? I mean, is it kind of the same type of setup as any other, I don't know,
SPEAKER_00active directory or anything else?
SPEAKER_02Absolutely. Unless you've got multi-factor authentication, which keeps your man in the middle of tags pretty much dead in the water.
SPEAKER_00That's interesting. So mainframes actually have multi-factor authentication then?
SPEAKER_02Oh yeah, absolutely. So you can have passphrases on there. So by default, you have eight characters, uppercase only. So if you think about LAN manager hashes on an old Windows box, these things came from the original IBM LAN manager, right? And all Microsoft did was extend a little bit. Now, you know how easy it is to decrypt land manager hashes or MD5, it's like instantaneous, right? So by default, the DES encryption there is only a maximum of eight characters,
all uppercase.
SPEAKER_02So you're like, whoa. So you can implement passphrases, multi-factor authentication, and other things like that as well, of course, and now quantum cryptography and other things. So Mainframe will do that.
SPEAKER_00All right. So something that's very relevant to me, the kind of a cliche joke when it comes to physical security is if I can get access to your server rack and I plug directly into it, I just bypassed all of your cybersecurity, right? I just go into the heart of the thing. Is the same thing true for the mainframe? Is there any way that I could just walk up to a physical, actual machine, plug into it, then poof, I'm just on it? Or does it work that way?
SPEAKER_02Like anything else. So, for example, if you're on the machine, it's pretty much game over a lot of the time. So it's going to be the same whether you're doing Windows servers, Linux servers, desktops, or any of these sort of things. But it depends if you're walking up to a rack, where you have that terminal sitting there that you've got access to and whether somebody's actually logged into it. So if they've been dashed enough to leave the cabinet open and
you have a terminal
SPEAKER_02connected and it is sitting at a ready prompt, which is equivalent to dollar prompt, it will be game over.
SPEAKER_00Good to know. All right. It's for all the physical pin testers out there going after a mainframe. There you go. Now that said, this does bring the really important question. If you are doing a pen test and you do manage to get onto the mainframe, what do you do? Like, is it enough to, so from your, so as somebody who deals with mainframes all the time, if I was tasked with running a test on your bank and let's say I somehow managed to get to the mainframe, Is it enough to just tell you, hey, this was the attack vector I did.
SPEAKER_00Here's how I got onto it. Or would you expect me to actually poke at the mainframe? Because I assume that that would be a big no-no.
SPEAKER_02It depends on the scope. So, for example, if you're doing any mainframe, like anything else, if you're, say, trying to get onto a Linux box and the goal is to just go into the Linux box, then that's all good. If you've got a database at the back end, it's like, we want you to steal the credit cards because we've given you credentials to allow you onto the box anyway, low-level credentials. What can you do from there? So it's all going to be coming down to the scope.
So can you steal credit cards from the database or can you get to special or these
SPEAKER_01sort of things?
SPEAKER_00Okay, fair enough. Now, I assume that only the higher level privileges can actually talk or actually view the unencrypted credit card data. Is that correct? Or is it any privilege level on the mainframe can actually see and access or at least view the unencrypted PCI data?
SPEAKER_02You're going to have to have... Dave Spacey administrator type level access. So it's unlikely that you're going to be able to just physically, you know, steal the hard drives or, you know, which I've seen in the past, people just going, oh, I'm stealing a hard drive. Thanks. It's all rage. So, um,
SPEAKER_01So yes, these things are always going to be encrypted. So in order to be able to read the data, you're going to have to be the database administrator, or you're going to have to have special access, which will give you database administrator access. That makes sense.
SPEAKER_00OK, that's good to hear. It's good to hear that it's not just anyone at any privilege level can at least see the database, because that would be terrible. All right, so that's interesting. So as somebody who's done mainframe stuff for a long time now, what is something, if any, that you've come across that's either really surprising, silly, any good war stories or surprising stuff that you've come across in your tenure of poking at mainframes?
SPEAKER_02Generally not at mainframes, because the last three years or so I've been working on mainframes at basically where I've worked here. generally war stories or dark stories I used to do a lot of PCI pen testing and travel around the world so in Serbia and Ghana and the US and Canada and places like that so when I was in Ghana um it you know it's simple thing being a pen tester being a hacker it's like can I have a is there anywhere I can get coffee and
SPEAKER_02she kind of looked at me and went well we don't really drink caffeine or anything like that. And I'm like, all right, okay, right. There's no Costa or there's no Starbucks or anything like that sitting about. And they've been, don't worry about it though. We will go and get you a coffee and things. So I was like, it's okay, don't worry about it. No, no, no, not at all. So actually they went up, it was the CEO of the bank that had a coffee machine. So eventually they came back that half an hour later
SPEAKER_02and said, OK, your coffee's ready. And I actually had to physically walk into the office, and he presented me a coffee in his china cup on a silver tray in front of the rest of the audience. But here's your coffee. And I was like, oh, my God. So I didn't ask for any more coffees or any of these sort of things. Also, I used to do some military work and things. I used to burn a hard disk drive every week and go back into the shop. every week for a brand new one and just this young guy went
what is it you do i could get a hacker for the british government and he's like whoa that's so cool
SPEAKER_02dude it was like bill and ted's excellent adventure Yeah, nothing particularly exciting. I have done some social engineering stuff that was really interesting in the past, but yeah.
SPEAKER_00Well, I mean, honestly, it sounds like when you were in Ghana, you might have had a really easy way of getting some pretty high level privilege if you have to go all the way to the CEO's office to get a copy.
SPEAKER_02Yeah, exactly. Exactly. All I got in the, I was part of the school field. So there you are. There was a, yeah. So you've done this kind of work all over the world now and for both the private
SPEAKER_00sector and governments. Do you see much difference? Now, obviously this is kind of an unfair question because you're talking about third world countries versus first world, but you see a lot of difference between how different countries or the private and public sector kind of like handle their mainframe security. You know, do you have like, oh, when I'm dealing with IBM, they're on the ball. And when I'm dealing with, you know, blank government organization, they don't know what the hell they're doing. Or is it all kind of like, you know, everybody seems to know what they're doing and everybody's security is pretty good.
SPEAKER_02Well, I can give you an example. So I was 10 years ago, I was doing some work for a bank, doing some consultancy. And so in the space of two months one month i went to serbia and the fall one month i went to ghana and the following month i went to serbia so i expected it's you know from working for the same bank and they were entirely different so in in ghana they had a pretty much a dmz and they put everything in the dmz on on patch but they're
like well we've got a dmz so everything's absolutely uh fine and so that was a huge
SPEAKER_02report same bank in serbia um i couldn't even i could barely get into the printers never mind anything else it was so tight and um the the poor guys have been warned if this pen tester gets into anything people will be fired so you know i'm glad for them that i didn't get into much but yeah it was i said oh your printer's leaking you've got a web server in your printer i can get into and things like that but all i'm not tight as a drum right well so it's it's different based on
SPEAKER_00That's only my experience, though. Oh, no, that's that's honestly that jives very well with mine. You know, like so when you when you're trying to break in physically to break into a system or a bank or whatever, oftentimes going out to a branch office in the middle of nowhere might be the easiest way for you to grab a badge or something else. And then you go to the headquarters or then you use whatever you stole from the branch office. So that actually begs a really interesting question. If you have the same bank, let's just make up a bank,
SPEAKER_02How about Cyberbank? I've set up a fake bank for my awesome stuff.
SPEAKER_00There we go. So we've got your fake bank. And let's say that your fake bank has a headquarters that's super secure in Edinburgh or London. And then it's got a branch office in Ghana. If I were to break into the, like, if I was to attack the Ghana branch office, could I use that somehow to get to the mainframe in London? Would that work that way? If I went after that branch office, could I go after the other one? Or is it, oh, you'd have to go after, you know, I don't know.
SPEAKER_00That's just an attack vector I was thinking of. So I was just curious to run that by you.
SPEAKER_02I mean, you're like anything else. If you can get into the branch office and plug yourself into maybe any sort of network connection and runabout there, then you've got access as much as anybody else has to the actual network. So if you've happened to plug yourself into, whether it's a Unix administrator, a Windows domain admin,
if you've managed to compromise their credentials of getting man-middle attack with them,
SPEAKER_02it doesn't matter which type of system it is, if they've got access from there, yeah, you will have access. So obviously, Branches are, you know, can be weak spots because, you know, you think about the main security. So, I mean, yeah, I mean, if you think about the main security that you've got trying to get into the main building or trying to get into the data center of a large bank, you're going to really struggle. Whereas if you want to get into the network cabinet of a branch,
you might not struggle.
SPEAKER_02Yep.
SPEAKER_00Yep. That's exactly right. Yep. So, all right. So one question that I'm really curious about, I'm sure a lot of people who are listening to this are curious about, but how do you actually get into mainframe pen testing? Because, all right, so you kind of reverse engineered it. You spent a lot of time and effort and energy kind of developing it. But if somebody is listening to this and you're like, hey, you know what? This sounds interesting to me. How do I actually do it? So what would you recommend to people? They're like, hey, I'm interested in getting into mainframe stuff.
SPEAKER_00What do I do? Where do I go?
SPEAKER_02Right, so I find it quite difficult to get into, and one of the reasons for that is something that I find is a bugbear of mine. IBM do not make it easy to get access to mainframes. You can get a three-day trial, which you can renew constantly, so you've got some access to that. You've also got the Hercules free-to-downloads mainframe, which have
SPEAKER_02got on my Raspberry Pi and I've done a few things for that. But then you're really, it's kind of better now than it used to be because you have got various YouTube channels and there's hundreds of videos and there's a few other things there that you can actually look at. But the thing with IBM is, There's masses of information out there. They write lots of red books, but you've got to troll through it all. So what I'm doing with No Stars Press at the moment is I'm
writing a book called
SPEAKER_02Hacking Mainframes, Breaching the Intensible Fortress, and I'm hoping from there to that, that's going to be released. People will take up, have interest. All the information that I've dreamed over the last three years and all my experiences, et cetera, are going to be in there. So people will then understand right from the history of in frames, right through to red teaming of how you would do it and all the protocols and all the rest of stuff. It's all in one place. And then from there, you know, I'm trying to push
starting to push IBM for, hey, come on, people need to train on these things.
SPEAKER_02They need to be able to do research. So don't hold everything back. I'm also trying to write some more tools and extend some of the free open source systems such as Hercules and maybe make some training courses that, you know, that will be freely available on the GitHub so people can do this sort of stuff because it really was a, and it's been the same for, Everybody else who's in the Mean Frame Hacker Society as well. Luckily for me, I had them. And I'm sort of standing on the shoulder of giants.
SPEAKER_02They had to do it all on their own. And they had probably more of a fight than I did. So that's what I would say. Start with Hercules. Look at anything from Soldier of Fortran and Moshex. And that's a good start. And hopefully wait for the book. It'll be end of the year. And then everything will be in the one place and the book can go from there.
SPEAKER_00Yeah, that sounds great. I mean, I'm probably going to buy a copy of your book for sure. Just to read it and poke at it and see how it works. I mean, mainframes are a really, really interesting beast. And obviously they're not going to go anywhere. Do you see any trends coming in, like with AI or anything else? Is the world of mainframes changing, or is it still kind of like, eh, it's always going to be the same thing?
SPEAKER_02It is changing. Obviously, you've got some hybrid stuff there, which brings its own security risks and own issues. A lot of people still see it as legacy, so they're thinking, oh, we need to get off the mainframe. But they're still hanging about. Technology is always moving on, so the Telum processor, which is powerful and can work up to 200 processors and parallel does what we call AI inferencing. So if you've got
SPEAKER_02some sort of transactions that are going. So any sort of fraudulent transactions, AI on the chip will be able to pick these up in real time and actually flag them. So there's all that sort of stuff. Quantum computing is obviously coming in IBM at the forefront of quantum computing with some of the quantum computers. And it's not quite there yet, but the mainframe is now implementing quantum cryptography because, you know, For years down the line,
data is being harvested for the time where it can be tracked. It's important to think about the security on the mainframe because even though most pen testers don't really know what to do once they get onto a mainframe,
SPEAKER_02nation states do. They're not going to have a problem with that. They're going to have people who know these sort of things. So this is the sort of people we're trying to protect against the large ransomware groups, the good ransomware groups. I wouldn't say they're good, but you know what I mean, the really well-organized ones and nation states.
SPEAKER_00Okay. I mean, you're not wrong. Nation state actors have basically an infinite budget, infinite amount of manpower, and they're super patient. So, yeah, I mean, you're not wrong.
SPEAKER_02That's right. I keep telling people, whatever you do, please don't have anything like DCOM3 or port 445 open on your perimeter because as soon as the next zero day comes out, somebody's going to hit it instantaneously.
SPEAKER_00Yep. Do you see a lot of zero days on mainframes? I know that if I go to ExploitDB and I look for latest CDEs, every few minutes there's a new one. But you don't see a lot of zero days on mainframes?
SPEAKER_02No, because IBM don't like you talking about it. So if you find anything, you might find yourself with a lawyer in your face with a cease and desist. Oh, wow. Which doesn't really help anything. So, I mean, yeah, it doesn't mean there aren't things there, but they tend to keep it quiet. If you put it out there, you might be in some sort of ball that IBM really don't like you talking about any issues on mainframes. And again, for me, that is a vulnerability because it means that if they're
keeping it quiet,
SPEAKER_02there could be a vulnerability lying about for years. Right. That doesn't get sorted or patched or anything like that.
SPEAKER_00That's fascinating. They literally don't want you to actually poke at things and do good faith disclosure to them or anything else. It's literally just don't poke at it, don't try it, and we'll come after you if you disclose anything. That's interesting.
SPEAKER_02Definitely not. A few years ago, I'm aware that one of the guys I know went to do a mainframe demo. I can't remember whether it was OWASP or somewhere, but he had to cancel because IBM were saying, if you run this, we will sue you. That's the pinnacle of security right there. Exactly. So, you know, when my book comes out, it's going to be educational up to the health and we will make
sure that everything
SPEAKER_02is sorted so nobody can go, hey, you can't say that.
SPEAKER_00Yeah, good.
SPEAKER_02So it's going to be entertaining times.
SPEAKER_00Yeah. Are you concerned at all? Like, is there any like worry about, you know, this kind of thing coming after you for writing your book?
SPEAKER_02I was originally. However, talking to No Starts Press, they're like, I don't worry about it. We've completely got this covered. And there's various things that you would ensure you have when you're writing it in relation to one copyright, confidential secrets, and various other things like that. And obviously, because I'm writing it, and I currently work for a bank, my senior management at The bank obviously will go over it as well and to ensure that
there's nothing there
SPEAKER_02that might give any secrets away, which it's not because I'm not doing any of the testing or training or anything like that with banking systems. They're entirely separate. So that's all good. No screenshots of banking systems.
SPEAKER_00Sure. Sure. Yeah, that makes sense. I mean, it is interesting that you're writing a book because I can't think. I can't think of any book out there today. I can think of hundreds of books about hacking, web app hacking, you know, the web app, the web app hackers handbook, like, you know, the old, really old orange hacking book. I can think of all kinds of stuff like that. I can't think of any of them that actually deal with the mainframes. No, I literally can't think of a single one. Yeah, absolutely.
SPEAKER_02So, I mean, pretty much 20 years ago, 25 years ago, no, it's even more than that. Yeah, 25 years ago, I read my first Hacking Exposed, Hacking Exposed 2, I think. And I was like, wow, this is amazing. And since then, there's been hundreds and hundreds of hacking books and things. And I'm like, there's no point in me writing a book because they've all been done. And once I got into this, I went, there's no book on hacking mainframes. And so I went and talked to,
SPEAKER_02I was actually on a mainframe hacking course with big Indian sports, Chad Rickensree, who worked for Broadcom. And I said, look, you guys are the guys, him and Phil Young, Soldier of Fortran. I'm writing a book with no starts press i put in the proposal you're not going to be offended at this are you i mean i'm not stealing your thunder or any sort of things and they're going oh my god thank god somebody's actually finally writing the book we they ran training courses they did all the rest of this
stuff and but they just didn't want to to sit and write a book so yes this will be the first book on hacking mainframes ever and and you said it's going to come out at the end of the
SPEAKER_00year Yes. Yes, yes. Perfect. All right. That's awesome. Definitely looking forward to that. In the meantime, though, where can people find you? Where can people follow your work? Or do you have a GitHub, LinkedIn, or anything like that?
SPEAKER_02Yes, I've got a GitHub, which I am constantly starting to update all the tools and things like that. And also things like how to build a mainframe or a pieframe. So it's a mainframe on Raspberry Pi and all that good stuff. But There are lots of flashing lights and various other things for fun, but there's also some RETS tools and other things. And I'm also on LinkedIn as well. So feel free to follow me on LinkedIn. I tend to put out things on AI,
SPEAKER_02quantum, mainframe hacking, and pentesting and other things like that. So feel free to give me a follow or give me a shout and try and connect. So I'm always happy to do that.
SPEAKER_00Perfect. Excellent. And kind of the final question I'd like to ask people is, if you had the ear to the world, or what is, let me say it this way, what is the one thing about security, whether physical, cyber, mainframe, anything, that you think that we should be discussing, but we're not?
SPEAKER_02At the minute, there's sort of discussions on it, but people just... I think they still think it's a bit futuristic. What I am most interested in and sort of scared of is the combination of artificial intelligence with quantum computing and artificial general intelligence. If, as a defender, we are not implementing these, the attacker is going to become extremely powerful. And just the processing power and the speed
with which things can be decrypted and the intelligence that is in there is the sort of thing that I find kind of more scary for the future as someone who's trying
SPEAKER_02to defend large systems. Because a combination of the two is going to be, well, I use AI all the time for various things and I still find it jaw-dropping every single day.
SPEAKER_00Combining the quantum, yeah, we could be in trouble. I think that's a perfectly valid point. And you're not wrong. If Google or anybody else, if they can break standard encryption with a quantum computer, what do you do?
SPEAKER_02That's it. That's why there's so much data harvesting going on just now, because people are waiting for the time that the quantum computers are stable enough to just be able to crack everything.
SPEAKER_00Yep. Do you, that's an interesting question. So this, to me, this kind of seems like kind of a repeat of like the 1970s, 1980s, where we switched over from computers that were, you know, millions of dollars and they took up an entire room to the slow walk from like the eighties to the two thousands of like, you know, personal computers and then laptops and then cell phones. Do you think that in the next 20 to 30 years, we're going to have quantum computing cell phones or quantum computing, you know, laptops or something like that?
SPEAKER_02Or how do you see that going? Yeah, I mean, I see this as a watershed moment. There's a huge step change happening, even in the last... You know, I remember, I was talking to my wife the other day saying, I can't believe the amount of stuff that these things can actually do now, even in the last two or three years. From the first time we... I think the first time recently in the last 10 years where I saw something that I thought that is brilliant was a Chromecast.
SPEAKER_02You know what I mean? So I could just cast things to the television. And from there, everything is just accelerated. So then you've got Alexa, which is artificial intelligence and is constantly listening to you, which I should totally think about rather than just accepting. And then we've obviously got our... Everything that is accelerating and speeding up and the new artificial intelligence that allows me to, if I want, write any code that I want or decrypt, you know, do things that I could never do before.
And yeah, I mean, we're talking maybe six years before quantum computing is there. And once that happens, maybe 30 years time, we've got big changes, 20, 30 years.
SPEAKER_02But, you know, I get it wrong. All the time. I always think it's going to take a lot longer than that. And you're shocked by some change that suddenly happens.
SPEAKER_00Well, yeah, sure. I mean, I'm not. I mean, nobody here has a crystal ball. I was just asking your opinion. I mean, yeah. But I mean, I think that I think that we can all agree that unless some cataclysm happens, we are on the path. to kind of going down that road, whether it takes five years, 50 years, 100 years. I think that we can all agree that unless something drastic happens, we are all on the path to having more powerful processors, more powerful this or that, or better AI and everything else. So you're definitely not wrong. I really,
SPEAKER_00really believe that we are at kind of, as you said, a watershed moment where everything is going to change and it's going to start changing at faster and faster paces to the point where, I mean, what does that... so many science fiction movies where you basically say, you know, that the beginning of the end was when computers could start improving upon themselves.
SPEAKER_02Yes, artificial general intelligence. It's, you know, once they can start understanding themselves, you know, working out for themselves, you know, it can be, it can be game over and things like that. And there's, there's, there's so much bandwidth and things like that now. It is, it's, this is why I, I can't really tell how the future is going to be exactly because, you know, 20 years ago, I remember installing an 8 megabyte pipe and thinking, wow, this is absolutely huge. And now I've got gigabit in my network at home.
SPEAKER_02You know, it's just mind-boggling. I would never believe that we could actually have that speed. Never mind, you paid $30 a month for it.
SPEAKER_00Yeah, you're not wrong. I mean, it's just getting better and better with time. All right, Kev, thank you very much for coming on. I really appreciate, and I'm sure everybody listening to this really appreciates being one of the few people out there who is a serious expert when it comes to mainframes. So thank you for taking the time to talk to us and discuss some stuff. And if anybody, you know, wants to reach out to Kev on LinkedIn or anywhere else, please do so. No problem. Really enjoyed it. Thanks so much, Brian. All right. Thank you, man. All right.
Logan is a geographer, cartographer and spatial data scientist specializing in geospatial analysis, location intelligence, infrastructure resilience and geopolitical risk. This is a public episode. If you'd like to...
This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit covertaccessteam.substack.com/subscribe
Don’t use AI this way people .Link to the research :https://apiiro.com/blog/coding-agents-leaking-secrets-github-dont-ask-again This is a public episode. If you'd like to discuss this with other subscribers or get...
Based on 3,000 businesses already affected by the riots in Europe so far, if X percentage of businesses never reopen, Europe has permanently lost: * 5% permanently close: 150 businesses * 10% permanently close: 300...
Answering some of the most common questions about Digital Night Vision & locating hidden cameras Original video on this topic here: This is a public episode. If you'd like to discuss this with other subscribers or get...