1 00:00:00,480 --> 00:00:02,659 foreign 2 00:00:03,030 --> 00:00:07,209 [Music] 3 00:00:08,840 --> 00:00:10,800 thanks everyone 4 00:00:10,800 --> 00:00:12,840 um if at any point you can't hear me 5 00:00:12,840 --> 00:00:14,580 very well just like wave your hands at 6 00:00:14,580 --> 00:00:16,320 me and I'll come closer to the mic I 7 00:00:16,320 --> 00:00:18,119 know it's a little loud uh but hey 8 00:00:18,119 --> 00:00:20,580 absaic Village welcome to my talk one 9 00:00:20,580 --> 00:00:22,619 low to informational why your pen test 10 00:00:22,619 --> 00:00:25,980 findings are so boring 11 00:00:25,980 --> 00:00:28,140 I'm Robin Lundin I'm currently a product 12 00:00:28,140 --> 00:00:31,080 security engineer at slack before that I 13 00:00:31,080 --> 00:00:34,320 was a penetration tester for NCC group 14 00:00:34,320 --> 00:00:36,840 and then I also spent a brief stint as a 15 00:00:36,840 --> 00:00:38,520 Django developer for a very small 16 00:00:38,520 --> 00:00:40,440 startup that actually no longer exists 17 00:00:40,440 --> 00:00:42,600 but they had really good ideas and 18 00:00:42,600 --> 00:00:45,260 startups are hard 19 00:00:45,540 --> 00:00:47,579 so I know we're at Defcon 20 00:00:47,579 --> 00:00:48,960 um but I figured I would introduce the 21 00:00:48,960 --> 00:00:50,520 process of penetration testing for 22 00:00:50,520 --> 00:00:53,219 anyone that's uninitiated uh today we're 23 00:00:53,219 --> 00:00:54,239 going to be talking mostly about 24 00:00:54,239 --> 00:00:56,520 penetration test planning from an absec 25 00:00:56,520 --> 00:00:57,960 perspective 26 00:00:57,960 --> 00:01:00,420 and the tldr of it is that a company 27 00:01:00,420 --> 00:01:02,280 will hire hackers to test their 28 00:01:02,280 --> 00:01:05,700 application for security issues 29 00:01:05,700 --> 00:01:07,080 today we're primarily going to be 30 00:01:07,080 --> 00:01:09,119 focusing on hiring external Consultants 31 00:01:09,119 --> 00:01:11,820 rather than doing internal pen tests and 32 00:01:11,820 --> 00:01:13,619 we're also going to be focusing on just 33 00:01:13,619 --> 00:01:15,840 application pen tests not Network pen 34 00:01:15,840 --> 00:01:18,240 tests not red team so sorry if you're a 35 00:01:18,240 --> 00:01:19,619 red team or out there this one's not 36 00:01:19,619 --> 00:01:22,220 about you today 37 00:01:22,320 --> 00:01:24,600 uh so well some companies hire 38 00:01:24,600 --> 00:01:26,460 penetration testers with a genuine 39 00:01:26,460 --> 00:01:28,560 curiosity about their applications 40 00:01:28,560 --> 00:01:31,140 attack surface others might just need to 41 00:01:31,140 --> 00:01:33,060 stay compliant with an alphabet soup of 42 00:01:33,060 --> 00:01:35,759 compliance Frameworks and um with that 43 00:01:35,759 --> 00:01:37,140 they might not take that process very 44 00:01:37,140 --> 00:01:39,420 seriously 45 00:01:39,420 --> 00:01:41,400 but either way penetrized and tests are 46 00:01:41,400 --> 00:01:43,439 pretty darn expensive so even if you're 47 00:01:43,439 --> 00:01:45,659 just trying to stay compliant it's worth 48 00:01:45,659 --> 00:01:47,220 your time to try to get some value out 49 00:01:47,220 --> 00:01:48,840 of it 50 00:01:48,840 --> 00:01:50,759 and the value of a well done penetration 51 00:01:50,759 --> 00:01:53,280 test is to find and fix vulnerabilities 52 00:01:53,280 --> 00:01:56,579 before the baddies can exploit them 53 00:01:56,579 --> 00:01:58,979 but a poorly done penetration test can 54 00:01:58,979 --> 00:02:01,560 be worse than no pen test at all because 55 00:02:01,560 --> 00:02:03,000 it's going to provide you with this 56 00:02:03,000 --> 00:02:05,100 false sense of assurance in the security 57 00:02:05,100 --> 00:02:08,000 of your application 58 00:02:09,179 --> 00:02:11,220 so why am I up here 59 00:02:11,220 --> 00:02:13,200 now because I've spent some time as a 60 00:02:13,200 --> 00:02:15,239 developer or penetration tester and on a 61 00:02:15,239 --> 00:02:16,920 product security team I've got a bit of 62 00:02:16,920 --> 00:02:18,840 a unique perspective when it comes to 63 00:02:18,840 --> 00:02:21,300 pen tests that allows me to empathize a 64 00:02:21,300 --> 00:02:22,860 little bit with most of the different 65 00:02:22,860 --> 00:02:25,080 parties that will be involved in a 66 00:02:25,080 --> 00:02:27,480 standard web app pin test 67 00:02:27,480 --> 00:02:29,160 the intended audience today is going to 68 00:02:29,160 --> 00:02:31,379 be abstract teams but hopefully everyone 69 00:02:31,379 --> 00:02:32,760 in the audience is going to learn 70 00:02:32,760 --> 00:02:34,800 something and I hope all you pen testers 71 00:02:34,800 --> 00:02:37,160 out there feel seen 72 00:02:37,160 --> 00:02:39,360 so yes penetration tests are very 73 00:02:39,360 --> 00:02:40,620 expensive 74 00:02:40,620 --> 00:02:42,660 and when I say expensive we're talking 75 00:02:42,660 --> 00:02:44,760 in the tens of thousands and sometimes 76 00:02:44,760 --> 00:02:46,019 even in the hundreds of thousands 77 00:02:46,019 --> 00:02:47,760 depending on how big your application is 78 00:02:47,760 --> 00:02:50,340 and how much of it you want covered 79 00:02:50,340 --> 00:02:52,319 so when we make mistakes in our pen test 80 00:02:52,319 --> 00:02:55,080 planning they can be extremely costly in 81 00:02:55,080 --> 00:02:56,940 time and money 82 00:02:56,940 --> 00:02:58,200 and let's talk a little bit about the 83 00:02:58,200 --> 00:02:59,760 title of this talk 84 00:02:59,760 --> 00:03:02,700 one low to informational what exactly 85 00:03:02,700 --> 00:03:04,560 does that mean 86 00:03:04,560 --> 00:03:06,360 so frequently penetration test will 87 00:03:06,360 --> 00:03:09,900 yield very few and very low impact kind 88 00:03:09,900 --> 00:03:11,700 of meaningless findings 89 00:03:11,700 --> 00:03:13,739 and if your pen test report only has one 90 00:03:13,739 --> 00:03:15,239 low risk finding and two informational 91 00:03:15,239 --> 00:03:16,560 findings 92 00:03:16,560 --> 00:03:18,060 your team might think they're doing a 93 00:03:18,060 --> 00:03:19,379 really great job at securing their 94 00:03:19,379 --> 00:03:21,360 application like yeah we won the game 95 00:03:21,360 --> 00:03:23,280 we're ready to ship it there are no 96 00:03:23,280 --> 00:03:26,220 security bugs in this app 97 00:03:26,220 --> 00:03:27,900 now that might not necessarily be the 98 00:03:27,900 --> 00:03:29,099 case 99 00:03:29,099 --> 00:03:32,780 you might just be a shitty planner 100 00:03:33,540 --> 00:03:35,459 so before I jump into talking about 101 00:03:35,459 --> 00:03:36,780 common mistakes you make during 102 00:03:36,780 --> 00:03:38,340 penetration test planning though I'd 103 00:03:38,340 --> 00:03:41,340 like to take a quick detour 104 00:03:41,340 --> 00:03:44,840 let's talk about event planning 105 00:03:45,420 --> 00:03:47,400 now let's say you're trying to plan plan 106 00:03:47,400 --> 00:03:49,739 a super fancy event 107 00:03:49,739 --> 00:03:51,720 it's going to be a black tie gala where 108 00:03:51,720 --> 00:03:53,580 every guest is paying 10 grand for a 109 00:03:53,580 --> 00:03:55,080 ticket 110 00:03:55,080 --> 00:03:56,700 and you decide you're going to hire a 111 00:03:56,700 --> 00:03:58,560 wait staff to create a fancy environment 112 00:03:58,560 --> 00:04:00,659 for your fancy invent 113 00:04:00,659 --> 00:04:02,280 you're expecting that your servers are 114 00:04:02,280 --> 00:04:04,080 going to be able to describe in detail 115 00:04:04,080 --> 00:04:06,959 what foie gras tastes like what wine 116 00:04:06,959 --> 00:04:08,879 pairs best with a filet mignon with 117 00:04:08,879 --> 00:04:11,939 classic French bordele sauce what forks 118 00:04:11,939 --> 00:04:13,860 go with your oyster platter 119 00:04:13,860 --> 00:04:16,819 is anyone hungry 120 00:04:17,279 --> 00:04:19,260 so 121 00:04:19,260 --> 00:04:20,820 you start looking for the service to 122 00:04:20,820 --> 00:04:22,500 staff your event and you find a few 123 00:04:22,500 --> 00:04:24,060 people who work at a diner down the 124 00:04:24,060 --> 00:04:26,220 street that dinar serves exclusively 125 00:04:26,220 --> 00:04:28,680 dishes that are made out of spam 126 00:04:28,680 --> 00:04:30,240 these servers will work for a super 127 00:04:30,240 --> 00:04:32,280 cheap and they seem nice enough 128 00:04:32,280 --> 00:04:34,500 so you're saving a ton of money 129 00:04:34,500 --> 00:04:36,120 and then the nice lady on the slide 130 00:04:36,120 --> 00:04:38,040 promises that the servers are going to 131 00:04:38,040 --> 00:04:39,660 deliver exactly the results that you 132 00:04:39,660 --> 00:04:40,800 expect 133 00:04:40,800 --> 00:04:42,720 and uh yeah they're going to meet your 134 00:04:42,720 --> 00:04:44,460 expectations 135 00:04:44,460 --> 00:04:45,720 now there's nothing wrong with this 136 00:04:45,720 --> 00:04:47,580 Diner if you want spam and eggs they've 137 00:04:47,580 --> 00:04:49,020 got your back 138 00:04:49,020 --> 00:04:50,940 but it's probably a stretch to think 139 00:04:50,940 --> 00:04:52,080 that the servers that work there 140 00:04:52,080 --> 00:04:55,099 understand fine dining 141 00:04:56,340 --> 00:04:58,740 okay so the scenario I've outlined on 142 00:04:58,740 --> 00:05:01,620 this slide is obviously a recipe for 143 00:05:01,620 --> 00:05:02,940 disaster 144 00:05:02,940 --> 00:05:06,300 get 700 guests three servers you're 145 00:05:06,300 --> 00:05:08,040 serving a 10 course meal with wine 146 00:05:08,040 --> 00:05:10,740 pairings and your expectation is that 147 00:05:10,740 --> 00:05:12,120 this is going to get done within 15 148 00:05:12,120 --> 00:05:13,860 minutes 149 00:05:13,860 --> 00:05:15,360 our expectations here are physically 150 00:05:15,360 --> 00:05:16,919 impossible 151 00:05:16,919 --> 00:05:18,300 and worse yet the company that 152 00:05:18,300 --> 00:05:20,880 contracted you the servers they might 153 00:05:20,880 --> 00:05:22,680 not understand in advance that this just 154 00:05:22,680 --> 00:05:25,340 isn't going to work 155 00:05:27,060 --> 00:05:29,880 I hope you guys like Monty Python 156 00:05:29,880 --> 00:05:31,560 otherwise you're really gonna like the 157 00:05:31,560 --> 00:05:33,360 just like the rest of these slides but 158 00:05:33,360 --> 00:05:36,060 here we are uh let's talk about what's 159 00:05:36,060 --> 00:05:38,639 going on here we haven't told these 160 00:05:38,639 --> 00:05:40,320 staff that we hired to serve our event 161 00:05:40,320 --> 00:05:43,740 any details about what their job is 162 00:05:43,740 --> 00:05:45,240 we haven't told them what they're 163 00:05:45,240 --> 00:05:46,860 supposed to serve the guests or what 164 00:05:46,860 --> 00:05:48,300 they should wear 165 00:05:48,300 --> 00:05:49,860 actually we haven't even told them who 166 00:05:49,860 --> 00:05:51,900 our guests are we haven't then told them 167 00:05:51,900 --> 00:05:55,199 about the boundaries of our event 168 00:05:55,199 --> 00:05:57,960 and we also sold a bunch of VIP tickets 169 00:05:57,960 --> 00:05:59,400 and we told our extra important guests 170 00:05:59,400 --> 00:06:00,660 that they were going to get special 171 00:06:00,660 --> 00:06:03,720 attention from our servers 172 00:06:03,720 --> 00:06:05,940 so now what happens is your service show 173 00:06:05,940 --> 00:06:08,039 up they're wearing silly French made 174 00:06:08,039 --> 00:06:10,020 costumes and they are serving Albatross 175 00:06:10,020 --> 00:06:11,220 because you didn't tell them you wanted 176 00:06:11,220 --> 00:06:13,020 fancy food 177 00:06:13,020 --> 00:06:15,960 and they go outside of your event they 178 00:06:15,960 --> 00:06:18,120 go to the hotel next door and they start 179 00:06:18,120 --> 00:06:21,060 serving people that aren't even guests 180 00:06:21,060 --> 00:06:23,580 of your Venue your VIP I guess are going 181 00:06:23,580 --> 00:06:26,120 to go hungry 182 00:06:27,539 --> 00:06:30,240 by now we know that we are really really 183 00:06:30,240 --> 00:06:33,180 bad at party planning 184 00:06:33,180 --> 00:06:34,979 we didn't make any food 185 00:06:34,979 --> 00:06:36,479 we didn't give the servers any serving 186 00:06:36,479 --> 00:06:39,120 trays we didn't buy booze we didn't hire 187 00:06:39,120 --> 00:06:42,060 entertainment so now we're serving our 188 00:06:42,060 --> 00:06:44,280 VIP guest classes of water 189 00:06:44,280 --> 00:06:46,020 and charging them ten thousand dollars a 190 00:06:46,020 --> 00:06:48,198 ticket 191 00:06:49,259 --> 00:06:51,419 actually we completely forgot that we 192 00:06:51,419 --> 00:06:54,620 were hosting an event altogether 193 00:06:55,620 --> 00:06:57,240 we didn't let the servers or the 194 00:06:57,240 --> 00:06:59,100 Caterers into our venue we completely 195 00:06:59,100 --> 00:07:00,900 locked them out 196 00:07:00,900 --> 00:07:02,280 we didn't even tell the event staff 197 00:07:02,280 --> 00:07:04,020 where the party was 198 00:07:04,020 --> 00:07:06,479 and they tried calling us they tried 199 00:07:06,479 --> 00:07:08,340 calling us 17 times 200 00:07:08,340 --> 00:07:11,599 but we didn't pick up the phone 201 00:07:12,120 --> 00:07:13,860 now of course because we've proven 202 00:07:13,860 --> 00:07:15,419 ourselves to be total garbage at party 203 00:07:15,419 --> 00:07:19,139 planning we didn't think through cleanup 204 00:07:19,139 --> 00:07:21,419 we left behind an absolute disaster and 205 00:07:21,419 --> 00:07:22,800 we just assumed someone's going to clean 206 00:07:22,800 --> 00:07:25,860 this mess up eventually right 207 00:07:25,860 --> 00:07:27,960 we figured that hiring a cleaning crew 208 00:07:27,960 --> 00:07:29,699 was probably going to be really 209 00:07:29,699 --> 00:07:32,819 expensive so we didn't bother 210 00:07:32,819 --> 00:07:35,460 but now we're probably going to get a 211 00:07:35,460 --> 00:07:37,620 massive bill from the event venue for 212 00:07:37,620 --> 00:07:40,440 cleanup that costs more than it would 213 00:07:40,440 --> 00:07:42,599 have cost for us to hire a cleaning crew 214 00:07:42,599 --> 00:07:45,080 in the first place 215 00:07:45,360 --> 00:07:47,220 I'm going to take a sip of water while 216 00:07:47,220 --> 00:07:50,479 we think about what we've done 217 00:07:54,240 --> 00:07:55,860 so what mistakes did we make today 218 00:07:55,860 --> 00:07:57,599 during our party planning and how does 219 00:07:57,599 --> 00:07:59,819 it relate to a penetration test 220 00:07:59,819 --> 00:08:02,099 if you've ever run or conducted a 221 00:08:02,099 --> 00:08:03,479 penetration test you might have an idea 222 00:08:03,479 --> 00:08:06,859 of wearing where I'm going with this 223 00:08:07,199 --> 00:08:09,000 so what was our first mistake 224 00:08:09,000 --> 00:08:11,220 we hired the wrong people 225 00:08:11,220 --> 00:08:12,900 in our event planning scenario we set 226 00:08:12,900 --> 00:08:15,060 had a set of expectations that involved 227 00:08:15,060 --> 00:08:16,560 servers who are well versed in fine 228 00:08:16,560 --> 00:08:18,180 dining and then we proceeded to hire 229 00:08:18,180 --> 00:08:20,340 servers that work in a diner with 230 00:08:20,340 --> 00:08:22,740 somewhat questionable food 231 00:08:22,740 --> 00:08:24,240 companies will often do something 232 00:08:24,240 --> 00:08:26,819 similar when hiring pen test Consultants 233 00:08:26,819 --> 00:08:28,560 for example they'll hire Consultants 234 00:08:28,560 --> 00:08:31,560 without asking their area of expertise 235 00:08:31,560 --> 00:08:33,659 if you hire a company that does NASA 236 00:08:33,659 --> 00:08:35,580 scans to complete a manual application 237 00:08:35,580 --> 00:08:38,279 pen test with a code review your results 238 00:08:38,279 --> 00:08:39,659 are probably not going to be what you 239 00:08:39,659 --> 00:08:41,520 expect 240 00:08:41,520 --> 00:08:43,260 you might choose a vendor solely based 241 00:08:43,260 --> 00:08:44,880 on money 242 00:08:44,880 --> 00:08:46,500 you could choose a consultancy before 243 00:08:46,500 --> 00:08:48,959 having any idea of what you want to get 244 00:08:48,959 --> 00:08:51,000 out of the process 245 00:08:51,000 --> 00:08:52,920 or you might pick a consultancy just 246 00:08:52,920 --> 00:08:54,600 based on name recognition without really 247 00:08:54,600 --> 00:08:57,420 doing a whole lot of research 248 00:08:57,420 --> 00:08:59,279 companies might make this mistake do it 249 00:08:59,279 --> 00:09:00,720 a lack of understanding of the pen test 250 00:09:00,720 --> 00:09:03,240 process or it could just be for saving 251 00:09:03,240 --> 00:09:05,160 time and money now just because you've 252 00:09:05,160 --> 00:09:07,260 heard of a consultancy does not mean 253 00:09:07,260 --> 00:09:08,820 that they do the kind of work that you 254 00:09:08,820 --> 00:09:09,959 need 255 00:09:09,959 --> 00:09:12,060 just because consultancy is cheap and 256 00:09:12,060 --> 00:09:13,560 guarantees that they are going to finish 257 00:09:13,560 --> 00:09:16,019 your pen test within say three days 258 00:09:16,019 --> 00:09:17,880 doesn't mean you're actually saving time 259 00:09:17,880 --> 00:09:19,680 and money 260 00:09:19,680 --> 00:09:21,899 now saving time and money is great 261 00:09:21,899 --> 00:09:23,820 but the savings that you get up front 262 00:09:23,820 --> 00:09:27,000 May cost you time and money in bug value 263 00:09:27,000 --> 00:09:30,660 bug Bounty payouts security incidents 264 00:09:30,660 --> 00:09:32,700 and undiscovered bugs that are left in 265 00:09:32,700 --> 00:09:33,720 the wild 266 00:09:33,720 --> 00:09:36,060 your biggest cost might not even might 267 00:09:36,060 --> 00:09:38,820 not even be apparent to you until you're 268 00:09:38,820 --> 00:09:41,700 on the front page of Hacker News and all 269 00:09:41,700 --> 00:09:45,200 your customers are fleeing 270 00:09:45,839 --> 00:09:47,399 so what's your fix we hire the right 271 00:09:47,399 --> 00:09:48,720 people 272 00:09:48,720 --> 00:09:50,339 that sounds obvious but it's not always 273 00:09:50,339 --> 00:09:51,660 easy 274 00:09:51,660 --> 00:09:52,980 so assuming that you need to hire 275 00:09:52,980 --> 00:09:54,779 someone external for compliance reasons 276 00:09:54,779 --> 00:09:56,160 or other reasons let's talk about what 277 00:09:56,160 --> 00:09:58,080 you should consider when hiring an 278 00:09:58,080 --> 00:09:59,760 external consultancy to complete a pen 279 00:09:59,760 --> 00:10:01,080 test 280 00:10:01,080 --> 00:10:02,880 it's easy to assume that because the 281 00:10:02,880 --> 00:10:04,800 consultancy is well done that they're 282 00:10:04,800 --> 00:10:06,480 going to do a good job in your specific 283 00:10:06,480 --> 00:10:08,940 application but it can be a dangerous 284 00:10:08,940 --> 00:10:10,680 assumption to make 285 00:10:10,680 --> 00:10:12,720 the large companies have a wide variety 286 00:10:12,720 --> 00:10:14,220 of Consultants with many different 287 00:10:14,220 --> 00:10:16,320 Specialties so they might have exactly 288 00:10:16,320 --> 00:10:17,760 what you need 289 00:10:17,760 --> 00:10:19,680 but small boutique firms are also worth 290 00:10:19,680 --> 00:10:21,959 your time because they often specialize 291 00:10:21,959 --> 00:10:26,100 in one specific area of expertise 292 00:10:26,100 --> 00:10:27,480 so maybe they're really great at mobile 293 00:10:27,480 --> 00:10:28,920 security maybe they're really great 294 00:10:28,920 --> 00:10:31,260 Cloud security or in Slack's case we 295 00:10:31,260 --> 00:10:33,240 recently hired a consultancy that was 296 00:10:33,240 --> 00:10:35,220 really really great electron apps and 297 00:10:35,220 --> 00:10:37,740 that worked out well for us 298 00:10:37,740 --> 00:10:39,360 before you have your initial call with 299 00:10:39,360 --> 00:10:40,980 the sales people and the Consultants at 300 00:10:40,980 --> 00:10:42,480 that company make sure that you're very 301 00:10:42,480 --> 00:10:45,360 clear on what you're testing and what 302 00:10:45,360 --> 00:10:48,180 results that you expect from the test 303 00:10:48,180 --> 00:10:50,579 so keep track of what language and 304 00:10:50,579 --> 00:10:52,440 framework you're using 305 00:10:52,440 --> 00:10:54,540 about how many apis you want to be 306 00:10:54,540 --> 00:10:57,000 covered what kinds of bugs do you care 307 00:10:57,000 --> 00:10:57,959 about 308 00:10:57,959 --> 00:10:59,579 what kinds of bugs are you less 309 00:10:59,579 --> 00:11:01,200 concerned about 310 00:11:01,200 --> 00:11:03,180 and what's your preferred methodology so 311 00:11:03,180 --> 00:11:04,560 you might want a black box test where 312 00:11:04,560 --> 00:11:06,300 you don't provide the testers with any 313 00:11:06,300 --> 00:11:08,579 code but you do provide them with you 314 00:11:08,579 --> 00:11:10,260 know the Target that they're supposed to 315 00:11:10,260 --> 00:11:12,360 be looking at you might want a gray box 316 00:11:12,360 --> 00:11:14,700 test where you do give the code and you 317 00:11:14,700 --> 00:11:15,899 give the environment that you would like 318 00:11:15,899 --> 00:11:17,220 them to Target but you're not expecting 319 00:11:17,220 --> 00:11:19,320 full code review or you might want a 320 00:11:19,320 --> 00:11:20,880 white box test where you get some manual 321 00:11:20,880 --> 00:11:23,160 testing and also full code review 322 00:11:23,160 --> 00:11:24,660 or at the end of the day maybe you do 323 00:11:24,660 --> 00:11:26,040 just want an essay skin and that's fine 324 00:11:26,040 --> 00:11:28,200 too 325 00:11:28,200 --> 00:11:29,880 apart from your technical considerations 326 00:11:29,880 --> 00:11:31,800 it's also important to get a read on the 327 00:11:31,800 --> 00:11:34,380 company's level of professionalism 328 00:11:34,380 --> 00:11:36,000 how do the Consultants come across 329 00:11:36,000 --> 00:11:38,100 during your scoping calls 330 00:11:38,100 --> 00:11:40,980 are they patient and are they curious or 331 00:11:40,980 --> 00:11:42,779 have they been kind of rude and cocky 332 00:11:42,779 --> 00:11:44,820 and judgmental 333 00:11:44,820 --> 00:11:46,380 you probably don't want your Dev team 334 00:11:46,380 --> 00:11:49,880 crying during your readouts 335 00:11:50,220 --> 00:11:52,140 and you can also ask for sample reports 336 00:11:52,140 --> 00:11:53,519 from these companies that you're hiring 337 00:11:53,519 --> 00:11:56,040 they can be very informative 338 00:11:56,040 --> 00:11:57,720 pay attention to the wording in their 339 00:11:57,720 --> 00:11:59,880 sample reports and see if there's 340 00:11:59,880 --> 00:12:02,160 detailed remediation Guidance Do you 341 00:12:02,160 --> 00:12:04,500 understand that remediation guidance 342 00:12:04,500 --> 00:12:07,560 is there freezing professional or is it 343 00:12:07,560 --> 00:12:09,120 maybe confrontational a little bit 344 00:12:09,120 --> 00:12:10,860 hostile 345 00:12:10,860 --> 00:12:12,720 unprofessional reports can cause a lot 346 00:12:12,720 --> 00:12:14,339 of friction between abstract teams and 347 00:12:14,339 --> 00:12:17,600 Dev teams and we don't like that 348 00:12:18,540 --> 00:12:21,300 okay so what was our second mistake that 349 00:12:21,300 --> 00:12:23,579 we made during party planning 350 00:12:23,579 --> 00:12:26,820 we had some unrealistic expectations 351 00:12:26,820 --> 00:12:28,920 we know that there's absolutely no way 352 00:12:28,920 --> 00:12:30,420 that three people are going to serve a 353 00:12:30,420 --> 00:12:32,880 10 course meal to 700 people in 15 354 00:12:32,880 --> 00:12:34,740 minutes 355 00:12:34,740 --> 00:12:37,260 so why do we keep making pen testers 356 00:12:37,260 --> 00:12:39,720 cover huge attack surfaces with an 357 00:12:39,720 --> 00:12:42,000 unreasonable time frames 358 00:12:42,000 --> 00:12:44,220 let's say we've got 700 API endpoints 359 00:12:44,220 --> 00:12:46,320 we've got three Consultants we want full 360 00:12:46,320 --> 00:12:49,320 manual testing for the OS top 10 on all 361 00:12:49,320 --> 00:12:52,700 of those endpoints within a week 362 00:12:53,399 --> 00:12:54,660 I think that's reasonable and I don't 363 00:12:54,660 --> 00:12:56,040 think that's going to happen but show of 364 00:12:56,040 --> 00:12:58,320 hands who here that maybe is pen tested 365 00:12:58,320 --> 00:12:59,820 or done security Assessments in the past 366 00:12:59,820 --> 00:13:01,800 has been asked to do a security 367 00:13:01,800 --> 00:13:04,079 assessment of a massive monolithic 368 00:13:04,079 --> 00:13:06,779 application within a week 369 00:13:06,779 --> 00:13:09,540 that's what I thought 370 00:13:09,540 --> 00:13:11,519 now when I was a pen tester I even had 371 00:13:11,519 --> 00:13:13,860 companies try to hire me to do a manual 372 00:13:13,860 --> 00:13:16,260 test of a new feature within three days 373 00:13:16,260 --> 00:13:17,459 now let's think about what those three 374 00:13:17,459 --> 00:13:20,240 days look like day one I'm onboarding 375 00:13:20,240 --> 00:13:23,760 and I'm getting my equipment ready and 376 00:13:23,760 --> 00:13:25,740 having a kickoff call 377 00:13:25,740 --> 00:13:27,839 day two I'm reading documentation I'm 378 00:13:27,839 --> 00:13:30,420 using the feature and hopefully getting 379 00:13:30,420 --> 00:13:33,600 some testing in and then day three I'm 380 00:13:33,600 --> 00:13:35,339 writing my report and having a readout 381 00:13:35,339 --> 00:13:36,480 call 382 00:13:36,480 --> 00:13:38,519 now all of that's assuming that I've 383 00:13:38,519 --> 00:13:39,899 actually gotten access to the 384 00:13:39,899 --> 00:13:42,240 application on day one which is somewhat 385 00:13:42,240 --> 00:13:45,180 unlikely in my experience 386 00:13:45,180 --> 00:13:47,459 so if your goal is to have Assurance in 387 00:13:47,459 --> 00:13:49,560 your security or posture and receive a 388 00:13:49,560 --> 00:13:51,839 report with meaningful findings then 389 00:13:51,839 --> 00:13:53,940 giving this massive scope and a teeny 390 00:13:53,940 --> 00:13:55,560 tiny time frame is probably a pretty bad 391 00:13:55,560 --> 00:13:56,880 approach 392 00:13:56,880 --> 00:13:58,200 although if your goal is to check the 393 00:13:58,200 --> 00:13:59,519 boxes that you said you had a pen test 394 00:13:59,519 --> 00:14:01,079 without actually improving your security 395 00:14:01,079 --> 00:14:02,760 posture 396 00:14:02,760 --> 00:14:04,800 this might work fine for you but that's 397 00:14:04,800 --> 00:14:07,760 not what this talk is about 398 00:14:07,860 --> 00:14:09,600 what's our fix 399 00:14:09,600 --> 00:14:11,700 we need to prioritize and we might need 400 00:14:11,700 --> 00:14:14,040 a little bit of a reality check 401 00:14:14,040 --> 00:14:15,720 there are a number of factors that you 402 00:14:15,720 --> 00:14:17,399 need to consider when making decisions 403 00:14:17,399 --> 00:14:19,320 about the length of your pen test 404 00:14:19,320 --> 00:14:20,880 engagement 405 00:14:20,880 --> 00:14:23,579 you might have a shoestring budget 406 00:14:23,579 --> 00:14:25,680 you might have this looming deadline to 407 00:14:25,680 --> 00:14:27,839 get this pen test done before you launch 408 00:14:27,839 --> 00:14:30,360 your product next month next month 409 00:14:30,360 --> 00:14:31,680 although if your lunch is next month 410 00:14:31,680 --> 00:14:32,639 maybe you should have been thinking 411 00:14:32,639 --> 00:14:35,279 about the pen test like six months ago 412 00:14:35,279 --> 00:14:37,860 your app might be extremely complex and 413 00:14:37,860 --> 00:14:39,300 you might have hundreds of different 414 00:14:39,300 --> 00:14:41,639 possible roles that your users could be 415 00:14:41,639 --> 00:14:44,100 you know using 416 00:14:44,100 --> 00:14:46,260 and you should always assume that the 417 00:14:46,260 --> 00:14:47,699 Consultants are going to experience 418 00:14:47,699 --> 00:14:50,940 access issues and technical difficulties 419 00:14:50,940 --> 00:14:52,199 and that they're going to need to spend 420 00:14:52,199 --> 00:14:54,420 time reading your docs your app actually 421 00:14:54,420 --> 00:14:56,459 might not be as easy to use as you think 422 00:14:56,459 --> 00:14:57,480 it is 423 00:14:57,480 --> 00:15:00,120 so leave time for learning 424 00:15:00,120 --> 00:15:03,540 plan for the worst hope for the best 425 00:15:03,540 --> 00:15:05,459 now in a perfect world the number one 426 00:15:05,459 --> 00:15:07,019 factor in determining the number of days 427 00:15:07,019 --> 00:15:08,339 that you're going to include in the 428 00:15:08,339 --> 00:15:10,440 scope of work for your pen test would be 429 00:15:10,440 --> 00:15:12,600 achieving as much coverage as possible 430 00:15:12,600 --> 00:15:15,000 on as much of the attack surface as 431 00:15:15,000 --> 00:15:16,199 possible 432 00:15:16,199 --> 00:15:18,300 but in reality our number one factor is 433 00:15:18,300 --> 00:15:19,980 probably going to be money we all have 434 00:15:19,980 --> 00:15:21,660 budgets 435 00:15:21,660 --> 00:15:23,160 so if you're on a budget it's going to 436 00:15:23,160 --> 00:15:25,380 be even more crucial to outline your 437 00:15:25,380 --> 00:15:28,639 priorities to your testers 438 00:15:29,160 --> 00:15:31,079 now speaking of priorities let's talk 439 00:15:31,079 --> 00:15:32,820 about scoping 440 00:15:32,820 --> 00:15:34,440 you remember in our event planning 441 00:15:34,440 --> 00:15:35,940 scenario we didn't give our servers 442 00:15:35,940 --> 00:15:37,980 enough information to know who our VIP 443 00:15:37,980 --> 00:15:39,959 guests were 444 00:15:39,959 --> 00:15:43,620 or uh what to serve them 445 00:15:43,620 --> 00:15:45,540 or really like where what to wear where 446 00:15:45,540 --> 00:15:47,699 to go all of that 447 00:15:47,699 --> 00:15:49,860 so same thing with penetration tests you 448 00:15:49,860 --> 00:15:51,540 have to tell the testers what you think 449 00:15:51,540 --> 00:15:53,519 is the threat to your customers 450 00:15:53,519 --> 00:15:55,320 and ask them 451 00:15:55,320 --> 00:15:57,300 you know that what what to Target and 452 00:15:57,300 --> 00:15:59,339 tell them what to Target 453 00:15:59,339 --> 00:16:01,079 so if you've ever seen Monty Python in 454 00:16:01,079 --> 00:16:02,760 the Holy Grail yes you'll know that up 455 00:16:02,760 --> 00:16:04,079 on the screen those nights are running 456 00:16:04,079 --> 00:16:06,300 away from a killer rabbit 457 00:16:06,300 --> 00:16:08,040 do you know where your killer rabbits 458 00:16:08,040 --> 00:16:09,600 are in your application 459 00:16:09,600 --> 00:16:11,040 and are you going to tell your testers 460 00:16:11,040 --> 00:16:13,860 about all your killer rabbits 461 00:16:13,860 --> 00:16:15,540 I've worked on pen test in the past 462 00:16:15,540 --> 00:16:17,760 where the kickoff call uh during that 463 00:16:17,760 --> 00:16:19,560 kickoff call the hosting company gave me 464 00:16:19,560 --> 00:16:22,680 one set of credentials and a URL and 465 00:16:22,680 --> 00:16:24,779 that was my target 466 00:16:24,779 --> 00:16:26,160 sometimes those are really fun 467 00:16:26,160 --> 00:16:28,680 engagements for me because I got to just 468 00:16:28,680 --> 00:16:30,060 poke around at whatever I thought was 469 00:16:30,060 --> 00:16:31,500 interesting and there was usually a lot 470 00:16:31,500 --> 00:16:32,820 to find 471 00:16:32,820 --> 00:16:34,620 but that probably was not the most 472 00:16:34,620 --> 00:16:36,180 productive use of time for the company 473 00:16:36,180 --> 00:16:37,740 that hired me 474 00:16:37,740 --> 00:16:39,660 it's entirely possible I left a very 475 00:16:39,660 --> 00:16:42,720 large attack surface uncovered because I 476 00:16:42,720 --> 00:16:44,399 didn't know it was there or I didn't 477 00:16:44,399 --> 00:16:46,680 realize it was important 478 00:16:46,680 --> 00:16:47,880 so if you don't know your own 479 00:16:47,880 --> 00:16:49,620 application well enough to be able to 480 00:16:49,620 --> 00:16:51,180 provide a detailed pen test scope 481 00:16:51,180 --> 00:16:52,740 including what you do and don't care 482 00:16:52,740 --> 00:16:54,899 about to your testers how do you expect 483 00:16:54,899 --> 00:16:57,360 them to find anything or deliver 484 00:16:57,360 --> 00:17:00,440 anything worthwhile 485 00:17:00,839 --> 00:17:03,360 so what's our fix we need a tight 486 00:17:03,360 --> 00:17:06,480 detailed and thoughtful scope 487 00:17:06,480 --> 00:17:08,160 you want to think about the high risk 488 00:17:08,160 --> 00:17:10,559 areas of your application your high-risk 489 00:17:10,559 --> 00:17:11,819 areas are probably always going to 490 00:17:11,819 --> 00:17:13,380 include things like authentication 491 00:17:13,380 --> 00:17:16,140 authorization session management any 492 00:17:16,140 --> 00:17:18,720 customer facing security controls and 493 00:17:18,720 --> 00:17:20,040 any features that are intended 494 00:17:20,040 --> 00:17:22,500 exclusively for use by higher privileged 495 00:17:22,500 --> 00:17:23,939 users because you want to make sure that 496 00:17:23,939 --> 00:17:26,040 if you've got an admin portal only the 497 00:17:26,040 --> 00:17:28,260 admins can get in there 498 00:17:28,260 --> 00:17:29,880 your known problem areas are probably 499 00:17:29,880 --> 00:17:31,799 beginning to become more apparent in 500 00:17:31,799 --> 00:17:33,480 more mature companies 501 00:17:33,480 --> 00:17:35,400 so it's like we've started to use past 502 00:17:35,400 --> 00:17:37,860 bug Bounty findings security tickets 503 00:17:37,860 --> 00:17:40,799 from our bug tracking system and topics 504 00:17:40,799 --> 00:17:42,720 of past incidents to help us inform our 505 00:17:42,720 --> 00:17:44,220 scope 506 00:17:44,220 --> 00:17:45,780 we also like to keep track of features 507 00:17:45,780 --> 00:17:48,179 that we release that we believe have the 508 00:17:48,179 --> 00:17:49,860 highest potential to maybe pose a 509 00:17:49,860 --> 00:17:52,500 security risk to our customers and we'll 510 00:17:52,500 --> 00:17:54,960 include those features within our scope 511 00:17:54,960 --> 00:17:58,380 of our annual pen test 512 00:17:58,380 --> 00:18:00,360 if you have an application with a very 513 00:18:00,360 --> 00:18:02,220 large attack surface it might help to 514 00:18:02,220 --> 00:18:05,400 break your Penthouse pen test down into 515 00:18:05,400 --> 00:18:07,200 smaller components 516 00:18:07,200 --> 00:18:09,360 and it's lackable include different 517 00:18:09,360 --> 00:18:11,220 components and features in each pen test 518 00:18:11,220 --> 00:18:13,559 and then let the testers know how we'd 519 00:18:13,559 --> 00:18:15,900 like to prioritize those features so 520 00:18:15,900 --> 00:18:18,120 higher report features will usually go 521 00:18:18,120 --> 00:18:20,220 higher on the priority list and lower 522 00:18:20,220 --> 00:18:22,020 risk features wind up lower on the 523 00:18:22,020 --> 00:18:23,760 priority list so that we make sure 524 00:18:23,760 --> 00:18:25,200 they're spending their time testing the 525 00:18:25,200 --> 00:18:28,039 things that we care about 526 00:18:28,320 --> 00:18:29,880 you also probably will want to spend 527 00:18:29,880 --> 00:18:31,500 some time threat modeling with your Edge 528 00:18:31,500 --> 00:18:32,940 teams that can be a part of your scope 529 00:18:32,940 --> 00:18:33,900 as well 530 00:18:33,900 --> 00:18:35,460 now if you've never threat modeled it's 531 00:18:35,460 --> 00:18:37,200 time to learn 532 00:18:37,200 --> 00:18:38,760 you might want to do research different 533 00:18:38,760 --> 00:18:40,500 threat modeling Frameworks like stride 534 00:18:40,500 --> 00:18:43,320 or you can come up with different thread 535 00:18:43,320 --> 00:18:45,299 actors that might benefit from attacking 536 00:18:45,299 --> 00:18:47,900 your customers 537 00:18:48,059 --> 00:18:50,400 and just put on your evil hat and think 538 00:18:50,400 --> 00:18:53,820 about what would the bad guys do 539 00:18:53,820 --> 00:18:55,260 threat modeling can be an incredibly 540 00:18:55,260 --> 00:18:57,299 valuable exercise and you don't 541 00:18:57,299 --> 00:18:58,679 necessarily need a huge amount of 542 00:18:58,679 --> 00:19:01,080 technical expertise or security 543 00:19:01,080 --> 00:19:03,000 knowledge to be really good at it some 544 00:19:03,000 --> 00:19:05,039 of the most productive threat modeling 545 00:19:05,039 --> 00:19:07,440 sessions I've had are with product 546 00:19:07,440 --> 00:19:10,020 managers or with Engineers that really 547 00:19:10,020 --> 00:19:11,940 haven't spent any time in security they 548 00:19:11,940 --> 00:19:13,020 have a totally different perspective 549 00:19:13,020 --> 00:19:14,400 than I do and they think about things 550 00:19:14,400 --> 00:19:16,940 that I don't 551 00:19:18,000 --> 00:19:20,640 so you just have to understand that the 552 00:19:20,640 --> 00:19:22,860 value of your product who your customers 553 00:19:22,860 --> 00:19:25,679 are and how would a criminal attacker 554 00:19:25,679 --> 00:19:27,419 benefit from attacking your customers 555 00:19:27,419 --> 00:19:29,520 what do they want 556 00:19:29,520 --> 00:19:31,380 spoiler alert usually what they want is 557 00:19:31,380 --> 00:19:33,620 money 558 00:19:33,720 --> 00:19:35,700 so how could a criminal make money by 559 00:19:35,700 --> 00:19:38,100 attacking your specific customers 560 00:19:38,100 --> 00:19:39,600 you'll want to include those threat 561 00:19:39,600 --> 00:19:42,539 scenarios in your scope 562 00:19:42,539 --> 00:19:44,280 now don't try to hide your skeletons 563 00:19:44,280 --> 00:19:45,530 I've seen people do this before 564 00:19:45,530 --> 00:19:46,740 [Music] 565 00:19:46,740 --> 00:19:48,419 you want to bring the Consultants to the 566 00:19:48,419 --> 00:19:50,640 closet where you keep the skeletons open 567 00:19:50,640 --> 00:19:52,799 that door and just tell them hey these 568 00:19:52,799 --> 00:19:54,919 are the skeletons we know these are here 569 00:19:54,919 --> 00:19:57,600 we'd love to know where the rest of the 570 00:19:57,600 --> 00:19:59,820 skeletons are in the building help us 571 00:19:59,820 --> 00:20:02,720 find more of these 572 00:20:03,419 --> 00:20:05,340 your scope also also should include 573 00:20:05,340 --> 00:20:06,539 information on things that you don't 574 00:20:06,539 --> 00:20:08,100 care that much about 575 00:20:08,100 --> 00:20:10,380 so for example if you run a social media 576 00:20:10,380 --> 00:20:12,299 app you probably care a lot about 577 00:20:12,299 --> 00:20:14,880 cross-site scripting because your MO is 578 00:20:14,880 --> 00:20:16,980 to take user generated content and 579 00:20:16,980 --> 00:20:18,960 reflect it back to other users 580 00:20:18,960 --> 00:20:21,000 but you might not care as much about 581 00:20:21,000 --> 00:20:23,340 user enumeration because you want your 582 00:20:23,340 --> 00:20:25,200 users to be able to find each other if 583 00:20:25,200 --> 00:20:26,820 they can already find each other then 584 00:20:26,820 --> 00:20:28,919 user enumeration bugs might be kind of 585 00:20:28,919 --> 00:20:31,799 lower on your priority list 586 00:20:31,799 --> 00:20:33,480 you want your pen test just to focus on 587 00:20:33,480 --> 00:20:35,640 the things that your company cares about 588 00:20:35,640 --> 00:20:38,220 I mean think about these risky areas of 589 00:20:38,220 --> 00:20:41,720 your app as your VIP guests 590 00:20:43,020 --> 00:20:46,080 all right back to our terrible event 591 00:20:46,080 --> 00:20:47,880 if you recall we didn't make food we 592 00:20:47,880 --> 00:20:50,160 didn't hire entertainment and we didn't 593 00:20:50,160 --> 00:20:52,860 buy any drinks to serve our guests 594 00:20:52,860 --> 00:20:54,480 when we're pen test Planning Companies 595 00:20:54,480 --> 00:20:56,160 might decide to hire testers without 596 00:20:56,160 --> 00:20:58,559 giving them documentation or text 597 00:20:58,559 --> 00:21:01,020 accounts or code access we might even 598 00:21:01,020 --> 00:21:03,480 have a half-baked product that is 599 00:21:03,480 --> 00:21:06,360 nowhere near ready for GA 600 00:21:06,360 --> 00:21:07,980 but for some of the pen tests I've been 601 00:21:07,980 --> 00:21:09,780 on the company seems to want to see what 602 00:21:09,780 --> 00:21:12,059 the testers could find without any 603 00:21:12,059 --> 00:21:14,160 assistance from the team 604 00:21:14,160 --> 00:21:17,460 100 black box environment 605 00:21:17,460 --> 00:21:19,020 um with the expectation that I'm going 606 00:21:19,020 --> 00:21:20,940 to find a way in within like 30 seconds 607 00:21:20,940 --> 00:21:23,220 just like in the movies 608 00:21:23,220 --> 00:21:25,140 but this strategy is pretty highly 609 00:21:25,140 --> 00:21:26,520 flawed 610 00:21:26,520 --> 00:21:28,260 this is kind of more what bug Bounty 611 00:21:28,260 --> 00:21:29,640 programs are for these bug Bounty 612 00:21:29,640 --> 00:21:31,440 researchers are used to Black Box 613 00:21:31,440 --> 00:21:32,760 environments where they don't really get 614 00:21:32,760 --> 00:21:35,100 any help finding bugs and they just kind 615 00:21:35,100 --> 00:21:39,320 of poke around at their own leisure 616 00:21:39,659 --> 00:21:42,419 now remember attackers who are after 617 00:21:42,419 --> 00:21:44,880 your customers often have unlimited time 618 00:21:44,880 --> 00:21:47,400 and ample resources depending on who 619 00:21:47,400 --> 00:21:49,080 hired them they might have been hired by 620 00:21:49,080 --> 00:21:51,080 like an adversarial government 621 00:21:51,080 --> 00:21:53,580 that has massive massive amounts of 622 00:21:53,580 --> 00:21:55,559 money and just tells them hey go nuts 623 00:21:55,559 --> 00:21:57,480 take as long as you need 624 00:21:57,480 --> 00:21:59,159 so your pen testers are already at a 625 00:21:59,159 --> 00:22:01,500 disadvantage they have very limited time 626 00:22:01,500 --> 00:22:04,620 and very limited resources 627 00:22:04,620 --> 00:22:06,240 and you can level the playing field a 628 00:22:06,240 --> 00:22:08,520 bit by doing as much setup and planning 629 00:22:08,520 --> 00:22:10,020 as you can before your pen test 630 00:22:10,020 --> 00:22:11,700 engagement 631 00:22:11,700 --> 00:22:13,860 and sometimes companies will ask testers 632 00:22:13,860 --> 00:22:15,900 to create their own test accounts and 633 00:22:15,900 --> 00:22:17,580 sometimes that's possible if you have 634 00:22:17,580 --> 00:22:19,020 self-serve account Creation in your 635 00:22:19,020 --> 00:22:20,640 application but it's really time 636 00:22:20,640 --> 00:22:23,100 consuming so it's it's kind of a time 637 00:22:23,100 --> 00:22:24,720 waster when your testers only have two 638 00:22:24,720 --> 00:22:26,640 weeks and you're asking them to set up 639 00:22:26,640 --> 00:22:28,860 their own environment 640 00:22:28,860 --> 00:22:30,840 and then as far as code access goes I 641 00:22:30,840 --> 00:22:32,340 know some companies think that you know 642 00:22:32,340 --> 00:22:33,659 the consultant is going to steal their 643 00:22:33,659 --> 00:22:36,240 code or leak their code 644 00:22:36,240 --> 00:22:38,159 um but really if you didn't trust this 645 00:22:38,159 --> 00:22:40,380 consultancy why'd you hire them 646 00:22:40,380 --> 00:22:43,080 let's go back to our mistake one gotta 647 00:22:43,080 --> 00:22:45,240 hire the right people hire people that 648 00:22:45,240 --> 00:22:47,659 you trust 649 00:22:48,480 --> 00:22:51,120 our fix as harsh as it sounds is to get 650 00:22:51,120 --> 00:22:53,700 our [ __ ] together 651 00:22:53,700 --> 00:22:55,980 make a checklist of steps that your team 652 00:22:55,980 --> 00:22:58,320 needs to go through before your testers 653 00:22:58,320 --> 00:23:00,179 arrive on day one 654 00:23:00,179 --> 00:23:02,520 set those pen testers up for success and 655 00:23:02,520 --> 00:23:04,440 by success I mean give them anything 656 00:23:04,440 --> 00:23:06,240 that they need to find all of those 657 00:23:06,240 --> 00:23:08,159 janky security compromises that you made 658 00:23:08,159 --> 00:23:10,080 while you were making your app at 659 00:23:10,080 --> 00:23:12,240 Breakneck speed 660 00:23:12,240 --> 00:23:13,919 for that ride them with ample 661 00:23:13,919 --> 00:23:16,020 documentation maybe a postman collection 662 00:23:16,020 --> 00:23:17,700 of your apis so they can look at what 663 00:23:17,700 --> 00:23:19,380 your request and response flow looks 664 00:23:19,380 --> 00:23:21,539 like those are super helpful 665 00:23:21,539 --> 00:23:24,360 test accounts you want Engineers from 666 00:23:24,360 --> 00:23:25,559 your various Dev teams to answer 667 00:23:25,559 --> 00:23:28,020 questions you want them available 668 00:23:28,020 --> 00:23:29,820 and then you want to support the testers 669 00:23:29,820 --> 00:23:31,919 as much as possible so that they'll be 670 00:23:31,919 --> 00:23:33,539 able to spend their time finding 671 00:23:33,539 --> 00:23:35,580 vulnerabilities not fumbling around in 672 00:23:35,580 --> 00:23:36,659 the dark 673 00:23:36,659 --> 00:23:38,700 I also would highly advise granting code 674 00:23:38,700 --> 00:23:40,740 access there are certain categories of 675 00:23:40,740 --> 00:23:43,440 vulnerabilities that are pretty easy to 676 00:23:43,440 --> 00:23:45,720 spot in code but really hard to find 677 00:23:45,720 --> 00:23:48,000 just by poking around like thinking of 678 00:23:48,000 --> 00:23:51,059 blind SQL injection right that's kind of 679 00:23:51,059 --> 00:23:53,159 an obvious code pattern to see if you 680 00:23:53,159 --> 00:23:55,140 find it you can usually grab forehead or 681 00:23:55,140 --> 00:23:57,600 use a static analysis tool to find that 682 00:23:57,600 --> 00:23:59,280 type of vulnerability but if you're 683 00:23:59,280 --> 00:24:02,340 poking and just looking for stuff around 684 00:24:02,340 --> 00:24:03,900 the app you're probably not going to 685 00:24:03,900 --> 00:24:05,760 find blind sqlite it's really hard to 686 00:24:05,760 --> 00:24:07,940 find 687 00:24:08,039 --> 00:24:09,600 and then when you're granting test 688 00:24:09,600 --> 00:24:11,340 accounts to your testers I can't stress 689 00:24:11,340 --> 00:24:13,020 this enough they do need multiple 690 00:24:13,020 --> 00:24:14,179 accounts 691 00:24:14,179 --> 00:24:16,860 so if you just give them one account 692 00:24:16,860 --> 00:24:18,360 they're probably going to miss multiple 693 00:24:18,360 --> 00:24:20,460 attack surfaces on things like insecure 694 00:24:20,460 --> 00:24:22,740 direct object reference or privilege 695 00:24:22,740 --> 00:24:24,419 escalation 696 00:24:24,419 --> 00:24:26,520 if your app has different types of users 697 00:24:26,520 --> 00:24:28,559 like admin users regular users and guest 698 00:24:28,559 --> 00:24:31,380 users you want to give them at least one 699 00:24:31,380 --> 00:24:34,380 user at each level of privilege 700 00:24:34,380 --> 00:24:37,559 preferably multiple 701 00:24:37,559 --> 00:24:39,659 when it comes to slack account setup can 702 00:24:39,659 --> 00:24:41,640 take a really long time especially with 703 00:24:41,640 --> 00:24:43,500 our Enterprise offering and especially 704 00:24:43,500 --> 00:24:45,840 if we want test workspaces to reflect 705 00:24:45,840 --> 00:24:47,520 what a customer's workspace would 706 00:24:47,520 --> 00:24:49,440 actually look like 707 00:24:49,440 --> 00:24:51,360 so we started providing our pen testers 708 00:24:51,360 --> 00:24:54,179 with two different test Enterprises with 709 00:24:54,179 --> 00:24:55,860 multiple different users at each level 710 00:24:55,860 --> 00:24:58,140 of privilege and then different 711 00:24:58,140 --> 00:25:00,360 workspaces that belong to each org as 712 00:25:00,360 --> 00:25:02,220 well as slack connect channels so that 713 00:25:02,220 --> 00:25:04,080 it would look like what an actual 714 00:25:04,080 --> 00:25:06,780 customer's account might look like 715 00:25:06,780 --> 00:25:08,640 now because we did the setup beforehand 716 00:25:08,640 --> 00:25:10,679 the testers get to focus on what they 717 00:25:10,679 --> 00:25:13,440 came for finding security bugs not being 718 00:25:13,440 --> 00:25:15,720 slack admins 719 00:25:15,720 --> 00:25:18,720 now also For the Love of All That is 720 00:25:18,720 --> 00:25:21,480 Holy make sure your product works before 721 00:25:21,480 --> 00:25:23,280 scheduling a pen test 722 00:25:23,280 --> 00:25:24,720 and make sure that whatever the 723 00:25:24,720 --> 00:25:26,760 environment the testers will be using 724 00:25:26,760 --> 00:25:30,419 matches prod closely enough that it's 725 00:25:30,419 --> 00:25:32,640 going to be an accurate test like 726 00:25:32,640 --> 00:25:34,620 recently I had a friend tell me that she 727 00:25:34,620 --> 00:25:36,360 was scheduled to do a pen test 728 00:25:36,360 --> 00:25:38,400 engagement and it had to be rescheduled 729 00:25:38,400 --> 00:25:40,500 entirely because when she talked to the 730 00:25:40,500 --> 00:25:42,720 dev team about you know her test 731 00:25:42,720 --> 00:25:44,760 environment she said hey is this pretty 732 00:25:44,760 --> 00:25:46,260 close to what's in Pride they're like no 733 00:25:46,260 --> 00:25:49,140 totally different 734 00:25:49,140 --> 00:25:52,080 why would you do that 735 00:25:52,080 --> 00:25:54,059 um but you know I think the reason that 736 00:25:54,059 --> 00:25:56,520 they did that is they didn't know they 737 00:25:56,520 --> 00:25:57,840 didn't know ahead of time it was well 738 00:25:57,840 --> 00:25:59,640 nurtured they thought that she would do 739 00:25:59,640 --> 00:26:01,799 fine in this test environment but the 740 00:26:01,799 --> 00:26:03,120 findings that she pulls out of that test 741 00:26:03,120 --> 00:26:04,559 environment are going to be completely 742 00:26:04,559 --> 00:26:06,059 irrelevant to what you're wanting in 743 00:26:06,059 --> 00:26:10,399 prod that sucks that's a waste of money 744 00:26:10,919 --> 00:26:13,380 okay next mistake we made during our 745 00:26:13,380 --> 00:26:14,940 event planning 746 00:26:14,940 --> 00:26:17,640 we actually forgot about our event and 747 00:26:17,640 --> 00:26:19,740 we locked our servers out of it and 748 00:26:19,740 --> 00:26:21,539 overall we were really unresponsive to 749 00:26:21,539 --> 00:26:23,700 their requests for help 750 00:26:23,700 --> 00:26:25,679 so people who have been pen testers have 751 00:26:25,679 --> 00:26:27,539 you ever showed up for day one of a gig 752 00:26:27,539 --> 00:26:29,460 and realized the company didn't do 753 00:26:29,460 --> 00:26:31,860 anything to prepare for your arrival and 754 00:26:31,860 --> 00:26:33,539 actually they have no idea what you're 755 00:26:33,539 --> 00:26:36,919 there to do yeah 756 00:26:37,080 --> 00:26:40,380 I see a couple hands yep absolutely 757 00:26:40,380 --> 00:26:42,480 true story I've actually done fantastic 758 00:26:42,480 --> 00:26:44,760 engagements with companies that forgot 759 00:26:44,760 --> 00:26:46,260 that I was coming 760 00:26:46,260 --> 00:26:49,279 more than once 761 00:26:49,740 --> 00:26:51,840 appsec teams when you're scheduling a 762 00:26:51,840 --> 00:26:54,059 pen test are you dedicating at least one 763 00:26:54,059 --> 00:26:56,640 human person with technical knowledge of 764 00:26:56,640 --> 00:26:58,380 your application to keep track of the 765 00:26:58,380 --> 00:27:00,720 progress of the engagement 766 00:27:00,720 --> 00:27:02,279 every moment that the testers spend 767 00:27:02,279 --> 00:27:04,679 twiddling their thumbs is very costly 768 00:27:04,679 --> 00:27:06,480 if you're making the testers wait for 769 00:27:06,480 --> 00:27:09,179 you to unblock them each day wasted is 770 00:27:09,179 --> 00:27:12,980 thousands of dollars down the drain 771 00:27:14,039 --> 00:27:15,840 so what's our fix here we want to get 772 00:27:15,840 --> 00:27:17,520 organized and we want to communicate 773 00:27:17,520 --> 00:27:18,779 clearly 774 00:27:18,779 --> 00:27:20,700 think about questions like these how 775 00:27:20,700 --> 00:27:22,140 often do you want to hear from your pen 776 00:27:22,140 --> 00:27:24,240 testers how do you want them to 777 00:27:24,240 --> 00:27:26,580 communicate you with you do you want 778 00:27:26,580 --> 00:27:28,799 emails do you want phone calls or do you 779 00:27:28,799 --> 00:27:32,100 want slack channels yes you do 780 00:27:32,100 --> 00:27:33,840 have you set up kickoff calls and 781 00:27:33,840 --> 00:27:35,520 readout calls and maybe just a few 782 00:27:35,520 --> 00:27:37,140 status calls in between to see how 783 00:27:37,140 --> 00:27:39,179 things are progressing 784 00:27:39,179 --> 00:27:41,520 if you haven't you might not realize 785 00:27:41,520 --> 00:27:43,380 that the entire engagement is on fire 786 00:27:43,380 --> 00:27:46,260 until the last day 787 00:27:46,260 --> 00:27:47,640 when do you want them delivering 788 00:27:47,640 --> 00:27:49,320 findings to you especially your high in 789 00:27:49,320 --> 00:27:51,659 critical risk bindings 790 00:27:51,659 --> 00:27:53,880 pretty much high and critical risk I'm 791 00:27:53,880 --> 00:27:54,900 assuming you want to know about those 792 00:27:54,900 --> 00:27:56,400 right away so you can address those 793 00:27:56,400 --> 00:27:58,799 before they get exploited and a lot of 794 00:27:58,799 --> 00:28:00,059 pen test companies already know this 795 00:28:00,059 --> 00:28:01,500 they'll deliver high and critical risk 796 00:28:01,500 --> 00:28:04,080 findings to you pretty quickly but maybe 797 00:28:04,080 --> 00:28:05,760 they don't know this and maybe they need 798 00:28:05,760 --> 00:28:07,860 you to tell them 799 00:28:07,860 --> 00:28:09,779 who on your team knows your code and 800 00:28:09,779 --> 00:28:11,220 your application well enough to provide 801 00:28:11,220 --> 00:28:14,159 meaningful assistance to the pen testers 802 00:28:14,159 --> 00:28:16,440 and do you know what the pen testers are 803 00:28:16,440 --> 00:28:18,000 there to do 804 00:28:18,000 --> 00:28:19,860 if not you should really ask about what 805 00:28:19,860 --> 00:28:21,059 they're doing what they do and what 806 00:28:21,059 --> 00:28:23,279 their methodology is before they get 807 00:28:23,279 --> 00:28:26,279 there and ideally before you hire them 808 00:28:26,279 --> 00:28:28,440 also have you alerted the engineers who 809 00:28:28,440 --> 00:28:30,600 are in charge of detecting threats in 810 00:28:30,600 --> 00:28:32,760 your application that they might notice 811 00:28:32,760 --> 00:28:34,980 some anomalous behavior and they should 812 00:28:34,980 --> 00:28:36,059 really check in them with the pen 813 00:28:36,059 --> 00:28:38,159 testers before they trigger an incident 814 00:28:38,159 --> 00:28:40,799 over activity that resembles a live 815 00:28:40,799 --> 00:28:43,020 attack on your application 816 00:28:43,020 --> 00:28:46,520 that can be a time waste or two 817 00:28:48,059 --> 00:28:49,440 all right 818 00:28:49,440 --> 00:28:51,419 during our event planning scenario we 819 00:28:51,419 --> 00:28:53,580 made one more grave mistake 820 00:28:53,580 --> 00:28:55,380 we didn't have any plan for remediation 821 00:28:55,380 --> 00:28:57,419 or cleanup 822 00:28:57,419 --> 00:28:58,679 so when you're hosting an event you 823 00:28:58,679 --> 00:28:59,880 should always have a cleanup planner 824 00:28:59,880 --> 00:29:01,559 people are going to be very upset with 825 00:29:01,559 --> 00:29:04,679 you for leaving such a big mess 826 00:29:04,679 --> 00:29:06,480 all right so now we've finished our pen 827 00:29:06,480 --> 00:29:08,940 test engagement we've got a bunch of 828 00:29:08,940 --> 00:29:12,120 findings AKA a big Ole Miss 829 00:29:12,120 --> 00:29:13,799 and now we need to figure out who's 830 00:29:13,799 --> 00:29:16,140 going to fix these findings 831 00:29:16,140 --> 00:29:18,360 your pen testers are long gone because 832 00:29:18,360 --> 00:29:20,580 your test ended three weeks ago 833 00:29:20,580 --> 00:29:22,919 and now you're just deciding to assign 834 00:29:22,919 --> 00:29:24,600 bug tickets 835 00:29:24,600 --> 00:29:27,899 your devs are pissed because they had 836 00:29:27,899 --> 00:29:29,460 already planned out the work they intend 837 00:29:29,460 --> 00:29:31,740 to do for the next few sprints 838 00:29:31,740 --> 00:29:33,059 but now you're telling them they have 839 00:29:33,059 --> 00:29:35,460 three days to fix a bug 840 00:29:35,460 --> 00:29:36,779 your devs are also pissed because 841 00:29:36,779 --> 00:29:38,220 they're reading through the findings and 842 00:29:38,220 --> 00:29:42,779 realizing these are 90 false positives 843 00:29:42,779 --> 00:29:44,640 and you're also realizing no one really 844 00:29:44,640 --> 00:29:46,200 understands the remediation guidance 845 00:29:46,200 --> 00:29:49,140 that the testers provided in the report 846 00:29:49,140 --> 00:29:50,940 and then you realize you have a pen test 847 00:29:50,940 --> 00:29:52,559 finding that has a fixed recommendation 848 00:29:52,559 --> 00:29:54,960 that would actually break your app 849 00:29:54,960 --> 00:29:56,820 it's not great 850 00:29:56,820 --> 00:29:58,860 how do we fix this 851 00:29:58,860 --> 00:30:00,360 you want to make sure that you can fix 852 00:30:00,360 --> 00:30:02,340 all of the things 853 00:30:02,340 --> 00:30:04,080 don't ruin your absecs team's 854 00:30:04,080 --> 00:30:06,539 relationship with your developers you 855 00:30:06,539 --> 00:30:07,799 want to give them an opportunity to be 856 00:30:07,799 --> 00:30:09,779 involved in this pen test at every stage 857 00:30:09,779 --> 00:30:11,460 of the process 858 00:30:11,460 --> 00:30:13,740 and don't suffer in silence if your pen 859 00:30:13,740 --> 00:30:15,360 test report has unclear remediation 860 00:30:15,360 --> 00:30:17,399 guidance or you just don't understand it 861 00:30:17,399 --> 00:30:18,899 you've got to ask for more information 862 00:30:18,899 --> 00:30:20,760 on that during the readout you can't 863 00:30:20,760 --> 00:30:22,080 just sit there and go yeah yeah yeah 864 00:30:22,080 --> 00:30:24,539 totally I get it I get it and then three 865 00:30:24,539 --> 00:30:27,299 weeks later realize you don't get it 866 00:30:27,299 --> 00:30:28,980 and give your engine ering team the 867 00:30:28,980 --> 00:30:31,140 chance to come in and ask questions and 868 00:30:31,140 --> 00:30:33,240 do the same work that you're doing 869 00:30:33,240 --> 00:30:34,860 you should know your application well 870 00:30:34,860 --> 00:30:36,899 enough that you can identify false 871 00:30:36,899 --> 00:30:38,880 positive findings and push back on 872 00:30:38,880 --> 00:30:40,559 findings that are not really relevant to 873 00:30:40,559 --> 00:30:42,539 you like for example if you get a 874 00:30:42,539 --> 00:30:44,820 finding that outlines access issues on 875 00:30:44,820 --> 00:30:47,159 an API that you fully intended to be 876 00:30:47,159 --> 00:30:49,440 public and unauthenticated you should 877 00:30:49,440 --> 00:30:50,640 ask for that finding to be removed from 878 00:30:50,640 --> 00:30:52,559 the port report because you did that on 879 00:30:52,559 --> 00:30:54,600 purpose don't pass that fighting along 880 00:30:54,600 --> 00:30:57,600 to your Dev team they'll get mad 881 00:30:57,600 --> 00:30:59,039 you should also know your application 882 00:30:59,039 --> 00:31:00,840 well enough to know if a recommended fix 883 00:31:00,840 --> 00:31:03,480 would be detrimental to your app 884 00:31:03,480 --> 00:31:05,399 like if the report dings you for not 885 00:31:05,399 --> 00:31:07,919 requiring two-factor authentication but 886 00:31:07,919 --> 00:31:10,080 you intentionally didn't require 2fa 887 00:31:10,080 --> 00:31:11,700 because you know your users and you know 888 00:31:11,700 --> 00:31:12,720 some of them are going to be pretty 889 00:31:12,720 --> 00:31:14,520 confused by that 890 00:31:14,520 --> 00:31:16,020 then that finding should probably be 891 00:31:16,020 --> 00:31:18,779 informational at most 892 00:31:18,779 --> 00:31:20,520 you need to know your org structure and 893 00:31:20,520 --> 00:31:22,440 your application well enough to know who 894 00:31:22,440 --> 00:31:24,419 owns Which part of the code base 895 00:31:24,419 --> 00:31:26,039 and who's responsible for fixing 896 00:31:26,039 --> 00:31:28,200 different areas of the app it sounds 897 00:31:28,200 --> 00:31:30,179 pretty simple but actually everyone I've 898 00:31:30,179 --> 00:31:31,919 talked to about this problem 899 00:31:31,919 --> 00:31:33,299 experiences that same problem of 900 00:31:33,299 --> 00:31:35,220 ownership and figuring out like okay 901 00:31:35,220 --> 00:31:37,740 cool that thing over there that no one's 902 00:31:37,740 --> 00:31:41,340 touched in six years who fixes that 903 00:31:41,340 --> 00:31:43,380 hard problem 904 00:31:43,380 --> 00:31:45,539 having a security Champions program or a 905 00:31:45,539 --> 00:31:47,460 similar way of building relationships 906 00:31:47,460 --> 00:31:49,860 between your appsec team and your 907 00:31:49,860 --> 00:31:51,659 developers can help everyone get a 908 00:31:51,659 --> 00:31:53,520 little bit of a better understanding of 909 00:31:53,520 --> 00:31:55,980 who does what in your org 910 00:31:55,980 --> 00:31:57,480 now it's like we have a budding security 911 00:31:57,480 --> 00:31:59,460 Champions program and it's actually 912 00:31:59,460 --> 00:32:00,899 really helped our product security team 913 00:32:00,899 --> 00:32:03,000 find the right people to answer the hard 914 00:32:03,000 --> 00:32:06,059 questions more quickly 915 00:32:06,059 --> 00:32:08,039 and also if you don't already have slas 916 00:32:08,039 --> 00:32:10,140 for fixing your security issues you want 917 00:32:10,140 --> 00:32:12,240 to take the time to make remediation 918 00:32:12,240 --> 00:32:14,940 timelines after your readout it helps to 919 00:32:14,940 --> 00:32:16,140 prioritize your high risk 920 00:32:16,140 --> 00:32:18,059 vulnerabilities first and then address 921 00:32:18,059 --> 00:32:19,980 the lower risk ones with slightly less 922 00:32:19,980 --> 00:32:21,240 urgency 923 00:32:21,240 --> 00:32:22,919 and don't just let your security bugs 924 00:32:22,919 --> 00:32:24,120 rot in the corner where you think no 925 00:32:24,120 --> 00:32:25,440 one's going to find them 926 00:32:25,440 --> 00:32:27,179 they're gonna bite you in the ass when 927 00:32:27,179 --> 00:32:30,080 you least expect it 928 00:32:30,480 --> 00:32:33,539 all right so what did we learn today we 929 00:32:33,539 --> 00:32:35,880 learned that poorly planned events yield 930 00:32:35,880 --> 00:32:37,620 crappy outcomes 931 00:32:37,620 --> 00:32:40,200 and poorly planned pen tests yield very 932 00:32:40,200 --> 00:32:41,880 boring findings 933 00:32:41,880 --> 00:32:43,620 so if you find yourself frequently on 934 00:32:43,620 --> 00:32:45,600 the receiving end of reports that are 935 00:32:45,600 --> 00:32:47,640 sparse and boring from pen test 936 00:32:47,640 --> 00:32:50,940 engagements ask yourself did I do a good 937 00:32:50,940 --> 00:32:53,220 job of planning this engagement what 938 00:32:53,220 --> 00:32:55,740 mistakes did I make and what could I 939 00:32:55,740 --> 00:32:57,539 have done differently 940 00:32:57,539 --> 00:33:02,120 and always remember to be a good host 941 00:33:02,640 --> 00:33:04,740 that's it for today does anyone have any 942 00:33:04,740 --> 00:33:06,059 questions I think we do have a little 943 00:33:06,059 --> 00:33:08,750 time for Q a 944 00:33:08,750 --> 00:33:19,950 [Applause] 945 00:33:22,200 --> 00:33:24,659 H you see one I think we're doing them 946 00:33:24,659 --> 00:33:26,159 at the mic if you wanted to come up or I 947 00:33:26,159 --> 00:33:29,120 could probably hear you from here 948 00:33:36,120 --> 00:33:38,399 we wound up making kind of an internal 949 00:33:38,399 --> 00:33:41,220 checklist of what made sense to us 950 00:33:41,220 --> 00:33:42,779 um I don't know if there's any like open 951 00:33:42,779 --> 00:33:45,059 source options out there for you know 952 00:33:45,059 --> 00:33:47,580 checking off those boxes yourself but I 953 00:33:47,580 --> 00:33:49,320 think it can help to sit down with your 954 00:33:49,320 --> 00:33:52,559 team and uh figure out what are we 955 00:33:52,559 --> 00:33:55,080 trying to get done here and then um you 956 00:33:55,080 --> 00:33:56,279 know make that make that little 957 00:33:56,279 --> 00:33:58,260 checklist of make sure I involve the 958 00:33:58,260 --> 00:34:01,080 right developers make sure I've 959 00:34:01,080 --> 00:34:03,360 provisioned the right accounts and uh 960 00:34:03,360 --> 00:34:05,760 I've given everyone GitHub access just 961 00:34:05,760 --> 00:34:07,799 basic stuff like that that can fall by 962 00:34:07,799 --> 00:34:09,239 the wayside if you haven't written it 963 00:34:09,239 --> 00:34:11,418 down 964 00:34:11,820 --> 00:34:14,040 hey Robin thanks for the talk 965 00:34:14,040 --> 00:34:17,699 um so I I do this type of stuff all day 966 00:34:17,699 --> 00:34:20,339 long uh we've done like 3 000 pen tests 967 00:34:20,339 --> 00:34:22,440 um the biggest problem I find is that 968 00:34:22,440 --> 00:34:24,960 there's no industry kind of uh consensus 969 00:34:24,960 --> 00:34:26,940 on a lot of these things uh you 970 00:34:26,940 --> 00:34:29,760 mentioned like okay hey don't pick a bad 971 00:34:29,760 --> 00:34:32,760 vendor and just do the check the box but 972 00:34:32,760 --> 00:34:34,859 people do that on purpose 973 00:34:34,859 --> 00:34:37,020 um and we've had things like the pen 974 00:34:37,020 --> 00:34:38,820 test execution standard and things like 975 00:34:38,820 --> 00:34:41,099 this but nothing's ever caught on what 976 00:34:41,099 --> 00:34:42,119 do you think 977 00:34:42,119 --> 00:34:45,119 we can do to kind of change that oh that 978 00:34:45,119 --> 00:34:46,739 is such a good question 979 00:34:46,739 --> 00:34:49,020 hello yeah that is such a good question 980 00:34:49,020 --> 00:34:51,780 and it's not one that I don't I don't 981 00:34:51,780 --> 00:34:53,040 think I have a good answer to that just 982 00:34:53,040 --> 00:34:55,080 yet what can we do 983 00:34:55,080 --> 00:34:57,300 to make better standards for our pen 984 00:34:57,300 --> 00:34:59,640 test consultancies you think is that the 985 00:34:59,640 --> 00:35:01,020 question yeah because there's an 986 00:35:01,020 --> 00:35:03,420 asymmetry there because the pen testers 987 00:35:03,420 --> 00:35:04,859 aren't going to do it themselves because 988 00:35:04,859 --> 00:35:06,780 then they're going to give information 989 00:35:06,780 --> 00:35:10,200 to their competitors yeah the clients 990 00:35:10,200 --> 00:35:12,060 just never seem to want to do it all the 991 00:35:12,060 --> 00:35:14,400 Jews complain about the pen testers yeah 992 00:35:14,400 --> 00:35:16,260 yeah I hear you and I think that the 993 00:35:16,260 --> 00:35:17,960 answer there is to hold our 994 00:35:17,960 --> 00:35:20,700 consultancies to a higher standard and 995 00:35:20,700 --> 00:35:22,680 you know remember if you've had a bad 996 00:35:22,680 --> 00:35:25,560 engagement don't don't continue to hire 997 00:35:25,560 --> 00:35:28,320 the same people if they've given you 998 00:35:28,320 --> 00:35:29,760 poor results 999 00:35:29,760 --> 00:35:30,900 um or you know you can give them 1000 00:35:30,900 --> 00:35:32,280 feedback and say like hey this is what 1001 00:35:32,280 --> 00:35:33,839 went wrong on this engagement how can we 1002 00:35:33,839 --> 00:35:35,160 improve that give them a chance to 1003 00:35:35,160 --> 00:35:37,320 improve instead of just you know 1004 00:35:37,320 --> 00:35:38,579 complaining in a corner and then 1005 00:35:38,579 --> 00:35:40,320 continuing to hire the same people while 1006 00:35:40,320 --> 00:35:41,579 you're complaining in the corner that 1007 00:35:41,579 --> 00:35:44,040 doesn't make any sense so yeah right on 1008 00:35:44,040 --> 00:35:46,279 thanks 1009 00:35:47,310 --> 00:35:48,740 [Music] 1010 00:35:48,740 --> 00:35:53,579 stepped on that I apologies uh in your 1011 00:35:53,579 --> 00:35:57,180 experience what are some excellent 1012 00:35:57,180 --> 00:35:59,400 inquiries or questions that have been 1013 00:35:59,400 --> 00:36:02,220 asked of you in your time at NCC in 1014 00:36:02,220 --> 00:36:03,960 which you're like oh yes this is that 1015 00:36:03,960 --> 00:36:06,599 indicates you that this is a uh 1016 00:36:06,599 --> 00:36:09,420 potentially positive 1017 00:36:09,420 --> 00:36:10,200 um 1018 00:36:10,200 --> 00:36:11,940 experience that's going to happen so 1019 00:36:11,940 --> 00:36:14,160 like what questions does the pen testing 1020 00:36:14,160 --> 00:36:15,720 team ask or what questions would you 1021 00:36:15,720 --> 00:36:19,440 like to be asked as a appsec 1022 00:36:19,440 --> 00:36:22,020 industry yeah yeah 1023 00:36:22,020 --> 00:36:24,300 um I think as 1024 00:36:24,300 --> 00:36:26,280 there are probably two sides to this so 1025 00:36:26,280 --> 00:36:28,079 from the penta side of things I always 1026 00:36:28,079 --> 00:36:30,540 really liked it when a company would ask 1027 00:36:30,540 --> 00:36:31,980 me like 1028 00:36:31,980 --> 00:36:33,780 what my area of expertise is do you 1029 00:36:33,780 --> 00:36:35,400 understand this framework or this 1030 00:36:35,400 --> 00:36:37,619 language and then also like 1031 00:36:37,619 --> 00:36:40,079 they would ask me how many test accounts 1032 00:36:40,079 --> 00:36:42,660 do I need and what levels of access do I 1033 00:36:42,660 --> 00:36:44,160 need that was always really helpful 1034 00:36:44,160 --> 00:36:46,619 because I knew from the jump okay you 1035 00:36:46,619 --> 00:36:49,079 know what I'm here to do this is great 1036 00:36:49,079 --> 00:36:49,800 um 1037 00:36:49,800 --> 00:36:51,780 yeah just basically asking me what my 1038 00:36:51,780 --> 00:36:54,180 needs were as a tester helped me so much 1039 00:36:54,180 --> 00:36:56,700 because I didn't have to 1040 00:36:56,700 --> 00:36:59,160 decide myself this is what I need from 1041 00:36:59,160 --> 00:37:00,240 you because I don't know your 1042 00:37:00,240 --> 00:37:02,220 application if I'm coming in from 1043 00:37:02,220 --> 00:37:04,440 outside you know your application you 1044 00:37:04,440 --> 00:37:06,000 might know what I need better than I do 1045 00:37:06,000 --> 00:37:07,980 so asking me those questions and having 1046 00:37:07,980 --> 00:37:10,500 those conversations are great and I 1047 00:37:10,500 --> 00:37:12,780 think from the app sex side of things I 1048 00:37:12,780 --> 00:37:14,640 really like when testers ask me 1049 00:37:14,640 --> 00:37:17,040 questions like what keeps your team up 1050 00:37:17,040 --> 00:37:18,420 at night 1051 00:37:18,420 --> 00:37:19,740 because that way I know that they're 1052 00:37:19,740 --> 00:37:21,720 going to be priority prioritizing the 1053 00:37:21,720 --> 00:37:24,980 things that are giving me nightmares 1054 00:37:28,800 --> 00:37:29,940 hello 1055 00:37:29,940 --> 00:37:33,180 so how to find a good vendor pin test 1056 00:37:33,180 --> 00:37:35,579 vendor is it sort of G2 reviews because 1057 00:37:35,579 --> 00:37:38,579 I have experienced really huge vendors 1058 00:37:38,579 --> 00:37:40,619 in this Industries keeping a basic 1059 00:37:40,619 --> 00:37:43,079 process scripting issue so I mean the 1060 00:37:43,079 --> 00:37:45,300 name is not always a sign of quality 1061 00:37:45,300 --> 00:37:46,380 yeah 1062 00:37:46,380 --> 00:37:48,420 I think it's a it's an exercise in 1063 00:37:48,420 --> 00:37:50,579 diligence more than anything so when we 1064 00:37:50,579 --> 00:37:52,020 we've been looking for vendors we'll 1065 00:37:52,020 --> 00:37:54,200 like create a spreadsheet of 1066 00:37:54,200 --> 00:37:56,280 crowdsourced opinions and we'll ask 1067 00:37:56,280 --> 00:37:57,720 people on the team on the security team 1068 00:37:57,720 --> 00:37:59,280 like hey what vendors have you heard of 1069 00:37:59,280 --> 00:38:01,140 what vendors have you worked with which 1070 00:38:01,140 --> 00:38:02,579 ones did you have good experiences with 1071 00:38:02,579 --> 00:38:04,320 which ones did you have bad experiences 1072 00:38:04,320 --> 00:38:05,760 with and just kind of crowdsource 1073 00:38:05,760 --> 00:38:08,099 opinions there and then once you have a 1074 00:38:08,099 --> 00:38:09,920 decent list of maybe like 10 different 1075 00:38:09,920 --> 00:38:12,540 places you can go to their website and 1076 00:38:12,540 --> 00:38:13,980 see if they have sample reports there 1077 00:38:13,980 --> 00:38:15,720 see if they have information about their 1078 00:38:15,720 --> 00:38:17,220 pricing sometimes it might be a little 1079 00:38:17,220 --> 00:38:19,020 bit hard to find that information so 1080 00:38:19,020 --> 00:38:21,060 that's when you start having calls you 1081 00:38:21,060 --> 00:38:23,160 might pick like two or three of them to 1082 00:38:23,160 --> 00:38:25,380 have phone calls with and then ask them 1083 00:38:25,380 --> 00:38:26,880 all the information that you need to 1084 00:38:26,880 --> 00:38:29,579 like figure out does this budget work do 1085 00:38:29,579 --> 00:38:30,839 I think that you're going to do a good 1086 00:38:30,839 --> 00:38:33,780 job do I know your areas of expertise 1087 00:38:33,780 --> 00:38:35,339 that kind of thing so there is no such 1088 00:38:35,339 --> 00:38:37,500 thing like Google reviews or G2 reviews 1089 00:38:37,500 --> 00:38:39,900 or whatever you know maybe we need to to 1090 00:38:39,900 --> 00:38:43,380 start a pen test consultancy like Yelp 1091 00:38:43,380 --> 00:38:44,940 but yeah I haven't seen anything like 1092 00:38:44,940 --> 00:38:46,260 that yet 1093 00:38:46,260 --> 00:38:47,940 fortunately because sometimes sales 1094 00:38:47,940 --> 00:38:50,040 people are much better than their pen 1095 00:38:50,040 --> 00:38:52,500 testers right yeah it's possible some of 1096 00:38:52,500 --> 00:38:54,720 the better calls that I've had with pen 1097 00:38:54,720 --> 00:38:56,099 test firms that are like just for 1098 00:38:56,099 --> 00:38:57,540 figuring out if it's gonna work or not 1099 00:38:57,540 --> 00:38:59,339 they'll include the consultants and then 1100 00:38:59,339 --> 00:39:00,660 that way you can have that conversation 1101 00:39:00,660 --> 00:39:03,359 with the Consultants to figure out if 1102 00:39:03,359 --> 00:39:04,560 they're going to do what you what you 1103 00:39:04,560 --> 00:39:07,020 need them to do yeah thank you great 1104 00:39:07,020 --> 00:39:09,380 though 1105 00:39:11,880 --> 00:39:14,420 awesome 1106 00:39:18,420 --> 00:39:23,300 thanks everybody happy Defcon 1107 00:39:25,670 --> 00:39:28,709 [Music]