1 00:00:00,000 --> 00:00:05,760 All right. Hello. My name is Andrew King. I'm here to present reflective injection detection. 2 00:00:07,080 --> 00:00:14,140 Put together some Python C types in about a week that fairly accurately detects reflective 3 00:00:14,140 --> 00:00:18,560 injection the vast majority of the time. It does have a couple of issues with false positives. 4 00:00:19,000 --> 00:00:25,440 But something to note about the title, I said defensive vendors in general. It's not exactly 5 00:00:25,440 --> 00:00:32,200 the case. Defensive vendors do have products that catch reflective injection. It's just not in 6 00:00:32,200 --> 00:00:40,420 your main line home user applications. So a couple of things I thought I should know before I 7 00:00:40,420 --> 00:00:45,440 get started on the talk. One is I don't own any of the artwork. It's all Google images. There 8 00:00:45,440 --> 00:00:50,140 weren't any notices about, hey, you're going to get in trouble for using this artwork. So that's 9 00:00:50,140 --> 00:00:55,420 why I used it. As far as attributing blame to offense, defense, defense, defense, defense, defense, 10 00:00:55,420 --> 00:01:02,740 or whatever, I think both sides are equally at fault. But that's just how it goes. My 11 00:01:02,740 --> 00:01:08,760 statements here don't reflect past, present, or future employers, obviously. I left the who 12 00:01:08,760 --> 00:01:13,640 am I page blank. But if you were really interested, you could jump to LinkedIn. But that's 13 00:01:14,240 --> 00:01:22,820 on the DVD. So why would I do a talk that's going to make people angry? I did a talk 14 00:01:22,820 --> 00:01:25,400 previously that made some folks a little angry. I'm just going to talk about what I do that's going 15 00:01:25,420 --> 00:01:32,900 upset and complaining about a problem often gets people up in arms. But I think it's something 16 00:01:32,900 --> 00:01:38,020 that should change and if everybody just goes, well, it's old, okay, then why does it still 17 00:01:38,020 --> 00:01:48,040 work in most home user cases? So I think everybody knows what reflective injection is. You're 18 00:01:48,040 --> 00:01:52,900 just doing a huge allocation into memory, you're copying a DLL there and then through 19 00:01:52,900 --> 00:02:00,120 whatever method you want you're steering execution. Now, on the defensive side, programmers are 20 00:02:00,120 --> 00:02:04,200 lazy, yes, but it's not just defensive programmers, it's offensive programmers, too. Perfect 21 00:02:04,200 --> 00:02:11,240 example is I threw this code together in about a week and it's not ‑‑ it's very procedural and 22 00:02:11,240 --> 00:02:21,800 not awesome as a stellar code example. So there's very little request specific and check going 23 00:02:21,800 --> 00:02:22,880 on with ‑‑ I don't know if you can see it. I don't know if you can see it. I don't know if 24 00:02:22,880 --> 00:02:26,900 you can see it. Most of your ‑‑ most of your exploitation frameworks, most of them are just 25 00:02:26,900 --> 00:02:31,400 going, hey, when I want to inject, I'm just going to request that you allocate, you know, a 26 00:02:31,400 --> 00:02:39,000 certain size and you get contiguous pages in memory and the base of those pages tends to be 27 00:02:39,000 --> 00:02:45,240 pretty sequential. So if you wanted to optimize your scanning for where reflect injected DLLs 28 00:02:45,240 --> 00:02:51,940 might be, one way to do it would be to use from a defensive perspective, intentionally insert 29 00:02:52,900 --> 00:02:57,640 yourself into another process and see where the allocation happens and then work backwards from 30 00:02:57,640 --> 00:03:03,820 there so that you're not trying to scan all of memory all the time. Just a possible optimization. 31 00:03:05,620 --> 00:03:15,300 Let's see. So on the offensive side, what if they ‑‑ what if they start trying to look for 32 00:03:15,300 --> 00:03:22,520 PE mapping code? The perfect example for that was I used it in a code obfuscation tutorial, 33 00:03:22,880 --> 00:03:29,980 and one of the vendors wound up flagging it as malicious software when it printed hello, you 34 00:03:29,980 --> 00:03:36,160 know, if you actually ran it or dropped it in a disassembler or looked at the source. So there's 35 00:03:36,160 --> 00:03:43,180 a lot of just ‑‑ if you customize your PE mapping code or you expanded it on disk and then 36 00:03:43,180 --> 00:03:49,400 moved it into memory, it would be a lot more effective and that, I believe, is what the 37 00:03:49,860 --> 00:03:52,560 interpreter does. But ‑‑ 38 00:03:53,720 --> 00:03:58,960 Another component to that is that it changes ‑‑ the way that you map it changes where you have to 39 00:03:58,960 --> 00:04:04,000 look for PE headers in memory in order to actually find the reflect injected DLLs, like in the case 40 00:04:04,000 --> 00:04:08,640 of ‑‑ I couldn't figure out what I was doing wrong there for a second, because when the 41 00:04:08,640 --> 00:04:12,680 interpreter does the interpreter stager, it loads the entire DLL at once and the whole thing is 42 00:04:12,680 --> 00:04:18,380 read, write, execute. So you're looking in the executable space for the PE header. But if you're 43 00:04:18,380 --> 00:04:22,860 looking with the Joaquin botch code for reflect ‑‑ reflect injected DLLs, you're looking in the 44 00:04:22,880 --> 00:04:30,040 reflect injected DLL, then you're going to be looking one page before executable space. So there 45 00:04:30,040 --> 00:04:38,460 is ‑‑ there is that. So you just have two pages to check instead of, you know, many. And, yes, 46 00:04:38,520 --> 00:04:42,460 they're probably just mostly at this point looking for stager code. They're probably not 47 00:04:42,460 --> 00:04:51,560 looking for the injected code. And I think that's kind of a fail. But why does it still work? 48 00:04:52,880 --> 00:04:58,840 We could detect it at run time as it happens. But we'd have to be monitoring all memory 49 00:04:58,840 --> 00:05:05,780 allocations. And if you started doing that and just going, you know, look for the next copy to 50 00:05:05,780 --> 00:05:12,880 that allocation, then, you know, you could ‑‑ you could simply trick your way past that. And so 51 00:05:12,880 --> 00:05:20,460 it's very hard to do once, right? So it's a continuous looping through. It's probably why it's 52 00:05:20,460 --> 00:05:22,860 not implemented. It's really hard on resources. You're going to have to do it once. It's probably 53 00:05:22,860 --> 00:05:30,280 going to be having a really difficult time with making it detect almost immediately after run and 54 00:05:31,020 --> 00:05:37,980 not having a significant performance impact. Yes, we can scan memory for it. So from the 55 00:05:37,980 --> 00:05:45,600 defensive side of things, to find reflect injected DLLs, we could look for executable space and 56 00:05:45,600 --> 00:05:50,300 then walk backwards for that and look for PE headers if they started finding ways around that. 57 00:05:50,440 --> 00:05:52,840 We could start looking for something that looks like a DLL. We could start looking for something 58 00:05:52,840 --> 00:05:59,440 that looks like cough signatures. Section tables are technically part of the PE header. Then 59 00:05:59,440 --> 00:06:04,860 you've got permissions. You're looking for anything executable that's not already inside of a DLL. 60 00:06:05,080 --> 00:06:13,920 You'd be ‑‑ which shouldn't happen, but some things use it. Java uses it. Flash uses it. But 61 00:06:13,920 --> 00:06:21,740 they're just bad ideas to begin with. Then we've got the predictable layout. And that 62 00:06:21,740 --> 00:06:22,820 predictable layout is speed. It's a little bit more complex. It's a little bit more complex than 63 00:06:22,840 --> 00:06:28,460 speaking of where allocations happen in memory. So first you could build a white list. You could 64 00:06:28,460 --> 00:06:33,600 get a list of all processes, all modules in all processes. And that's essentially your exclusion 65 00:06:33,600 --> 00:06:39,280 list. And if you ‑‑ and then you've got the rest of memory to check out and see if it's in 66 00:06:39,280 --> 00:06:46,980 use, see what permissions it has, see if it has simple headers or structures. Then you can ‑‑ 67 00:06:47,980 --> 00:06:52,820 you could automatically kill anything that you think is reflect injected. You could kill anything 68 00:06:52,820 --> 00:06:55,480 that you think is affected. But that's ‑‑ there's an issue with that. Or if you were to do it 69 00:06:55,480 --> 00:07:01,980 immediately. There's an issue with delay loaded DLLs where if, say, you turn on, like, Windows 70 00:07:01,980 --> 00:07:07,740 media player and you've got this running as hard as it can go, and it scans for loaded DLLs, finds 71 00:07:07,740 --> 00:07:14,480 them, and then Windows media player loads another DLL in that moment in between when you've scanned 72 00:07:14,480 --> 00:07:20,040 for new modules and to build the exclusion list. And when you start checking memory space, you can 73 00:07:20,040 --> 00:07:22,800 accidentally kill applications. So it has to ‑‑ it has to happen. It has to happen. It has to happen. 74 00:07:22,820 --> 00:07:31,620 It has to happen a couple times in a row for that to actually be viable. You've also got ‑‑ so the 75 00:07:31,620 --> 00:07:40,060 things that you need to do this are just virtual query that you can find out a bunch of data about 76 00:07:40,060 --> 00:07:46,720 just about any ‑‑ just about any memory area, just about any process. You can just save all 77 00:07:46,720 --> 00:07:51,980 that. You might need it later. Process of elimination, you're looking to find all your 78 00:07:51,980 --> 00:07:52,800 legitimate pages. You're looking to find all your legitimate pages. You're looking to find all your 79 00:07:52,820 --> 00:07:57,780 legitimate pages. And then eliminate everything that's non ‑‑ eliminate everything that's 80 00:07:57,780 --> 00:08:03,620 legitimate and then pick through from there. There are more criteria that you could use to 81 00:08:03,620 --> 00:08:09,280 eliminate other than just looking for executable sections in case somebody starts toggling 82 00:08:09,280 --> 00:08:17,640 permissions just when they ‑‑ just when they want to go there. So I tend to do things like leave 83 00:08:17,640 --> 00:08:22,800 out mapped memory sections where files are mapped into memory. But, again, it's just a matter of 84 00:08:22,800 --> 00:08:30,480 yes, you could execute from there. So now that you ‑‑ now that you can find out if it's 85 00:08:30,480 --> 00:08:35,600 executable or not, you want to read it and find out if you actually have a PE‑like structure, you 86 00:08:35,600 --> 00:08:43,180 can't validate the entire PE header fast enough to be viable. So you're really just looking for two 87 00:08:43,180 --> 00:08:51,920 letters at the very beginning. And you, in some cases, possibly have to build an exclusion there. So 88 00:08:51,920 --> 00:08:52,780 you're really just looking for two letters at the very beginning. And you, in some cases, possibly 89 00:08:52,780 --> 00:08:53,460 have to build an exclusion there. So you're really just looking for two letters at the very beginning. So 90 00:08:53,460 --> 00:08:57,920 we could ‑‑ if we wanted to validate the entire PE header and possibly additional structures 91 00:08:57,920 --> 00:09:04,920 within the DLL, then we could check the probable allocation space only. And go, hey, you know, if 92 00:09:04,920 --> 00:09:08,440 we request memory be allocated and it's probably going to be in this location, then we can only 93 00:09:08,440 --> 00:09:13,100 check a certain number of allocations previous to that. Or a certain number of pages previous to 94 00:09:13,100 --> 00:09:18,340 that. So now that we've found it, what do we do about it? Well, you could just flip access 95 00:09:18,340 --> 00:09:22,760 permissions so that threads that try to execute there get an access violation. And then you can just 96 00:09:22,760 --> 00:09:27,780 go to the location and die. Could be a very serious problem with false positives if you had a false 97 00:09:27,780 --> 00:09:33,740 positive in some system service, which would be very bad. You could also suspend threads found to 98 00:09:33,740 --> 00:09:37,620 be operating there. But if you wanted to do that, since threads don't have attribution, you'd 99 00:09:37,620 --> 00:09:44,780 have to do ‑‑ it's ‑‑ for just reflect injected DLLs, it's not horribly important to catch 100 00:09:44,780 --> 00:09:52,740 it immediately. If you diverted open socket or socket send, then you could find a way to get it 101 00:09:52,760 --> 00:09:58,800 back and find out what threads are actually touching the network. And that would be important to 102 00:09:58,800 --> 00:10:04,100 know. Because you could back up on the stack and see if that came from your injected DLL. In this 103 00:10:04,100 --> 00:10:13,540 case, a simple example is interpreter. But that's just one example. You could dump it to disk. You 104 00:10:13,540 --> 00:10:19,520 could try and reverse the relocations to get yourself the original usable DLL. You could just 105 00:10:20,180 --> 00:10:22,740 add another DLL to the project. You could try and reverse the relocations to get yourself the original 106 00:10:22,760 --> 00:10:26,080 DLL. You could try toary it into your par ROST processes list and then edit the table of DLLs 107 00:10:26,080 --> 00:10:32,200 manually to, in essence, attach it to the process. So then antivirus begins to see it again. 108 00:10:32,820 --> 00:10:39,200 That's much more viable than just killing ‑‑ just killing things at random because it doesn't 109 00:10:39,200 --> 00:10:44,420 require that you make a judgment call. You just attach ‑‑ attached it to the process and let 110 00:10:44,420 --> 00:10:52,280 other tools do what they already do. All right. So that was pretty easy and not altogether new. 111 00:10:53,540 --> 00:10:58,920 They've been knowing for quite some time that executable space ‑‑ or writable executable 112 00:10:58,920 --> 00:11:07,000 space is a really huge beacon, but that it has false positives in Flash and Java. Just 113 00:11:07,000 --> 00:11:12,060 that nobody said, hey, you know, look in the previous two pages for a PE header and nobody 114 00:11:12,060 --> 00:11:19,060 has fixed the problem yet. So anyway, home user products, they're not attacking it at 115 00:11:19,060 --> 00:11:24,100 all. From the offensive side of things, how could we beat it if they started detecting it? We 116 00:11:24,100 --> 00:11:30,220 could rewrite the PE header, it would be really simple. You could just zero out MZ. You 117 00:11:30,220 --> 00:11:38,120 could load a large DLL into memory and then instead of doing virtual aux and copying the DLL 118 00:11:38,780 --> 00:11:45,980 into the allocated space, you could load some random huge binary and carve it out and just be 119 00:11:45,980 --> 00:11:48,880 inside that. So that would be relatively difficult. 120 00:11:49,420 --> 00:11:56,380 Relatively difficult to catch with signatures. You could change permissions on the page with 121 00:11:56,380 --> 00:12:00,400 the header. You could set it to no access. As long as you don't have to touch it anymore, 122 00:12:00,600 --> 00:12:08,120 you're done. Some tools might change the permissions, check, you know, check, change it to 123 00:12:08,120 --> 00:12:14,260 readable and then change it back when they're done looking at it. But I would think at least 124 00:12:15,140 --> 00:12:19,040 one would fail in that way. So why don't more developers do this? Why don't more developers 125 00:12:19,040 --> 00:12:27,000 open source? The reason I bring this up is because I'm giving the really nascent not production 126 00:12:27,000 --> 00:12:36,080 grade code away, just here, use it, make it better general how I did the thing. And I think 127 00:12:36,080 --> 00:12:42,600 it's because some people, a lot of people build entire product lines on top of open source code 128 00:12:42,600 --> 00:12:49,020 and never donate back to the products. Great examples are open SSH, which I have a 129 00:12:49,040 --> 00:12:56,760 sneaking suspicion is the base for the SSH servers or clients for an incredible number of network 130 00:12:56,760 --> 00:13:03,360 appliances from all types of vendors. And then FFmpeg's wall of shame has been down for quite 131 00:13:03,360 --> 00:13:09,240 some time. But it's still there on internet time machine and it still lists a ton of products. 132 00:13:11,540 --> 00:13:12,980 All right. So the demo. 133 00:13:27,340 --> 00:13:28,360 Oh, come on. 134 00:13:53,180 --> 00:14:00,820 Well, if it would launch properly, everything would be dandy. I'm not a fan of Unity, by the way. 135 00:14:05,620 --> 00:14:19,020 All right. There we go. Start that one. And that one. And that one. And that one. And that one. 136 00:14:19,600 --> 00:14:31,320 Hopefully that's the only time that I upset the demo gods today. So we've got that. And all that's 137 00:14:31,320 --> 00:14:44,900 doing is sitting there listening. Oh, come on. Break across the barrier. There we go. And we've 138 00:14:44,900 --> 00:14:46,860 got the Windows box here. 139 00:14:53,480 --> 00:15:02,300 And you guys can't see the command prompt there at all. All right. There. It's just running. 140 00:15:02,500 --> 00:15:11,920 Like I said, I took out the auto kill because it was having some issues. And we've got a little test 141 00:15:11,920 --> 00:15:19,020 executable right there. And all we want to do is give it a run. And this would be a little test 142 00:15:19,040 --> 00:15:21,460 test. We're just going to have to do that and we're going to be just simulating whatever cause 143 00:15:22,300 --> 00:15:30,660 interpreter stages would go off. And it's finding it. And it could easily kill it. But you can see 144 00:15:30,660 --> 00:15:39,120 that the PIDs match. And that's all there is to that. I previously did really long demos where I 145 00:15:39,120 --> 00:15:43,860 should, you know, killing a process and really looking at things. And I got the impression that 146 00:15:43,860 --> 00:15:49,020 that was a bad thing to do. So there. No long, huge demo. Actually, the thing is, we don't need to 147 00:15:55,140 --> 00:16:16,620 up all the windows. All right. So if you stop worrying about reflect injecting things and 148 00:16:16,620 --> 00:16:22,660 started just because, say, they catch it and you can't find additional ways to fight it 149 00:16:22,660 --> 00:16:28,140 because they just get really, really good at catching it, then you might just want to think 150 00:16:28,140 --> 00:16:35,960 about run time obfuscation of compiled binaries and, yeah, they're going to see the code, but 151 00:16:35,960 --> 00:16:41,500 there's, even if you don't do obfuscation, just not doing anything hinky could, I mean, 152 00:16:41,560 --> 00:16:46,600 means you could get away with it for quite some time. Both sides of the fence. Can you 153 00:16:46,600 --> 00:16:52,640 it be halted or slowed down? Yeah, I suppose it could be slowed down quite easily. Could 154 00:16:52,640 --> 00:16:58,580 it be halted? Probably not. Because there are too many ways that you could, that you can 155 00:16:58,580 --> 00:17:04,900 just try and continually change tricking things. Why isn't it being done? It's kind of 156 00:17:04,900 --> 00:17:10,340 processor intensive to catch quickly. There is some code that I'm giving out that catches 157 00:17:10,340 --> 00:17:16,580 it pretty fast. It is just Python with C types. It's not very heavy. It's not very 158 00:17:16,600 --> 00:17:20,140 fast. You'll want to shim in, nice thing up the processor if you plan on leaving it running in 159 00:17:20,140 --> 00:17:24,660 the background because it doesn't have any processor control at all. It's not pretty, but it 160 00:17:24,660 --> 00:17:29,980 works. Only works, only, I only tested it on x86. There are issues that can happen with x64 161 00:17:30,420 --> 00:17:35,420 because the way you query memory changes and some of the results you get can change. It 162 00:17:35,420 --> 00:17:40,060 doesn't have, doesn't have a lot of features. I did have auto kill and setting prejudice 163 00:17:40,060 --> 00:17:46,340 levels so that you could try and suspend threads and whatnot. But that, that became trouble 164 00:17:46,600 --> 00:17:56,040 some and I didn't want to have to field bugs on, well, suspend broke my system. I have a C port 165 00:17:56,040 --> 00:18:03,800 but it's much slower because I used lists instead of maps. The other code that I'm just giving 166 00:18:03,800 --> 00:18:11,100 away is an encoder thing that I put together a while ago in, for obfuscating C binaries. I had a 167 00:18:11,100 --> 00:18:16,580 bunch of people want a copy of it so I'm giving it away. I had to strip out some things. But I'm 168 00:18:16,600 --> 00:18:25,140 here. Fine. I couldn't really in good conscience put a fully weaponized thing out there so I did 169 00:18:25,140 --> 00:18:29,880 strip out some of the lists that it needs to operate so you just have to populate those lists 170 00:18:29,880 --> 00:18:34,800 with assembly structures you're choosing. What else am I working on? Some interesting 171 00:18:34,800 --> 00:18:41,280 things. There's some Python obfuscation stuff going on where you're taking PYCs and actually 172 00:18:41,280 --> 00:18:46,580 doing obfuscation on PYCs which is, which is fun. And not hard to do. So I'm going to show you 173 00:18:46,600 --> 00:18:49,400 something that's arguably unexpected since it's default installed in everything but Windows at 174 00:18:49,400 --> 00:18:58,860 this point. And there's some guys in the audience that deserve a thank you for turning me on to 175 00:18:58,860 --> 00:19:05,660 the obfuscating Python thing. And helping me out, trying to grill me on some of the stuff so I 176 00:19:05,660 --> 00:19:16,580 could be ready for questions. And questions, yes, I'll, yes, I'll be around. We're doing a lot of 177 00:19:16,600 --> 00:19:24,260 work. We've got the Q&A room and evidently I didn't ramble on quite as much as I thought I was 178 00:19:24,260 --> 00:19:32,000 going to. All right. So we can take questions here if anybody has questions or they want to 179 00:19:32,000 --> 00:19:36,520 complain about my approach or they want to ask when does it fail because I can think of random 180 00:19:36,520 --> 00:19:46,360 cases where it would fail. There's some things you can do with dot net that would cause it to 181 00:19:47,340 --> 00:20:03,600 have problems with loading DLLs. All right. No questions. I'm sorry? Oh, all right, yeah, I 182 00:20:03,600 --> 00:20:14,960 couldn't do that. Have I done any 64 mitigation? That's a good one. It does run on x64. There are 183 00:20:14,960 --> 00:20:16,580 a couple of specific cases. I'm not sure. I'll be here, though. But there are a couple of specific 184 00:20:17,840 --> 00:20:26,540 reasons that it can fail. And it has to do with when you load 32-bit DLLs into a 64-bit 185 00:20:26,540 --> 00:20:44,480 process, then some things can come off the rails. And where is my pointer? All right. I just 186 00:20:44,480 --> 00:20:47,100 had an epic fail, guys. Horribly sorry about that. 187 00:21:11,440 --> 00:21:11,980 Oh. 188 00:21:12,900 --> 00:21:13,880 Turn that off. 189 00:21:14,480 --> 00:21:26,100 I can step through the code, but that's horribly ‑‑ that's just not good. I'm not sure 190 00:21:26,100 --> 00:21:33,140 what to do at this point. When I was doing this in the ‑‑ at home, I must have rambled on 191 00:21:33,140 --> 00:21:40,900 quite a bit. And here I'm talking quite quickly. What do you want me to do? 192 00:21:49,100 --> 00:21:57,780 All right. Well, that's essentially all the demo I have with the code that I'm giving out here. 193 00:21:57,940 --> 00:22:02,980 I've ‑‑ the other code is on a desktop that does the auto kill and all that. 194 00:22:06,040 --> 00:22:07,080 All right. 195 00:22:07,800 --> 00:22:10,040 Not necessarily about the particular product, which is awesome. 196 00:22:10,040 --> 00:22:11,260 Thank you for talking about it. 197 00:22:13,100 --> 00:22:18,560 But we're kind of curious on one of the notes that you pointed out as far as the devs and the vendors being 198 00:22:18,560 --> 00:22:21,000 extremely lazy. I mean, just in general. 199 00:22:21,200 --> 00:22:25,200 I don't know if you are very lazy that you want to do as little as possible just to turn off the features 200 00:22:25,200 --> 00:22:25,720 at any time. 201 00:22:25,920 --> 00:22:26,160 Yes. 202 00:22:26,360 --> 00:22:31,760 But as a screen engineer, what would you say, not like a top three, if you will, or a couple options 203 00:22:31,760 --> 00:22:39,380 that you would say every dev team should do this early in the cycle, or whatever it might be, to not be as lazy as you are? 204 00:22:40,040 --> 00:22:41,100 I would ‑‑ 205 00:22:42,520 --> 00:22:43,380 Oh, yes. 206 00:22:44,920 --> 00:22:55,040 In order to get past the developers are lazy period component, what could we do early in the dev cycle to get past that? 207 00:22:56,400 --> 00:22:59,140 And constantly through the dev cycle to get past that. 208 00:22:59,340 --> 00:23:07,840 And that would be stuff like if you actually use a UML modeling tool to say these are the features we want and this is how we're going to break them up. 209 00:23:08,660 --> 00:23:10,020 And it leads to something. 210 00:23:10,040 --> 00:23:12,600 It leads to objective pretty code as opposed to procedural code. 211 00:23:13,000 --> 00:23:21,900 And instead of banging out a feature and then going back and making it object oriented and moving things around to fit what you want them to later, 212 00:23:22,140 --> 00:23:30,440 if you start with a top down problem solving approach, then you can break it up and just not implement chunks of ‑‑ 213 00:23:30,440 --> 00:23:33,940 or chunks or modules until you get around to needing that particular feature. 214 00:23:34,320 --> 00:23:39,740 But it's difficult because you expect ‑‑ you expect to have ‑‑ 215 00:23:40,040 --> 00:23:43,220 a feature for another feature. 216 00:23:43,400 --> 00:23:50,200 Or if you're planning ahead, you need to plan how you're going to access all your features all the time ahead of time. 217 00:23:50,340 --> 00:23:51,020 Which is difficult. 218 00:23:52,620 --> 00:24:00,860 Does that ‑‑ essentially what I was trying to get across was top down problem solving with modular solutions. 219 00:24:01,240 --> 00:24:03,460 And UML helps with that a lot. 220 00:24:04,540 --> 00:24:06,600 Do you have any ‑‑ thank you. 221 00:24:06,680 --> 00:24:09,040 The difference is kind of ‑‑ do you have any suggestions? 222 00:24:10,040 --> 00:24:14,520 Any suggestions around in a dev team, not to run out of pain for everybody, 223 00:24:14,700 --> 00:24:18,620 but in a dev team you have, you know, the given dev cycle and the QA cycle that are kind of meshed together. 224 00:24:18,880 --> 00:24:21,980 Is there anything that you could do on the QA side? 225 00:24:22,540 --> 00:24:26,560 Because a lot of times what we do now or end up doing is kind of basic schemes, 226 00:24:26,640 --> 00:24:29,600 kind of the normal stuff that we look at. 227 00:24:30,340 --> 00:24:34,300 A lot of times it's just tossed over the wall to the security side to say, hey, make sure this doesn't suck. 228 00:24:34,840 --> 00:24:38,260 Is there something that could be done even in the QA sector or the testing sector, 229 00:24:38,260 --> 00:24:41,420 outside of just, you know, pen testing or just maybe some high‑level things, 230 00:24:41,480 --> 00:24:43,700 like, yeah, these are really cool things to do at that time? 231 00:24:44,740 --> 00:24:53,360 Well, as far as ‑‑ the question was during ‑‑ that I responded to the question about what things you can do 232 00:24:53,360 --> 00:24:54,420 during the dev side of the cycle. 233 00:24:54,540 --> 00:25:01,060 But what things can you do on the QA side of the cycle to try and make sure something doesn't suck as things progress. 234 00:25:01,820 --> 00:25:06,980 And on the QA side, it's the test early and test often. 235 00:25:06,980 --> 00:25:16,740 And test in under the kind of ‑‑ under the kind of ‑‑ under the kind of stress that it's going to be ‑‑ 236 00:25:16,740 --> 00:25:18,600 that it's going to be operating under. 237 00:25:19,840 --> 00:25:25,700 Because if you've got some ‑‑ if you've got some network appliance that's running some software 238 00:25:25,700 --> 00:25:31,760 and it runs just fine on your test cycle because you only run ‑‑ you only run 5% of its maximum backplane, 239 00:25:31,900 --> 00:25:35,900 then when you, you know, when you max out the backplane, what happens? 240 00:25:35,900 --> 00:25:37,960 And that could really mess with features. 241 00:25:38,760 --> 00:25:46,240 The other part of it is the ‑‑ that if you can break your testing down into individual features, 242 00:25:46,460 --> 00:25:52,300 that's nice, but you can't always break down testing into individual features 243 00:25:52,300 --> 00:25:58,360 because a bug could depend on one feature being activated and another feature happening at the same time. 244 00:25:58,720 --> 00:26:02,380 So that's ‑‑ test‑driven design is good. 245 00:26:02,560 --> 00:26:05,880 But test‑driven design goes nowhere to catching that problem. 246 00:26:05,900 --> 00:26:06,340 That's a particular issue. 247 00:26:07,860 --> 00:26:10,500 Does that essentially address what you were asking on that one? 248 00:26:10,740 --> 00:26:11,220 Thank you. 249 00:26:11,320 --> 00:26:11,940 Thank you. 250 00:26:15,100 --> 00:26:16,660 Well, thanks for having me.