WEBVTT

00:08.420 --> 00:14.380
Today we're going to talk about the immortal retrofuturism of mainframe computers and how to keep them safe.

00:14.380 --> 00:15.920
I will give you a small disclaimer.

00:15.920 --> 00:27.380
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:27.380 --> 00:29.360
So to begin, let me see...

00:30.920 --> 00:32.180
Yes, it worked.

00:32.180 --> 00:32.980
Okay, this is me.

00:33.440 --> 00:36.560
It looks a little weird, it's all blown out, but I am Michelle Eggers.

00:36.560 --> 00:38.540
I'm a security consultant with NetSpy.

00:38.540 --> 00:40.160
I've been with them for a couple of years.

00:40.160 --> 00:44.460
I specialize in mainframe web application and network penetration testing.

00:44.460 --> 00:51.460
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:51.460 --> 00:53.580
We'll touch on that in a minute more here.

00:53.580 --> 00:55.880
And I'm passionate about legacy tech.

00:55.900 --> 00:57.080
I like old things.

00:57.080 --> 00:58.680
I think they're interesting and cool.

00:58.980 --> 01:03.160
And we are still using them, so it's important that we make sure we're still securing them.

01:03.160 --> 01:06.220
We can't forget to pay attention to the entire topology.

01:06.220 --> 01:09.780
All right, so this is our outline.

01:09.780 --> 01:11.340
We're going to do a history debrief.

01:11.340 --> 01:15.340
We're going to look at how it kind of started and some things that have changed over the years.

01:15.340 --> 01:17.320
We're going to look at mainframes today.

01:17.320 --> 01:19.100
Why people still elect to use them?

01:19.100 --> 01:20.300
What's special about them?

01:20.300 --> 01:21.380
What even are they?

01:21.540 --> 01:27.360
We're going to look at a few modern threats, some notable breaches that have happened in the last decade or so.

01:27.360 --> 01:30.640
And then some things that we see in our pen tests currently.

01:31.540 --> 01:33.100
Yeah, and I have a demo, which is really cool.

01:33.100 --> 01:34.640
That shows a real thing that happened.

01:34.640 --> 01:36.560
It's a little scary, but it'll be interesting.

01:36.560 --> 01:38.400
And then, of course, the tips to secure.

01:39.180 --> 01:50.020
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?

01:50.020 --> 01:54.660
Give a description on it, just a sentence or two.

01:54.780 --> 01:55.920
Any takers?

01:56.660 --> 01:57.540
Yes.

02:12.480 --> 02:20.080
Okay, so we have, she said, a cluster of computers with sort of different applications, use cases.

02:20.600 --> 02:21.920
Yes?

02:23.120 --> 02:24.440
Close.

02:24.720 --> 02:26.500
You're on your way.

02:27.160 --> 02:28.500
What's that?

02:29.660 --> 02:30.860
Everything's bigger?

02:30.860 --> 02:33.120
Yeah, well, depending.

02:33.120 --> 02:33.860
Yes.

02:35.140 --> 02:36.460
Yes.

02:36.740 --> 02:39.160
Yeah, they're big systems, obviously.

02:39.160 --> 02:40.060
Yes, of course.

02:41.680 --> 02:43.040
Yes.

02:46.360 --> 02:49.320
I love it.

02:49.320 --> 02:49.960
Okay, great.

02:49.960 --> 02:50.860
Everybody's super smart.

02:50.860 --> 02:52.680
You'll get big gold stars.

02:53.620 --> 02:57.040
So mainframes are actually just computers, right?

02:57.040 --> 03:06.700
They're specialized computers that have insane processing power, storage power, their input-output stuff, billions of transactions a day, literally billions.

03:06.700 --> 03:21.980
So it's not something like a quantum computer where you're having a highly complex transaction that's occurring, they're more simplistic, but they have to be incredibly precise and very, very fast and happening in tandem at the same time.

03:22.160 --> 03:24.500
Parallel SysPlex makes this possible.

03:24.520 --> 03:29.600
And they have unique operating systems like, you know, IBM Z, right, and Linux.

03:29.740 --> 03:30.860
So, very cool.

03:30.860 --> 03:32.560
You're not going to find Windows on a mainframe.

03:33.100 --> 03:34.380
I hope not.

03:34.380 --> 03:35.200
Please don't.

03:37.500 --> 03:38.580
Don't do it.

03:39.060 --> 03:41.460
So let's look at a few myths versus facts.

03:41.500 --> 03:48.240
Something that has been fun for me this week is this first myth, it's something I've had to fight with people basically every day on.

03:48.240 --> 03:52.420
They're like, oh, mainframe, oh, that's like 1960s AS4000.

03:52.420 --> 03:54.540
And I'm like, no, no.

03:56.900 --> 03:58.760
They've continuously evolved, right?

03:58.760 --> 04:03.580
They were some of the first systems to introduce virtualization, built-in encryption.

04:03.600 --> 04:06.460
I mean, there's more things coming out all the time.

04:06.460 --> 04:08.120
There's real-time AI inferencing.

04:08.120 --> 04:10.860
There are new things coming out next year from IBM.

04:10.860 --> 04:12.920
I'll tell you a little bit more about that, too.

04:13.140 --> 04:15.420
But they're not locked in the past.

04:15.420 --> 04:22.100
It's not like this green screen terminal from a 1980s movie or this image of this woman in this room.

04:22.160 --> 04:25.520
That's basically one computer in the entire room.

04:25.540 --> 04:27.260
We're way beyond that.

04:27.260 --> 04:30.280
Another myth is that cloud replaces mainframe.

04:30.300 --> 04:35.180
Due to regulatory compliance reasons, this is impossible in many scenarios.

04:35.460 --> 04:38.740
Also, it's kind of expensive to move off of the mainframe.

04:38.740 --> 04:49.000
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:49.000 --> 04:51.920
It's less expensive than cloud in that regard.

04:51.920 --> 04:55.700
You can also use them to host your own virtual private cloud, which is nice.

04:55.700 --> 04:57.380
And then hybridization.

04:57.380 --> 05:01.140
If you're going to look at cloud and mainframe, it's not going to knock mainframe away.

05:01.140 --> 05:02.540
You're not going to replace it.

05:02.540 --> 05:12.640
But we are seeing more and more cases of hybridization where certain applications and functions are in the cloud, and there's just API calls or whatever making these things possible.

05:13.440 --> 05:14.500
Oh, yeah, and then I like this.

05:14.500 --> 05:15.200
It's ELT.

05:15.200 --> 05:17.300
That is extract, load, and transform.

05:17.300 --> 05:24.620
So that's a way of getting your data off of the mainframe into a different environment so that you can do more analysis.

05:25.600 --> 05:26.660
Love it.

05:26.660 --> 05:28.980
Okay, and then another myth is it's just too specialized.

05:28.980 --> 05:29.660
No one knows what it is.

05:29.660 --> 05:30.700
Nobody knows how to do it.

05:30.700 --> 05:35.700
There really are literally maybe like 5 to 10 mainframe hackers in the world.

05:35.700 --> 05:36.720
So that's real.

05:36.720 --> 05:37.780
That's true.

05:37.820 --> 05:43.500
But there are moves underway to rebuild that workforce.

05:43.500 --> 05:52.820
It sort of took a hit in the mid-90s to the early 2010s in staffing, the funding went down as far as building people, bringing them into the workforce.

05:53.740 --> 05:58.320
But I was actually at Share, which is one of the biggest mainframe conferences that happens in a year.

05:58.320 --> 05:59.240
They do it twice.

05:59.440 --> 06:05.020
And I met a lot of people that were early career professionals that are in college and they're learning COBOL.

06:05.200 --> 06:05.840
And we're like, really?

06:05.840 --> 06:07.200
Oh, that's great.

06:07.380 --> 06:10.660
They're becoming these sort of system programmers in the mainframe environment.

06:10.740 --> 06:15.040
There's money going into it now because they're still being used and there's still innovation happening.

06:15.040 --> 06:17.700
And people kind of woke up and said, oh, they're not dead.

06:17.700 --> 06:18.800
We have to keep going.

06:18.800 --> 06:22.000
Oh, and then this Watson X code assist.

06:22.140 --> 06:24.060
That's a cool feature that's coming out.

06:24.060 --> 06:31.180
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:31.180 --> 06:34.440
It's a lot easier to find developers who specialize in those languages.

06:34.440 --> 06:38.880
It's much more common than someone who specializes in COBOL, even though we are rebuilding COBOL people.

06:39.680 --> 06:40.600
All right.

06:40.600 --> 06:41.340
I love old pictures.

06:41.340 --> 06:42.160
I hope you do, too.

06:42.160 --> 06:43.140
Brief history.

06:43.760 --> 06:45.260
We need these lights down.

06:45.260 --> 06:46.540
It's all washed out.

06:47.080 --> 06:47.900
1937.

06:47.900 --> 06:48.400
Okay.

06:48.400 --> 06:49.640
We've got U.S.

06:49.640 --> 06:52.200
Navy Bureau of Ships, pre-mainframe technology.

06:52.200 --> 06:54.560
These were not digital systems, right?

06:54.560 --> 06:57.960
We're just talking about analog computers, mechanical calculators.

06:57.960 --> 07:01.660
These are for gunnery calculations, navigation.

07:01.660 --> 07:02.940
This is very military.

07:02.940 --> 07:04.840
This is pre-World War II stuff.

07:04.840 --> 07:07.900
But it's sort of like the bones where it began.

07:07.900 --> 07:11.020
This is where we started seeing innovation in this area.

07:11.440 --> 07:14.080
1951, the Eckert Mockley Computer Corporation.

07:14.080 --> 07:20.120
They made it possible for businesses to now get this technology for their own use.

07:20.120 --> 07:22.060
It was no longer simply relegated to government.

07:22.060 --> 07:24.540
However, it was the UNIVAC system.

07:24.820 --> 07:26.300
That was for the census.

07:26.300 --> 07:28.180
It was 1950 census.

07:28.580 --> 07:33.520
And then they rolled out the UNIVAC in 1951 to help process that data that they pulled in that year.

07:33.520 --> 07:34.880
So, really cool.

07:35.080 --> 07:36.860
Time marches on.

07:36.860 --> 07:38.020
When is this next one?

07:38.020 --> 07:38.700
Yes.

07:38.780 --> 07:40.120
Oh, I love this one.

07:40.120 --> 07:44.020
Okay, so unified architecture was a major achievement.

07:44.640 --> 07:50.780
Previous to the unified architecture, let's say you had several different types of mainframe boxes.

07:51.060 --> 07:53.200
They could not speak to each other.

07:53.500 --> 07:56.540
They didn't have similar software.

07:56.540 --> 07:58.340
Or even the language wasn't quite the same.

07:58.340 --> 08:01.660
And so you'd have to have a person trained up on each one.

08:01.660 --> 08:03.540
Or different people trained on each one.

08:03.540 --> 08:05.160
And they could not work together.

08:05.280 --> 08:07.880
But with unified architecture, it changed all of that.

08:07.880 --> 08:10.460
Now you could have a few different types of machines.

08:10.460 --> 08:12.100
And they could communicate together.

08:12.100 --> 08:12.820
Really nice.

08:12.820 --> 08:19.360
And then, of course, the vacuum tubes were replaced by this solid state technology.

08:19.360 --> 08:24.140
If you have vacuum tubes in an earthquake, that's just bad news.

08:24.140 --> 08:25.120
Like, it's not going to live.

08:25.120 --> 08:27.180
So, it got a lot better.

08:27.400 --> 08:29.200
1970, the innovation continued.

08:29.200 --> 08:32.780
We had magnetic ferric cores replaced by silicon memory chips.

08:33.040 --> 08:34.640
Virtual memory was introduced.

08:34.640 --> 08:37.180
And dynamic address translation was also introduced.

08:37.180 --> 08:40.240
So, as we're seeing, mainframe is really pushing, right?

08:40.260 --> 08:42.040
It's not lagging behind.

08:42.040 --> 08:50.380
It's constantly sort of at this parallel level with innovation, along with other technologies.

08:50.380 --> 08:52.460
It's just maybe not as talked about.

08:53.220 --> 08:55.220
1991, the saga continues.

08:55.220 --> 08:55.880
This is great.

08:55.880 --> 09:01.160
This guy, Stuart Alsop, he was like a talking head, right?

09:01.160 --> 09:03.160
For the technology.

09:04.300 --> 09:07.920
I think he wrote newspaper articles or something.

09:07.920 --> 09:10.920
But he said that mainframe would be dead.

09:10.920 --> 09:12.200
That it would be sunset.

09:12.200 --> 09:15.520
The last one's going to be unplugged on this very specific date.

09:15.520 --> 09:16.860
And that was published.

09:16.860 --> 09:17.560
That date.

09:17.560 --> 09:19.260
He, like, stood on that hill.

09:19.260 --> 09:21.200
And he was very much wrong.

09:21.740 --> 09:25.980
Because as we can see, mainframe is still being used, right?

09:26.540 --> 09:29.920
By finance, by military, health care.

09:29.920 --> 09:35.040
If you used your debit card today, that transaction touched a mainframe.

09:35.060 --> 09:42.460
If you have ever been to a doctor or you go to a hospital for something, your information is in a mainframe somewhere.

09:42.460 --> 09:43.500
It is.

09:43.500 --> 09:45.500
So now you know.

09:46.000 --> 09:48.600
And then we've got the new developments coming along.

09:48.600 --> 09:49.860
Something cool.

09:49.940 --> 09:55.240
So there's already AI on the Z15.

09:55.320 --> 10:01.960
But this next coming year, IBM is releasing a new box that's going to have more increased capabilities.

10:01.960 --> 10:10.600
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:10.760 --> 10:12.740
So this actually happened to my family pretty recently.

10:12.740 --> 10:16.360
Like, someone's at home, and then they get a call 10 or 15 minutes later.

10:16.360 --> 10:17.500
Hey, are you at Legoland?

10:17.500 --> 10:18.740
Did you just spend $800?

10:18.900 --> 10:19.300
No.

10:19.300 --> 10:21.960
Okay, well, we're going to cancel your card and reissue a new one.

10:21.960 --> 10:23.160
It's this whole process.

10:23.240 --> 10:25.020
And then that company has to eat that cost.

10:25.100 --> 10:29.200
Because you, as, you know, the account holder, and there's fraud, you're not going to pay for that.

10:29.200 --> 10:29.640
Hopefully.

10:29.640 --> 10:31.000
You shouldn't pay for that.

10:31.000 --> 10:33.180
And then are they going to catch the person who did the fraud?

10:33.180 --> 10:34.080
Likely no.

10:34.080 --> 10:37.260
So these companies are just eating all these fraud costs constantly.

10:37.260 --> 10:49.460
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:50.240 --> 10:51.400
I love it.

10:52.060 --> 10:52.620
All right.

10:52.620 --> 10:54.840
So, why do people use Mainframe now?

10:56.020 --> 10:57.300
Why do we care?

10:57.480 --> 10:59.020
There are three reasons.

10:59.020 --> 11:01.300
You'll hear this acronym in the Mainframe community.

11:01.300 --> 11:04.160
It's kind of like sales talking points.

11:04.180 --> 11:06.600
But reliability, availability, and serviceability.

11:06.600 --> 11:14.220
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:14.300 --> 11:17.120
So it's 99.999% uptime.

11:17.120 --> 11:22.360
They cannot have more than five and a half minutes of downtime in a given year.

11:23.360 --> 11:24.320
They cannot.

11:24.320 --> 11:24.780
Right?

11:24.980 --> 11:27.480
And so Mainframe is able to do this.

11:29.580 --> 11:31.420
Let's break out the slides a little more.

11:31.420 --> 11:35.680
Built-in redundancy across your hardware levels, your input-output paths, your power supply.

11:35.780 --> 11:37.800
You've got error detection correction.

11:37.800 --> 11:43.640
You've got these machines that are so robust, they can withstand up to seven magnitude earthquakes.

11:43.640 --> 11:43.740
Right?

11:43.740 --> 11:45.040
The vacuum tubes are gone.

11:45.180 --> 11:46.200
They're strong now.

11:47.440 --> 11:48.120
Availability.

11:48.120 --> 11:48.300
Right?

11:48.300 --> 11:57.040
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:57.040 --> 11:57.180
Right ?

11:57.180 --> 11:58.720
It's available to you.

11:58.720 --> 12:02.480
So you've got transaction rollback, checkpoint restart, complex job scheduling.

12:02.480 --> 12:07.840
They have 190 configurable cores in this one specific example, the Z15.

12:07.940 --> 12:08.260
Right?

12:08.260 --> 12:10.300
So you can basically finely tune your machine.

12:10.300 --> 12:12.780
You make like a bespoke system for yourself.

12:13.120 --> 12:17.360
Basically out of the box, you can start tuning it and fitting it to your specific use case.

12:17.460 --> 12:19.960
And again, with the unified architecture, they can all talk to each other.

12:19.960 --> 12:20.740
So we love it.

12:20.740 --> 12:21.740
And then the serviceability.

12:21.740 --> 12:23.640
So this is actually one of my favorite features.

12:23.640 --> 12:25.540
They're modular by design.

12:25.620 --> 12:25.880
Okay?

12:25.880 --> 12:26.120
So...

12:26.120 --> 12:32.860
And then when I mention parallel SysPlex, it means if you have a workflow or process that is relegated to one LPAR, one logical partition.

12:32.860 --> 12:33.060
Right?

12:33.060 --> 12:37.020
It's like the virtual segmentation within your mainframe.

12:37.380 --> 12:44.080
You can just swap those workflows over to another section of your box without any interruption, without any issues.

12:44.080 --> 12:49.840
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:49.840 --> 12:50.340
Ever.

12:50.340 --> 12:55.760
You just move the pieces you need to move when you need to move them, because they're so modular.

12:55.760 --> 12:56.860
It's intentional.

12:57.340 --> 12:59.980
You've got the in-depth logging for problem solving.

13:00.140 --> 13:02.600
On-site, accessible for repair and maintenance.

13:02.600 --> 13:05.840
So I live by a Google plant.

13:05.840 --> 13:06.300
Right ?

13:06.660 --> 13:08.220
And , you know, they're just...

13:08.220 --> 13:08.820
What is the cloud?

13:08.820 --> 13:10.240
It's just other people's computers.

13:10.240 --> 13:11.260
We understand this.

13:11.260 --> 13:17.760
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:17.760 --> 13:23.840
And there are all these police cars, and a couple fire engines, an ambulance, and all the lights are going like this.

13:23.840 --> 13:25.700
And then I keep driving, like, what's going on?

13:25.700 --> 13:27.640
And then the road to get to the plant, same thing.

13:27.640 --> 13:28.580
It's blocked off.

13:28.820 --> 13:30.380
I don't know what's going on.

13:30.820 --> 13:33.020
If your data is there, are they gonna tell you?

13:33.720 --> 13:35.340
Or like, oh, well, it's just one region.

13:35.340 --> 13:36.240
Well, what if there was...

13:36.240 --> 13:41.480
I mean, I don't know if it was a physical breach or if there was a fire or if there was some other kind of problem.

13:41.760 --> 13:42.800
And they'll never tell you.

13:42.800 --> 13:44.160
Like, well, oh, well, it's redundancy.

13:44.160 --> 13:44.860
We have different regions.

13:44.860 --> 13:45.300
Okay.

13:45.300 --> 13:53.860
What if there was a coordinated attack against multiple regions at the same time, and they just so happen to be the regions that your data is stored in?

13:53.900 --> 13:55.200
Something to think about.

13:55.200 --> 14:08.920
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:08.920 --> 14:11.760
You have a better...

14:11.760 --> 14:15.280
You have more insight into the security of your own systems.

14:15.580 --> 14:22.000
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 it didn't affect your stuff.

14:22.840 --> 14:23.200
So...

14:24.700 --> 14:25.740
And this is...

14:25.740 --> 14:26.440
I love this.

14:26.560 --> 14:26.780
Okay.

14:26.780 --> 14:28.600
So this is a little demo.

14:28.600 --> 14:29.800
Oh, I wonder if it will play.

14:29.860 --> 14:31.160
Oh, I wish it will.

14:31.980 --> 14:33.040
It may not.

14:33.060 --> 14:33.640
Darn.

14:33.820 --> 14:34.960
Well, basically...

14:35.800 --> 14:36.820
It's not going to play.

14:37.520 --> 14:38.720
They do this testing.

14:38.720 --> 14:39.780
I'll just simulate.

14:40.760 --> 14:43.500
This is really hard.

14:43.840 --> 14:46.360
And they simulate a seven magnitude earthquake.

14:46.440 --> 14:52.240
So, in New Jersey, about eight months ago, there was a 4.5 magnitude earthquake.

14:52.240 --> 14:53.560
And there was a campus near there.

14:53.560 --> 14:55.280
I mean, that earthquake went up the coast as well.

14:55.280 --> 14:56.980
It affected a lot of places.

14:58.120 --> 15:02.420
There was a campus with 200 mainframes, and not a single one was affected.

15:02.500 --> 15:04.920
There was no damage whatsoever.

15:04.920 --> 15:10.740
Do you want to start an earthquake in your server room and see how it goes?

15:11.000 --> 15:12.320
Probably not.

15:12.320 --> 15:12.760
Right ?

15:13.240 --> 15:13.840
Yeah.

15:13.840 --> 15:14.520
Yeah.

15:14.520 --> 15:15.540
A little bit scary.

15:15.540 --> 15:16.560
Mainframes can do that.

15:16.560 --> 15:18.740
They're literally built to do that.

15:18.820 --> 15:19.220
So...

15:19.220 --> 15:20.860
Apologies for the lack of the shaking.

15:20.860 --> 15:21.760
I can show you later.

15:21.760 --> 15:21.960
But...

15:21.960 --> 15:22.420
Yeah.

15:22.780 --> 15:23.740
All right.

15:24.260 --> 15:24.700
So...

15:24.700 --> 15:31.000
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:31.260 --> 15:33.620
What are the things that can affect it?

15:33.620 --> 15:35.080
What are we scared of?

15:35.140 --> 15:37.860
Why do we need to think about the security?

15:38.020 --> 15:38.540
So...

15:38.540 --> 15:42.580
One of the big things that affects mainframe are the integrations.

15:42.660 --> 15:43.220
Right?

15:43.340 --> 15:45.600
We see a lot of...

15:46.780 --> 15:48.900
Entry into the mainframe environment.

15:48.900 --> 15:49.820
Not by...

15:49.820 --> 15:52.200
Not starting at the mainframe level, of course.

15:52.200 --> 15:56.740
But with things like web applications that connect to it, or just the general network.

15:56.740 --> 15:58.940
In this case, even it was the WiFi network.

15:58.940 --> 15:59.360
So...

15:59.360 --> 16:02.520
The TJX company's data breach, payment card data breach.

16:02.520 --> 16:06.500
45.7 million user cards were affected, exfiltrated.

16:06.500 --> 16:08.180
This is a weakness in the wireless network.

16:08.180 --> 16:09.480
That's how that one kicked off.

16:09.480 --> 16:10.780
We're gonna see a trend here.

16:10.780 --> 16:12.860
Heartland payment systems breach.

16:13.020 --> 16:14.340
Double the last.

16:14.340 --> 16:16.380
100 million cards compromised.

16:16.380 --> 16:19.060
This was at the hands of a global cyber fraud operation.

16:19.060 --> 16:19.260
Okay?

16:19.260 --> 16:22.660
And this was a combined attack of network and application vulnerabilities.

16:23.000 --> 16:25.220
Then we see the Equifax data breach.

16:25.220 --> 16:25.620
Okay?

16:25.620 --> 16:28.980
This was now 147 million users exposed.

16:28.980 --> 16:30.920
Which just goes up every single time.

16:30.920 --> 16:31.820
It's worse every time.

16:31.820 --> 16:36.300
In this instance, it was the web application that provided the initial foothold.

16:37.460 --> 16:41.440
And this one is a little bit harder to find information on.

16:41.440 --> 16:43.740
This is the Logica data breach.

16:43.740 --> 16:44.840
This was in Sweden.

16:44.840 --> 16:46.360
And it affected the government.

16:46.700 --> 16:48.120
And it was so bad.

16:48.120 --> 16:51.460
And word got out that the government just published the documents.

16:51.460 --> 16:52.800
They just put everything public.

16:52.800 --> 16:53.860
They said, just...

16:53.860 --> 16:54.440
Here.

16:54.440 --> 16:55.180
Go ahead and find it.

16:55.180 --> 16:56.680
You can find it if you want to.

16:56.680 --> 16:57.800
It's in Swedish.

16:57.800 --> 17:00.540
But you can find all the documents about this.

17:02.140 --> 17:05.000
This was initial access via the FTP network.

17:05.000 --> 17:06.920
So unencrypted protocol.

17:06.980 --> 17:07.420
Okay ?

17:07.720 --> 17:10.760
The hackers used something like Hercules, which is an emulator.

17:10.760 --> 17:12.980
I used an emulator in my testing.

17:12.980 --> 17:14.540
I used X3270.

17:14.600 --> 17:20.960
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:20.960 --> 17:28.020
This attack specifically leveraged some zero days, which may be a little more difficult to, you know, make happen.

17:28.020 --> 17:31.880
But they were based on default configurations.

17:32.040 --> 17:32.780
Right?

17:32.780 --> 17:37.500
So this is something that is easy to fix and not have in your environment.

17:37.500 --> 17:42.260
Please, as soon as you have something new, turn off your default configurations.

17:42.600 --> 17:44.620
Change it as soon as possible.

17:44.700 --> 17:47.820
120,000 usernames stolen from RACF.

17:47.820 --> 17:51.360
RACF is like a security management tool in the mainframe environment.

17:51.720 --> 17:56.600
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:56.660 --> 17:58.080
It was very bad.

17:58.080 --> 17:58.680
It was very bad.

17:58.680 --> 18:04.420
And the entire government made all these new policies specifically because of this breach.

18:05.340 --> 18:05.820
Okay.

18:05.820 --> 18:07.600
So next up I'm going to show you a demo.

18:07.700 --> 18:09.040
I'll give a little information on it.

18:09.620 --> 18:15.400
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:15.740 --> 18:16.280
Right?

18:16.280 --> 18:21.960
Assume that the endpoints that I navigate to have already been enumerated previously during the engagement.

18:21.960 --> 18:25.820
So I'm not going to... you don't see the enumeration part in this demo.

18:25.820 --> 18:28.200
But you'll see me sort of navigate to some endpoints.

18:28.200 --> 18:29.180
That's why.

18:29.660 --> 18:34.120
The user I am, that you'll see, is a lower level user.

18:34.120 --> 18:35.700
This is not an admin user.

18:35.700 --> 18:35.960
Right?

18:35.960 --> 18:40.060
So, of course, it means there are specific resources that they should not be able to access.

18:40.360 --> 18:40.640
Okay?

18:40.640 --> 18:48.040
So the goal of this hack was to try to access, of course, more privileged information.

18:49.280 --> 18:50.720
So... okay.

18:51.160 --> 18:52.240
And we're up and running.

18:52.240 --> 18:52.540
Okay.

18:52.540 --> 18:56.680
So this is me logging in.

18:57.120 --> 18:59.280
I've got TSO here.

18:59.920 --> 19:00.220
Right?

19:00.500 --> 19:01.140
ISPF.

19:01.140 --> 19:07.460
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:08.280 --> 19:09.480
Through OMBS.

19:11.920 --> 19:12.920
All right?

19:13.580 --> 19:17.580
So it's... if it looks familiar to you in Unix space, you can just use your similar commands.

19:17.580 --> 19:17.960
Right?

19:17.960 --> 19:21.200
So I'm going to navigate to this opt secrets location.

19:21.280 --> 19:23.320
I'm going to see what's in there.

19:25.500 --> 19:26.940
I'm going to list it out.

19:27.140 --> 19:29.580
We've got a readme.txt and an SSH key.

19:29.680 --> 19:32.220
We're going to cat the readme.txt file.

19:32.220 --> 19:34.760
It says this is the SSH private key you need to log on as an admin.

19:34.760 --> 19:35.600
Do not share.

19:35.600 --> 19:39.340
Well, can I just cat the SSH key and just maybe access it anyway?

19:39.460 --> 19:40.060
No.

19:40.060 --> 19:40.820
Permission denied.

19:40.820 --> 19:41.520
Game over.

19:41.520 --> 19:42.020
Right?

19:42.020 --> 19:42.660
Wrong.

19:42.660 --> 19:48.420
I used the same IP that the LPAR is on and just navigated to it in the web browser over 8080.

19:48.420 --> 19:49.000
Right?

19:49.880 --> 19:52.240
Again, we already had the endpoints enumerated.

19:52.240 --> 19:52.800
Okay?

19:52.800 --> 20:00.760
So this specific location, the requests that are generated pull information from the mainframe.

20:00.760 --> 20:01.420
Right?

20:01.420 --> 20:08.660
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:08.660 --> 20:09.120
Okay?

20:09.580 --> 20:11.240
So I'm generating the request.

20:11.240 --> 20:13.980
It makes a post request that pulls information from the mainframe.

20:14.140 --> 20:14.600
Right?

20:14.600 --> 20:15.980
We're going to crack that open.

20:17.640 --> 20:19.940
You don't even need to use an intercepting tool for this.

20:19.940 --> 20:22.740
You really can just use the network tab in your browser.

20:22.820 --> 20:23.960
It's a little bit insane.

20:24.280 --> 20:28.060
So in the message body, there's a request for a specific file.

20:28.060 --> 20:31.480
Modify that to point to what was disallowed earlier.

20:31.480 --> 20:33.400
Keep in mind, I have not authenticated.

20:33.400 --> 20:35.460
This is simply in the web browser.

20:36.980 --> 20:37.860
Okay?

20:37.860 --> 20:38.860
Got a 200 okay.

20:38.860 --> 20:40.100
That sounds promising.

20:40.200 --> 20:42.680
There's the endpoint I went to with that SSH key.

20:42.980 --> 20:44.840
Let's see what's in the response.

20:46.240 --> 20:47.520
There it is.

20:55.400 --> 20:56.360
Thanks.

20:56.540 --> 20:59.020
This is a real... this really happened.

20:59.960 --> 21:03.380
I will just say within the past year to be somewhat vague.

21:03.380 --> 21:07.800
And it was not an SSH key, but it was definitely some very, very private information.

21:07.800 --> 21:09.760
Completely unauthenticated access.

21:09.760 --> 21:12.840
Not even on... within the mainframe emulated environment.

21:12.840 --> 21:14.480
Just over the browser.

21:14.720 --> 21:22.920
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:22.920 --> 21:25.280
Because people say, well, mainframe is... it's older.

21:25.280 --> 21:26.380
It's safe.

21:26.500 --> 21:27.440
Yes and no.

21:27.440 --> 21:28.180
All right?

21:28.180 --> 21:30.580
So we've talked about the integration ones.

21:30.580 --> 21:32.300
What about the mainframe itself?

21:32.300 --> 21:35.820
If you're just looking at the mainframe, we're going to stay in this little box of the mainframe.

21:35.820 --> 21:37.700
Is it safe all by itself?

21:38.260 --> 21:42.240
These are things we find on a regular basis within our pen test.

21:42.240 --> 21:42.660
Okay?

21:42.660 --> 21:44.160
Local file include.

21:44.640 --> 21:49.380
We find insecure... insecure protocols all the time.

21:49.380 --> 21:50.800
There's so much 23.

21:51.160 --> 21:52.140
Yeah.

21:52.300 --> 21:53.820
Unauthenticated access happens.

21:53.820 --> 21:59.260
So there have been instances where I will begin the authentication process and then back out of it.

21:59.260 --> 22:05.920
Not complete authenticating and I can still run CICS commands or run KEMS, things like this.

22:05.920 --> 22:08.720
You should be authenticated to run these.

22:09.180 --> 22:10.560
So we do find this a lot.

22:10.620 --> 22:11.280
Injections.

22:11.280 --> 22:13.560
SQL injection into DB2 databases.

22:13.740 --> 22:17.400
JCL job control language injections or REC scripts injections.

22:17.400 --> 22:25.080
If you're able to use these when you're not supposed to, you could delete, modify, erase entire data sets.

22:25.460 --> 22:26.260
Bad news.

22:26.260 --> 22:26.860
Okay?

22:26.860 --> 22:29.820
And then we do see security misconfigurations.

22:29.820 --> 22:34.660
I don't see a lot of default credentials, thankfully, but it does occur.

22:34.660 --> 22:36.280
Weak password policies.

22:36.280 --> 22:40.680
Often I will see they'll allow mixed case passwords.

22:40.680 --> 22:47.040
So let's say you're supposed to have like your actual password is capital this and lower case this and some numbers and whatever else.

22:47.040 --> 22:50.820
You can switch the case around and do whatever you want and we'll still accept it.

22:51.140 --> 22:52.480
Don't do that.

22:52.480 --> 22:58.300
And not using external security management tools like RACF or top secret.

22:58.300 --> 23:02.540
Thankfully most shops that have mainframe are implementing these things.

23:02.660 --> 23:08.600
But just as a safeguard, you know, just make sure that you're using these things.

23:08.960 --> 23:09.380
Okay.

23:09.380 --> 23:14.620
And then now the promised ways to secure from the blue team side.

23:14.620 --> 23:16.800
Properly configure your network topology as a whole.

23:16.800 --> 23:18.300
I can't stress that enough.

23:18.300 --> 23:22.520
Please, mainframe is not its own weird thing off to the side.

23:22.520 --> 23:24.300
It is part of your stack.

23:24.300 --> 23:25.700
Treat it as such.

23:25.700 --> 23:27.880
Make appropriate use of your logical partitions.

23:27.880 --> 23:34.720
Make sure if a user has access to lpar 1, they can also somehow navigate to lpar 2 and 3 and 4.

23:35.560 --> 23:37.420
Your regions, your esm tools.

23:37.860 --> 23:40.040
Again, disallow unencrypted protocols.

23:40.040 --> 23:41.820
Secure with compliance.

23:42.120 --> 23:47.100
The cis benchmarking is really great for regular auditing purposes.

23:47.100 --> 23:48.440
And then the disa stigs.

23:48.440 --> 23:50.700
These are your department of defense guides from nist.

23:50.840 --> 23:52.480
I've used these on a test.

23:53.000 --> 23:54.340
It's really nice.

23:54.340 --> 23:58.600
So I had a db2 test where it's basically sql-based.

23:58.760 --> 24:04.880
And they have whole lists of commands you can run to check, okay, well, if I run this command, can I access this when I shouldn't?

24:04.880 --> 24:07.220
If I run this command, can I elevate my privileges?

24:07.400 --> 24:08.140
And so on.

24:08.140 --> 24:09.220
This is great.

24:09.220 --> 24:09.800
I love this.

24:09.860 --> 24:12.000
Very helpful tools.

24:12.000 --> 24:13.480
Secure with ongoing reviews.

24:13.480 --> 24:19.280
This is real basic stuff that everybody should be doing regardless of its mainframe or something else.

24:19.280 --> 24:22.200
Audit your identity and access management on a regular basis.

24:22.580 --> 24:25.260
Establish recurring audits for all features.

24:25.660 --> 24:27.520
And do recurring pen tests.

24:27.520 --> 24:29.260
I love a good internal team.

24:29.260 --> 24:29.880
Literally.

24:29.940 --> 24:31.940
You're closer to your stack.

24:31.940 --> 24:33.480
You're rolling out new features.

24:33.480 --> 24:35.860
You sort of understand what's going on.

24:35.860 --> 24:37.800
And you need to be there, right?

24:37.800 --> 24:41.860
But, you know, I'm biased, again, because I'm third-party pen tester.

24:41.860 --> 24:47.000
Which I think is incredibly important to get fresh eyes on your five minutes.

24:47.000 --> 24:47.920
Okay, thank you.

24:48.020 --> 24:49.140
I'm going to hurry up here.

24:50.020 --> 24:51.320
Fresh set of eyes.

24:53.020 --> 24:55.120
Not having the source code.

24:55.140 --> 24:57.780
Being, you know, somewhat unfamiliar with the environment.

24:57.780 --> 25:00.960
And then getting in and just gently breaking it.

25:01.120 --> 25:03.460
So you can help the company fix it.

25:03.460 --> 25:04.920
I think is really nice.

25:04.920 --> 25:06.320
It's a special place to be.

25:06.320 --> 25:07.380
I love it.

25:07.380 --> 25:10.220
So, again, what have we learned today?

25:10.220 --> 25:11.360
We're going to cover it real quick.

25:11.360 --> 25:12.660
And a few bullet points.

25:13.120 --> 25:15.400
Mainframe is not going away any time soon.

25:15.500 --> 25:17.220
Please keep paying attention to it.

25:17.220 --> 25:21.920
We rely on it globally to support finance, healthcare, government.

25:21.920 --> 25:24.560
All these critical industries.

25:25.180 --> 25:25.460
Okay?

25:25.460 --> 25:26.480
So we need to keep securing it.

25:26.480 --> 25:30.880
There are more possible vulnerabilities now due to the prevalence of integrations.

25:30.880 --> 25:32.380
It's just going to keep increasing.

25:32.580 --> 25:35.160
But if we work together, we can combat it.

25:35.160 --> 25:39.280
So thank you so much for coming to learn about mainframe.

25:39.320 --> 25:40.640
Thank you.

25:40.820 --> 25:41.200
Thank you.

25:41.920 --> 25:43.520
Thank you.

