1 00:00:02,840 --> 00:00:09,120 Well, if we go back to 2003, two guys turned up at Sydney Airport, I believe they were 2 00:00:09,120 --> 00:00:15,200 dressed as EDS employees, used their technical skills to get themselves into the top security 3 00:00:15,200 --> 00:00:15,960 computer room. 4 00:00:16,060 --> 00:00:19,680 They took apart two mainframes, put them on trolleys, and walked out the door. 5 00:00:24,380 --> 00:00:27,620 I'm not aware of what actually happened to those mainframes, but I'm sure there's some 6 00:00:27,620 --> 00:00:28,720 interesting data on them. 7 00:00:30,000 --> 00:00:32,960 But that's quite a hard way to get a hold of information on a mainframe, surely there 8 00:00:32,960 --> 00:00:34,080 must be an easier way than that. 9 00:00:37,020 --> 00:00:38,560 So that's what today's going to be about. 10 00:00:39,260 --> 00:00:43,420 If you get out of a laptop, connect to a network somewhere, it's much easier to get the information. 11 00:00:45,100 --> 00:00:47,840 And what I'm going to talk about today is I'm going to give a quick introduction to 12 00:00:47,840 --> 00:00:51,300 the subject, and then I'm going to give a quick technical background to some of the 13 00:00:51,300 --> 00:00:55,460 protocols and technologies used to access mainframes, and then we're going to talk 14 00:00:55,460 --> 00:00:59,100 about some of the techniques that can be used to actually attack them, and finally 15 00:00:59,100 --> 00:00:59,980 we'll end up with... 16 00:01:00,000 --> 00:01:01,860 We'll end up with some ways to actually protect against those attacks. 17 00:01:03,740 --> 00:01:06,640 So let's get going with the introduction, and who am I? 18 00:01:07,040 --> 00:01:11,520 My name is Martin Rux, I'm a security consultant, and I work with a company called MWR Info 19 00:01:11,520 --> 00:01:12,400 Security in the UK. 20 00:01:14,100 --> 00:01:18,580 I originally approached this subject as a penetration tester, as I was asked to actually 21 00:01:18,580 --> 00:01:22,300 examine some systems running some IBM networking technologies. 22 00:01:23,380 --> 00:01:26,980 Having then found some interesting results on the test, I decided to do a bit more research 23 00:01:26,980 --> 00:01:27,340 on it. 24 00:01:28,560 --> 00:01:29,980 I do not have a background in security. 25 00:01:30,000 --> 00:01:30,800 I do not have a background in IBM computing. 26 00:01:31,100 --> 00:01:33,960 I've only been in this subject for about five or six months. 27 00:01:36,400 --> 00:01:40,740 From the time I've spent investigating these technologies, I've actually come to the conclusion 28 00:01:40,740 --> 00:01:43,700 there's probably two different types of issue that we're looking at here. 29 00:01:44,600 --> 00:01:48,740 These technologies are old, and there's probably a lot of administrators that have learned 30 00:01:48,740 --> 00:01:52,440 security issues with their systems over the years, and might not necessarily have written 31 00:01:52,440 --> 00:01:52,900 them down. 32 00:01:54,520 --> 00:01:58,880 And there's also going to be vulnerabilities out there purely because people haven't looked 33 00:01:58,880 --> 00:01:59,920 at aspects of the technology. 34 00:02:00,000 --> 00:02:03,120 They've only seen the technology in a new way, haven't applied modern techniques to 35 00:02:03,120 --> 00:02:03,660 looking at them. 36 00:02:06,760 --> 00:02:08,720 So, who's the intended audience of this talk? 37 00:02:09,640 --> 00:02:12,760 Well, I think each of the four categories here will actually get something out of this 38 00:02:12,760 --> 00:02:12,960 talk. 39 00:02:13,940 --> 00:02:19,660 Security managers, if all you know about is IP and your IP networks, you may find that 40 00:02:19,660 --> 00:02:22,220 there's some interesting things I'm going to talk about. 41 00:02:22,460 --> 00:02:26,260 It's always important to understand how your network works, not just how the bits using 42 00:02:26,260 --> 00:02:27,000 IP work. 43 00:02:28,280 --> 00:02:29,980 If you're a pen tester, you're going to find that there's a lot of things that you need to 44 00:02:30,000 --> 00:02:34,160 like me when I came to first investigate this subject, there's not a great deal of information 45 00:02:34,160 --> 00:02:40,120 out there on this kind of thing. And so hopefully you'll learn something about it today. If 46 00:02:40,120 --> 00:02:44,220 you're a network or security architect, you can only design a secure network if you know 47 00:02:44,220 --> 00:02:47,220 where the risks arise from, and hopefully you'll learn some of those today as well. 48 00:02:48,040 --> 00:02:53,040 And if you're a mainframe operator, my experience is that the guys running the mainframes don't 49 00:02:53,040 --> 00:02:56,620 necessarily talk too much to the network guys, don't talk too much to the desktop 50 00:02:56,620 --> 00:03:01,840 guys. And therefore, this talk aims to combine a few of these different issues, and hopefully 51 00:03:01,840 --> 00:03:04,880 if you work with mainframes day in, day out, you may learn a couple of things. 52 00:03:07,000 --> 00:03:10,880 And the only real background you need is a basic understanding of networking and some 53 00:03:10,880 --> 00:03:12,660 common network architectures. 54 00:03:15,860 --> 00:03:20,820 So what is IBM networking? I'm sure IBM have their own definition for what it is. For the 55 00:03:20,820 --> 00:03:25,660 purpose of this presentation, it's as follows. It's a collection of protocols and networking 56 00:03:25,660 --> 00:03:26,380 technologies. 57 00:03:26,620 --> 00:03:31,540 They allow IBM mainframes, AS400s, and user terminals to communicate with each other. 58 00:03:32,300 --> 00:03:37,520 That's literally the premise that I've taken IBM networking to be when actually coming 59 00:03:37,520 --> 00:03:38,220 up with this presentation. 60 00:03:39,540 --> 00:03:42,900 The main protocol we're going to be interested in is called Systems Network Architecture, 61 00:03:43,240 --> 00:03:52,120 SNA. However, this is the IP age, and IBM certainly has lots of support for IP. And 62 00:03:52,120 --> 00:03:54,640 in today's modern networks, there will be both IP and SNA. 63 00:03:57,480 --> 00:04:02,580 So why look at IBM networking? Well, if you've got a mainframe within your business, within 64 00:04:02,580 --> 00:04:07,200 your organization, it normally contains your most critical data. And if it contains critical 65 00:04:07,200 --> 00:04:09,240 data, then it's pretty good to make sure it's secure. 66 00:04:12,120 --> 00:04:15,760 Aspects of this technology might be old, but they're still deployed in a large number of 67 00:04:15,760 --> 00:04:21,340 high value environments. We're talking about finance here, retail, defense, government. 68 00:04:24,640 --> 00:04:29,100 And it's also good to look at protocols, compare different vulnerabilities across technologies, 69 00:04:29,320 --> 00:04:34,240 see how we can learn lessons across all these different technologies, look at issues in 70 00:04:34,240 --> 00:04:38,120 IP and see if they manifest themselves in SNA. Look at SNA and see if we can find anything 71 00:04:38,120 --> 00:04:40,900 that we can then take back to the world of IP and other protocols. 72 00:04:43,220 --> 00:04:47,980 And in general, IBM networking is not mentioned in security textbooks. If you open up Hacking 73 00:04:47,980 --> 00:04:53,640 Exposed, you won't find a great deal about it. So let's do some technical background 74 00:04:53,640 --> 00:04:54,620 into SNA and SNA. And this is an example of a lot of the things that we've done in the 75 00:04:54,620 --> 00:04:57,220 past and some of the other protocols and technologies that we're going to be attacking today. 76 00:04:59,540 --> 00:05:07,320 A brief history of SNA. Originally announced back in 1974, although the actual dates in 77 00:05:07,320 --> 00:05:12,320 question are hotly disputed still, it was really intended as a way of unifying different 78 00:05:12,320 --> 00:05:17,260 IBM technologies. Before this date, different systems used to communicate with each other 79 00:05:17,260 --> 00:05:21,580 in different ways. And so SNA was an attempt to really try and tie together the ways of 80 00:05:21,580 --> 00:05:24,120 accessing systems and in a way make IT simpler. 81 00:05:26,280 --> 00:05:29,760 Traditionally a master-slave model. It was the mainframe responsible for everything. 82 00:05:29,940 --> 00:05:36,320 Everything else took its lead from the mainframe. Everything had to be configured. You had to 83 00:05:36,320 --> 00:05:39,900 get the IT guys in to set everything up. It wasn't a case of just plugging a laptop 84 00:05:39,900 --> 00:05:48,060 in and starting working. The architecture was designed with physical links in mind that 85 00:05:48,060 --> 00:05:52,400 were semi-secure. We're talking about point-to-point links. We're talking about pieces of equipment 86 00:05:52,400 --> 00:05:54,100 that were locked away from users. We also had the possibility of using SNA for the 87 00:05:54,120 --> 00:05:57,460 There weren't simply network cables on desks that people could plug into. 88 00:05:59,960 --> 00:06:02,960 It was a long time before the widespread adoption of LAN technologies. 89 00:06:06,720 --> 00:06:09,740 In the 1980s came peer-to-peer networking, APPN. 90 00:06:09,960 --> 00:06:13,860 This in itself is a vast topic and something that I won't really be talking much about today. 91 00:06:14,620 --> 00:06:17,940 There's certainly an awful lot of potential security issues lurking in there. 92 00:06:19,720 --> 00:06:28,660 Now, as the PC continued to develop, more responsibility was offloaded from traditional hardware components and moved on to the PC. 93 00:06:30,540 --> 00:06:36,100 And in today's modern networks, IP and SNA exist alongside each other in a number of different ways. 94 00:06:38,680 --> 00:06:47,420 What we'll come to find out is that the integration of these old technologies with the new ways of working is one reason why certain vulnerabilities can actually be exposed. 95 00:06:51,420 --> 00:06:54,220 So, any talk of a protocol wouldn't be complete without the OSI model. 96 00:06:54,440 --> 00:06:55,020 There it is. 97 00:06:55,240 --> 00:06:59,860 And if we look at SNA, it pretty much lines up against the components of that. 98 00:07:00,700 --> 00:07:07,960 Again, we could stand there and debate exactly how each of those layers correlates with each other, but we haven't really got time to talk about that today. 99 00:07:11,360 --> 00:07:17,340 Now, if you're used to IP, the whole concept of an SNA session may come as a little bit of a shock to start with. 100 00:07:19,100 --> 00:07:22,340 If you're used to IBM networking, then you might be used to diagrams like this. 101 00:07:22,860 --> 00:07:24,840 On the right-hand side, we have the mainframe. 102 00:07:26,100 --> 00:07:30,060 On the far right-hand side of the mainframe, we have the application subsystems that sit within it. 103 00:07:30,860 --> 00:07:32,480 Job entry system is Jez. 104 00:07:33,260 --> 00:07:35,000 Time sharing option is TSO. 105 00:07:35,900 --> 00:07:39,840 And front-ending this, we have VTAM, Virtual Telecommunications Access Method. 106 00:07:40,220 --> 00:07:44,240 This is the way that the application subsystems will actually interact with the network. 107 00:07:45,380 --> 00:07:47,920 And VTAM will also be responsible for controlling our network. 108 00:07:47,940 --> 00:07:48,960 And network protocols. 109 00:07:50,680 --> 00:07:53,240 On the left-hand side, we have a user terminal. 110 00:07:54,420 --> 00:07:56,360 In today's modern world, this will be a PC. 111 00:07:56,680 --> 00:07:59,080 Back in the old days, this could be some form of cluster controller. 112 00:08:01,080 --> 00:08:04,440 A couple of items of terminology just to take care of first. 113 00:08:05,300 --> 00:08:06,880 You see PU and LU. 114 00:08:07,140 --> 00:08:09,580 Now, these stand for Physical Unit and Logical Unit. 115 00:08:10,780 --> 00:08:14,540 There isn't really time to go into full detail of what exactly these terms mean. 116 00:08:15,040 --> 00:08:16,960 But a quick overview of them. 117 00:08:17,940 --> 00:08:20,060 A physical unit is essentially a physical piece of kit. 118 00:08:21,180 --> 00:08:24,220 It's a piece of hardware that is capable of communicating over a network. 119 00:08:25,540 --> 00:08:29,120 A logical unit, then, is more of an application running on that system. 120 00:08:30,880 --> 00:08:35,420 The old applications that used to run on the old green screen terminals, 121 00:08:36,080 --> 00:08:38,400 essentially, you can consider one of those as a logical unit. 122 00:08:40,420 --> 00:08:43,480 You can, however, have multiple logical units within a physical unit. 123 00:08:43,780 --> 00:08:45,660 And that's where things start to get a bit complicated. 124 00:08:45,940 --> 00:08:47,740 So we're not going to go into this in too much detail. 125 00:08:49,540 --> 00:08:52,820 Now, standing in front of the mainframe is what's known as a front-end processor. 126 00:08:53,760 --> 00:08:57,920 It used to be a piece of dedicated hardware that used to handle network path control. 127 00:08:58,000 --> 00:09:00,080 It used to be responsible for routing within the SNA environment. 128 00:09:02,680 --> 00:09:06,940 Now, when we establish an SNA communication, there are three different sessions that are going to be established. 129 00:09:07,820 --> 00:09:11,620 The first of these is going to be what's known as the SSCP to PU session. 130 00:09:11,920 --> 00:09:14,880 This is the system services control point talking to the physical unit. 131 00:09:15,220 --> 00:09:17,820 This is responsible for actually forming a network route. 132 00:09:17,940 --> 00:09:20,620 It's going to be a virtual network route to the physical device, making sure that it's up. 133 00:09:22,740 --> 00:09:25,300 The next session is the SSCP to LU session. 134 00:09:25,980 --> 00:09:29,140 This is essentially where VTAM presents the user with the logon screen. 135 00:09:29,800 --> 00:09:33,680 And that session is responsible for passing the user credentials back across to the mainframe. 136 00:09:34,740 --> 00:09:38,340 VTAM is then responsible for talking to the individual application subsystems 137 00:09:39,060 --> 00:09:41,880 to log you onto the application that you actually want access to. 138 00:09:43,600 --> 00:09:47,920 Assuming a successful authentication, we then have a logical unit to logical unit session. 139 00:09:47,940 --> 00:09:52,420 In this case, we have a session actually established to TSO within the mainframe. 140 00:09:54,000 --> 00:09:56,500 Now, all of these sessions will exist at the same time. 141 00:09:56,700 --> 00:09:59,020 This is slightly different to the world of IP. 142 00:10:03,500 --> 00:10:10,780 So let's look at some basic architectures and network setups that we could find employing SNA. 143 00:10:11,920 --> 00:10:17,920 The first one of these is a basic SNA network that we might have found back in the 1980s. 144 00:10:18,620 --> 00:10:22,000 This is a very simplified version, but we have the mainframe on the right-hand side. 145 00:10:22,160 --> 00:10:24,020 We have our user terminals on the left-hand side. 146 00:10:26,440 --> 00:10:29,880 Essentially, we used to take our terminals and plug them into the cluster controller node. 147 00:10:30,100 --> 00:10:32,900 This usually used to be via a piece of coax. 148 00:10:34,580 --> 00:10:39,040 Our cluster controller node was then connected to our communications controller node. 149 00:10:39,260 --> 00:10:41,600 Our front-end processor sat in front of the mainframe. 150 00:10:42,200 --> 00:10:44,160 And this used to be via a point-to-point link. 151 00:10:45,860 --> 00:10:47,920 Usually, SDLC protocol was used at the link point. 152 00:10:47,940 --> 00:10:49,420 So we had a link layer to manage this communication. 153 00:10:51,980 --> 00:10:56,620 And as I mentioned, we need to define all our nodes within the mainframe, within VTAN, before they're going to work. 154 00:11:01,640 --> 00:11:05,820 Once IP came along, people wanted to run SNA across their IP networks. 155 00:11:06,180 --> 00:11:08,720 And so they had to come up with some novel ideas in order to do this. 156 00:11:10,200 --> 00:11:15,880 One of the first ideas for people to use was what's known as an SNA gateway. 157 00:11:15,880 --> 00:11:20,940 This is basically a device that is capable of translating IP traffic and turning it into SNA. 158 00:11:22,140 --> 00:11:27,480 The users of our applications run basically a client application on their PC. 159 00:11:28,700 --> 00:11:31,040 This will then communicate with the SNA gateway. 160 00:11:31,860 --> 00:11:33,760 It's usually a proprietary TCP protocol. 161 00:11:34,160 --> 00:11:38,740 The most common example is Microsoft's SNA server, now known as host integration server. 162 00:11:41,400 --> 00:11:44,140 Microsoft's SNA gateway, if you have a look at it out of the box, 163 00:11:44,260 --> 00:11:45,860 has a number of interesting features. 164 00:11:47,200 --> 00:11:49,820 Well, at least I think that's what Microsoft designed them as anyway. 165 00:11:50,000 --> 00:11:53,980 We can actually pull off the configuration of that SNA gateway without providing any authentication. 166 00:11:55,220 --> 00:11:59,980 If you can compromise the SNA gateway, there are various ways that you may be able to then start attacking the mainframe. 167 00:12:01,000 --> 00:12:03,020 But again, these are subjects for another day. 168 00:12:06,020 --> 00:12:11,400 And in our SNA gateway example, we still then have SNA traffic passing from the gateway to the mainframe. 169 00:12:14,760 --> 00:12:15,760 Another way of... 170 00:12:15,860 --> 00:12:20,500 actually communicating with the mainframe using SNA is actually to bridge our traffic across our local network. 171 00:12:21,880 --> 00:12:25,740 Back in the days of token ring networks, this could actually done... 172 00:12:27,960 --> 00:12:31,680 be done using the... using LLC at the link layer. 173 00:12:32,620 --> 00:12:36,600 Now this used to run into some problems because if we started having WAN links somewhere on our network, 174 00:12:36,800 --> 00:12:41,460 we're basically sending all the link layer control traffic across that WAN link and all our user data 175 00:12:42,040 --> 00:12:44,240 was not getting the bandwidth that it needed. 176 00:12:46,100 --> 00:12:49,120 If we actually did source route bridging, we could actually use the RIF flag 177 00:12:50,500 --> 00:12:54,940 associated with token ring to actually route the traffic between rings on the network. 178 00:12:55,540 --> 00:12:57,240 However, this again imposed the limit. 179 00:12:57,960 --> 00:13:00,260 Seven hops is possible to fit into the RIF field. 180 00:13:01,940 --> 00:13:04,020 So with all these problems, we needed a better solution. 181 00:13:05,120 --> 00:13:08,300 And in the 90s, one was devised. 182 00:13:08,340 --> 00:13:09,540 It's known as data link switching. 183 00:13:11,460 --> 00:13:15,100 In this instance, all our users actually ran SNA 184 00:13:15,100 --> 00:13:17,460 over LLC on their local subnets. 185 00:13:17,980 --> 00:13:20,780 Now this was bridged to a DLSW router. 186 00:13:21,580 --> 00:13:24,200 For example, each remote office or each floor in an office 187 00:13:24,200 --> 00:13:27,140 could have their own network bridge and their own DLSW router. 188 00:13:28,680 --> 00:13:32,000 DLSW could then be used to encapsulate the SNA data in IP 189 00:13:32,000 --> 00:13:34,760 and actually transfer it across an IP network. 190 00:13:36,300 --> 00:13:37,980 Either that would be an internal WAN 191 00:13:38,700 --> 00:13:41,620 or if we're being particularly foolish, we could do that across the internet. 192 00:13:45,100 --> 00:13:47,540 However, as network administrators like to save time and effort, 193 00:13:49,020 --> 00:13:52,560 what they like to do is actually set up the router in front of the mainframe 194 00:13:52,560 --> 00:13:53,840 in what's known as promiscuous mode. 195 00:13:54,040 --> 00:13:55,920 And we'll talk about this in a little bit more detail. 196 00:13:56,760 --> 00:14:00,640 What this essentially allows you to do is connect up new offices to the DLSW infrastructure 197 00:14:00,640 --> 00:14:02,920 and not have to change the configuration of the router. 198 00:14:06,580 --> 00:14:07,620 And of course, there's IP. 199 00:14:09,720 --> 00:14:12,220 IBM mainframes have had IP support for a long time now. 200 00:14:13,080 --> 00:14:15,080 And this is again one method we can actually use. 201 00:14:15,080 --> 00:14:16,820 to actually talk to the mainframe. 202 00:14:17,840 --> 00:14:20,900 Users will typically run a terminal emulation application. 203 00:14:21,460 --> 00:14:24,620 We can actually connect our router in front of the mainframe 204 00:14:24,620 --> 00:14:26,900 directly to the mainframe using some kind of channel attachment. 205 00:14:27,280 --> 00:14:30,160 We can then run IP protocols across our network. 206 00:14:31,700 --> 00:14:33,920 TN3270, which is essentially Telnet with formatting. 207 00:14:34,780 --> 00:14:37,780 We could either run FTP, we could run SSH, 208 00:14:37,820 --> 00:14:39,860 we can run any IP services that the mainframe supports. 209 00:14:43,600 --> 00:14:45,900 But let's move back to talk about DLSW. 210 00:14:47,120 --> 00:14:48,700 And let's look at it in a bit more detail. 211 00:14:50,520 --> 00:14:55,040 It was originally designed by IBM and they released details of it in 1993 in an RFC. 212 00:14:56,760 --> 00:14:58,460 It's essentially used for packet switching. 213 00:14:58,860 --> 00:15:03,380 It can be used to encapsulate SNA or native net BIOS frames in the IP protocol 214 00:15:03,960 --> 00:15:06,980 and also provides local termination at the link layer 215 00:15:06,980 --> 00:15:09,620 to actually reduce our bandwidth. 216 00:15:09,860 --> 00:15:10,440 So it's a very effective utilization. 217 00:15:13,120 --> 00:15:15,100 A number of improvements were made to the protocol. 218 00:15:15,340 --> 00:15:16,840 Again, these were released in 1995. 219 00:15:18,680 --> 00:15:22,900 Cisco then took the protocol and actually added some of their own extensions to it. 220 00:15:23,020 --> 00:15:24,440 Named it DLSW+. 221 00:15:25,300 --> 00:15:28,540 These extensions essentially formed version two of the protocol. 222 00:15:29,500 --> 00:15:32,940 And this was documented in 1997 in a further RFC. 223 00:15:34,120 --> 00:15:37,980 And version two of the protocol is the one that's most widely used today. 224 00:15:38,720 --> 00:15:39,280 Okay. 225 00:15:40,200 --> 00:15:43,020 As you can see by the dates, this isn't modern technology. 226 00:15:43,700 --> 00:15:46,020 But it's still being used by a large number of organizations 227 00:15:46,020 --> 00:15:48,520 and a large number of high-value situations. 228 00:15:51,200 --> 00:15:53,380 So let's take a quick look at a DLSW packet. 229 00:15:54,280 --> 00:15:55,940 Essentially, it's made up of two portions. 230 00:15:56,280 --> 00:15:58,860 The DLSW header and the DLSW data. 231 00:16:00,660 --> 00:16:03,040 As you can see here, there's a basic ethereal screenshot 232 00:16:03,500 --> 00:16:06,260 showing a very simple DLSW packet. 233 00:16:07,660 --> 00:16:09,480 If you can make it out, you might see the 234 00:16:09,860 --> 00:16:12,320 remote DLC value, the remote DLC PID. 235 00:16:12,500 --> 00:16:14,980 These are actually used to track DLSW circuits, 236 00:16:15,280 --> 00:16:16,720 which we'll come on to talk about in a little bit. 237 00:16:17,780 --> 00:16:20,180 Also in the header, we can see what type of packet this is. 238 00:16:20,600 --> 00:16:22,560 This happens to be a capabilities exchange packet. 239 00:16:22,900 --> 00:16:24,980 And again, we'll talk about this in a little bit more detail. 240 00:16:27,420 --> 00:16:32,080 Now, I haven't got much time to talk about the DLSW protocol in much detail. 241 00:16:32,160 --> 00:16:34,640 If you look on the presentation on your DEF CON CD, 242 00:16:34,820 --> 00:16:37,600 you'll actually find a few more slides talking about the format of the data 243 00:16:37,600 --> 00:16:39,740 that's actually used within the protocol. 244 00:16:41,040 --> 00:16:43,120 You can also go back to the RFCs and have a look. 245 00:16:43,680 --> 00:16:45,160 That'll provide you with some more information. 246 00:16:46,160 --> 00:16:47,980 So I talked about DLSW circuits. 247 00:16:48,280 --> 00:16:50,460 So let's look at what those are and how they're established. 248 00:16:54,280 --> 00:16:56,460 When we're initially setting up a DLSW communication, 249 00:16:56,740 --> 00:16:58,640 we'll actually do what's known as a capability exchange. 250 00:16:59,060 --> 00:17:02,080 And we'll actually come on to look at that in more detail in a little while. 251 00:17:02,600 --> 00:17:04,000 But once you've established capabilities, 252 00:17:04,720 --> 00:17:06,120 so you've exchanged capabilities, 253 00:17:06,500 --> 00:17:07,980 you essentially have a TCP connection 254 00:17:07,980 --> 00:17:09,900 between DLSW-capable routers. 255 00:17:10,500 --> 00:17:13,560 On top of this TCP connection, we can then establish circuits. 256 00:17:13,940 --> 00:17:17,380 These circuits are essentially SNA sessions 257 00:17:17,380 --> 00:17:20,220 that have actually been used to communicate 258 00:17:20,220 --> 00:17:21,860 between individual hosts in the mainframe. 259 00:17:23,200 --> 00:17:26,020 Now, multiple circuits can exist over that TCP connection. 260 00:17:26,360 --> 00:17:29,780 And that TCP connection won't drop even if there isn't an active circuit. 261 00:17:31,240 --> 00:17:35,720 So let's just look briefly at the actual establishment of a DLSW circuit. 262 00:17:35,720 --> 00:17:38,720 On the diagram here, we have a user terminal on the left 263 00:17:38,720 --> 00:17:40,060 and a mainframe on the right. 264 00:17:41,060 --> 00:17:43,820 And in between them, we have two DLSW-capable routers. 265 00:17:45,640 --> 00:17:48,280 So the first thing that happens is our user terminal sends out 266 00:17:48,280 --> 00:17:50,140 what's normally an LLC test frame. 267 00:17:50,340 --> 00:17:53,620 It's essentially a ping at the actual link layer. 268 00:17:54,580 --> 00:17:55,920 Upon receiving this packet, 269 00:17:56,160 --> 00:17:58,080 the first router will actually look in its cache 270 00:17:58,080 --> 00:18:01,100 to see whether it's had any traffic from this host before. 271 00:18:02,080 --> 00:18:05,340 If it hasn't, it will then send out what's known as 272 00:18:05,340 --> 00:18:08,340 a can-you-reach message to each DLSW router it's aware of. 273 00:18:09,700 --> 00:18:12,940 The aim of this is to try and locate the DLSW router 274 00:18:12,940 --> 00:18:15,460 through which it communicates to the intended destination. 275 00:18:18,080 --> 00:18:20,240 If the MAC address isn't known by our remote router, 276 00:18:20,500 --> 00:18:22,540 it's then sent out onto its local network bridge. 277 00:18:23,280 --> 00:18:26,120 And if it hits its target, we'll get a response back. 278 00:18:27,280 --> 00:18:29,800 The router will then send an icon reach packet 279 00:18:29,800 --> 00:18:31,240 back to the original router saying, 280 00:18:31,400 --> 00:18:32,680 yeah, I know where this guy is, 281 00:18:32,780 --> 00:18:34,560 and you can actually use me 282 00:18:34,560 --> 00:18:35,500 to establish a circuit. 283 00:18:37,240 --> 00:18:39,120 Then that packet's sent back to the user. 284 00:18:41,340 --> 00:18:42,940 So essentially in this process, 285 00:18:43,160 --> 00:18:45,400 we establish what's known as a DLSW circuit. 286 00:18:46,780 --> 00:18:48,380 The remainder of the SNA communication 287 00:18:48,380 --> 00:18:51,200 can now pass over this circuit, 288 00:18:51,920 --> 00:18:54,500 so we can encapsulate our SNA traffic in IP. 289 00:18:58,340 --> 00:19:00,380 And we can terminate this circuit as well. 290 00:19:00,840 --> 00:19:04,420 It's usually 15 minutes after the last activity 291 00:19:04,560 --> 00:19:06,080 that this circuit will be torn down. 292 00:19:06,780 --> 00:19:08,900 We can also send a whole data link packet 293 00:19:08,900 --> 00:19:10,160 if we want to tear down this immediately. 294 00:19:13,420 --> 00:19:16,060 So now given a brief overview of some of the protocols 295 00:19:16,060 --> 00:19:17,000 we're going to be attacking, 296 00:19:17,180 --> 00:19:21,660 let's look at some ways we can actually attack our environments 297 00:19:21,660 --> 00:19:23,820 and try and gain access to some systems. 298 00:19:26,400 --> 00:19:27,700 Let's first look at the objectives. 299 00:19:29,140 --> 00:19:31,580 Why is an attacker going to actually be interested 300 00:19:31,580 --> 00:19:32,280 in these environments? 301 00:19:32,940 --> 00:19:35,040 Well, first of all, the data on the mainframe. 302 00:19:35,480 --> 00:19:38,420 It will usually be finance data, intelligence data, 303 00:19:39,040 --> 00:19:41,240 data that's of importance to competitors. 304 00:19:42,920 --> 00:19:44,060 Processing power of the mainframe. 305 00:19:44,700 --> 00:19:47,360 There's an awful lot of processing there, 306 00:19:47,480 --> 00:19:49,280 and wouldn't it be cool to run our own processes on it? 307 00:19:50,040 --> 00:19:52,320 And let's face it, if we can own an IBM mainframe, 308 00:19:52,440 --> 00:19:53,620 then that's pretty cool. 309 00:19:56,560 --> 00:19:57,780 So what are we actually going to need 310 00:19:57,780 --> 00:19:59,080 to gain access to the mainframe? 311 00:20:00,600 --> 00:20:02,260 We're either going to need access to a logon 312 00:20:02,260 --> 00:20:03,680 service and some valid credentials, 313 00:20:03,920 --> 00:20:05,320 or we're going to need to find a vulnerability 314 00:20:05,320 --> 00:20:07,600 or poor configuration in the mainframe. 315 00:20:09,100 --> 00:20:12,340 Now the easiest one of those is actually by gaining access 316 00:20:12,340 --> 00:20:14,280 to a login service and finding some credentials. 317 00:20:14,660 --> 00:20:18,540 That way we don't have to discover any zero days, 318 00:20:18,660 --> 00:20:21,480 we don't have to start writing some ninja code 319 00:20:21,480 --> 00:20:24,040 to actually execute arbitrary code on the host. 320 00:20:24,620 --> 00:20:26,560 Let's just find someone's credentials and log on. 321 00:20:30,140 --> 00:20:32,080 So we've talked about DLSW environments, 322 00:20:32,260 --> 00:20:36,180 and as any attacker will know, the best thing to do first 323 00:20:36,180 --> 00:20:38,380 is to find out some information about the environment you're within. 324 00:20:41,000 --> 00:20:43,320 If we look at all the textbooks telling us how to set up 325 00:20:43,320 --> 00:20:46,240 a DLSW environment, they'll tell us at least one of the routers 326 00:20:46,240 --> 00:20:47,880 is going to be in what's known as promiscuous mode. 327 00:20:49,100 --> 00:20:51,000 In none of the documentation does it tell us 328 00:20:51,000 --> 00:20:53,000 how dangerous promiscuous mode really could be. 329 00:20:55,080 --> 00:20:56,980 So let's look at what we can actually learn 330 00:20:56,980 --> 00:20:58,180 from a promiscuous mode router. 331 00:21:01,140 --> 00:21:02,240 And to learn something from it, 332 00:21:02,240 --> 00:21:04,540 we need to do what's known as a capability exchange. 333 00:21:08,140 --> 00:21:09,880 Here are we at the bottom as router A, 334 00:21:09,980 --> 00:21:12,140 and there's router B, our promiscuous mode router 335 00:21:12,140 --> 00:21:13,720 that we want to exchange capabilities with. 336 00:21:14,500 --> 00:21:18,120 So the first thing we do is open a TCP communication on port 2065. 337 00:21:19,860 --> 00:21:22,900 If the router's in promiscuous mode and supports DLSW, 338 00:21:23,100 --> 00:21:25,460 it will immediately open a TCP connection back to us. 339 00:21:27,420 --> 00:21:29,500 Once that connection has been established, 340 00:21:29,640 --> 00:21:32,120 we can then send a request packet up to 341 00:21:32,240 --> 00:21:35,260 the target router containing a list of our capabilities. 342 00:21:36,700 --> 00:21:38,800 If the target router likes our capabilities, 343 00:21:39,100 --> 00:21:40,420 it will send back a response saying, 344 00:21:40,520 --> 00:21:41,860 yeah, I can talk to you. 345 00:21:43,400 --> 00:21:45,460 The router will then send you its capabilities. 346 00:21:46,920 --> 00:21:49,240 And at which point, if we send a response back saying, 347 00:21:49,360 --> 00:21:50,880 yes, I support those capabilities, 348 00:21:51,920 --> 00:21:55,160 we've exchanged capabilities and are actually able to communicate 349 00:21:55,920 --> 00:21:57,960 with the remote router using DLSW. 350 00:22:01,300 --> 00:22:03,160 Now if we're using version one of the protocol, 351 00:22:03,300 --> 00:22:06,880 we find that both of these TCP sessions usually stay connected. 352 00:22:07,560 --> 00:22:11,320 However, with version two, one of these connections is usually torn down. 353 00:22:13,920 --> 00:22:16,160 So as I've said, once capabilities have been exchanged, 354 00:22:16,780 --> 00:22:19,560 we can then start initializing some DLSW circuits. 355 00:22:21,300 --> 00:22:22,820 But let's not get ahead of ourselves. 356 00:22:23,240 --> 00:22:26,380 The information that was actually given to us in the capability exchange 357 00:22:26,380 --> 00:22:27,580 is pretty useful. 358 00:22:29,960 --> 00:22:33,180 What it will return to us, potentially, 359 00:22:33,220 --> 00:22:36,580 is MAC addresses of systems that it's been configured to communicate with. 360 00:22:36,820 --> 00:22:40,400 It will return us NetBIOS names of systems that it's been set up to communicate with. 361 00:22:40,720 --> 00:22:42,920 It will actually return us the version string of the router. 362 00:22:44,180 --> 00:22:47,520 It will also let us know if there's any service access point filtering going on. 363 00:22:48,060 --> 00:22:50,100 Maybe the remote router's filtering IPX. 364 00:22:50,220 --> 00:22:51,520 Maybe it's filtering NetBIOS. 365 00:22:52,340 --> 00:22:55,120 And in the capability exchange, the router will actually tell us this information. 366 00:22:58,200 --> 00:23:00,140 Additionally, it will also provide us information 367 00:23:00,140 --> 00:23:02,660 about whether it supports multicasting for DLSW, 368 00:23:03,680 --> 00:23:05,420 whether it has support for peer groups. 369 00:23:06,080 --> 00:23:08,180 It will also tell us information about pacing 370 00:23:08,180 --> 00:23:10,540 and the amount of data that it can accept. 371 00:23:13,200 --> 00:23:15,680 So how can we obtain this capability exchange information? 372 00:23:16,740 --> 00:23:19,540 Well, on the DEF CON CD, there's a small Python script 373 00:23:19,540 --> 00:23:21,040 that you can use to obtain this information. 374 00:23:21,800 --> 00:23:24,820 You'll need to use the bit vector package to actually run it. 375 00:23:25,280 --> 00:23:27,520 I've actually written it as extension to SCAPI. 376 00:23:28,420 --> 00:23:31,600 The reason being that eventually I'm going to release some DLSW classes, 377 00:23:31,760 --> 00:23:34,580 which means you can easily build your own DLSW packets. 378 00:23:37,860 --> 00:23:42,580 At the moment, the tool actually has some static arrays in them 379 00:23:42,580 --> 00:23:43,900 containing the DLSW data. 380 00:23:44,880 --> 00:23:47,300 But once I've got a bit further with the DLSW classes, 381 00:23:47,400 --> 00:23:48,360 then I'll certainly release them. 382 00:23:48,480 --> 00:23:51,760 And then you'll be able to use this tool as a true extension to SCAPI. 383 00:23:54,380 --> 00:23:56,460 Alternatively, if you have a DLSW router, 384 00:23:56,660 --> 00:23:59,880 you can simply use this to start communicating with the remote system. 385 00:24:00,520 --> 00:24:02,960 The only problem is you can't control as many of the parameters 386 00:24:02,960 --> 00:24:07,240 as you can do if you use your own packet definitions. 387 00:24:10,800 --> 00:24:13,740 So here's a quick look at some sample output from the tool. 388 00:24:14,420 --> 00:24:16,380 As we can see, it returns us some information 389 00:24:17,660 --> 00:24:19,700 concerning MAC addresses, net BIOS information. 390 00:24:19,700 --> 00:24:22,760 It also returns the vendor of the device, 391 00:24:22,900 --> 00:24:24,260 which we can see in this case is Cisco. 392 00:24:26,900 --> 00:24:29,240 If you find some DLSW routers out there, 393 00:24:29,360 --> 00:24:31,000 I'd certainly encourage having a play around with the tool 394 00:24:31,000 --> 00:24:32,120 and seeing what it can tell you. 395 00:24:34,480 --> 00:24:35,760 So now we've found out some information, 396 00:24:35,940 --> 00:24:37,880 our next objective is to actually reach the mainframe. 397 00:24:40,180 --> 00:24:41,780 It might not be running on IP stacks, 398 00:24:41,920 --> 00:24:43,520 so if we're sat out on the internet, 399 00:24:43,660 --> 00:24:44,860 how can we actually access it? 400 00:24:47,040 --> 00:24:48,140 In our security model, 401 00:24:48,140 --> 00:24:50,360 if an attacker actually gains access to our logon screen, 402 00:24:50,580 --> 00:24:52,160 have they breached our security model? 403 00:24:54,800 --> 00:24:55,940 As we've just discussed, 404 00:24:56,080 --> 00:24:58,080 we now have a DLSW tunnel that we can use 405 00:24:58,080 --> 00:24:59,460 because of a promiscuous mode router. 406 00:25:00,260 --> 00:25:03,420 That means we have a method of encapsulating our SNA data in IP, 407 00:25:03,940 --> 00:25:06,960 meaning we can communicate across an IP network. 408 00:25:08,320 --> 00:25:10,900 Which means if you've placed your DLSW router on the internet, 409 00:25:11,560 --> 00:25:14,340 maybe someone can get to your mainframe from the internet now. 410 00:25:17,660 --> 00:25:18,100 So, 411 00:25:18,100 --> 00:25:21,040 if we want to actually communicate using SNA with the mainframe, 412 00:25:21,200 --> 00:25:23,740 we need to know a little bit about how an SNA session is set up, 413 00:25:23,860 --> 00:25:26,640 and we'll specifically talk about how that is set up at the link layer. 414 00:25:28,120 --> 00:25:29,900 Now the first information we're going to need 415 00:25:29,900 --> 00:25:31,380 is the MAC address of the mainframe. 416 00:25:32,100 --> 00:25:34,580 Once we know that, we can send our LLC test frame. 417 00:25:35,400 --> 00:25:38,060 If we get the MAC address right, it will respond back to us. 418 00:25:39,040 --> 00:25:42,540 We can then send an LLC XID frame, an Exchange Identify packet. 419 00:25:44,660 --> 00:25:47,400 Again, all we need for this packet is the MAC address of the mainframe. 420 00:25:50,760 --> 00:25:55,880 Now we get to the stage where we need to actually exchange an XID. 421 00:25:56,940 --> 00:26:01,460 This is actually used so the mainframe can tell that we are actually configured to use its services. 422 00:26:05,660 --> 00:26:09,480 And quite fortunately, if we get the information in our SNA XID packet wrong, 423 00:26:09,660 --> 00:26:12,760 the mainframe can actually return us some information that tells us how we've got it wrong. 424 00:26:12,940 --> 00:26:17,500 It can also tell us some information about how we then need to change our communication 425 00:26:17,500 --> 00:26:18,580 to talk to it properly. 426 00:26:19,620 --> 00:26:21,460 Now assuming we get this information right, 427 00:26:21,680 --> 00:26:24,360 the mainframe will return what's known as a SAVME packet, 428 00:26:24,660 --> 00:26:26,540 Set Asynchronous Balanced Mode. 429 00:26:27,580 --> 00:26:29,200 We can then acknowledge this packet, 430 00:26:29,440 --> 00:26:32,920 and the mainframe then proceeds to send an Activate Physical Unit packet. 431 00:26:34,300 --> 00:26:37,520 And this is essentially how an SNA session is set up at the link layer. 432 00:26:38,140 --> 00:26:40,000 And if you remember back to the different sessions, 433 00:26:40,140 --> 00:26:42,800 this is the first session we talked about when communicating with the mainframe. 434 00:26:43,100 --> 00:26:46,460 We can now move on to the SSCP to LU communication. 435 00:26:50,660 --> 00:26:53,160 So how can we find out some of this information that we need 436 00:26:53,160 --> 00:26:54,680 to actually start talking to the mainframe? 437 00:26:55,460 --> 00:26:58,920 Well, for a start, the capabilities exchange can actually provide us with a lot of information. 438 00:26:59,960 --> 00:27:03,540 In our LLC packet, we obviously need some service access point types. 439 00:27:04,280 --> 00:27:07,960 And the capabilities exchange will tell us which ones are supported by the remote system. 440 00:27:08,980 --> 00:27:11,880 If we're lucky, it will also tell us the MAC address of the mainframe. 441 00:27:13,380 --> 00:27:15,520 If not, then more often than not, 442 00:27:15,560 --> 00:27:17,160 the MAC address will actually be in 443 00:27:17,160 --> 00:27:18,320 a token ring format. 444 00:27:18,700 --> 00:27:21,540 And so the first four digits will be four, zero, zero, zero. 445 00:27:22,220 --> 00:27:24,880 If we then need to perform a brute force attack to find the MAC address, 446 00:27:25,020 --> 00:27:29,800 this actually reduces the actual scope of brute forcing. 447 00:27:32,080 --> 00:27:35,440 We talked about the mainframe returning information in the XID exchange 448 00:27:35,440 --> 00:27:36,740 that can be of use to us. 449 00:27:38,260 --> 00:27:41,160 If you look here at this ether real capture, 450 00:27:41,400 --> 00:27:44,960 we can actually see control vectors used to tell us where in our SNA XID packet 451 00:27:44,960 --> 00:27:45,700 we made our mistake. 452 00:27:47,160 --> 00:27:49,820 It can also return information such as the control point name, 453 00:27:49,900 --> 00:27:51,460 the network ID, and the node ID. 454 00:27:51,840 --> 00:27:55,300 Again, we can use these to start to put together our SNA XID. 455 00:27:58,180 --> 00:28:01,200 So just to summarize what we're going to need to communicate with the mainframe, 456 00:28:01,360 --> 00:28:02,700 we're going to need the MAC address. 457 00:28:03,180 --> 00:28:05,020 There's lots of different ways we can get that information. 458 00:28:07,460 --> 00:28:09,800 Again, we might need a CP name and a network ID. 459 00:28:11,340 --> 00:28:13,840 Again, there are a number of ways we can start to obtain this information. 460 00:28:17,340 --> 00:28:19,060 And when we talk about social engineering, 461 00:28:19,260 --> 00:28:22,020 is this the kind of information that's protected in your environment? 462 00:28:24,180 --> 00:28:25,160 Usually it's not. 463 00:28:29,100 --> 00:28:30,920 So if we're going to start talking SNA, 464 00:28:31,020 --> 00:28:32,780 we need some tools to actually start communicating. 465 00:28:33,680 --> 00:28:36,840 Now there are some commercial tools out there that enable us to do this. 466 00:28:37,120 --> 00:28:38,580 PCOM and Rumba are two examples. 467 00:28:39,580 --> 00:28:41,320 We can also use some homemade scripts. 468 00:28:41,320 --> 00:28:44,120 And this is again where a tool like Scapey comes in very handy. 469 00:28:44,860 --> 00:28:48,240 If we can come up with some SNA and some DLSW packet definitions, 470 00:28:48,560 --> 00:28:51,300 we can actually start putting together some useful payloads 471 00:28:51,800 --> 00:28:53,120 to actually start testing our systems. 472 00:28:58,300 --> 00:29:00,360 So now we have all the information we need 473 00:29:00,360 --> 00:29:02,420 to actually get a logon screen up on our mainframe. 474 00:29:03,580 --> 00:29:05,380 So we've achieved half of our objective. 475 00:29:07,080 --> 00:29:09,680 Even if our mainframe is not running an IP interface, 476 00:29:09,680 --> 00:29:13,000 thanks to DLSW and thanks to some of the information 477 00:29:13,000 --> 00:29:14,400 that's returning the capabilities exchange, 478 00:29:14,840 --> 00:29:17,820 we can actually bring up the logon screen. 479 00:29:19,200 --> 00:29:20,980 Now all that we need is some logon credentials. 480 00:29:22,560 --> 00:29:24,220 So we need to find a way of getting them. 481 00:29:28,960 --> 00:29:31,040 Well, firstly, let's talk about memory padding issues. 482 00:29:31,400 --> 00:29:33,720 These are vulnerabilities that have been around for a long time now. 483 00:29:35,740 --> 00:29:36,800 Ethernet frame padding. 484 00:29:37,100 --> 00:29:39,060 Ether leaking Windows network card drivers. 485 00:29:39,720 --> 00:29:41,780 Microsoft Windows NetBIOS information leakage. 486 00:29:42,400 --> 00:29:44,520 Even recently, there was an information disclosure 487 00:29:44,520 --> 00:29:46,320 in MySQL anonymous handshake. 488 00:29:46,560 --> 00:29:50,220 And this all arises from reading from uninitialized memory 489 00:29:50,220 --> 00:29:51,240 when we're padding packets. 490 00:29:52,720 --> 00:29:55,660 And this is very useful when we're looking at SNA traffic. 491 00:29:58,560 --> 00:30:00,140 So let's look at SNA leak. 492 00:30:01,460 --> 00:30:02,880 Usually in our network environment, 493 00:30:03,620 --> 00:30:06,700 packets on the local network are bridged up to the DLSW router. 494 00:30:08,580 --> 00:30:09,660 So if we have Ethernet, 495 00:30:09,680 --> 00:30:10,280 if we have Ether leak on that router, 496 00:30:11,360 --> 00:30:13,940 we can actually start using some of the older vulnerabilities 497 00:30:13,940 --> 00:30:15,400 to start getting some information out. 498 00:30:16,280 --> 00:30:18,240 So if our routers haven't been patched, 499 00:30:18,340 --> 00:30:20,560 what we'll find is they actually leak information 500 00:30:20,560 --> 00:30:23,200 from other DLSW circuits that have been established through them. 501 00:30:24,400 --> 00:30:26,980 You might just find someone's password in your packet. 502 00:30:29,520 --> 00:30:31,000 So let's look at why that happens. 503 00:30:32,160 --> 00:30:34,480 The reason is that SNA packets can be less 504 00:30:34,480 --> 00:30:37,320 than the minimum Ethernet frame size, which is 46 bytes. 505 00:30:37,980 --> 00:30:40,860 If we take the LLC header, the transmission header, 506 00:30:40,940 --> 00:30:43,400 and request response headers, which are part of the SNA packet, 507 00:30:43,660 --> 00:30:45,120 they only come to 27 bytes. 508 00:30:46,440 --> 00:30:48,460 If we look at an instruction within SNA, 509 00:30:48,560 --> 00:30:49,920 for example, start data transfer, 510 00:30:50,400 --> 00:30:51,960 this is only a single byte instruction. 511 00:30:52,920 --> 00:30:55,660 So the rest of that Ethernet frame coming back to us will be padded. 512 00:30:57,300 --> 00:30:59,640 If we can generate lots of small packets from the target, 513 00:30:59,840 --> 00:31:02,220 we can start to get lots of leaked data coming back to us. 514 00:31:07,020 --> 00:31:08,940 Again, escapee is a brilliant tool for doing this, 515 00:31:08,980 --> 00:31:10,240 for setting up some little scripts 516 00:31:10,240 --> 00:31:12,900 to basically start communications with the mainframe, 517 00:31:13,500 --> 00:31:17,760 and then to get some packets back that have padding involved. 518 00:31:20,200 --> 00:31:22,180 So what you need to do is write some SNA classes. 519 00:31:24,060 --> 00:31:25,620 I may well be releasing some of them. 520 00:31:25,680 --> 00:31:26,840 If you speak to me nicely afterwards, 521 00:31:26,940 --> 00:31:28,440 I may even be able to give you a copy of some of them. 522 00:31:29,280 --> 00:31:31,240 And one thing that's vitally important 523 00:31:31,240 --> 00:31:32,200 when you're talking to someone 524 00:31:32,200 --> 00:31:34,960 when you're talking about communicating with the mainframe, 525 00:31:35,100 --> 00:31:37,280 most of the data will be EBCDIC encoded. 526 00:31:37,760 --> 00:31:40,080 So if you start seeing data that looks a little bit strange, 527 00:31:40,980 --> 00:31:42,020 try decoding it. 528 00:31:42,340 --> 00:31:44,280 You might actually find something useful in there. 529 00:31:48,620 --> 00:31:51,480 So we're still on the quest for our login credentials. 530 00:31:51,820 --> 00:31:55,280 What happens if the router's patched against the Ethernet frame padding vulnerabilities? 531 00:31:55,880 --> 00:31:57,980 Well, if we can actually gain access to the router, 532 00:31:58,060 --> 00:31:59,300 we might just be able to sniff the traffic. 533 00:32:00,120 --> 00:32:02,120 At this point, it's worth noting that 534 00:32:03,160 --> 00:32:07,900 SNA actually has support for encryption built into it natively, 535 00:32:07,920 --> 00:32:09,200 and it's had that for a long time. 536 00:32:09,920 --> 00:32:12,060 However, speaking to people that have written SNA stacks, 537 00:32:12,320 --> 00:32:15,540 they certainly haven't actually implemented this feature of the protocol. 538 00:32:17,140 --> 00:32:21,120 Therefore, a large number of people running SNA will be doing so in clear text. 539 00:32:22,040 --> 00:32:23,780 So if we can find a way of sniffing traffic, 540 00:32:24,020 --> 00:32:26,500 we're going to be able to get hold of the credentials that we need. 541 00:32:28,040 --> 00:32:29,480 But don't complicate things. 542 00:32:29,820 --> 00:32:31,900 If the routers that the traffic is passing through 543 00:32:31,900 --> 00:32:34,180 are vulnerable, then take advantage. 544 00:32:36,620 --> 00:32:40,100 When you're examining the routers, if you see ports 2065 and 2067, 545 00:32:40,660 --> 00:32:42,980 the router more than likely is actually running DLSW. 546 00:32:47,700 --> 00:32:50,280 And in the course of the research I've been doing, 547 00:32:50,300 --> 00:32:53,920 I've actually found out some interesting little things to do with DLSW 548 00:32:54,480 --> 00:32:55,960 on some common routers. 549 00:32:57,320 --> 00:33:00,280 And let's remember that in our mainframe environments, 550 00:33:00,280 --> 00:33:01,480 it's usually high availability. 551 00:33:01,940 --> 00:33:05,080 Even small amounts of downtime can have huge financial implications. 552 00:33:06,560 --> 00:33:09,260 In investigating, I actually discovered one denial of service 553 00:33:09,260 --> 00:33:10,980 that we'll actually need investigating further. 554 00:33:12,600 --> 00:33:15,300 I've not actually had time to come up with a full advisory for this, 555 00:33:15,380 --> 00:33:18,900 and simply haven't had the time to investigate exactly why this is being caused. 556 00:33:19,320 --> 00:33:23,160 But if we're able to exchange capabilities with a Cisco router, 557 00:33:25,480 --> 00:33:27,740 and pass it some parameters it's not expecting, 558 00:33:27,800 --> 00:33:29,580 we can actually get that router to reload. 559 00:33:31,620 --> 00:33:33,620 Now if we actually look in the DLSW packets, 560 00:33:33,820 --> 00:33:35,340 there's actually a parameter called peer type. 561 00:33:35,980 --> 00:33:37,760 And if we start playing around with that value, 562 00:33:37,840 --> 00:33:39,600 then we start finding these conditions actually occur. 563 00:33:41,060 --> 00:33:43,180 I'll certainly be releasing full details of this vulnerability, 564 00:33:43,540 --> 00:33:45,280 but I'll certainly be passing those to Cisco first. 565 00:33:48,220 --> 00:33:51,000 So let's find out some other ways of actually getting hold of these logon credentials. 566 00:33:52,820 --> 00:33:56,580 I've come up with two scenarios, one of which is a local attack. 567 00:33:58,220 --> 00:34:00,200 As we'll see, it's very dependent on how the architect 568 00:34:00,280 --> 00:34:02,800 is set up, but this is very common on internal networks 569 00:34:02,800 --> 00:34:06,400 that are using SNA and then a DLSW environment 570 00:34:06,400 --> 00:34:08,460 to pass that traffic across an IP network. 571 00:34:10,600 --> 00:34:12,860 So our assumption obviously is that our SNA traffic 572 00:34:12,860 --> 00:34:15,480 is using LLC2 at the link layer on our local subnet. 573 00:34:18,160 --> 00:34:21,540 This attack will actually now allow us to intercept that network traffic 574 00:34:22,540 --> 00:34:25,600 if the systems communicating with it are plugged into the same switch. 575 00:34:26,400 --> 00:34:28,440 Now initially that might not sound too great. 576 00:34:28,440 --> 00:34:31,040 After all, we're all used to sniffing traffic on a local subnet. 577 00:34:31,740 --> 00:34:33,160 But when we're talking about SNA, 578 00:34:33,260 --> 00:34:34,960 there are a few little things we need to think about first. 579 00:34:37,020 --> 00:34:40,400 And let's look at the basic network setup that we're talking about here. 580 00:34:40,540 --> 00:34:42,840 On the left-hand side, we can see our user workstation 581 00:34:42,840 --> 00:34:46,660 that's communicating using LLC2 up to the DLSW router, 582 00:34:47,340 --> 00:34:50,500 and the data is encapsulated as that goes across the IP network. 583 00:34:51,060 --> 00:34:52,760 And we're sat on the same LAN as them. 584 00:34:56,560 --> 00:34:58,800 So we need to be able to intercept that LLC traffic. 585 00:35:00,920 --> 00:35:03,320 If there's other ways of attacking the switch that we're plugged into, 586 00:35:03,540 --> 00:35:05,400 then by all means, use them. 587 00:35:05,980 --> 00:35:09,500 Cam table overflows or any other vulnerabilities that enable us to sniff traffic 588 00:35:09,500 --> 00:35:10,820 are perfectly valid. 589 00:35:11,300 --> 00:35:13,700 If the workstation itself is not well protected, 590 00:35:13,880 --> 00:35:15,100 again, we can attack that. 591 00:35:15,520 --> 00:35:16,900 Always take the easiest path. 592 00:35:18,240 --> 00:35:19,960 However, if these aren't possible, 593 00:35:20,140 --> 00:35:22,620 we can't revert to our spoofing the same way we would do 594 00:35:22,620 --> 00:35:23,820 if we were talking about IP. 595 00:35:26,560 --> 00:35:27,880 So what about using port stealing? 596 00:35:28,960 --> 00:35:30,720 That might be one way of getting this to work. 597 00:35:32,480 --> 00:35:34,100 But if you're not familiar with port stealing, 598 00:35:34,520 --> 00:35:37,180 it was essentially a technique that was demonstrated a few years back, 599 00:35:37,360 --> 00:35:40,480 and it essentially involves stealing a target MAC address on a switch. 600 00:35:41,660 --> 00:35:44,420 Now, obviously, if we steal the target's MAC address and do nothing else, 601 00:35:44,600 --> 00:35:46,360 it's a pretty effective denial of service. 602 00:35:47,620 --> 00:35:50,380 But what we don't want to do is actually cause a denial of service. 603 00:35:50,420 --> 00:35:52,460 We want to keep passing data to that target system. 604 00:35:52,620 --> 00:35:53,620 So we can sniff it. 605 00:35:54,680 --> 00:35:59,240 Port stealing was basically documented as a way that we could use to bypass static ARP. 606 00:35:59,780 --> 00:36:01,480 And potentially, it could work in this scenario. 607 00:36:02,880 --> 00:36:05,000 The problem is, the way these attacks have been described, 608 00:36:05,220 --> 00:36:07,400 we actually need IP to be running on our target system, 609 00:36:07,820 --> 00:36:11,400 because we need to use a spoofed ARP packet to give the target its port back on the switch. 610 00:36:12,460 --> 00:36:16,320 In this scenario, therefore, there's only going to be a half-duplex attack possible, 611 00:36:16,740 --> 00:36:20,220 i.e. from the traffic passing from the mainframe back to our target workstation, 612 00:36:20,220 --> 00:36:23,160 because we're going to assume that that is running an IP stack. 613 00:36:24,460 --> 00:36:31,460 The likelihood is that the mainframe will not have an IP address that's associated with its MAC address. 614 00:36:32,100 --> 00:36:36,420 And therefore, we can't use port stealing to get the traffic passing from the user to the mainframe. 615 00:36:36,760 --> 00:36:39,880 And after all, it's in this direction which the user credentials will be passing. 616 00:36:43,740 --> 00:36:45,820 So this is where DLSW can help us. 617 00:36:50,440 --> 00:36:57,880 If we actually set up a system on the local subnet with the MAC address of the mainframe we're trying to intercept traffic to, 618 00:36:58,000 --> 00:37:03,240 we can then use our laptop to establish a DLSW connection to the remote DLSW router. 619 00:37:04,260 --> 00:37:08,320 In this way, we're essentially tunneling the LLC traffic over IP, 620 00:37:08,520 --> 00:37:12,160 and we're avoiding the problems that would otherwise be associated with stealing the port on the switch. 621 00:37:15,320 --> 00:37:19,380 As I've said, all the data we receive, we encapsulate and pass over to the remote router. 622 00:37:20,540 --> 00:37:25,660 We can now sit on that local subnet and intercept all the credentials that are passing between our target and the mainframe. 623 00:37:29,540 --> 00:37:31,760 So that's essentially what our diagram looks like now. 624 00:37:32,140 --> 00:37:38,100 The traffic has been redirected to us, and then we're passing that back across as DLSW traffic to our remote router. 625 00:37:40,560 --> 00:37:41,860 But that's a local attack. 626 00:37:43,800 --> 00:37:46,440 Let's look at doing this remotely, because that would be really cool. 627 00:37:48,560 --> 00:37:50,640 Now, this attack is dependent on the architecture. 628 00:37:50,760 --> 00:37:53,680 It depends on the way that the DLSW systems have actually been configured. 629 00:37:55,020 --> 00:37:59,160 But if we find that the people setting up our DLSW network have not done it correctly, 630 00:37:59,460 --> 00:38:01,940 they may well have put more than one router into a promiscuous mode. 631 00:38:02,660 --> 00:38:05,440 Our DLSW environment will still operate in this scenario. 632 00:38:06,220 --> 00:38:09,040 However, we have exposed ourselves to an excessive amount of risk. 633 00:38:11,240 --> 00:38:16,420 So in this attack, we're still assuming that our SNA traffic is actually using DLSW to traverse the IP network. 634 00:38:16,440 --> 00:38:19,740 We also need to find two routers that are in promiscuous mode. 635 00:38:20,620 --> 00:38:23,060 One in front of the mainframe, and one in front of our user. 636 00:38:26,480 --> 00:38:28,220 So let's look at how things look beforehand. 637 00:38:28,800 --> 00:38:34,640 We can see the user again on their local subnet, and a promiscuous mode router at either end of the IP network. 638 00:38:36,600 --> 00:38:40,680 We're then connected to that same IP network, whether it be a WAN or whether it be across the internet. 639 00:38:47,560 --> 00:38:50,740 Again, if there's an easier way of getting hold of the data, let's use it. 640 00:38:51,020 --> 00:38:56,360 If we're set directly between those routers where the IP traffic is passing, let's just sniff that traffic. 641 00:38:59,380 --> 00:39:02,860 But if not, if we're off somewhere else where we can't actually sniff that data, 642 00:39:03,300 --> 00:39:07,000 what we can do is actually open a DLSW connection to the router at either end. 643 00:39:08,860 --> 00:39:13,960 Now to do this, our IP address must either be defined in the DLSW configuration, or as I've mentioned, 644 00:39:14,500 --> 00:39:16,420 both routers must be in promiscuous mode. 645 00:39:18,940 --> 00:39:23,300 Now if a circuit has already been established between the two hosts we want to intercept traffic for, 646 00:39:23,380 --> 00:39:24,480 then this technique won't work. 647 00:39:25,720 --> 00:39:29,300 However, as mentioned previously, the circuit will drop after about 15 minutes. 648 00:39:36,280 --> 00:39:39,500 So what do we actually need to do to actually effect this attack? 649 00:39:40,500 --> 00:39:45,420 Well first of all, we need to exchange capabilities with routers at either end of this DLSW tunnel that we're attacking. 650 00:39:48,700 --> 00:39:54,240 If we are actually the only one who's advertising MAC addresses in our capabilities exchange, 651 00:39:55,360 --> 00:39:57,860 then we will automatically be intercepting the data. 652 00:39:58,040 --> 00:39:59,040 And the reason is this. 653 00:40:00,280 --> 00:40:04,800 If a DLSW router in the capabilities exchange sees a MAC address that is configured, 654 00:40:05,040 --> 00:40:08,960 if a request comes in to send data to that MAC address, 655 00:40:09,200 --> 00:40:13,720 the can you reach packet that we talked about before will only be sent to the system 656 00:40:14,340 --> 00:40:16,400 who has advertised that MAC address in its configuration. 657 00:40:17,180 --> 00:40:24,400 That means if our network administrators have not actually defined the MAC address of their mainframe in their DLSW router, 658 00:40:25,080 --> 00:40:28,660 we can simply advertise that MAC address in our capabilities exchange. 659 00:40:29,780 --> 00:40:33,120 And then when the can you reach packet is passed on to the DLSW environment, 660 00:40:33,420 --> 00:40:35,020 that packet will only come to us. 661 00:40:36,360 --> 00:40:41,460 Meaning that we can then send back an I can reach packet and essentially establish a DLSW circuit. 662 00:40:43,500 --> 00:40:47,040 In more complicated environments where we're using peer groups, 663 00:40:47,700 --> 00:40:50,500 there's also possibilities that we could become a new border peer. 664 00:40:53,160 --> 00:40:58,420 Now this is very architecture dependent and there really isn't time to go into this today. 665 00:41:00,440 --> 00:41:04,440 Also something to be aware of is that you can actually send gratuitous I can reach packets. 666 00:41:04,880 --> 00:41:09,560 The routers don't actually think to themselves, did I actually send the can you reach packet? 667 00:41:09,560 --> 00:41:15,160 And by sending an I can reach packet, you will actually enter that MAC address into its cache. 668 00:41:16,520 --> 00:41:19,220 This won't actually override the capability exchange information, 669 00:41:19,860 --> 00:41:23,900 but it's actually telling the router that we actually know where that MAC address is. 670 00:41:27,380 --> 00:41:29,680 So let's look at a quick diagram of how this looks now. 671 00:41:30,640 --> 00:41:34,240 As we can see, we've advertised the mainframe's MAC address in our capabilities exchange 672 00:41:34,740 --> 00:41:37,020 with the promiscuous mode router at the user's end. 673 00:41:38,220 --> 00:41:45,060 We can then simply establish another DLSW tunnel with the promiscuous mode router in front of the mainframe. 674 00:41:48,120 --> 00:41:51,140 We can then establish another DLSW circuit with that router. 675 00:41:51,960 --> 00:41:57,680 Now the traffic will be rerouted down the two legs of our DLSW tunnels rather than across the original path. 676 00:41:58,300 --> 00:42:00,240 Meaning that we can intercept all the traffic. 677 00:42:02,940 --> 00:42:04,540 Just one slight caveat to this. 678 00:42:04,540 --> 00:42:09,420 If the administrators have actually defined the mainframe's MAC address in the configuration on the router, 679 00:42:10,240 --> 00:42:11,900 essentially we come down to a race condition. 680 00:42:12,620 --> 00:42:18,660 The promiscuous mode router in front of the user terminal will send the can you reach packet to both us and to the legitimate system. 681 00:42:19,120 --> 00:42:25,360 But if we can get our I can reach packet back first, we're the one with which the DLSW circuit will be established. 682 00:42:25,780 --> 00:42:27,260 And again, the attack can proceed. 683 00:42:30,300 --> 00:42:34,520 So essentially now, we've come up with a number of ways that we can actually achieve our objectives. 684 00:42:35,020 --> 00:42:38,720 We've actually been able to communicate with the mainframe, access a logon service, 685 00:42:39,100 --> 00:42:42,280 and we've found some ways of being able to gain access to login credentials. 686 00:42:43,960 --> 00:42:50,040 I'm sure you can imagine how dangerous that is if we've actually intercepted the communication of administrative logon to TSO. 687 00:42:52,740 --> 00:42:54,780 So how can we protect against some of this stuff? 688 00:42:56,100 --> 00:42:58,100 First of all, there's some technical recommendations. 689 00:42:58,540 --> 00:43:01,980 And as you can probably imagine, the fairly obvious one is don't use promiscuous mode. 690 00:43:01,980 --> 00:43:06,700 Even if we have to define 15 IP addresses within our router configuration, 691 00:43:08,280 --> 00:43:11,780 that's certainly a lot more favorable than people messing with our DLSW environment. 692 00:43:13,680 --> 00:43:21,320 As we've also seen, explicitly defining the MAC addresses of the mainframe in the capabilities data is also good. 693 00:43:25,100 --> 00:43:30,360 Also, if we can actually use path costs, use the lowest possible path costs, 694 00:43:30,460 --> 00:43:31,960 which means that if the router ever has a charge, 695 00:43:31,980 --> 00:43:35,080 it's always going to make choices to which path it's going to take when it's establishing a circuit. 696 00:43:35,260 --> 00:43:36,960 It's always going to pick the legitimate one. 697 00:43:39,120 --> 00:43:44,880 And then we need to start looking at ACLs to start protecting port 2065 and the other ports associated with DLSW, 698 00:43:45,700 --> 00:43:48,980 whether that be filtering on firewalls or whether it be router ACLs. 699 00:43:51,760 --> 00:43:57,940 And again, try and protect the information that's passing across our network. 700 00:43:59,180 --> 00:44:05,560 Cisco actually had a paper on their website about how to use IPsec to protect DLSW traffic passing between their routers. 701 00:44:06,400 --> 00:44:08,200 Again, take every precaution you can. 702 00:44:12,380 --> 00:44:15,040 And that comes down to using end-to-end encryption for the data. 703 00:44:16,000 --> 00:44:19,700 Now, we might find that if we're using SNA, this isn't possible. 704 00:44:20,280 --> 00:44:23,720 So this is where we need to start looking at the actual requirements for our network, 705 00:44:23,900 --> 00:44:27,920 looking at the sensitivity of the data, and understanding the implications of the protocols we're using. 706 00:44:27,940 --> 00:44:35,060 If we need encrypted data, why not use SSL and SSH support on the mainframe? 707 00:44:35,660 --> 00:44:38,100 Why continue to use the older protocols? 708 00:44:39,960 --> 00:44:43,120 You may need to continue using these SNA applications. 709 00:44:43,540 --> 00:44:47,780 It may not be cost-effective to migrate them, and therefore IP might not be a solution. 710 00:44:48,220 --> 00:44:50,980 But it's always important to understand the risk you're exposed to. 711 00:44:52,940 --> 00:44:56,720 Again, just because these are high-value environments doesn't mean we shouldn't patch things. 712 00:44:58,560 --> 00:44:59,680 Particularly the routers. 713 00:45:00,220 --> 00:45:03,920 We've already seen how old vulnerabilities to do with Ethernet padding 714 00:45:03,920 --> 00:45:10,080 has enabled us to sniff the credentials out of the actual padding in the packets. 715 00:45:10,840 --> 00:45:13,760 If we're using an SNA gateway, we need to make sure that's hardened. 716 00:45:14,340 --> 00:45:19,680 Out of the box, Microsoft's host integration server is not the most secure system. 717 00:45:20,240 --> 00:45:23,380 And we can certainly pull off lots of information about its configuration. 718 00:45:27,940 --> 00:45:30,260 And let's look at the recommendations at a high level as well. 719 00:45:31,960 --> 00:45:35,240 This is where it comes down to looking at what you're using on your network. 720 00:45:35,440 --> 00:45:38,760 Understand the strengths and weaknesses of the protocols. 721 00:45:39,320 --> 00:45:40,840 Do they support host authentication? 722 00:45:41,400 --> 00:45:43,000 Can you use encryption with them? 723 00:45:43,540 --> 00:45:45,500 Are traffic redirection attacks possible? 724 00:45:47,640 --> 00:45:50,880 We've obviously demonstrated some traffic redirection attacks with SNA here. 725 00:45:51,080 --> 00:45:54,520 But remember, ARP spoofing again is another attack against IP. 726 00:45:54,520 --> 00:45:57,780 So understand which vulnerabilities apply to which protocols. 727 00:45:58,360 --> 00:46:00,700 And understand how to best protect your network. 728 00:46:01,940 --> 00:46:04,820 Then deploy an architecture that actually meets the requirements. 729 00:46:06,280 --> 00:46:10,700 Make sure that you can maintain who has actual accessibility to the services on your systems. 730 00:46:11,380 --> 00:46:14,360 Make sure that patching can go ahead without causing disruption to users. 731 00:46:14,720 --> 00:46:16,780 Keep monitoring for suspicious activity. 732 00:46:19,280 --> 00:46:21,440 And make sure that your sensitive data remains private. 733 00:46:25,320 --> 00:46:28,580 And when you're getting these environments tested, make sure the testing is thorough. 734 00:46:30,000 --> 00:46:32,460 If you have pen testers that come in that just know about IP, 735 00:46:33,160 --> 00:46:35,500 and you ask them to start looking at your SNA traffic, 736 00:46:36,040 --> 00:46:38,680 then they may start to panic a little bit. 737 00:46:39,980 --> 00:46:43,060 Make sure that you ask these guys some questions before you hire them. 738 00:46:43,520 --> 00:46:45,260 Make sure they understand the technology. 739 00:46:45,520 --> 00:46:49,060 Make sure they can communicate to you the risks that you're exposed to. 740 00:46:50,680 --> 00:46:54,500 And most importantly of all, make sure everyone within the company is talking to it. 741 00:46:54,500 --> 00:46:57,960 Make sure the mainframe guys talk to the network guys. 742 00:46:58,220 --> 00:47:00,100 Make sure they talk to the desktop team. 743 00:47:00,280 --> 00:47:03,200 Because if they don't, then there's going to be vulnerabilities that are exposed. 744 00:47:05,060 --> 00:47:13,060 If you're in a security function, use your influence to actually bring these guys together. 745 00:47:13,300 --> 00:47:16,460 And actually be proactive in making sure that security is being improved. 746 00:47:20,420 --> 00:47:22,060 So after all this, are we safe? 747 00:47:23,000 --> 00:47:23,960 Or maybe not. 748 00:47:24,460 --> 00:47:26,060 There's a whole lot more to be done here. 749 00:47:27,540 --> 00:47:29,320 There's lots of SNA stacks out there. 750 00:47:30,740 --> 00:47:34,540 I've certainly not got access to a mainframe and therefore I can't test these at the moment. 751 00:47:35,660 --> 00:47:39,240 I'm sure that once you start delving into the actual handling of the SNA protocol itself, 752 00:47:39,460 --> 00:47:40,620 we're going to find some vulnerabilities. 753 00:47:41,920 --> 00:47:45,000 Maybe someone wants to write a DLSW stack for Linux or for BSD. 754 00:47:45,560 --> 00:47:50,220 That would be really cool and would certainly help us if we're actually pen testing these systems. 755 00:47:52,380 --> 00:47:53,920 SNA type of service handling. 756 00:47:54,080 --> 00:47:55,380 I haven't even touched on that. 757 00:47:55,580 --> 00:47:57,160 Again, that's another area to look at. 758 00:47:57,920 --> 00:47:59,440 And something else I've talked about. 759 00:47:59,500 --> 00:48:00,460 Host integration server. 760 00:48:01,280 --> 00:48:04,280 Network for SAA, which I do not believe is supported anymore. 761 00:48:05,160 --> 00:48:06,760 Basically SNA gateway systems. 762 00:48:07,200 --> 00:48:11,580 There's a lot more work that can be done to actually determine any vulnerabilities in those systems. 763 00:48:12,940 --> 00:48:14,400 Again, peer-to-peer networking. 764 00:48:14,780 --> 00:48:15,900 APPN and APPC. 765 00:48:16,580 --> 00:48:20,780 Essentially we have an entire method of communicating between 766 00:48:21,940 --> 00:48:25,040 using peer-to-peer protocols between systems on our networks. 767 00:48:25,600 --> 00:48:28,160 There's a huge scope for attacks in these areas. 768 00:48:29,560 --> 00:48:32,860 And coupled in with that is then secure configuration of VTAM. 769 00:48:32,960 --> 00:48:35,000 Making sure there are no unused definitions in there. 770 00:48:35,500 --> 00:48:40,160 And again, we need to look at how to actually investigate those configurations 771 00:48:40,160 --> 00:48:42,260 and make sure they're in line with best practice. 772 00:48:46,240 --> 00:48:47,520 So as an overall summary, 773 00:48:47,520 --> 00:48:52,140 we really need to make sure that the topology and construction of the network 774 00:48:52,140 --> 00:48:56,180 are known to us and what the risks are actually exposed through that. 775 00:48:58,420 --> 00:49:02,600 As we've demonstrated today, there are weaknesses in the technologies that are used to access mainframes. 776 00:49:02,800 --> 00:49:07,340 Make sure you understand what they are and then put measures in place to mitigate against the risks. 777 00:49:08,460 --> 00:49:10,160 It's good information security practice. 778 00:49:13,620 --> 00:49:14,880 Now a request for help. 779 00:49:15,500 --> 00:49:17,500 I don't have access to a mainframe at this point. 780 00:49:17,520 --> 00:49:20,220 Hopefully there's a few people that do. 781 00:49:21,160 --> 00:49:25,620 If anyone does and fancies getting involved with some of this research, then please let me know. 782 00:49:26,600 --> 00:49:30,260 I'd love to talk to people that actually run these mainframes on a day-to-day basis. 783 00:49:30,520 --> 00:49:33,300 That actually run these networks and are facing these challenges. 784 00:49:36,020 --> 00:49:39,900 As I've said, there's lots more work to do and I'd certainly love to work with other people in this subject. 785 00:49:40,360 --> 00:49:42,860 So certainly give me a shout if you're interested in doing this. 786 00:49:45,960 --> 00:49:47,520 Now references and further reading. 787 00:49:47,660 --> 00:49:49,660 When I was actually investigating these technologies, 788 00:49:51,260 --> 00:49:57,000 it was made somewhat more difficult by the fact that a lot of the books that are out there on SNA are no longer in print. 789 00:49:58,820 --> 00:50:01,040 But if you search around, you can certainly find them. 790 00:50:01,100 --> 00:50:03,820 If you go back to the RFCs, you can find out some more information. 791 00:50:05,020 --> 00:50:07,940 Cisco have a lot of information on their website about DLSW 792 00:50:07,940 --> 00:50:12,360 and also about how Cisco routers can be used in SNA environments. 793 00:50:16,240 --> 00:50:17,420 So that's it for me. 794 00:50:17,960 --> 00:50:19,620 Any questions that anybody has? 795 00:50:30,360 --> 00:50:31,540 Hi, it's on. 796 00:50:31,660 --> 00:50:35,800 Okay, you mentioned in the presentation that SNA has inbuilt encryption capability. 797 00:50:36,200 --> 00:50:37,740 Do you know why people aren't using it? 798 00:50:39,540 --> 00:50:40,900 I believe that... 799 00:50:42,860 --> 00:50:46,620 The information I've had is basically from some guys that used to write SNA stacks themselves. 800 00:50:46,880 --> 00:50:53,540 And they just said that the applications that the people were running for which they were commissioned to write these stacks 801 00:50:53,540 --> 00:50:55,660 simply didn't want to make use of it. 802 00:50:57,760 --> 00:51:00,200 And that was pretty much what their answers were. 803 00:51:02,200 --> 00:51:04,800 Other than that, as I said, I've not got a background in IBM. 804 00:51:04,940 --> 00:51:07,040 So other than that, unfortunately, I'm not sure. 805 00:51:07,200 --> 00:51:07,860 Okay, thank you. 806 00:51:11,220 --> 00:51:12,360 Okay, thank you very much. 807 00:51:12,860 --> 00:51:13,620 Thank you.