WEBVTT

00:02.540 --> 00:03.360
All right.

00:04.040 --> 00:05.840
Thanks, everyone, for being here.

00:05.840 --> 00:09.900
We know it's Sunday and 10 a.m., so my heart goes out.

00:09.900 --> 00:11.220
I appreciate you so much.

00:11.220 --> 00:16.820
Today we're going to talk about the immortal retrofuturism of mainframe computers and how to keep them safe.

00:16.820 --> 00:18.420
I will give you a small disclaimer.

00:18.420 --> 00:29.860
I am coming from, of course, the red team side, defensive security side, so this how-to-keep-safe tips will not be as expansive as perhaps someone who is on the defensive side, but we will touch on it a little bit.

00:29.860 --> 00:31.920
So to begin, let me see...

00:32.860 --> 00:33.620
Yes.

00:34.220 --> 00:34.700
It worked.

00:34.700 --> 00:35.620
Okay, this is me.

00:35.980 --> 00:37.220
It looks a little weird.

00:37.220 --> 00:39.080
It's all blown out, but I am Michelle Eggers.

00:39.080 --> 00:40.980
I'm a security consultant with NetSpy.

00:40.980 --> 00:42.660
I've been with them for a couple of years.

00:42.660 --> 00:46.960
I specialize in mainframe web application and network penetration testing.

00:46.960 --> 00:53.920
I have a background in accounting and finance, which is a little bit linked to mainframe because, you know, the financial industry is essentially held up by mainframe.

00:53.920 --> 00:56.040
We'll touch on that in a minute more here.

00:56.040 --> 00:58.300
And I'm passionate about legacy tech.

00:58.300 --> 00:59.620
I like old things.

00:59.620 --> 01:01.300
I think they're interesting and cool.

01:01.520 --> 01:05.680
And we are still using them, so it's important that we make sure we're still securing them.

01:05.680 --> 01:08.860
We can't forget to pay attention to the entire topology.

01:09.020 --> 01:12.260
All right, so this is our outline.

01:12.260 --> 01:13.860
We're going to do a history debrief.

01:13.860 --> 01:17.960
We're going to look at how it kind of started and some things that have changed over the years.

01:17.960 --> 01:23.900
We're going to look at mainframes today, why people still elect to use them, what's special about them, what even are they.

01:23.960 --> 01:33.080
We're going to look at a few modern threats, some notable breaches that have happened in the last decade or so, and then some things that we see in our pen tests currently.

01:34.000 --> 01:35.580
Yeah, and I have a demo, which is really cool.

01:35.580 --> 01:37.140
That shows a real thing that happened.

01:37.140 --> 01:38.940
It's a little scary, but it'll be interesting.

01:38.940 --> 01:40.760
And then, of course, the tips to secure.

01:41.600 --> 01:58.940
Okay, so before we get into the history and all of that, I want to know, whoever doesn't currently work with mainframe, anybody want to volunteer what you think mainframe is, give a description on it, just a sentence, or two, any takers?

01:59.020 --> 02:00.380
Yes.

02:15.360 --> 02:22.660
Okay, so we have a cluster of computers with sort of different applications, use cases.

02:22.940 --> 02:24.520
Yes.

02:25.780 --> 02:27.040
Close.

02:27.160 --> 02:29.080
You're on your way.

02:29.600 --> 02:30.860
What's that?

02:31.880 --> 02:33.260
Everything's bigger?

02:33.260 --> 02:35.380
Yeah, well, depending.

02:35.380 --> 02:36.360
Yes.

02:37.420 --> 02:38.700
Yes.

02:39.180 --> 02:41.480
Yeah, they're big systems, obviously.

02:41.480 --> 02:42.500
Yes, of course.

02:46.350 --> 02:47.630
Yes!

02:50.600 --> 02:51.700
I love it.

02:51.700 --> 02:52.320
Okay, great.

02:52.320 --> 02:53.220
Everybody's super smart.

02:53.220 --> 02:55.160
You'll get big gold stars.

02:56.040 --> 02:59.340
So mainframes are actually just computers, right?

02:59.340 --> 03:05.820
They're specialized computers that have insane processing power, storage power, their input-output stuff.

03:05.820 --> 03:07.860
Billions of transactions a day.

03:07.860 --> 03:09.040
Literally billions.

03:09.040 --> 03:16.580
So it's not something like a quantum computer where you're having a highly complex transaction that's occurring.

03:16.580 --> 03:17.840
They're more simplistic.

03:17.840 --> 03:24.340
But they have to be incredibly precise and very, very fast and happening in tandem at the same time.

03:24.540 --> 03:26.820
Parallel SysPlex makes this possible.

03:26.820 --> 03:30.760
And they have unique operating systems like, you know, IBM Z, right?

03:30.760 --> 03:31.920
And Linux.

03:32.100 --> 03:33.180
So, very cool.

03:33.180 --> 03:34.880
You're not going to find Windows on a mainframe.

03:35.240 --> 03:36.680
I hope not.

03:36.680 --> 03:37.500
Please don't.

03:39.780 --> 03:40.940
Don't do it.

03:41.360 --> 03:43.820
So let's look at a few myths versus facts.

03:43.900 --> 03:50.560
Something that has been fun for me this week is this first myth is something I've had to fight with people basically every day on.

03:50.560 --> 03:54.740
They're like, oh, mainframe, oh, that's like 1960s AS4000.

03:54.740 --> 03:56.920
And I'm like, no, no.

03:59.120 --> 04:01.060
They've continuously evolved, right?

04:01.060 --> 04:05.880
They're some of the first systems to introduce virtualization, built-in encryption.

04:05.880 --> 04:08.800
There's more things coming out all the time.

04:08.800 --> 04:10.420
There's real-time AI inferencing.

04:10.420 --> 04:13.200
There are new things coming out next year from IBM.

04:13.200 --> 04:15.260
I'll tell you a little bit more about that, too.

04:15.440 --> 04:17.700
But they're not locked in the past.

04:17.700 --> 04:24.360
It's not like this green screen terminal from a 1980s movie or this image of this woman in this room.

04:24.440 --> 04:27.800
That's basically one computer in the entire room.

04:27.800 --> 04:29.520
We're way beyond that.

04:29.740 --> 04:32.520
Another myth is that cloud replaces mainframe.

04:32.600 --> 04:37.420
Due to regulatory compliance reasons, this is impossible in many scenarios.

04:37.860 --> 04:41.000
Also, it's kind of expensive to move off of the mainframe.

04:41.000 --> 04:51.320
So that's another reason why if you have a use case for it and you've implemented it, it kind of behooves you to keep it running because once you have it, it's actually pretty inexpensive.

04:51.420 --> 04:54.180
It's less expensive than cloud in that regard.

04:54.180 --> 04:57.940
You can also use them to host your own virtual private cloud, which is nice.

04:58.280 --> 04:59.600
And then hybridization.

04:59.600 --> 05:03.380
If you're going to look at cloud and mainframe, it's not going to knock mainframe away.

05:03.380 --> 05:04.760
You're not going to replace it.

05:04.840 --> 05:11.140
But we are seeing more and more cases of hybridization where certain applications and functions are in the cloud, right?

05:11.140 --> 05:14.760
And there's just API calls or whatever making these things possible.

05:15.740 --> 05:16.760
Oh, yeah, and then I like this.

05:16.760 --> 05:17.440
It's ELT.

05:17.440 --> 05:19.400
That is extract, load, and transform.

05:19.420 --> 05:27.320
So that's a way of getting your data off of the mainframe into a different environment so that you can do more analysis, right?

05:28.020 --> 05:28.860
Love it.

05:28.860 --> 05:31.180
Okay, and then another myth is it's just too specialized.

05:31.180 --> 05:31.860
No one knows what it is.

05:31.860 --> 05:32.920
Nobody knows how to do it.

05:32.920 --> 05:37.980
There really are literally maybe like 5 to 10 mainframe hackers in the world.

05:37.980 --> 05:38.960
So that's real.

05:38.960 --> 05:39.760
That's true.

05:39.980 --> 05:45.700
But there are moves underway to rebuild that workforce.

05:45.700 --> 05:50.080
It sort of took a hit in the mid-'90s to the early 2010s in staffing.

05:50.280 --> 05:55.060
The funding went down as far as, you know, building people, bringing them into the workforce.

05:55.840 --> 06:00.500
But I was actually at SHARE, which is like one of the biggest mainframe conferences that happens in a year.

06:00.500 --> 06:01.540
They do it twice.

06:01.540 --> 06:07.100
And I met a lot of people that were early career professionals that are, you know, in college and they're learning COBOL.

06:07.100 --> 06:08.060
And we're like, really?

06:08.060 --> 06:09.380
Oh, that's great.

06:09.480 --> 06:12.800
They're becoming these sort of system programmers in the mainframe environment.

06:12.800 --> 06:17.220
There's money going into it now because they're still being used and there's still innovation happening.

06:17.220 --> 06:19.900
And people kind of woke up and said, oh, they're not dead.

06:19.900 --> 06:20.900
We have to keep going.

06:21.260 --> 06:24.120
Oh, and then this Watson X Code Assist.

06:24.240 --> 06:26.160
That's a cool feature that's coming out.

06:26.160 --> 06:33.380
And it basically just means you can take your COBOL and use these tools to help translate it into a language like Java or Python.

06:33.380 --> 06:36.600
It's a lot easier to find developers who specialize in those languages.

06:36.600 --> 06:40.980
It's much more common than someone who specializes in COBOL, even though we are rebuilding COBOL people.

06:41.800 --> 06:42.740
All right.

06:42.740 --> 06:43.500
I love old pictures.

06:43.500 --> 06:44.320
I hope you do, too.

06:44.320 --> 06:45.300
Brief history.

06:45.920 --> 06:47.400
We need these lights down.

06:47.400 --> 06:48.680
It's all washed out.

06:49.320 --> 06:50.020
1937.

06:50.020 --> 06:50.500
Okay.

06:50.500 --> 06:52.120
We've got U.S.

06:52.120 --> 06:54.320
Navy Bureau of Ships pre-mainframe technology.

06:54.320 --> 06:56.680
These were not digital systems, right?

06:56.680 --> 07:00.120
We're just talking about analog computers, mechanical calculators.

07:00.120 --> 07:02.740
These are for gunnery calculations.

07:02.960 --> 07:03.800
Navigation.

07:03.800 --> 07:05.080
This is very military.

07:05.080 --> 07:07.020
This is pre-World War II stuff.

07:07.020 --> 07:10.020
But it's sort of like the bones where it began.

07:10.020 --> 07:13.120
This is where we started seeing innovation in this area.

07:13.480 --> 07:15.950
1951, the Eckert Mockley Computer Corporation.

07:16.220 --> 07:22.220
They made it possible for businesses to now get this technology for their own use.

07:22.220 --> 07:24.160
It was no longer simply relegated to government.

07:24.160 --> 07:26.640
However, it was the UNIVAC system.

07:26.720 --> 07:28.400
That was for the census.

07:28.400 --> 07:30.280
It was the 1950 census.

07:30.660 --> 07:35.560
And then they rolled out the UNIVAC in 1951 to help process that data that they pulled in that year.

07:35.560 --> 07:36.980
So, really cool.

07:37.160 --> 07:39.080
Time marches on.

07:39.160 --> 07:40.100
When is this next one?

07:40.100 --> 07:40.780
Yes.

07:40.860 --> 07:42.200
Oh, I love this one.

07:42.200 --> 07:42.380
Okay.

07:42.380 --> 07:46.100
So, unified architecture was a major achievement.

07:46.680 --> 07:52.740
Previous to the unified architecture, let's say you had several different types of mainframe boxes.

07:52.740 --> 07:55.040
They could not speak to each other.

07:55.180 --> 08:00.400
They didn't have similar software or even the language wasn't quite the same.

08:00.400 --> 08:05.620
And so, you'd have to have a person trained up on each one or different people trained on each one.

08:05.620 --> 08:07.300
And they could not work together.

08:07.340 --> 08:09.920
But with unified architecture, it changed all of that.

08:09.920 --> 08:14.060
Now you could have a few different types of machines and they could communicate together.

08:14.060 --> 08:14.900
Really nice.

08:14.900 --> 08:21.380
And then, of course, the vacuum tubes were replaced by this solid state technology.

08:21.380 --> 08:26.220
If you have vacuum tubes in an earthquake, that's bad news.

08:26.220 --> 08:27.220
Like, it's not going to live.

08:27.220 --> 08:29.220
So , it got a lot better.

08:29.360 --> 08:31.260
1970, the innovation continued.

08:31.260 --> 08:34.620
We had magnetic cores replaced by silicon memory chips.

08:35.120 --> 08:36.860
Virtual memory was introduced.

08:36.860 --> 08:39.220
And dynamic address translation was also introduced.

08:39.220 --> 08:41.960
So, as we're seeing, mainframe is really pushing.

08:41.960 --> 08:42.280
Right?

08:42.280 --> 08:44.040
It's not lagging behind.

08:44.040 --> 08:52.420
It's constantly sort of at this parallel level with innovation along with other technologies.

08:52.420 --> 08:54.440
It's just maybe not as talked about.

08:55.300 --> 08:57.240
1991, the saga continues.

08:57.240 --> 08:57.900
This is great.

08:57.900 --> 09:02.620
This guy, Stuart Alsop, he was like a talking head.

09:02.620 --> 09:03.220
Right?

09:03.220 --> 09:05.140
For the technology.

09:06.300 --> 09:09.840
I think he wrote newspaper articles or something.

09:09.840 --> 09:12.920
But he said that mainframe would be dead.

09:12.920 --> 09:14.200
That it would be sunset.

09:14.200 --> 09:17.560
The last one is going to be unplugged on this very specific date.

09:17.560 --> 09:18.840
And that was published.

09:18.840 --> 09:19.560
That date.

09:19.560 --> 09:21.300
He, like, stood on that hill.

09:21.300 --> 09:23.200
And he was very much wrong.

09:23.720 --> 09:27.180
Because as we can see, mainframe is still being used.

09:27.180 --> 09:27.960
Right?

09:28.500 --> 09:29.580
By finance.

09:29.580 --> 09:30.800
By military.

09:30.800 --> 09:31.780
Healthcare.

09:31.900 --> 09:37.020
If you used your debit card today, that transaction touched a mainframe.

09:37.020 --> 09:44.420
If you have ever been to a doctor or you go to a hospital for something, your information is in a mainframe somewhere.

09:44.420 --> 09:45.420
It is.

09:45.420 --> 09:47.380
So now you know.

09:47.960 --> 09:50.540
And then we've got the new developments coming along.

09:50.540 --> 09:51.720
Something cool.

09:52.020 --> 09:57.080
So there's already AI on the Z15.

09:57.260 --> 10:03.860
But this next coming year, IBM is releasing a new box that's going to have more increased capabilities.

10:03.860 --> 10:12.580
And what we're going to see is the realtime inferencing is going to step in in such a way that if there's fraud, right?

10:12.660 --> 10:14.660
So this actually happened to my family pretty recently.

10:14.660 --> 10:18.300
Like, someone's at home, and then they get a call 10 or 15 minutes later.

10:18.300 --> 10:19.420
Hey, are you at Legoland?

10:19.420 --> 10:20.720
Did you just spend $800?

10:20.820 --> 10:21.240
No.

10:21.240 --> 10:23.860
Okay, well, we're going to cancel your card and reissue a new one.

10:23.860 --> 10:25.120
It's this whole process.

10:25.120 --> 10:26.960
And then that company has to eat that cost.

10:27.000 --> 10:31.120
Because you, as, you know, the account holder, and there's fraud, you're not going to pay for that.

10:31.120 --> 10:31.560
Hopefully.

10:31.560 --> 10:33.020
You shouldn't pay for that.

10:33.020 --> 10:35.120
And then are they going to catch the person who did the fraud?

10:35.120 --> 10:36.080
Likely no.

10:36.160 --> 10:39.080
So these companies are just eating all these fraud costs constantly.

10:39.200 --> 10:51.300
Well, if they can catch the fraudulent charge as it's occurring instead of, you know, even five minutes later, it's going to really reduce that cost, that inconvenience, having to get a new card.

10:52.060 --> 10:53.200
I love it.

10:53.940 --> 10:54.460
All right.

10:54.460 --> 10:56.660
So why do people use Mainframe now?

10:57.980 --> 10:59.120
Why do we care?

10:59.380 --> 11:00.920
There are three reasons.

11:00.920 --> 11:03.280
You'll hear this acronym in the Mainframe community.

11:03.280 --> 11:06.040
It's kind of like sales talking points.

11:06.060 --> 11:08.500
But reliability, availability, and serviceability.

11:08.500 --> 11:16.080
So if you're looking at the New York Stock Exchange or NASDAQ, something like that, they have to have what is called the five nines of reliability.

11:16.180 --> 11:18.980
So it's 99.999% uptime.

11:18.980 --> 11:24.240
They cannot have more than five and a half minutes of downtime in a given year.

11:25.260 --> 11:26.100
They cannot.

11:26.100 --> 11:26.700
Right?

11:26.800 --> 11:29.340
And so Mainframe is able to do this.

11:29.340 --> 11:33.260
It's got... let's break out the slides a little more.

11:33.260 --> 11:37.540
Built-in redundancy across your hardware levels, your input output paths, your power supply.

11:37.580 --> 11:39.640
You've got error detection correction.

11:39.640 --> 11:45.440
You've got these machines that are so robust, they can withstand up to seven magnitude earthquakes.

11:45.440 --> 11:45.580
Right?

11:45.580 --> 11:46.900
The vacuum tubes are gone.

11:47.040 --> 11:48.060
They're strong now.

11:49.280 --> 11:49.940
Availability.

11:49.940 --> 11:50.140
Right?

11:50.140 --> 11:58.680
We want to make sure that the machine itself, beyond it just being strong, you can still actually get your data out of it and it's accurate data at any given time.

11:58.680 --> 11:59.220
Right?

11:59.220 --> 12:00.560
It's available to you.

12:00.560 --> 12:04.420
So you've got transaction rollback, checkpoint restart, complex job scheduling.

12:04.620 --> 12:09.660
They have 190 configurable cores in this one specific example, the Z15.

12:09.780 --> 12:10.080
Right?

12:10.080 --> 12:12.120
So you can basically finely tune your machine.

12:12.120 --> 12:14.600
You make like a bespoke system for yourself.

12:14.940 --> 12:19.160
Basically out of the box, you can start tuning it and fitting it to your specific use case.

12:19.300 --> 12:21.780
And again, with the unified architecture, they can all talk to each other.

12:21.780 --> 12:22.540
So we love it.

12:22.540 --> 12:23.560
And then the serviceability.

12:23.560 --> 12:25.360
This is actually one of my favorite features.

12:25.400 --> 12:27.240
They're modular by design.

12:27.260 --> 12:27.620
Okay?

12:27.620 --> 12:29.360
So and then I mentioned parallel SysPlex.

12:29.360 --> 12:34.880
It means if you have a workflow or process that is relegated to one LPAR, one logical partition, right?

12:34.880 --> 12:38.720
It's like the virtual segmentation within your mainframe.

12:38.900 --> 12:45.900
You can just swap those workflows over to another section of your box without any interruption, without any issues.

12:45.900 --> 12:51.320
So if you need to change a card out or you need to do some kind of repair, the machine itself never has to go down.

12:51.420 --> 12:52.080
Ever.

12:52.080 --> 12:57.420
You just move the pieces you need to move when you need to move them because they're so modular.

12:57.420 --> 12:58.640
It's intentional.

12:59.120 --> 13:01.820
We've got the in-depth logging for problem solving.

13:01.900 --> 13:04.220
On-site, accessible for repair and maintenance.

13:04.220 --> 13:08.000
So I live by a Google plant, right?

13:08.000 --> 13:10.620
And, you know, they're just what is the cloud?

13:10.620 --> 13:12.060
It's just other people's computers.

13:12.140 --> 13:13.100
We understand this.

13:13.100 --> 13:19.520
So I'm driving home and it's dark and I'm on the freeway and I can see the plant kind of over near the river.

13:19.520 --> 13:25.580
And there are all these police cars and a couple fire engines and ambulance and all the lights are going like this.

13:25.580 --> 13:26.760
And then keep driving.

13:26.760 --> 13:27.460
What's going on?

13:27.460 --> 13:28.860
And then the road to get to the plant.

13:28.860 --> 13:29.460
Same thing.

13:29.460 --> 13:30.460
It's blocked off.

13:30.520 --> 13:32.100
I don't know what's going on.

13:32.520 --> 13:34.880
If your data is there, are they going to tell you?

13:35.400 --> 13:37.060
We're like, oh, well, it's just one region.

13:37.060 --> 13:42.980
Well, what if there was I mean, I don't know if it was a physical breach or if there was a fire, if there's some other kind of problem.

13:43.440 --> 13:45.880
And they'll never tell you like, well, oh, well, it's redundancy.

13:45.880 --> 13:46.580
We have different regions.

13:46.580 --> 13:47.060
Okay.

13:47.060 --> 13:55.520
What if there's a coordinated attack against multiple regions at the same time and they just so happen to be the regions that your data are stored in?

13:55.620 --> 13:56.960
Something to think about.

13:56.960 --> 14:10.620
If it's on site and you have incredibly sensitive business critical data and you can protect it with your own security, you know if there's a fire, you know your organization knows if there's some kind of physical breach.

14:10.620 --> 14:16.920
You're going to have a better just more insight into the security of your own systems.

14:17.040 --> 14:23.700
You're not, you know, hoping Azure is going to call you and say, hey, somebody broke in and started a bunch of fires and hopefully didn't affect your stuff.

14:26.040 --> 14:28.160
So... and this is I love this.

14:28.260 --> 14:28.440
Okay.

14:28.440 --> 14:30.300
So, this is a little demo.

14:30.300 --> 14:31.480
Oh, I wonder if it will play.

14:31.580 --> 14:32.840
Oh, I wish it will.

14:33.820 --> 14:34.740
It may not.

14:34.740 --> 14:35.320
Darn.

14:35.500 --> 14:38.500
Well, basically, it's not going to play.

14:39.140 --> 14:40.400
They do this testing.

14:40.400 --> 14:41.500
I'll just simulate.

14:44.880 --> 14:48.060
And they simulate a seven magnitude earthquake.

14:48.060 --> 14:53.900
So, in New Jersey about eight months ago, there was a 4.5 magnitude earthquake.

14:53.900 --> 14:55.220
And there's a campus near there.

14:55.220 --> 14:56.940
I mean, that earthquake went up the coast as well.

14:56.940 --> 14:58.680
It affected a lot of places.

14:59.740 --> 15:04.100
There was a campus with 200 mainframes and not a single one was affected.

15:04.140 --> 15:06.600
There was no damage whatsoever.

15:06.600 --> 15:12.380
Do you want to start an earthquake in your server room and see how it goes?

15:12.640 --> 15:13.800
Probably not.

15:13.800 --> 15:14.400
Right?

15:14.900 --> 15:15.460
Yeah.

15:15.460 --> 15:16.120
Yeah.

15:16.120 --> 15:17.160
A little bit scary.

15:17.160 --> 15:18.180
Mainframes can do that.

15:18.180 --> 15:20.360
They're literally built to do that.

15:20.400 --> 15:22.500
So, apologies for the lack of the shaking.

15:22.500 --> 15:23.440
I can show you later.

15:24.340 --> 15:25.360
All right.

15:25.360 --> 15:32.620
So, we've gotten a little bit of an understanding about why people care about mainframe, why they use it, what are the benefits of it.

15:32.960 --> 15:35.240
What are the things that can affect it?

15:35.240 --> 15:36.740
What are we scared of?

15:36.740 --> 15:39.440
Why do we need to think about the security?

15:39.560 --> 15:44.160
So, one of the big things that affects mainframe are the integrations.

15:44.260 --> 15:44.820
Right?

15:44.980 --> 15:58.380
We see a lot of entry into the mainframe environment, not starting at the mainframe level, of course, but with things like web applications that connect to it or just the general network.

15:58.380 --> 16:00.800
In this case, even it was the Wi-Fi network.

16:00.800 --> 16:04.120
The TJX company's data breach, payment card data breach.

16:04.120 --> 16:08.160
45.7 million user cards were affected, exfiltrated.

16:08.160 --> 16:09.780
This is a weakness in the wireless network.

16:09.780 --> 16:11.060
That's how that one kicked off.

16:11.060 --> 16:12.360
We're going to see a trend here.

16:12.360 --> 16:14.380
Heartland Payment Systems breach.

16:14.600 --> 16:15.900
Double the last.

16:15.900 --> 16:17.920
100 million cards compromised.

16:17.940 --> 16:20.580
This was at the hands of a global cyber fraud operation.

16:20.580 --> 16:20.800
Okay?

16:20.800 --> 16:24.180
And this was a combined attack of network and application vulnerabilities.

16:24.600 --> 16:26.780
Then we see the Equifax data breach.

16:26.800 --> 16:27.180
Okay?

16:27.180 --> 16:30.540
This was now 147 million users exposed.

16:30.540 --> 16:32.500
Which just goes up every single time.

16:32.560 --> 16:33.420
It's worse every time.

16:33.420 --> 16:37.860
In this instance, it was the web application that provided the initial foothold.

16:39.020 --> 16:43.060
And this one is a little bit harder to find information on.

16:43.060 --> 16:45.380
This is the Logica data breach.

16:45.380 --> 16:47.920
This was in Sweden, and it affected the government.

16:48.260 --> 16:52.980
And it was so bad, and word got out that the government just published the documents.

16:52.980 --> 16:54.340
They just put everything public.

16:54.340 --> 16:55.820
They said, just here.

16:55.820 --> 16:56.700
Go ahead and find it.

16:56.700 --> 16:58.240
You can find it if you want to.

16:58.240 --> 16:59.460
It's in Swedish.

16:59.520 --> 17:02.060
But you can find all the documents about this.

17:03.700 --> 17:06.560
This was initial access via the FTP network.

17:06.560 --> 17:08.340
So , unencrypted protocol.

17:08.340 --> 17:08.920
Okay?

17:09.280 --> 17:12.300
The hackers used something like Hercules, which is an emulator.

17:12.300 --> 17:14.480
I use an emulator in my testing.

17:14.480 --> 17:16.060
I use X3270.

17:16.140 --> 17:22.480
But I tell you this to say it's not that hard to get some of these tools to start getting into the places that maybe you shouldn't be getting into.

17:22.480 --> 17:29.600
This attack specifically leveraged some zero days, which may be a little more difficult to make happen.

17:29.600 --> 17:33.440
But they were based on default configurations.

17:33.860 --> 17:34.300
Right?

17:34.300 --> 17:39.000
So, this is something that is easy to fix and not have in your environment.

17:39.000 --> 17:43.800
Please, as soon as you have something new, turn off your default configurations.

17:44.020 --> 17:46.140
Change it as soon as possible.

17:46.400 --> 17:49.320
120,000 usernames stolen from RACF.

17:49.320 --> 17:52.880
RACF is like a security management tool in the mainframe environment.

17:53.220 --> 17:58.220
And the guy, you know, the head guy who was in charge of it, he was in Cambodia at the time, stole a bunch of money.

17:58.280 --> 17:59.560
It was very bad.

17:59.560 --> 18:00.160
It was very bad.

18:00.160 --> 18:05.920
And the entire government made all these new policies specifically because of this breach.

18:06.900 --> 18:07.260
Okay.

18:07.260 --> 18:09.080
So, next up I'm going to show you a demo.

18:09.160 --> 18:10.540
I'll give a little information on it.

18:11.060 --> 18:16.880
What you'll see me doing, hopefully you'll be able to see it, is I'm authenticating to an LPAR, to a logical partition.

18:17.180 --> 18:17.740
Right?

18:17.740 --> 18:23.360
Assume that the endpoints that I navigate to have already been enumerated previously during the engagement.

18:23.360 --> 18:27.200
So, I'm not going to... you don't see the enumeration part in this demo.

18:27.200 --> 18:29.660
But you'll see me sort of navigate to some endpoints.

18:29.660 --> 18:30.640
That's why.

18:31.080 --> 18:35.560
The user I am, that you'll see, is a lower level user.

18:35.560 --> 18:37.140
This is not an admin user.

18:37.140 --> 18:37.380
Right?

18:37.380 --> 18:41.540
So, of course, it means there are specific resources that they should not be able to access.

18:41.780 --> 18:42.060
Okay.

18:42.060 --> 18:46.520
So, the goal of this hack was to try to access...

18:47.140 --> 18:49.540
of course, more privileged information.

18:50.200 --> 18:50.740
So...

18:51.370 --> 18:52.120
Okay.

18:52.300 --> 18:53.640
And we're up and running.

18:53.640 --> 18:53.940
Okay.

18:53.940 --> 18:58.140
So, this is me logging in.

18:58.520 --> 19:00.740
Got TSO here.

19:01.160 --> 19:01.620
All right.

19:01.900 --> 19:02.600
ISPF.

19:02.600 --> 19:09.060
And then now you're going to see me begin to access a command line utility, which is a Unix-like feature within the mainframe environment.

19:09.320 --> 19:11.000
Through OMBS.

19:13.200 --> 19:14.460
All right.

19:14.460 --> 19:19.100
So, if it looks familiar to you in Unix space, you can just use your similar commands.

19:19.100 --> 19:19.400
Right ?

19:19.400 --> 19:22.640
So, I'm going to navigate to this opt secrets location.

19:22.900 --> 19:24.700
I'm going to see what's in there.

19:26.900 --> 19:28.340
I'm going to list it out.

19:28.540 --> 19:30.980
We've got a readme.txt and an SSH key.

19:31.060 --> 19:33.600
We're going to cat the readme.txt file.

19:33.600 --> 19:36.140
It says, this is the SSH private key you need to log on as an admin.

19:36.140 --> 19:36.940
Do not share.

19:36.940 --> 19:40.640
Well, can I just cat the SSH key and just maybe access it anyway?

19:40.860 --> 19:41.440
No.

19:41.440 --> 19:42.220
Permission denied.

19:42.220 --> 19:42.760
Game over.

19:42.760 --> 19:43.200
Right?

19:43.240 --> 19:44.000
Wrong.

19:44.000 --> 19:49.760
I used the same IP that the LPAR is on and just navigated to it in the web browser over 8080.

19:49.760 --> 19:50.320
Right?

19:51.280 --> 19:53.560
Again, we already had the endpoints enumerated.

19:53.660 --> 19:54.100
Okay?

19:54.100 --> 20:02.100
So, this specific location, the requests that are generated pull information from the mainframe.

20:02.100 --> 20:02.740
Right?

20:03.340 --> 20:09.840
So, just open up the network tab and you can look at the requests that are made and maybe modify it and see what happens.

20:09.840 --> 20:10.520
Okay?

20:10.900 --> 20:12.580
So, I'm generating the request.

20:12.580 --> 20:15.540
It makes a post request that pulls information from the mainframe.

20:15.720 --> 20:15.940
All right?

20:15.940 --> 20:17.340
We're going to crack that open.

20:18.940 --> 20:21.300
You don't even need to use an intercepting tool for this.

20:21.300 --> 20:24.100
You really can just use the network tab in your browser.

20:24.100 --> 20:25.320
It's a little bit insane.

20:25.680 --> 20:29.420
So, in the message body, there's a request for a specific file.

20:29.720 --> 20:32.900
Modify that to point to what was disallowed earlier.

20:32.960 --> 20:34.700
Keep in mind, I have not authenticated.

20:34.700 --> 20:36.700
This is simply in the web browser.

20:38.340 --> 20:39.120
Okay?

20:39.120 --> 20:40.160
Got a 200 okay.

20:40.160 --> 20:41.320
That sounds promising.

20:41.320 --> 20:43.960
So, there's the endpoint I went to with that SSH key.

20:44.360 --> 20:46.100
Let's see what's in the response.

20:47.580 --> 20:48.760
There it is.

20:51.760 --> 20:52.640
Thanks.

20:54.720 --> 20:56.080
So, this...

20:56.740 --> 20:57.620
Thanks.

20:57.880 --> 20:59.020
This is a real...

20:59.020 --> 21:00.300
This really happened.

21:01.320 --> 21:09.120
I will just say within the past year, to be somewhat vague, and it was not an SSH key, but it was definitely some very, very private information.

21:09.120 --> 21:10.940
Completely unauthenticated access.

21:10.940 --> 21:12.300
Not even on...

21:12.300 --> 21:14.120
Within the mainframe emulated environment.

21:14.120 --> 21:15.800
Just over the browser.

21:16.040 --> 21:24.260
So, this is why I'm saying we need to look at the entire topology and make sure we're investigating the integrations with the mainframe.

21:24.260 --> 21:25.680
Because people say, well, mainframe is...

21:25.680 --> 21:26.540
It's older.

21:26.540 --> 21:27.700
It's safe.

21:27.780 --> 21:28.700
Yes and no.

21:28.700 --> 21:29.420
All right?

21:29.420 --> 21:31.840
So, we've talked about integration once.

21:31.840 --> 21:33.500
What about the mainframe itself?

21:33.500 --> 21:37.080
If you're just looking at the mainframe, we're going to stay in this little box of the mainframe.

21:37.080 --> 21:38.920
Is it safe all by itself?

21:39.520 --> 21:43.420
These are things we find on a regular basis within our pen test.

21:43.420 --> 21:43.860
Okay?

21:43.860 --> 21:45.380
Local file include.

21:45.960 --> 21:47.400
We find insecure...

21:48.900 --> 21:50.620
Insecure protocols all the time.

21:50.620 --> 21:52.020
There's so much 23.

21:52.440 --> 21:53.380
Yeah.

21:53.560 --> 21:55.060
Unauthenticated access happens.

21:55.060 --> 22:00.500
So, there have been instances where I will begin the authentication process and then back out of it.

22:00.500 --> 22:07.140
Not complete authenticating and I can still run CICS commands or run Kim's, things like this.

22:07.140 --> 22:09.900
You should be authenticated to run these.

22:10.400 --> 22:11.820
So , we do find this a lot.

22:11.880 --> 22:12.520
Injections.

22:12.520 --> 22:14.720
SQL injection into DB2 databases.

22:14.980 --> 22:18.620
JCL job control language injections or rec scripts injections.

22:18.620 --> 22:26.240
If you're able to use these when you're not supposed to, you could delete, modify, erase entire data sets.

22:26.680 --> 22:27.420
Bad news.

22:27.420 --> 22:28.020
Okay?

22:28.020 --> 22:31.100
And then we do see security misconfigurations.

22:31.100 --> 22:35.860
I don't see a lot of default credentials, thankfully, but it does occur.

22:35.860 --> 22:37.500
Weak password policies.

22:37.500 --> 22:41.860
Often I will see they'll allow mixed case passwords.

22:41.860 --> 22:43.820
So, let's say you're supposed to have a...

22:43.820 --> 22:48.160
Like, your actual password is capital this and lower case this and some numbers and whatever else.

22:48.160 --> 22:51.940
You can switch the case around and do whatever you want and we'll still accept it.

22:52.160 --> 22:53.660
Like, don't do that.

22:54.260 --> 22:59.460
And not using external security management tools like Raka for top secret.

22:59.460 --> 23:03.520
Thankfully, most shops that have mainframe are implementing these things.

23:03.880 --> 23:06.340
But just as a safeguard.

23:06.340 --> 23:09.740
You know, just make sure that you're using these things.

23:10.160 --> 23:10.520
Okay.

23:10.520 --> 23:13.480
And then, now the promised ways to secure.

23:13.740 --> 23:15.760
From the blue team side.

23:15.760 --> 23:17.940
Properly configure your network topology as a whole.

23:17.940 --> 23:19.420
I can't stress that enough.

23:19.420 --> 23:23.460
Please, mainframe is not its own weird thing off to the side.

23:23.460 --> 23:25.460
It is part of your stack.

23:25.460 --> 23:26.900
Treat it as such.

23:26.960 --> 23:29.060
Make appropriate use of your logical partitions.

23:29.060 --> 23:35.880
Make sure if a user has access to LPAR 1, they can also somehow navigate to LPAR 2 and 3 and 4.

23:36.720 --> 23:38.540
Your regions, your ESM tools.

23:38.980 --> 23:41.200
Again, disallow unencrypted protocols.

23:41.200 --> 23:42.940
Secure with compliance.

23:43.260 --> 23:48.300
The CIS benchmarking is really great for regular auditing purposes.

23:48.300 --> 23:49.460
And then the DISA STIGs.

23:49.460 --> 23:51.940
These are your Department of Defense guides from NIST.

23:51.940 --> 23:53.840
I've used these on a test.

23:53.840 --> 23:55.560
I've actually... it's really nice.

23:55.560 --> 23:59.760
So, I had a DB2 test where it's basically SQL-based.

24:00.020 --> 24:03.260
And they have whole lists of commands you can run to check.

24:03.260 --> 24:05.280
Okay, well, if I run this command, can I access this?

24:05.280 --> 24:05.940
And I shouldn't.

24:05.940 --> 24:08.300
If I run this command, can I elevate my privileges?

24:08.300 --> 24:09.160
And so on.

24:09.160 --> 24:10.300
And I was like, this is great.

24:10.300 --> 24:10.840
I love this.

24:10.960 --> 24:11.920
Very helpful.

24:11.940 --> 24:13.060
Helpful tools.

24:13.060 --> 24:14.620
Secure with ongoing reviews.

24:14.620 --> 24:20.280
This is real basic stuff that everybody should be doing regardless of its mainframe or something else.

24:20.280 --> 24:23.260
Audit your identity and access management on a regular basis.

24:23.700 --> 24:26.300
Establish recurring audits for all features.

24:26.760 --> 24:28.480
And do recurring pen tests.

24:28.480 --> 24:30.340
I love a good internal team.

24:30.340 --> 24:30.960
Literally.

24:31.060 --> 24:33.020
You're closer to your stack.

24:33.020 --> 24:34.560
You're rolling out new features.

24:34.560 --> 24:36.960
You sort of understand what's going on.

24:36.960 --> 24:38.440
And you need to be there.

24:38.920 --> 24:42.860
But I'm biased, again, because I'm a third-party pen tester.

24:42.860 --> 24:47.560
Which I think is incredibly important to get fresh eyes on your...

24:47.560 --> 24:48.040
Five minutes?

24:48.040 --> 24:49.000
Okay, thank you.

24:49.000 --> 24:50.280
I'm gonna hurry up here.

24:51.080 --> 24:52.400
Fresh set of eyes.

24:54.060 --> 25:05.980
Not having the source code, being, you know, somewhat unfamiliar with the environment, and then getting in and just gently breaking it so you can help the company fix it, I think is really, really nice.

25:05.980 --> 25:07.400
It's a special place to be.

25:07.400 --> 25:08.480
I love it.

25:08.560 --> 25:11.220
So, again, what have we learned today?

25:11.220 --> 25:13.720
We're gonna cover it real quick in a few bullet points.

25:14.120 --> 25:16.340
Mainframe is not going away anytime soon.

25:16.340 --> 25:16.800
Okay?

25:16.800 --> 25:18.200
Please keep paying attention to it.

25:18.200 --> 25:25.780
We rely on it globally to support finance, healthcare, government, all these critical industries.

25:26.140 --> 25:26.500
Okay?

25:26.500 --> 25:27.520
So we need to keep securing it.

25:27.520 --> 25:31.900
There are more possible vulnerabilities now due to the prevalence of integrations.

25:31.900 --> 25:33.540
It's just gonna keep increasing.

25:33.600 --> 25:36.200
But if we work together, we can combat it.

25:36.200 --> 25:40.380
So, thank you so much for coming to learn about Mainframe.

25:41.000 --> 25:42.580
Stay connected.

25:42.580 --> 25:43.180
Thank you.

