1 00:00:02,540 --> 00:00:03,360 All right. 2 00:00:04,040 --> 00:00:05,840 Thanks, everyone, for being here. 3 00:00:05,840 --> 00:00:09,900 We know it's Sunday and 10 a.m., so my heart goes out. 4 00:00:09,900 --> 00:00:11,220 I appreciate you so much. 5 00:00:11,220 --> 00:00:16,820 Today we're going to talk about the immortal retrofuturism of mainframe computers and how to keep them safe. 6 00:00:16,820 --> 00:00:18,420 I will give you a small disclaimer. 7 00:00:18,420 --> 00: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. 8 00:00:29,860 --> 00:00:31,920 So to begin, let me see... 9 00:00:32,860 --> 00:00:33,620 Yes. 10 00:00:34,220 --> 00:00:34,700 It worked. 11 00:00:34,700 --> 00:00:35,620 Okay, this is me. 12 00:00:35,980 --> 00:00:37,220 It looks a little weird. 13 00:00:37,220 --> 00:00:39,080 It's all blown out, but I am Michelle Eggers. 14 00:00:39,080 --> 00:00:40,980 I'm a security consultant with NetSpy. 15 00:00:40,980 --> 00:00:42,660 I've been with them for a couple of years. 16 00:00:42,660 --> 00:00:46,960 I specialize in mainframe web application and network penetration testing. 17 00:00:46,960 --> 00: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. 18 00:00:53,920 --> 00:00:56,040 We'll touch on that in a minute more here. 19 00:00:56,040 --> 00:00:58,300 And I'm passionate about legacy tech. 20 00:00:58,300 --> 00:00:59,620 I like old things. 21 00:00:59,620 --> 00:01:01,300 I think they're interesting and cool. 22 00:01:01,520 --> 00:01:05,680 And we are still using them, so it's important that we make sure we're still securing them. 23 00:01:05,680 --> 00:01:08,860 We can't forget to pay attention to the entire topology. 24 00:01:09,020 --> 00:01:12,260 All right, so this is our outline. 25 00:01:12,260 --> 00:01:13,860 We're going to do a history debrief. 26 00:01:13,860 --> 00:01:17,960 We're going to look at how it kind of started and some things that have changed over the years. 27 00:01:17,960 --> 00: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. 28 00:01:23,960 --> 00: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. 29 00:01:34,000 --> 00:01:35,580 Yeah, and I have a demo, which is really cool. 30 00:01:35,580 --> 00:01:37,140 That shows a real thing that happened. 31 00:01:37,140 --> 00:01:38,940 It's a little scary, but it'll be interesting. 32 00:01:38,940 --> 00:01:40,760 And then, of course, the tips to secure. 33 00:01:41,600 --> 00: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? 34 00:01:59,020 --> 00:02:00,380 Yes. 35 00:02:15,360 --> 00:02:22,660 Okay, so we have a cluster of computers with sort of different applications, use cases. 36 00:02:22,940 --> 00:02:24,520 Yes. 37 00:02:25,780 --> 00:02:27,040 Close. 38 00:02:27,160 --> 00:02:29,080 You're on your way. 39 00:02:29,600 --> 00:02:30,860 What's that? 40 00:02:31,880 --> 00:02:33,260 Everything's bigger? 41 00:02:33,260 --> 00:02:35,380 Yeah, well, depending. 42 00:02:35,380 --> 00:02:36,360 Yes. 43 00:02:37,420 --> 00:02:38,700 Yes. 44 00:02:39,180 --> 00:02:41,480 Yeah, they're big systems, obviously. 45 00:02:41,480 --> 00:02:42,500 Yes, of course. 46 00:02:46,350 --> 00:02:47,630 Yes! 47 00:02:50,600 --> 00:02:51,700 I love it. 48 00:02:51,700 --> 00:02:52,320 Okay, great. 49 00:02:52,320 --> 00:02:53,220 Everybody's super smart. 50 00:02:53,220 --> 00:02:55,160 You'll get big gold stars. 51 00:02:56,040 --> 00:02:59,340 So mainframes are actually just computers, right? 52 00:02:59,340 --> 00:03:05,820 They're specialized computers that have insane processing power, storage power, their input-output stuff. 53 00:03:05,820 --> 00:03:07,860 Billions of transactions a day. 54 00:03:07,860 --> 00:03:09,040 Literally billions. 55 00:03:09,040 --> 00:03:16,580 So it's not something like a quantum computer where you're having a highly complex transaction that's occurring. 56 00:03:16,580 --> 00:03:17,840 They're more simplistic. 57 00:03:17,840 --> 00:03:24,340 But they have to be incredibly precise and very, very fast and happening in tandem at the same time. 58 00:03:24,540 --> 00:03:26,820 Parallel SysPlex makes this possible. 59 00:03:26,820 --> 00:03:30,760 And they have unique operating systems like, you know, IBM Z, right? 60 00:03:30,760 --> 00:03:31,920 And Linux. 61 00:03:32,100 --> 00:03:33,180 So, very cool. 62 00:03:33,180 --> 00:03:34,880 You're not going to find Windows on a mainframe. 63 00:03:35,240 --> 00:03:36,680 I hope not. 64 00:03:36,680 --> 00:03:37,500 Please don't. 65 00:03:39,780 --> 00:03:40,940 Don't do it. 66 00:03:41,360 --> 00:03:43,820 So let's look at a few myths versus facts. 67 00:03:43,900 --> 00: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. 68 00:03:50,560 --> 00:03:54,740 They're like, oh, mainframe, oh, that's like 1960s AS4000. 69 00:03:54,740 --> 00:03:56,920 And I'm like, no, no. 70 00:03:59,120 --> 00:04:01,060 They've continuously evolved, right? 71 00:04:01,060 --> 00:04:05,880 They're some of the first systems to introduce virtualization, built-in encryption. 72 00:04:05,880 --> 00:04:08,800 There's more things coming out all the time. 73 00:04:08,800 --> 00:04:10,420 There's real-time AI inferencing. 74 00:04:10,420 --> 00:04:13,200 There are new things coming out next year from IBM. 75 00:04:13,200 --> 00:04:15,260 I'll tell you a little bit more about that, too. 76 00:04:15,440 --> 00:04:17,700 But they're not locked in the past. 77 00:04:17,700 --> 00:04:24,360 It's not like this green screen terminal from a 1980s movie or this image of this woman in this room. 78 00:04:24,440 --> 00:04:27,800 That's basically one computer in the entire room. 79 00:04:27,800 --> 00:04:29,520 We're way beyond that. 80 00:04:29,740 --> 00:04:32,520 Another myth is that cloud replaces mainframe. 81 00:04:32,600 --> 00:04:37,420 Due to regulatory compliance reasons, this is impossible in many scenarios. 82 00:04:37,860 --> 00:04:41,000 Also, it's kind of expensive to move off of the mainframe. 83 00:04:41,000 --> 00: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. 84 00:04:51,420 --> 00:04:54,180 It's less expensive than cloud in that regard. 85 00:04:54,180 --> 00:04:57,940 You can also use them to host your own virtual private cloud, which is nice. 86 00:04:58,280 --> 00:04:59,600 And then hybridization. 87 00:04:59,600 --> 00:05:03,380 If you're going to look at cloud and mainframe, it's not going to knock mainframe away. 88 00:05:03,380 --> 00:05:04,760 You're not going to replace it. 89 00:05:04,840 --> 00:05:11,140 But we are seeing more and more cases of hybridization where certain applications and functions are in the cloud, right? 90 00:05:11,140 --> 00:05:14,760 And there's just API calls or whatever making these things possible. 91 00:05:15,740 --> 00:05:16,760 Oh, yeah, and then I like this. 92 00:05:16,760 --> 00:05:17,440 It's ELT. 93 00:05:17,440 --> 00:05:19,400 That is extract, load, and transform. 94 00:05:19,420 --> 00: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? 95 00:05:28,020 --> 00:05:28,860 Love it. 96 00:05:28,860 --> 00:05:31,180 Okay, and then another myth is it's just too specialized. 97 00:05:31,180 --> 00:05:31,860 No one knows what it is. 98 00:05:31,860 --> 00:05:32,920 Nobody knows how to do it. 99 00:05:32,920 --> 00:05:37,980 There really are literally maybe like 5 to 10 mainframe hackers in the world. 100 00:05:37,980 --> 00:05:38,960 So that's real. 101 00:05:38,960 --> 00:05:39,760 That's true. 102 00:05:39,980 --> 00:05:45,700 But there are moves underway to rebuild that workforce. 103 00:05:45,700 --> 00:05:50,080 It sort of took a hit in the mid-'90s to the early 2010s in staffing. 104 00:05:50,280 --> 00:05:55,060 The funding went down as far as, you know, building people, bringing them into the workforce. 105 00:05:55,840 --> 00:06:00,500 But I was actually at SHARE, which is like one of the biggest mainframe conferences that happens in a year. 106 00:06:00,500 --> 00:06:01,540 They do it twice. 107 00:06:01,540 --> 00: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. 108 00:06:07,100 --> 00:06:08,060 And we're like, really? 109 00:06:08,060 --> 00:06:09,380 Oh, that's great. 110 00:06:09,480 --> 00:06:12,800 They're becoming these sort of system programmers in the mainframe environment. 111 00:06:12,800 --> 00:06:17,220 There's money going into it now because they're still being used and there's still innovation happening. 112 00:06:17,220 --> 00:06:19,900 And people kind of woke up and said, oh, they're not dead. 113 00:06:19,900 --> 00:06:20,900 We have to keep going. 114 00:06:21,260 --> 00:06:24,120 Oh, and then this Watson X Code Assist. 115 00:06:24,240 --> 00:06:26,160 That's a cool feature that's coming out. 116 00:06:26,160 --> 00: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. 117 00:06:33,380 --> 00:06:36,600 It's a lot easier to find developers who specialize in those languages. 118 00:06:36,600 --> 00:06:40,980 It's much more common than someone who specializes in COBOL, even though we are rebuilding COBOL people. 119 00:06:41,800 --> 00:06:42,740 All right. 120 00:06:42,740 --> 00:06:43,500 I love old pictures. 121 00:06:43,500 --> 00:06:44,320 I hope you do, too. 122 00:06:44,320 --> 00:06:45,300 Brief history. 123 00:06:45,920 --> 00:06:47,400 We need these lights down. 124 00:06:47,400 --> 00:06:48,680 It's all washed out. 125 00:06:49,320 --> 00:06:50,020 1937. 126 00:06:50,020 --> 00:06:50,500 Okay. 127 00:06:50,500 --> 00:06:52,120 We've got U.S. 128 00:06:52,120 --> 00:06:54,320 Navy Bureau of Ships pre-mainframe technology. 129 00:06:54,320 --> 00:06:56,680 These were not digital systems, right? 130 00:06:56,680 --> 00:07:00,120 We're just talking about analog computers, mechanical calculators. 131 00:07:00,120 --> 00:07:02,740 These are for gunnery calculations. 132 00:07:02,960 --> 00:07:03,800 Navigation. 133 00:07:03,800 --> 00:07:05,080 This is very military. 134 00:07:05,080 --> 00:07:07,020 This is pre-World War II stuff. 135 00:07:07,020 --> 00:07:10,020 But it's sort of like the bones where it began. 136 00:07:10,020 --> 00:07:13,120 This is where we started seeing innovation in this area. 137 00:07:13,480 --> 00:07:15,950 1951, the Eckert Mockley Computer Corporation. 138 00:07:16,220 --> 00:07:22,220 They made it possible for businesses to now get this technology for their own use. 139 00:07:22,220 --> 00:07:24,160 It was no longer simply relegated to government. 140 00:07:24,160 --> 00:07:26,640 However, it was the UNIVAC system. 141 00:07:26,720 --> 00:07:28,400 That was for the census. 142 00:07:28,400 --> 00:07:30,280 It was the 1950 census. 143 00:07:30,660 --> 00:07:35,560 And then they rolled out the UNIVAC in 1951 to help process that data that they pulled in that year. 144 00:07:35,560 --> 00:07:36,980 So, really cool. 145 00:07:37,160 --> 00:07:39,080 Time marches on. 146 00:07:39,160 --> 00:07:40,100 When is this next one? 147 00:07:40,100 --> 00:07:40,780 Yes. 148 00:07:40,860 --> 00:07:42,200 Oh, I love this one. 149 00:07:42,200 --> 00:07:42,380 Okay. 150 00:07:42,380 --> 00:07:46,100 So, unified architecture was a major achievement. 151 00:07:46,680 --> 00:07:52,740 Previous to the unified architecture, let's say you had several different types of mainframe boxes. 152 00:07:52,740 --> 00:07:55,040 They could not speak to each other. 153 00:07:55,180 --> 00:08:00,400 They didn't have similar software or even the language wasn't quite the same. 154 00:08:00,400 --> 00:08:05,620 And so, you'd have to have a person trained up on each one or different people trained on each one. 155 00:08:05,620 --> 00:08:07,300 And they could not work together. 156 00:08:07,340 --> 00:08:09,920 But with unified architecture, it changed all of that. 157 00:08:09,920 --> 00:08:14,060 Now you could have a few different types of machines and they could communicate together. 158 00:08:14,060 --> 00:08:14,900 Really nice. 159 00:08:14,900 --> 00:08:21,380 And then, of course, the vacuum tubes were replaced by this solid state technology. 160 00:08:21,380 --> 00:08:26,220 If you have vacuum tubes in an earthquake, that's bad news. 161 00:08:26,220 --> 00:08:27,220 Like, it's not going to live. 162 00:08:27,220 --> 00:08:29,220 So , it got a lot better. 163 00:08:29,360 --> 00:08:31,260 1970, the innovation continued. 164 00:08:31,260 --> 00:08:34,620 We had magnetic cores replaced by silicon memory chips. 165 00:08:35,120 --> 00:08:36,860 Virtual memory was introduced. 166 00:08:36,860 --> 00:08:39,220 And dynamic address translation was also introduced. 167 00:08:39,220 --> 00:08:41,960 So, as we're seeing, mainframe is really pushing. 168 00:08:41,960 --> 00:08:42,280 Right? 169 00:08:42,280 --> 00:08:44,040 It's not lagging behind. 170 00:08:44,040 --> 00:08:52,420 It's constantly sort of at this parallel level with innovation along with other technologies. 171 00:08:52,420 --> 00:08:54,440 It's just maybe not as talked about. 172 00:08:55,300 --> 00:08:57,240 1991, the saga continues. 173 00:08:57,240 --> 00:08:57,900 This is great. 174 00:08:57,900 --> 00:09:02,620 This guy, Stuart Alsop, he was like a talking head. 175 00:09:02,620 --> 00:09:03,220 Right? 176 00:09:03,220 --> 00:09:05,140 For the technology. 177 00:09:06,300 --> 00:09:09,840 I think he wrote newspaper articles or something. 178 00:09:09,840 --> 00:09:12,920 But he said that mainframe would be dead. 179 00:09:12,920 --> 00:09:14,200 That it would be sunset. 180 00:09:14,200 --> 00:09:17,560 The last one is going to be unplugged on this very specific date. 181 00:09:17,560 --> 00:09:18,840 And that was published. 182 00:09:18,840 --> 00:09:19,560 That date. 183 00:09:19,560 --> 00:09:21,300 He, like, stood on that hill. 184 00:09:21,300 --> 00:09:23,200 And he was very much wrong. 185 00:09:23,720 --> 00:09:27,180 Because as we can see, mainframe is still being used. 186 00:09:27,180 --> 00:09:27,960 Right? 187 00:09:28,500 --> 00:09:29,580 By finance. 188 00:09:29,580 --> 00:09:30,800 By military. 189 00:09:30,800 --> 00:09:31,780 Healthcare. 190 00:09:31,900 --> 00:09:37,020 If you used your debit card today, that transaction touched a mainframe. 191 00:09:37,020 --> 00: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. 192 00:09:44,420 --> 00:09:45,420 It is. 193 00:09:45,420 --> 00:09:47,380 So now you know. 194 00:09:47,960 --> 00:09:50,540 And then we've got the new developments coming along. 195 00:09:50,540 --> 00:09:51,720 Something cool. 196 00:09:52,020 --> 00:09:57,080 So there's already AI on the Z15. 197 00:09:57,260 --> 00:10:03,860 But this next coming year, IBM is releasing a new box that's going to have more increased capabilities. 198 00:10:03,860 --> 00: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? 199 00:10:12,660 --> 00:10:14,660 So this actually happened to my family pretty recently. 200 00:10:14,660 --> 00:10:18,300 Like, someone's at home, and then they get a call 10 or 15 minutes later. 201 00:10:18,300 --> 00:10:19,420 Hey, are you at Legoland? 202 00:10:19,420 --> 00:10:20,720 Did you just spend $800? 203 00:10:20,820 --> 00:10:21,240 No. 204 00:10:21,240 --> 00:10:23,860 Okay, well, we're going to cancel your card and reissue a new one. 205 00:10:23,860 --> 00:10:25,120 It's this whole process. 206 00:10:25,120 --> 00:10:26,960 And then that company has to eat that cost. 207 00:10:27,000 --> 00:10:31,120 Because you, as, you know, the account holder, and there's fraud, you're not going to pay for that. 208 00:10:31,120 --> 00:10:31,560 Hopefully. 209 00:10:31,560 --> 00:10:33,020 You shouldn't pay for that. 210 00:10:33,020 --> 00:10:35,120 And then are they going to catch the person who did the fraud? 211 00:10:35,120 --> 00:10:36,080 Likely no. 212 00:10:36,160 --> 00:10:39,080 So these companies are just eating all these fraud costs constantly. 213 00:10:39,200 --> 00: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. 214 00:10:52,060 --> 00:10:53,200 I love it. 215 00:10:53,940 --> 00:10:54,460 All right. 216 00:10:54,460 --> 00:10:56,660 So why do people use Mainframe now? 217 00:10:57,980 --> 00:10:59,120 Why do we care? 218 00:10:59,380 --> 00:11:00,920 There are three reasons. 219 00:11:00,920 --> 00:11:03,280 You'll hear this acronym in the Mainframe community. 220 00:11:03,280 --> 00:11:06,040 It's kind of like sales talking points. 221 00:11:06,060 --> 00:11:08,500 But reliability, availability, and serviceability. 222 00:11:08,500 --> 00: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. 223 00:11:16,180 --> 00:11:18,980 So it's 99.999% uptime. 224 00:11:18,980 --> 00:11:24,240 They cannot have more than five and a half minutes of downtime in a given year. 225 00:11:25,260 --> 00:11:26,100 They cannot. 226 00:11:26,100 --> 00:11:26,700 Right? 227 00:11:26,800 --> 00:11:29,340 And so Mainframe is able to do this. 228 00:11:29,340 --> 00:11:33,260 It's got... let's break out the slides a little more. 229 00:11:33,260 --> 00:11:37,540 Built-in redundancy across your hardware levels, your input output paths, your power supply. 230 00:11:37,580 --> 00:11:39,640 You've got error detection correction. 231 00:11:39,640 --> 00:11:45,440 You've got these machines that are so robust, they can withstand up to seven magnitude earthquakes. 232 00:11:45,440 --> 00:11:45,580 Right? 233 00:11:45,580 --> 00:11:46,900 The vacuum tubes are gone. 234 00:11:47,040 --> 00:11:48,060 They're strong now. 235 00:11:49,280 --> 00:11:49,940 Availability. 236 00:11:49,940 --> 00:11:50,140 Right? 237 00:11:50,140 --> 00: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. 238 00:11:58,680 --> 00:11:59,220 Right? 239 00:11:59,220 --> 00:12:00,560 It's available to you. 240 00:12:00,560 --> 00:12:04,420 So you've got transaction rollback, checkpoint restart, complex job scheduling. 241 00:12:04,620 --> 00:12:09,660 They have 190 configurable cores in this one specific example, the Z15. 242 00:12:09,780 --> 00:12:10,080 Right? 243 00:12:10,080 --> 00:12:12,120 So you can basically finely tune your machine. 244 00:12:12,120 --> 00:12:14,600 You make like a bespoke system for yourself. 245 00:12:14,940 --> 00:12:19,160 Basically out of the box, you can start tuning it and fitting it to your specific use case. 246 00:12:19,300 --> 00:12:21,780 And again, with the unified architecture, they can all talk to each other. 247 00:12:21,780 --> 00:12:22,540 So we love it. 248 00:12:22,540 --> 00:12:23,560 And then the serviceability. 249 00:12:23,560 --> 00:12:25,360 This is actually one of my favorite features. 250 00:12:25,400 --> 00:12:27,240 They're modular by design. 251 00:12:27,260 --> 00:12:27,620 Okay? 252 00:12:27,620 --> 00:12:29,360 So and then I mentioned parallel SysPlex. 253 00:12:29,360 --> 00:12:34,880 It means if you have a workflow or process that is relegated to one LPAR, one logical partition, right? 254 00:12:34,880 --> 00:12:38,720 It's like the virtual segmentation within your mainframe. 255 00:12:38,900 --> 00:12:45,900 You can just swap those workflows over to another section of your box without any interruption, without any issues. 256 00:12:45,900 --> 00: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. 257 00:12:51,420 --> 00:12:52,080 Ever. 258 00:12:52,080 --> 00:12:57,420 You just move the pieces you need to move when you need to move them because they're so modular. 259 00:12:57,420 --> 00:12:58,640 It's intentional. 260 00:12:59,120 --> 00:13:01,820 We've got the in-depth logging for problem solving. 261 00:13:01,900 --> 00:13:04,220 On-site, accessible for repair and maintenance. 262 00:13:04,220 --> 00:13:08,000 So I live by a Google plant, right? 263 00:13:08,000 --> 00:13:10,620 And, you know, they're just what is the cloud? 264 00:13:10,620 --> 00:13:12,060 It's just other people's computers. 265 00:13:12,140 --> 00:13:13,100 We understand this. 266 00:13:13,100 --> 00: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. 267 00:13:19,520 --> 00: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. 268 00:13:25,580 --> 00:13:26,760 And then keep driving. 269 00:13:26,760 --> 00:13:27,460 What's going on? 270 00:13:27,460 --> 00:13:28,860 And then the road to get to the plant. 271 00:13:28,860 --> 00:13:29,460 Same thing. 272 00:13:29,460 --> 00:13:30,460 It's blocked off. 273 00:13:30,520 --> 00:13:32,100 I don't know what's going on. 274 00:13:32,520 --> 00:13:34,880 If your data is there, are they going to tell you? 275 00:13:35,400 --> 00:13:37,060 We're like, oh, well, it's just one region. 276 00:13:37,060 --> 00: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. 277 00:13:43,440 --> 00:13:45,880 And they'll never tell you like, well, oh, well, it's redundancy. 278 00:13:45,880 --> 00:13:46,580 We have different regions. 279 00:13:46,580 --> 00:13:47,060 Okay. 280 00:13:47,060 --> 00: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? 281 00:13:55,620 --> 00:13:56,960 Something to think about. 282 00:13:56,960 --> 00: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. 283 00:14:10,620 --> 00:14:16,920 You're going to have a better just more insight into the security of your own systems. 284 00:14:17,040 --> 00: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. 285 00:14:26,040 --> 00:14:28,160 So... and this is I love this. 286 00:14:28,260 --> 00:14:28,440 Okay. 287 00:14:28,440 --> 00:14:30,300 So, this is a little demo. 288 00:14:30,300 --> 00:14:31,480 Oh, I wonder if it will play. 289 00:14:31,580 --> 00:14:32,840 Oh, I wish it will. 290 00:14:33,820 --> 00:14:34,740 It may not. 291 00:14:34,740 --> 00:14:35,320 Darn. 292 00:14:35,500 --> 00:14:38,500 Well, basically, it's not going to play. 293 00:14:39,140 --> 00:14:40,400 They do this testing. 294 00:14:40,400 --> 00:14:41,500 I'll just simulate. 295 00:14:44,880 --> 00:14:48,060 And they simulate a seven magnitude earthquake. 296 00:14:48,060 --> 00:14:53,900 So, in New Jersey about eight months ago, there was a 4.5 magnitude earthquake. 297 00:14:53,900 --> 00:14:55,220 And there's a campus near there. 298 00:14:55,220 --> 00:14:56,940 I mean, that earthquake went up the coast as well. 299 00:14:56,940 --> 00:14:58,680 It affected a lot of places. 300 00:14:59,740 --> 00:15:04,100 There was a campus with 200 mainframes and not a single one was affected. 301 00:15:04,140 --> 00:15:06,600 There was no damage whatsoever. 302 00:15:06,600 --> 00:15:12,380 Do you want to start an earthquake in your server room and see how it goes? 303 00:15:12,640 --> 00:15:13,800 Probably not. 304 00:15:13,800 --> 00:15:14,400 Right? 305 00:15:14,900 --> 00:15:15,460 Yeah. 306 00:15:15,460 --> 00:15:16,120 Yeah. 307 00:15:16,120 --> 00:15:17,160 A little bit scary. 308 00:15:17,160 --> 00:15:18,180 Mainframes can do that. 309 00:15:18,180 --> 00:15:20,360 They're literally built to do that. 310 00:15:20,400 --> 00:15:22,500 So, apologies for the lack of the shaking. 311 00:15:22,500 --> 00:15:23,440 I can show you later. 312 00:15:24,340 --> 00:15:25,360 All right. 313 00:15:25,360 --> 00: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. 314 00:15:32,960 --> 00:15:35,240 What are the things that can affect it? 315 00:15:35,240 --> 00:15:36,740 What are we scared of? 316 00:15:36,740 --> 00:15:39,440 Why do we need to think about the security? 317 00:15:39,560 --> 00:15:44,160 So, one of the big things that affects mainframe are the integrations. 318 00:15:44,260 --> 00:15:44,820 Right? 319 00:15:44,980 --> 00: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. 320 00:15:58,380 --> 00:16:00,800 In this case, even it was the Wi-Fi network. 321 00:16:00,800 --> 00:16:04,120 The TJX company's data breach, payment card data breach. 322 00:16:04,120 --> 00:16:08,160 45.7 million user cards were affected, exfiltrated. 323 00:16:08,160 --> 00:16:09,780 This is a weakness in the wireless network. 324 00:16:09,780 --> 00:16:11,060 That's how that one kicked off. 325 00:16:11,060 --> 00:16:12,360 We're going to see a trend here. 326 00:16:12,360 --> 00:16:14,380 Heartland Payment Systems breach. 327 00:16:14,600 --> 00:16:15,900 Double the last. 328 00:16:15,900 --> 00:16:17,920 100 million cards compromised. 329 00:16:17,940 --> 00:16:20,580 This was at the hands of a global cyber fraud operation. 330 00:16:20,580 --> 00:16:20,800 Okay? 331 00:16:20,800 --> 00:16:24,180 And this was a combined attack of network and application vulnerabilities. 332 00:16:24,600 --> 00:16:26,780 Then we see the Equifax data breach. 333 00:16:26,800 --> 00:16:27,180 Okay? 334 00:16:27,180 --> 00:16:30,540 This was now 147 million users exposed. 335 00:16:30,540 --> 00:16:32,500 Which just goes up every single time. 336 00:16:32,560 --> 00:16:33,420 It's worse every time. 337 00:16:33,420 --> 00:16:37,860 In this instance, it was the web application that provided the initial foothold. 338 00:16:39,020 --> 00:16:43,060 And this one is a little bit harder to find information on. 339 00:16:43,060 --> 00:16:45,380 This is the Logica data breach. 340 00:16:45,380 --> 00:16:47,920 This was in Sweden, and it affected the government. 341 00:16:48,260 --> 00:16:52,980 And it was so bad, and word got out that the government just published the documents. 342 00:16:52,980 --> 00:16:54,340 They just put everything public. 343 00:16:54,340 --> 00:16:55,820 They said, just here. 344 00:16:55,820 --> 00:16:56,700 Go ahead and find it. 345 00:16:56,700 --> 00:16:58,240 You can find it if you want to. 346 00:16:58,240 --> 00:16:59,460 It's in Swedish. 347 00:16:59,520 --> 00:17:02,060 But you can find all the documents about this. 348 00:17:03,700 --> 00:17:06,560 This was initial access via the FTP network. 349 00:17:06,560 --> 00:17:08,340 So , unencrypted protocol. 350 00:17:08,340 --> 00:17:08,920 Okay? 351 00:17:09,280 --> 00:17:12,300 The hackers used something like Hercules, which is an emulator. 352 00:17:12,300 --> 00:17:14,480 I use an emulator in my testing. 353 00:17:14,480 --> 00:17:16,060 I use X3270. 354 00:17:16,140 --> 00: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. 355 00:17:22,480 --> 00:17:29,600 This attack specifically leveraged some zero days, which may be a little more difficult to make happen. 356 00:17:29,600 --> 00:17:33,440 But they were based on default configurations. 357 00:17:33,860 --> 00:17:34,300 Right? 358 00:17:34,300 --> 00:17:39,000 So, this is something that is easy to fix and not have in your environment. 359 00:17:39,000 --> 00:17:43,800 Please, as soon as you have something new, turn off your default configurations. 360 00:17:44,020 --> 00:17:46,140 Change it as soon as possible. 361 00:17:46,400 --> 00:17:49,320 120,000 usernames stolen from RACF. 362 00:17:49,320 --> 00:17:52,880 RACF is like a security management tool in the mainframe environment. 363 00:17:53,220 --> 00: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. 364 00:17:58,280 --> 00:17:59,560 It was very bad. 365 00:17:59,560 --> 00:18:00,160 It was very bad. 366 00:18:00,160 --> 00:18:05,920 And the entire government made all these new policies specifically because of this breach. 367 00:18:06,900 --> 00:18:07,260 Okay. 368 00:18:07,260 --> 00:18:09,080 So, next up I'm going to show you a demo. 369 00:18:09,160 --> 00:18:10,540 I'll give a little information on it. 370 00:18:11,060 --> 00: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. 371 00:18:17,180 --> 00:18:17,740 Right? 372 00:18:17,740 --> 00:18:23,360 Assume that the endpoints that I navigate to have already been enumerated previously during the engagement. 373 00:18:23,360 --> 00:18:27,200 So, I'm not going to... you don't see the enumeration part in this demo. 374 00:18:27,200 --> 00:18:29,660 But you'll see me sort of navigate to some endpoints. 375 00:18:29,660 --> 00:18:30,640 That's why. 376 00:18:31,080 --> 00:18:35,560 The user I am, that you'll see, is a lower level user. 377 00:18:35,560 --> 00:18:37,140 This is not an admin user. 378 00:18:37,140 --> 00:18:37,380 Right? 379 00:18:37,380 --> 00:18:41,540 So, of course, it means there are specific resources that they should not be able to access. 380 00:18:41,780 --> 00:18:42,060 Okay. 381 00:18:42,060 --> 00:18:46,520 So, the goal of this hack was to try to access... 382 00:18:47,140 --> 00:18:49,540 of course, more privileged information. 383 00:18:50,200 --> 00:18:50,740 So... 384 00:18:51,370 --> 00:18:52,120 Okay. 385 00:18:52,300 --> 00:18:53,640 And we're up and running. 386 00:18:53,640 --> 00:18:53,940 Okay. 387 00:18:53,940 --> 00:18:58,140 So, this is me logging in. 388 00:18:58,520 --> 00:19:00,740 Got TSO here. 389 00:19:01,160 --> 00:19:01,620 All right. 390 00:19:01,900 --> 00:19:02,600 ISPF. 391 00:19:02,600 --> 00: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. 392 00:19:09,320 --> 00:19:11,000 Through OMBS. 393 00:19:13,200 --> 00:19:14,460 All right. 394 00:19:14,460 --> 00:19:19,100 So, if it looks familiar to you in Unix space, you can just use your similar commands. 395 00:19:19,100 --> 00:19:19,400 Right ? 396 00:19:19,400 --> 00:19:22,640 So, I'm going to navigate to this opt secrets location. 397 00:19:22,900 --> 00:19:24,700 I'm going to see what's in there. 398 00:19:26,900 --> 00:19:28,340 I'm going to list it out. 399 00:19:28,540 --> 00:19:30,980 We've got a readme.txt and an SSH key. 400 00:19:31,060 --> 00:19:33,600 We're going to cat the readme.txt file. 401 00:19:33,600 --> 00:19:36,140 It says, this is the SSH private key you need to log on as an admin. 402 00:19:36,140 --> 00:19:36,940 Do not share. 403 00:19:36,940 --> 00:19:40,640 Well, can I just cat the SSH key and just maybe access it anyway? 404 00:19:40,860 --> 00:19:41,440 No. 405 00:19:41,440 --> 00:19:42,220 Permission denied. 406 00:19:42,220 --> 00:19:42,760 Game over. 407 00:19:42,760 --> 00:19:43,200 Right? 408 00:19:43,240 --> 00:19:44,000 Wrong. 409 00:19:44,000 --> 00:19:49,760 I used the same IP that the LPAR is on and just navigated to it in the web browser over 8080. 410 00:19:49,760 --> 00:19:50,320 Right? 411 00:19:51,280 --> 00:19:53,560 Again, we already had the endpoints enumerated. 412 00:19:53,660 --> 00:19:54,100 Okay? 413 00:19:54,100 --> 00:20:02,100 So, this specific location, the requests that are generated pull information from the mainframe. 414 00:20:02,100 --> 00:20:02,740 Right? 415 00:20:03,340 --> 00: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. 416 00:20:09,840 --> 00:20:10,520 Okay? 417 00:20:10,900 --> 00:20:12,580 So, I'm generating the request. 418 00:20:12,580 --> 00:20:15,540 It makes a post request that pulls information from the mainframe. 419 00:20:15,720 --> 00:20:15,940 All right? 420 00:20:15,940 --> 00:20:17,340 We're going to crack that open. 421 00:20:18,940 --> 00:20:21,300 You don't even need to use an intercepting tool for this. 422 00:20:21,300 --> 00:20:24,100 You really can just use the network tab in your browser. 423 00:20:24,100 --> 00:20:25,320 It's a little bit insane. 424 00:20:25,680 --> 00:20:29,420 So, in the message body, there's a request for a specific file. 425 00:20:29,720 --> 00:20:32,900 Modify that to point to what was disallowed earlier. 426 00:20:32,960 --> 00:20:34,700 Keep in mind, I have not authenticated. 427 00:20:34,700 --> 00:20:36,700 This is simply in the web browser. 428 00:20:38,340 --> 00:20:39,120 Okay? 429 00:20:39,120 --> 00:20:40,160 Got a 200 okay. 430 00:20:40,160 --> 00:20:41,320 That sounds promising. 431 00:20:41,320 --> 00:20:43,960 So, there's the endpoint I went to with that SSH key. 432 00:20:44,360 --> 00:20:46,100 Let's see what's in the response. 433 00:20:47,580 --> 00:20:48,760 There it is. 434 00:20:51,760 --> 00:20:52,640 Thanks. 435 00:20:54,720 --> 00:20:56,080 So, this... 436 00:20:56,740 --> 00:20:57,620 Thanks. 437 00:20:57,880 --> 00:20:59,020 This is a real... 438 00:20:59,020 --> 00:21:00,300 This really happened. 439 00:21:01,320 --> 00: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. 440 00:21:09,120 --> 00:21:10,940 Completely unauthenticated access. 441 00:21:10,940 --> 00:21:12,300 Not even on... 442 00:21:12,300 --> 00:21:14,120 Within the mainframe emulated environment. 443 00:21:14,120 --> 00:21:15,800 Just over the browser. 444 00:21:16,040 --> 00: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. 445 00:21:24,260 --> 00:21:25,680 Because people say, well, mainframe is... 446 00:21:25,680 --> 00:21:26,540 It's older. 447 00:21:26,540 --> 00:21:27,700 It's safe. 448 00:21:27,780 --> 00:21:28,700 Yes and no. 449 00:21:28,700 --> 00:21:29,420 All right? 450 00:21:29,420 --> 00:21:31,840 So, we've talked about integration once. 451 00:21:31,840 --> 00:21:33,500 What about the mainframe itself? 452 00:21:33,500 --> 00:21:37,080 If you're just looking at the mainframe, we're going to stay in this little box of the mainframe. 453 00:21:37,080 --> 00:21:38,920 Is it safe all by itself? 454 00:21:39,520 --> 00:21:43,420 These are things we find on a regular basis within our pen test. 455 00:21:43,420 --> 00:21:43,860 Okay? 456 00:21:43,860 --> 00:21:45,380 Local file include. 457 00:21:45,960 --> 00:21:47,400 We find insecure... 458 00:21:48,900 --> 00:21:50,620 Insecure protocols all the time. 459 00:21:50,620 --> 00:21:52,020 There's so much 23. 460 00:21:52,440 --> 00:21:53,380 Yeah. 461 00:21:53,560 --> 00:21:55,060 Unauthenticated access happens. 462 00:21:55,060 --> 00:22:00,500 So, there have been instances where I will begin the authentication process and then back out of it. 463 00:22:00,500 --> 00:22:07,140 Not complete authenticating and I can still run CICS commands or run Kim's, things like this. 464 00:22:07,140 --> 00:22:09,900 You should be authenticated to run these. 465 00:22:10,400 --> 00:22:11,820 So , we do find this a lot. 466 00:22:11,880 --> 00:22:12,520 Injections. 467 00:22:12,520 --> 00:22:14,720 SQL injection into DB2 databases. 468 00:22:14,980 --> 00:22:18,620 JCL job control language injections or rec scripts injections. 469 00:22:18,620 --> 00:22:26,240 If you're able to use these when you're not supposed to, you could delete, modify, erase entire data sets. 470 00:22:26,680 --> 00:22:27,420 Bad news. 471 00:22:27,420 --> 00:22:28,020 Okay? 472 00:22:28,020 --> 00:22:31,100 And then we do see security misconfigurations. 473 00:22:31,100 --> 00:22:35,860 I don't see a lot of default credentials, thankfully, but it does occur. 474 00:22:35,860 --> 00:22:37,500 Weak password policies. 475 00:22:37,500 --> 00:22:41,860 Often I will see they'll allow mixed case passwords. 476 00:22:41,860 --> 00:22:43,820 So, let's say you're supposed to have a... 477 00:22:43,820 --> 00:22:48,160 Like, your actual password is capital this and lower case this and some numbers and whatever else. 478 00:22:48,160 --> 00:22:51,940 You can switch the case around and do whatever you want and we'll still accept it. 479 00:22:52,160 --> 00:22:53,660 Like, don't do that. 480 00:22:54,260 --> 00:22:59,460 And not using external security management tools like Raka for top secret. 481 00:22:59,460 --> 00:23:03,520 Thankfully, most shops that have mainframe are implementing these things. 482 00:23:03,880 --> 00:23:06,340 But just as a safeguard. 483 00:23:06,340 --> 00:23:09,740 You know, just make sure that you're using these things. 484 00:23:10,160 --> 00:23:10,520 Okay. 485 00:23:10,520 --> 00:23:13,480 And then, now the promised ways to secure. 486 00:23:13,740 --> 00:23:15,760 From the blue team side. 487 00:23:15,760 --> 00:23:17,940 Properly configure your network topology as a whole. 488 00:23:17,940 --> 00:23:19,420 I can't stress that enough. 489 00:23:19,420 --> 00:23:23,460 Please, mainframe is not its own weird thing off to the side. 490 00:23:23,460 --> 00:23:25,460 It is part of your stack. 491 00:23:25,460 --> 00:23:26,900 Treat it as such. 492 00:23:26,960 --> 00:23:29,060 Make appropriate use of your logical partitions. 493 00:23:29,060 --> 00: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. 494 00:23:36,720 --> 00:23:38,540 Your regions, your ESM tools. 495 00:23:38,980 --> 00:23:41,200 Again, disallow unencrypted protocols. 496 00:23:41,200 --> 00:23:42,940 Secure with compliance. 497 00:23:43,260 --> 00:23:48,300 The CIS benchmarking is really great for regular auditing purposes. 498 00:23:48,300 --> 00:23:49,460 And then the DISA STIGs. 499 00:23:49,460 --> 00:23:51,940 These are your Department of Defense guides from NIST. 500 00:23:51,940 --> 00:23:53,840 I've used these on a test. 501 00:23:53,840 --> 00:23:55,560 I've actually... it's really nice. 502 00:23:55,560 --> 00:23:59,760 So, I had a DB2 test where it's basically SQL-based. 503 00:24:00,020 --> 00:24:03,260 And they have whole lists of commands you can run to check. 504 00:24:03,260 --> 00:24:05,280 Okay, well, if I run this command, can I access this? 505 00:24:05,280 --> 00:24:05,940 And I shouldn't. 506 00:24:05,940 --> 00:24:08,300 If I run this command, can I elevate my privileges? 507 00:24:08,300 --> 00:24:09,160 And so on. 508 00:24:09,160 --> 00:24:10,300 And I was like, this is great. 509 00:24:10,300 --> 00:24:10,840 I love this. 510 00:24:10,960 --> 00:24:11,920 Very helpful. 511 00:24:11,940 --> 00:24:13,060 Helpful tools. 512 00:24:13,060 --> 00:24:14,620 Secure with ongoing reviews. 513 00:24:14,620 --> 00:24:20,280 This is real basic stuff that everybody should be doing regardless of its mainframe or something else. 514 00:24:20,280 --> 00:24:23,260 Audit your identity and access management on a regular basis. 515 00:24:23,700 --> 00:24:26,300 Establish recurring audits for all features. 516 00:24:26,760 --> 00:24:28,480 And do recurring pen tests. 517 00:24:28,480 --> 00:24:30,340 I love a good internal team. 518 00:24:30,340 --> 00:24:30,960 Literally. 519 00:24:31,060 --> 00:24:33,020 You're closer to your stack. 520 00:24:33,020 --> 00:24:34,560 You're rolling out new features. 521 00:24:34,560 --> 00:24:36,960 You sort of understand what's going on. 522 00:24:36,960 --> 00:24:38,440 And you need to be there. 523 00:24:38,920 --> 00:24:42,860 But I'm biased, again, because I'm a third-party pen tester. 524 00:24:42,860 --> 00:24:47,560 Which I think is incredibly important to get fresh eyes on your... 525 00:24:47,560 --> 00:24:48,040 Five minutes? 526 00:24:48,040 --> 00:24:49,000 Okay, thank you. 527 00:24:49,000 --> 00:24:50,280 I'm gonna hurry up here. 528 00:24:51,080 --> 00:24:52,400 Fresh set of eyes. 529 00:24:54,060 --> 00: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. 530 00:25:05,980 --> 00:25:07,400 It's a special place to be. 531 00:25:07,400 --> 00:25:08,480 I love it. 532 00:25:08,560 --> 00:25:11,220 So, again, what have we learned today? 533 00:25:11,220 --> 00:25:13,720 We're gonna cover it real quick in a few bullet points. 534 00:25:14,120 --> 00:25:16,340 Mainframe is not going away anytime soon. 535 00:25:16,340 --> 00:25:16,800 Okay? 536 00:25:16,800 --> 00:25:18,200 Please keep paying attention to it. 537 00:25:18,200 --> 00:25:25,780 We rely on it globally to support finance, healthcare, government, all these critical industries. 538 00:25:26,140 --> 00:25:26,500 Okay? 539 00:25:26,500 --> 00:25:27,520 So we need to keep securing it. 540 00:25:27,520 --> 00:25:31,900 There are more possible vulnerabilities now due to the prevalence of integrations. 541 00:25:31,900 --> 00:25:33,540 It's just gonna keep increasing. 542 00:25:33,600 --> 00:25:36,200 But if we work together, we can combat it. 543 00:25:36,200 --> 00:25:40,380 So, thank you so much for coming to learn about Mainframe. 544 00:25:41,000 --> 00:25:42,580 Stay connected. 545 00:25:42,580 --> 00:25:43,180 Thank you.