1 00:00:00,480 --> 00:00:02,659 foreign 2 00:00:03,030 --> 00:00:07,209 [Music] 3 00:00:11,420 --> 00:00:14,460 thank you for coming today looking 4 00:00:14,460 --> 00:00:16,619 forward to talking with you about no 5 00:00:16,619 --> 00:00:18,480 code Security review what should I 6 00:00:18,480 --> 00:00:21,240 review an application without code 7 00:00:21,240 --> 00:00:24,000 who am I I'm in a Kim I'm leading 8 00:00:24,000 --> 00:00:26,160 security and Senior at elmquark I have 9 00:00:26,160 --> 00:00:27,599 been working on local security 10 00:00:27,599 --> 00:00:30,480 assessment over two years and I also 11 00:00:30,480 --> 00:00:33,480 help I also help to clients to 12 00:00:33,480 --> 00:00:35,760 developing the digital transformation 13 00:00:35,760 --> 00:00:39,059 securely during the pandemic period I'm 14 00:00:39,059 --> 00:00:41,340 also a abstract engineer over seven 15 00:00:41,340 --> 00:00:44,040 years and working on the web and mobile 16 00:00:44,040 --> 00:00:47,100 application previously I was a software 17 00:00:47,100 --> 00:00:49,739 engineer developing the security tools 18 00:00:49,739 --> 00:00:52,980 and mobile application 19 00:00:52,980 --> 00:00:56,520 photo disclaimer the opinion Express are 20 00:00:56,520 --> 00:00:59,520 solely by my own and do not express the 21 00:00:59,520 --> 00:01:03,660 view or opinion from my my employer this 22 00:01:03,660 --> 00:01:05,880 presentation is designed to give the 23 00:01:05,880 --> 00:01:08,760 overall security risk on the low code no 24 00:01:08,760 --> 00:01:11,220 code platform or application built-in 25 00:01:11,220 --> 00:01:14,280 bio on it therefore I do not promote it 26 00:01:14,280 --> 00:01:18,740 or endorse any provider Solutions 27 00:01:19,080 --> 00:01:22,020 yeah people we start to what we are 28 00:01:22,020 --> 00:01:23,880 going to talking about I have a couple 29 00:01:23,880 --> 00:01:26,040 of questions you guys have you ever 30 00:01:26,040 --> 00:01:30,299 heard of a no code or no code anyone 31 00:01:30,299 --> 00:01:33,479 yeah and doesn't anyone actually using 32 00:01:33,479 --> 00:01:35,220 the no code application local 33 00:01:35,220 --> 00:01:38,220 duplication in your organization 34 00:01:38,220 --> 00:01:40,439 well that's surprised I thought it's 35 00:01:40,439 --> 00:01:43,979 only my team can use the local okay so 36 00:01:43,979 --> 00:01:46,140 have you ever guys the reviews the no 37 00:01:46,140 --> 00:01:49,200 code applications assessment 38 00:01:49,200 --> 00:01:51,540 no okay that's good that's the reason 39 00:01:51,540 --> 00:01:53,180 you guys coming here 40 00:01:53,180 --> 00:01:55,860 so those of you don't know don't worry 41 00:01:55,860 --> 00:01:58,439 about it today I will cover all the 42 00:01:58,439 --> 00:02:00,560 things that local local Security review 43 00:02:00,560 --> 00:02:04,259 so I have a divided my presentation into 44 00:02:04,259 --> 00:02:07,619 three main parts first is that what is 45 00:02:07,619 --> 00:02:10,739 the local application and second is the 46 00:02:10,739 --> 00:02:13,260 what are the security risk no code and 47 00:02:13,260 --> 00:02:16,739 how to prevent them lastly are we guided 48 00:02:16,739 --> 00:02:19,080 to how to conducting the security review 49 00:02:19,080 --> 00:02:22,379 of no code local the application and we 50 00:02:22,379 --> 00:02:24,959 will also exercise together no code 51 00:02:24,959 --> 00:02:27,180 Security review and also I'm gonna 52 00:02:27,180 --> 00:02:29,400 demonstrating the how this Security 53 00:02:29,400 --> 00:02:32,480 review automatically 54 00:02:32,520 --> 00:02:34,860 music is getting louder so I have to 55 00:02:34,860 --> 00:02:37,379 speak curve so first thing is that 56 00:02:37,379 --> 00:02:39,480 what's the software development Trend 57 00:02:39,480 --> 00:02:43,800 did in in 2020 anyone tell me what is 58 00:02:43,800 --> 00:02:45,239 the latest security a software 59 00:02:45,239 --> 00:02:48,000 development trend 60 00:02:48,000 --> 00:02:50,220 Noah 61 00:02:50,220 --> 00:02:52,500 yeah 62 00:02:52,500 --> 00:02:55,980 any other yeah I will I will tell the 63 00:02:55,980 --> 00:02:59,099 answer is the popularity of local no 64 00:02:59,099 --> 00:03:00,440 code platform 65 00:03:00,440 --> 00:03:04,260 and the reason is that business try to 66 00:03:04,260 --> 00:03:06,599 looking away to connecting the their 67 00:03:06,599 --> 00:03:09,420 customer and users digitally however 68 00:03:09,420 --> 00:03:12,060 there is a challenging to make a digital 69 00:03:12,060 --> 00:03:14,760 transformation in their legacy program 70 00:03:14,760 --> 00:03:18,420 because they need to have a right it 71 00:03:18,420 --> 00:03:20,760 budget and need a resource to building 72 00:03:20,760 --> 00:03:23,400 that digital transformation however 73 00:03:23,400 --> 00:03:26,580 during the Kobe outbreak it accelerating 74 00:03:26,580 --> 00:03:29,040 their needs to building the digital 75 00:03:29,040 --> 00:03:31,800 transformation because as you all know 76 00:03:31,800 --> 00:03:35,159 that we are a communist enforced that 77 00:03:35,159 --> 00:03:38,519 many of millions of people work and 78 00:03:38,519 --> 00:03:40,620 learn from home so therefore the 79 00:03:40,620 --> 00:03:43,319 business need to work in their their 80 00:03:43,319 --> 00:03:46,799 service with the online 81 00:03:46,799 --> 00:03:49,799 and according to the recent Gardener 82 00:03:49,799 --> 00:03:52,799 research they predicted that 70 percent 83 00:03:52,799 --> 00:03:55,799 of new application building by uh 84 00:03:55,799 --> 00:03:58,019 Enterprise that we're going to be using 85 00:03:58,019 --> 00:04:01,019 the local local platform technology for 86 00:04:01,019 --> 00:04:05,159 new application use in 2020 they already 87 00:04:05,159 --> 00:04:07,319 used less than 20 percent of new 88 00:04:07,319 --> 00:04:09,540 application building by local local 89 00:04:09,540 --> 00:04:11,040 technology 90 00:04:11,040 --> 00:04:14,519 so why does business want to use the as 91 00:04:14,519 --> 00:04:16,798 a local local technology 92 00:04:16,798 --> 00:04:19,560 the reason is that we all know that 93 00:04:19,560 --> 00:04:21,899 there is a difficulty challenging in the 94 00:04:21,899 --> 00:04:24,479 traditional development in the 95 00:04:24,479 --> 00:04:26,340 traditional development software 96 00:04:26,340 --> 00:04:29,100 development everything has to be called 97 00:04:29,100 --> 00:04:32,580 by hand it requires the level engineer 98 00:04:32,580 --> 00:04:35,940 to do building the application and also 99 00:04:35,940 --> 00:04:37,979 working on the very time consuming 100 00:04:37,979 --> 00:04:38,940 process 101 00:04:38,940 --> 00:04:42,540 it is also very challenging to updating 102 00:04:42,540 --> 00:04:45,900 the your software after the application 103 00:04:45,900 --> 00:04:49,080 building on the production 104 00:04:49,080 --> 00:04:52,620 so how can local no code can help the 105 00:04:52,620 --> 00:04:56,100 business to investor transformation 106 00:04:56,100 --> 00:04:58,680 first thing is that a local local 107 00:04:58,680 --> 00:05:01,440 platform allows the business user become 108 00:05:01,440 --> 00:05:03,840 a developer 109 00:05:03,840 --> 00:05:06,240 we are called that developers citizen 110 00:05:06,240 --> 00:05:09,479 developer and it also speed up the 111 00:05:09,479 --> 00:05:11,880 development process by allowing business 112 00:05:11,880 --> 00:05:14,400 users to creating their own business 113 00:05:14,400 --> 00:05:17,160 solution they don't need to put all the 114 00:05:17,160 --> 00:05:20,160 pressure to the IT team waiting them 115 00:05:20,160 --> 00:05:22,020 their cue to building the application 116 00:05:22,020 --> 00:05:24,780 they can just accelerating the 117 00:05:24,780 --> 00:05:26,820 requirement Gathering themselves and 118 00:05:26,820 --> 00:05:28,919 then they save a time to writing the 119 00:05:28,919 --> 00:05:30,000 code 120 00:05:30,000 --> 00:05:33,300 another advantage of using the local low 121 00:05:33,300 --> 00:05:36,180 code application is that it can save 122 00:05:36,180 --> 00:05:39,419 money is one of the best attractive why 123 00:05:39,419 --> 00:05:42,000 business want to use they don't need to 124 00:05:42,000 --> 00:05:44,580 hire in the specialized engineer and 125 00:05:44,580 --> 00:05:47,340 also they don't need to buy per 126 00:05:47,340 --> 00:05:50,759 additional Legacy maintenance on their 127 00:05:50,759 --> 00:05:53,940 own application 128 00:05:54,060 --> 00:05:56,400 so let's take a look at the what is the 129 00:05:56,400 --> 00:05:58,500 key feature of the local no code 130 00:05:58,500 --> 00:06:01,380 platform first thing is that drag and 131 00:06:01,380 --> 00:06:03,720 drop in toothpaste drag and drive 132 00:06:03,720 --> 00:06:06,180 interface is one of the core local no 133 00:06:06,180 --> 00:06:08,759 code platform features developer used 134 00:06:08,759 --> 00:06:11,940 the pre-builting component and then drag 135 00:06:11,940 --> 00:06:14,400 just dragging to the Whiteboard 136 00:06:14,400 --> 00:06:16,919 application that's all that's how to 137 00:06:16,919 --> 00:06:19,500 building the application and it also 138 00:06:19,500 --> 00:06:21,960 providing the visual modeling it will 139 00:06:21,960 --> 00:06:24,900 allows the every processes presented and 140 00:06:24,900 --> 00:06:27,060 it will show the business workloads 141 00:06:27,060 --> 00:06:29,100 graphically in the platform 142 00:06:29,100 --> 00:06:32,240 and it also providing the reusability 143 00:06:32,240 --> 00:06:35,160 local law could make very easy to 144 00:06:35,160 --> 00:06:36,720 building the repeatable application 145 00:06:36,720 --> 00:06:39,660 compared to the traditional one user 146 00:06:39,660 --> 00:06:41,699 just copy and paste the application 147 00:06:41,699 --> 00:06:44,580 configuration from the previous existing 148 00:06:44,580 --> 00:06:47,639 template or they can just downloading 149 00:06:47,639 --> 00:06:50,100 the industry business associate from 150 00:06:50,100 --> 00:06:53,300 Marketplace there is no need to extract 151 00:06:53,300 --> 00:06:57,060 dependency patchy or additional Library 152 00:06:57,060 --> 00:07:00,479 required to running this application 153 00:07:00,479 --> 00:07:03,660 lastly but most important key feature I 154 00:07:03,660 --> 00:07:07,020 want to share is the security most 155 00:07:07,020 --> 00:07:10,380 commercial local platform supporting the 156 00:07:10,380 --> 00:07:13,139 Enterprise grade solution which means 157 00:07:13,139 --> 00:07:15,000 that they providing the comprehensive 158 00:07:15,000 --> 00:07:17,220 security feature such as the 159 00:07:17,220 --> 00:07:20,280 multi-factor authentication or single 160 00:07:20,280 --> 00:07:23,039 sign-on or semi integration for you 161 00:07:23,039 --> 00:07:26,220 centralized user management it also 162 00:07:26,220 --> 00:07:28,500 protected the data so that they 163 00:07:28,500 --> 00:07:31,020 definitely protected the data encryption 164 00:07:31,020 --> 00:07:33,840 in transit and West also in providing 165 00:07:33,840 --> 00:07:36,360 the most of the platform providing the 166 00:07:36,360 --> 00:07:38,460 access log that what users are trying to 167 00:07:38,460 --> 00:07:42,360 do in the platform and application 168 00:07:42,360 --> 00:07:46,080 now let's take a look at the the high 169 00:07:46,080 --> 00:07:48,300 level difference between the traditional 170 00:07:48,300 --> 00:07:51,960 and local and local developmented the 171 00:07:51,960 --> 00:07:54,720 picture shows that uh the more the 172 00:07:54,720 --> 00:07:56,780 traditional development is required 100 173 00:07:56,780 --> 00:08:00,060 coordinated the the last needed for the 174 00:08:00,060 --> 00:08:01,919 low code and then there is a gerocode 175 00:08:01,919 --> 00:08:04,199 needed no code in developing the 176 00:08:04,199 --> 00:08:07,319 application the more code needed means 177 00:08:07,319 --> 00:08:10,039 that the more professional 178 00:08:10,039 --> 00:08:14,099 developers are required so that more the 179 00:08:14,099 --> 00:08:15,680 the 180 00:08:15,680 --> 00:08:19,500 professional developer can building very 181 00:08:19,500 --> 00:08:22,379 customized flexible application on their 182 00:08:22,379 --> 00:08:25,440 own using manual coding they can also 183 00:08:25,440 --> 00:08:28,800 choose their own technical stack API 184 00:08:28,800 --> 00:08:30,900 infrastructure operation whatever they 185 00:08:30,900 --> 00:08:33,779 want so that they will be able to get 186 00:08:33,779 --> 00:08:36,120 the higher product control how to 187 00:08:36,120 --> 00:08:37,799 building the application 188 00:08:37,799 --> 00:08:40,380 on the other hand low code or no code 189 00:08:40,380 --> 00:08:42,299 they don't need to involving this 190 00:08:42,299 --> 00:08:45,120 process they just use the platform what 191 00:08:45,120 --> 00:08:47,700 they're supporting so it will less 192 00:08:47,700 --> 00:08:49,800 product control control than the 193 00:08:49,800 --> 00:08:52,800 traditional one but they will save a 194 00:08:52,800 --> 00:08:56,339 time to maintain this kind of thing so 195 00:08:56,339 --> 00:08:58,920 that they also don't need to writing the 196 00:08:58,920 --> 00:09:01,680 code so the productivity is much higher 197 00:09:01,680 --> 00:09:04,860 than less low code or or traditional 198 00:09:04,860 --> 00:09:07,260 development 199 00:09:07,260 --> 00:09:10,260 now let's move on to the second part of 200 00:09:10,260 --> 00:09:13,620 our topic is a security concern uh 201 00:09:13,620 --> 00:09:16,440 according to the documenting survey in 202 00:09:16,440 --> 00:09:19,980 January 2020 they asked it and security 203 00:09:19,980 --> 00:09:22,860 professional about what security concern 204 00:09:22,860 --> 00:09:25,560 do you have regarding the local local 205 00:09:25,560 --> 00:09:28,459 platform 206 00:09:28,640 --> 00:09:31,279 32 percent 207 00:09:31,279 --> 00:09:34,560 response that they think that this 208 00:09:34,560 --> 00:09:37,560 application has no data governments how 209 00:09:37,560 --> 00:09:40,800 to handle the user how to handle the 210 00:09:40,800 --> 00:09:43,820 data and how to accessing the data 211 00:09:43,820 --> 00:09:48,540 and 26 say they don't trust this low 212 00:09:48,540 --> 00:09:51,240 code no code platform vendors 213 00:09:51,240 --> 00:09:54,480 another 26 percent say they don't know 214 00:09:54,480 --> 00:09:56,459 how to handle how to check double 215 00:09:56,459 --> 00:09:59,060 property in the application 216 00:09:59,060 --> 00:10:04,560 and 25 say it or security team don't 217 00:10:04,560 --> 00:10:07,680 know that what kind of uh application 218 00:10:07,680 --> 00:10:10,200 we're creating on the platform the 219 00:10:10,200 --> 00:10:13,680 reason is that the business user non-iit 220 00:10:13,680 --> 00:10:16,320 team will managing this platform so it 221 00:10:16,320 --> 00:10:19,080 will easily bypassing the engineering 222 00:10:19,080 --> 00:10:22,760 team software development process 223 00:10:23,220 --> 00:10:26,399 and let me expanding the reason why they 224 00:10:26,399 --> 00:10:29,700 concern about those local local platform 225 00:10:29,700 --> 00:10:32,820 use I guess first main reason is that 226 00:10:32,820 --> 00:10:35,220 reading reduce it reduce the security 227 00:10:35,220 --> 00:10:37,140 visibility and control on the 228 00:10:37,140 --> 00:10:40,140 application wire code are hidden from 229 00:10:40,140 --> 00:10:43,019 the platform user the application use 230 00:10:43,019 --> 00:10:45,480 the Third Party Source Code however 231 00:10:45,480 --> 00:10:47,459 users are hard to opt out the 232 00:10:47,459 --> 00:10:49,680 pre-built-in features from the platform 233 00:10:49,680 --> 00:10:52,320 they therefore the application would 234 00:10:52,320 --> 00:10:54,360 inherit on third-party vulnerabilities 235 00:10:54,360 --> 00:10:56,339 from the platform 236 00:10:56,339 --> 00:10:59,339 also the user has the minimum access to 237 00:10:59,339 --> 00:11:01,019 the vendor source code or 238 00:11:01,019 --> 00:11:02,880 infrastructures 239 00:11:02,880 --> 00:11:06,779 like a cloud provider or any soap 240 00:11:06,779 --> 00:11:10,140 provider vendors do not share a complete 241 00:11:10,140 --> 00:11:12,180 view of their software and their 242 00:11:12,180 --> 00:11:14,820 internet system and then there is no 243 00:11:14,820 --> 00:11:17,640 easy way to inspect their system and 244 00:11:17,640 --> 00:11:20,880 verify their integrating 245 00:11:20,880 --> 00:11:23,279 the other main security concern is that 246 00:11:23,279 --> 00:11:26,100 lack of the security training among the 247 00:11:26,100 --> 00:11:29,399 citizen developer not every business 248 00:11:29,399 --> 00:11:32,279 user understanding application security 249 00:11:32,279 --> 00:11:35,399 like you guys and the failure to 250 00:11:35,399 --> 00:11:38,220 security training and awareness will 251 00:11:38,220 --> 00:11:41,399 lead the data lake datability become 252 00:11:41,399 --> 00:11:44,160 possible when the user misconfigure 253 00:11:44,160 --> 00:11:46,980 proper security control and 254 00:11:46,980 --> 00:11:51,620 also do not have a security mindset 255 00:11:52,200 --> 00:11:54,600 you can also find the technical security 256 00:11:54,600 --> 00:11:57,660 and privacy risk of the local local 257 00:11:57,660 --> 00:12:01,320 application in oauth's organization I 258 00:12:01,320 --> 00:12:03,300 just found that yeah recently I found 259 00:12:03,300 --> 00:12:06,360 that oops also publishes local local 260 00:12:06,360 --> 00:12:09,839 security top 10 risk I'm not gonna walk 261 00:12:09,839 --> 00:12:13,140 through at each risk in at this time but 262 00:12:13,140 --> 00:12:15,540 I will talk of a few of them until later 263 00:12:15,540 --> 00:12:17,579 while we are the exercising security 264 00:12:17,579 --> 00:12:20,180 with you 265 00:12:21,360 --> 00:12:24,180 so let me pre-summarize that what we 266 00:12:24,180 --> 00:12:26,459 talk about the security concern and the 267 00:12:26,459 --> 00:12:28,260 local local platform 268 00:12:28,260 --> 00:12:31,019 first is that local does not mean the 269 00:12:31,019 --> 00:12:33,959 noble novelty there are inheritant 270 00:12:33,959 --> 00:12:35,880 vulnerability from the third-party 271 00:12:35,880 --> 00:12:38,640 platform code and also there are 272 00:12:38,640 --> 00:12:40,880 vulnerability happen by 273 00:12:40,880 --> 00:12:42,899 citizen users generate the 274 00:12:42,899 --> 00:12:46,320 misconfiguration in the platform 275 00:12:46,320 --> 00:12:48,720 and also the code does not mean the no 276 00:12:48,720 --> 00:12:51,240 security needed you will need to working 277 00:12:51,240 --> 00:12:53,880 with the citizen developer to building 278 00:12:53,880 --> 00:12:57,320 the secure applications 279 00:12:57,480 --> 00:13:00,720 so how to stay secure using the local no 280 00:13:00,720 --> 00:13:03,480 code platform here are the mitigations 281 00:13:03,480 --> 00:13:06,600 to secure risk of security risk of the 282 00:13:06,600 --> 00:13:10,079 local local platform first thing buy the 283 00:13:10,079 --> 00:13:12,720 platform from the trust vendor you have 284 00:13:12,720 --> 00:13:14,760 to ensure that vendor have the third 285 00:13:14,760 --> 00:13:17,880 party test certification to represent 286 00:13:17,880 --> 00:13:20,519 their internal security practice and 287 00:13:20,519 --> 00:13:21,660 process 288 00:13:21,660 --> 00:13:24,959 second is that request the software bill 289 00:13:24,959 --> 00:13:27,899 of material from the vendor it's called 290 00:13:27,899 --> 00:13:30,660 the s-bomb and spam helped organization 291 00:13:30,660 --> 00:13:33,600 determine if they are vulnerable to 292 00:13:33,600 --> 00:13:36,360 security probability in the software 293 00:13:36,360 --> 00:13:38,700 component it will mitigate the security 294 00:13:38,700 --> 00:13:41,399 concern of reduce the security 295 00:13:41,399 --> 00:13:43,680 visibility of the Third Party Source 296 00:13:43,680 --> 00:13:44,639 Code 297 00:13:44,639 --> 00:13:47,279 third is that you have to train the 298 00:13:47,279 --> 00:13:50,459 citizen developer it depending on the 299 00:13:50,459 --> 00:13:53,160 your organization security program you 300 00:13:53,160 --> 00:13:55,860 will need more security Champion across 301 00:13:55,860 --> 00:13:58,380 the different department 302 00:13:58,380 --> 00:14:01,079 in the end you need to integrate the 303 00:14:01,079 --> 00:14:03,899 security into application development 304 00:14:03,899 --> 00:14:06,180 each platform providing the different 305 00:14:06,180 --> 00:14:09,180 security control and configuration 306 00:14:09,180 --> 00:14:11,519 therefore you need to make sure that 307 00:14:11,519 --> 00:14:14,160 understand how platform providing the 308 00:14:14,160 --> 00:14:16,680 security control in to protect your 309 00:14:16,680 --> 00:14:19,440 application you also ensure that the 310 00:14:19,440 --> 00:14:21,600 application following the industry-based 311 00:14:21,600 --> 00:14:24,200 security best practice 312 00:14:24,200 --> 00:14:28,620 so back to my topic title what should I 313 00:14:28,620 --> 00:14:31,139 review an application without code the 314 00:14:31,139 --> 00:14:33,839 application security engineer will need 315 00:14:33,839 --> 00:14:37,860 to review business logic and workflow or 316 00:14:37,860 --> 00:14:40,860 application configuration instead of the 317 00:14:40,860 --> 00:14:42,720 source code that's a huge difference 318 00:14:42,720 --> 00:14:45,480 what you are going to do in the local no 319 00:14:45,480 --> 00:14:48,899 code developmental Security review 320 00:14:48,899 --> 00:14:50,959 you also need to 321 00:14:50,959 --> 00:14:54,060 train the citizen developer or business 322 00:14:54,060 --> 00:14:57,779 user instead of the product developer a 323 00:14:57,779 --> 00:15:02,180 professional developer software engineer 324 00:15:02,699 --> 00:15:05,579 then application security engineer also 325 00:15:05,579 --> 00:15:09,360 involving that local locals SDS process 326 00:15:09,360 --> 00:15:13,019 like traditional sdsc process here are 327 00:15:13,019 --> 00:15:15,839 the guidelines the what you should do in 328 00:15:15,839 --> 00:15:18,600 the local local Security review first 329 00:15:18,600 --> 00:15:21,180 thing is that during the planning make 330 00:15:21,180 --> 00:15:22,740 sure you understand the business 331 00:15:22,740 --> 00:15:25,860 requirement then find that how far the 332 00:15:25,860 --> 00:15:29,100 local local security provider can 333 00:15:29,100 --> 00:15:32,160 protect your application so that help 334 00:15:32,160 --> 00:15:34,560 the business stakeholder by purchasing 335 00:15:34,560 --> 00:15:36,839 the right platform this is a very 336 00:15:36,839 --> 00:15:39,180 important step before you start to 337 00:15:39,180 --> 00:15:42,300 Security review because if they fail to 338 00:15:42,300 --> 00:15:45,180 providing your security required well to 339 00:15:45,180 --> 00:15:47,940 providing security requirement you will 340 00:15:47,940 --> 00:15:50,399 fail because it is really a challenge to 341 00:15:50,399 --> 00:15:52,320 integrate your own existing secret 342 00:15:52,320 --> 00:15:55,380 control or you may be get you may not 343 00:15:55,380 --> 00:15:57,720 get the Ultimate Security Control to 344 00:15:57,720 --> 00:15:59,880 building on that so you might need to 345 00:15:59,880 --> 00:16:02,220 have additional time resource to 346 00:16:02,220 --> 00:16:04,380 building the extra security control 347 00:16:04,380 --> 00:16:07,320 which is cost more than the traditional 348 00:16:07,320 --> 00:16:09,720 development process 349 00:16:09,720 --> 00:16:12,540 and during the building Pace I highly 350 00:16:12,540 --> 00:16:15,779 recommend it to learn the platform like 351 00:16:15,779 --> 00:16:18,120 when you do the code review you should 352 00:16:18,120 --> 00:16:21,120 run the how the program language coding 353 00:16:21,120 --> 00:16:23,459 works so you have to run that how 354 00:16:23,459 --> 00:16:25,920 platform works and then building the 355 00:16:25,920 --> 00:16:28,920 security best practice security control 356 00:16:28,920 --> 00:16:31,800 only do not rely on the security control 357 00:16:31,800 --> 00:16:34,800 setting by the citizen developer if 358 00:16:34,800 --> 00:16:38,519 therefore if you want to make you want 359 00:16:38,519 --> 00:16:40,680 to make sure that citizen developer to 360 00:16:40,680 --> 00:16:43,560 proper security control set up the set 361 00:16:43,560 --> 00:16:45,600 up the security control by the poor 362 00:16:45,600 --> 00:16:47,880 people the citizen developer using that 363 00:16:47,880 --> 00:16:50,820 application and then train them to do 364 00:16:50,820 --> 00:16:54,060 not touch my secret control name 365 00:16:54,060 --> 00:16:57,600 and during the verifications based due 366 00:16:57,600 --> 00:17:00,480 to your usual security testing only one 367 00:17:00,480 --> 00:17:02,639 difference in this phase between the 368 00:17:02,639 --> 00:17:04,740 traditional development secretariable 369 00:17:04,740 --> 00:17:07,319 and local no code is that you're not 370 00:17:07,319 --> 00:17:10,380 gonna do the code review instead of a 371 00:17:10,380 --> 00:17:11,819 you were more focusing on the 372 00:17:11,819 --> 00:17:14,280 configuration review and then do the 373 00:17:14,280 --> 00:17:16,439 dynamic dynamic security testing against 374 00:17:16,439 --> 00:17:20,119 your Docker local application 375 00:17:20,119 --> 00:17:22,619 lastly after you are running the 376 00:17:22,619 --> 00:17:24,619 application running on the production 377 00:17:24,619 --> 00:17:27,720 continuously maintain it using burden 378 00:17:27,720 --> 00:17:31,260 control also monitoring the application 379 00:17:31,260 --> 00:17:33,240 and the platform 380 00:17:33,240 --> 00:17:36,840 from my experience this life cycle way 381 00:17:36,840 --> 00:17:38,880 way faster than traditional development 382 00:17:38,880 --> 00:17:42,000 you might be doing this cycle within the 383 00:17:42,000 --> 00:17:44,640 one day because they do not coding they 384 00:17:44,640 --> 00:17:47,220 just add updating the configuration so 385 00:17:47,220 --> 00:17:49,440 cycle will be really fast so you have to 386 00:17:49,440 --> 00:17:52,679 prepare that how to review this fast 387 00:17:52,679 --> 00:17:56,720 like the development tip 388 00:17:57,360 --> 00:17:59,220 so now let's 389 00:17:59,220 --> 00:18:02,700 do the security review together today we 390 00:18:02,700 --> 00:18:05,700 will exercise two local Security review 391 00:18:05,700 --> 00:18:09,059 I have been secured local low cost 392 00:18:09,059 --> 00:18:11,580 application Security review over 50 393 00:18:11,580 --> 00:18:14,760 application uh during two weeks last 394 00:18:14,760 --> 00:18:18,480 year and before pandemic at the pandemic 395 00:18:18,480 --> 00:18:21,299 period And I have been working on a lot 396 00:18:21,299 --> 00:18:22,860 of Citizen developer building 397 00:18:22,860 --> 00:18:26,700 application and then those two uh 398 00:18:26,700 --> 00:18:28,620 security code review we are going to see 399 00:18:28,620 --> 00:18:30,960 is the most common security mistake from 400 00:18:30,960 --> 00:18:33,720 the citizen developer so you might see 401 00:18:33,720 --> 00:18:36,360 the same security mistake if you you 402 00:18:36,360 --> 00:18:38,760 from your citizen developer 403 00:18:38,760 --> 00:18:41,400 first thing I want to show is the 404 00:18:41,400 --> 00:18:44,419 service integration in the platform 405 00:18:44,419 --> 00:18:47,039 here are the business requirements 406 00:18:47,039 --> 00:18:49,860 building the application that user can 407 00:18:49,860 --> 00:18:52,260 see their own data only from the third 408 00:18:52,260 --> 00:18:54,620 party service 409 00:18:54,620 --> 00:18:57,600 here is the limitation we're not going 410 00:18:57,600 --> 00:19:01,200 to be allow the user to authenticate the 411 00:19:01,200 --> 00:19:03,360 third-part service through the 412 00:19:03,360 --> 00:19:05,760 application we will just creating the 413 00:19:05,760 --> 00:19:08,400 service account or for the third party 414 00:19:08,400 --> 00:19:11,520 service then we will retribute data 415 00:19:11,520 --> 00:19:15,379 using the service account 416 00:19:15,600 --> 00:19:18,740 then please guys keep 417 00:19:18,740 --> 00:19:21,900 focusing on this stuff I'm gonna ask 418 00:19:21,900 --> 00:19:24,660 questions so and then I will throw out 419 00:19:24,660 --> 00:19:26,760 the swag for you guys 420 00:19:26,760 --> 00:19:29,820 first thing uh I'm gonna take a look the 421 00:19:29,820 --> 00:19:32,120 two area first is the service 422 00:19:32,120 --> 00:19:35,880 Administration page where they developer 423 00:19:35,880 --> 00:19:38,520 creating the service and the second area 424 00:19:38,520 --> 00:19:40,799 I want to take a look is the application 425 00:19:40,799 --> 00:19:43,620 where the developer adding the service 426 00:19:43,620 --> 00:19:46,260 so now let's take a look the service of 427 00:19:46,260 --> 00:19:49,320 the ministration page burst so developer 428 00:19:49,320 --> 00:19:51,960 in the service Administration part they 429 00:19:51,960 --> 00:19:55,140 created the service so as you see that 430 00:19:55,140 --> 00:19:57,960 they adding the service name and then 431 00:19:57,960 --> 00:20:00,600 they adding the service URL what to 432 00:20:00,600 --> 00:20:04,520 connect and here are the configuration 433 00:20:04,520 --> 00:20:07,980 they actually disable allow service 434 00:20:07,980 --> 00:20:10,740 execution server side only which means 435 00:20:10,740 --> 00:20:14,760 that it will allow us to uh client-side 436 00:20:14,760 --> 00:20:17,700 can execute directly this API 437 00:20:17,700 --> 00:20:20,760 and then go go to the managing access 438 00:20:20,760 --> 00:20:24,299 page and it will allows the global 439 00:20:24,299 --> 00:20:28,200 access Services allowed to other other 440 00:20:28,200 --> 00:20:30,539 applications to allow to access this 441 00:20:30,539 --> 00:20:34,500 service one of the feature local NOCO 442 00:20:34,500 --> 00:20:36,179 platform they supporting number two 443 00:20:36,179 --> 00:20:38,400 tenant application so you can building 444 00:20:38,400 --> 00:20:40,380 multiple applications in the same 445 00:20:40,380 --> 00:20:42,900 platform 446 00:20:42,900 --> 00:20:45,419 let's keep checking on their service 447 00:20:45,419 --> 00:20:48,900 account configuration I check on that 448 00:20:48,900 --> 00:20:51,000 they are using the basic authentication 449 00:20:51,000 --> 00:20:56,039 method and they are using uh 100 I guess 450 00:20:56,039 --> 00:21:00,299 personal account to set up the third 451 00:21:00,299 --> 00:21:02,520 party connection 452 00:21:02,520 --> 00:21:04,799 and that's all about the service of the 453 00:21:04,799 --> 00:21:07,679 administration review and now let's move 454 00:21:07,679 --> 00:21:11,100 to the application configuration part so 455 00:21:11,100 --> 00:21:13,500 developer adding the service we just 456 00:21:13,500 --> 00:21:15,900 creating and then they adding the URL 457 00:21:15,900 --> 00:21:20,280 what uh URL query to what to retrieve in 458 00:21:20,280 --> 00:21:23,039 this application 459 00:21:23,039 --> 00:21:27,020 yeah that's all I review so let's start 460 00:21:27,020 --> 00:21:30,240 did you guys find the security issue in 461 00:21:30,240 --> 00:21:33,600 this configuration yeah 462 00:21:33,600 --> 00:21:36,500 can can you speaker 463 00:21:36,500 --> 00:21:39,419 okay yeah it could be but it's still 464 00:21:39,419 --> 00:21:41,159 yeah 465 00:21:41,159 --> 00:21:43,440 industry is still using it but yeah 466 00:21:43,440 --> 00:21:46,640 thank you for answering yeah 467 00:21:47,600 --> 00:21:51,659 yeah so in this configuration or we know 468 00:21:51,659 --> 00:21:54,179 have you guys find the security issue 469 00:21:54,179 --> 00:21:56,419 here 470 00:21:57,179 --> 00:22:00,140 uh 471 00:22:02,100 --> 00:22:06,620 yeah yeah true yeah 472 00:22:07,440 --> 00:22:10,880 and then the others 473 00:22:13,740 --> 00:22:15,960 now hint is that anything red and 474 00:22:15,960 --> 00:22:18,679 precise 475 00:22:19,500 --> 00:22:24,360 yeah then yeah let me and I found the 476 00:22:24,360 --> 00:22:25,980 full vulnerability in this security 477 00:22:25,980 --> 00:22:29,039 configuration first thing is the account 478 00:22:29,039 --> 00:22:31,740 impersonation by using the personal 479 00:22:31,740 --> 00:22:34,860 account application user will request 480 00:22:34,860 --> 00:22:37,500 the data with the development developers 481 00:22:37,500 --> 00:22:40,440 identity if you goes to the third party 482 00:22:40,440 --> 00:22:43,580 service log you will see that all the 483 00:22:43,580 --> 00:22:47,340 requests comes from the single user 484 00:22:47,340 --> 00:22:49,620 another ball with you I found that 485 00:22:49,620 --> 00:22:52,860 privilegious collections by using the 486 00:22:52,860 --> 00:22:55,020 personal account first if the personal 487 00:22:55,020 --> 00:22:59,400 account has uh admin privilege or if you 488 00:22:59,400 --> 00:23:01,679 check on carefully what is the business 489 00:23:01,679 --> 00:23:05,700 requirement is that they want to see you 490 00:23:05,700 --> 00:23:09,059 or the user's own data if you are using 491 00:23:09,059 --> 00:23:12,299 the service account you will get the 492 00:23:12,299 --> 00:23:14,419 you will may get the another 493 00:23:14,419 --> 00:23:17,460 unauthorization data from them 494 00:23:17,460 --> 00:23:20,159 and also 495 00:23:20,159 --> 00:23:24,659 we did not adding the user parameter so 496 00:23:24,659 --> 00:23:27,059 just pulling the older query it will 497 00:23:27,059 --> 00:23:30,179 allow us to get a retrieved more data 498 00:23:30,179 --> 00:23:31,980 that you expected 499 00:23:31,980 --> 00:23:36,539 and as a yeah he mentioned about that we 500 00:23:36,539 --> 00:23:39,720 also allowed to disable the server-side 501 00:23:39,720 --> 00:23:44,340 execution only so that uh and the user 502 00:23:44,340 --> 00:23:47,880 side they can discover this API and then 503 00:23:47,880 --> 00:23:49,919 they will call that API and they are 504 00:23:49,919 --> 00:23:52,919 adding the additional parameter to gain 505 00:23:52,919 --> 00:23:55,620 the additional information in it that's 506 00:23:55,620 --> 00:23:57,419 about the Privileges correlation 507 00:23:57,419 --> 00:24:00,419 vulnerability and another one is that 508 00:24:00,419 --> 00:24:03,539 authorization misuse I mentioned that 509 00:24:03,539 --> 00:24:05,940 this service is allowing the global 510 00:24:05,940 --> 00:24:08,880 access which means 511 00:24:08,880 --> 00:24:11,460 even though your application your 512 00:24:11,460 --> 00:24:13,559 platform want to using the single 513 00:24:13,559 --> 00:24:16,140 application in platform but who knows 514 00:24:16,140 --> 00:24:18,299 that in the future you're going to be 515 00:24:18,299 --> 00:24:20,820 adding the more application building on 516 00:24:20,820 --> 00:24:23,900 the platform in that case those future 517 00:24:23,900 --> 00:24:26,580 applications will automatically Grant 518 00:24:26,580 --> 00:24:29,780 access to this service 519 00:24:30,419 --> 00:24:33,120 and the last probability I found is 520 00:24:33,120 --> 00:24:35,700 daylight leakage adding the service 521 00:24:35,700 --> 00:24:38,159 integration to the application 522 00:24:38,159 --> 00:24:41,400 allows the data transfer from or to the 523 00:24:41,400 --> 00:24:42,799 platform 524 00:24:42,799 --> 00:24:47,000 well the hint is that 525 00:24:47,159 --> 00:24:49,860 service when you create the service 526 00:24:49,860 --> 00:24:53,100 developer creating the service so if you 527 00:24:53,100 --> 00:24:59,400 you have a limited you have internal 528 00:24:59,400 --> 00:25:02,480 team for trying to do some 529 00:25:02,480 --> 00:25:05,940 trying to pull in some data and then if 530 00:25:05,940 --> 00:25:07,740 they have a permission to access service 531 00:25:07,740 --> 00:25:10,679 admin they can do they can pull in the 532 00:25:10,679 --> 00:25:13,919 applicant's data easily just accessing 533 00:25:13,919 --> 00:25:17,460 this creation service automation page 534 00:25:17,460 --> 00:25:19,679 so that there will be a chance to have 535 00:25:19,679 --> 00:25:22,580 data leakage 536 00:25:22,620 --> 00:25:26,039 so next step is I'm gonna share how to 537 00:25:26,039 --> 00:25:29,400 remediating this security mistake so I'm 538 00:25:29,400 --> 00:25:31,980 gonna guide them restrict the end user 539 00:25:31,980 --> 00:25:35,940 to access API directory by enabling the 540 00:25:35,940 --> 00:25:39,059 server size security execution only 541 00:25:39,059 --> 00:25:41,760 and also I allowed to Grant service 542 00:25:41,760 --> 00:25:44,760 access to application that only need to 543 00:25:44,760 --> 00:25:46,100 perform the 544 00:25:46,100 --> 00:25:49,380 perform the job and always make sure 545 00:25:49,380 --> 00:25:52,799 that to no access by the port 546 00:25:52,799 --> 00:25:55,980 and last part of the limitation in the 547 00:25:55,980 --> 00:25:59,159 service side I'm gonna recommend it to 548 00:25:59,159 --> 00:26:00,960 creating the debit card service account 549 00:26:00,960 --> 00:26:03,960 if you are using the personal account to 550 00:26:03,960 --> 00:26:06,600 third-party integration it will easily 551 00:26:06,600 --> 00:26:08,460 uh 552 00:26:08,460 --> 00:26:11,940 easily forget the what what Security 553 00:26:11,940 --> 00:26:16,039 account are setting up in the production 554 00:26:16,039 --> 00:26:19,080 also the application side I highly 555 00:26:19,080 --> 00:26:20,940 recommend you to filter the query 556 00:26:20,940 --> 00:26:24,299 parameter with this setting the server 557 00:26:24,299 --> 00:26:27,179 size security server side security 558 00:26:27,179 --> 00:26:31,679 execution server side execution only in 559 00:26:31,679 --> 00:26:34,140 this platform either you can set up the 560 00:26:34,140 --> 00:26:36,480 service execution in the service level 561 00:26:36,480 --> 00:26:38,460 or you can also set up in the 562 00:26:38,460 --> 00:26:42,120 application Level it's up to you 563 00:26:42,120 --> 00:26:45,360 and what type of security culture are 564 00:26:45,360 --> 00:26:47,840 needed for third-party integration 565 00:26:47,840 --> 00:26:51,240 first thing is that added only approved 566 00:26:51,240 --> 00:26:54,659 service to the platform I highly 567 00:26:54,659 --> 00:26:57,360 recommend it to set up the separate role 568 00:26:57,360 --> 00:26:59,760 between the developer and administration 569 00:26:59,760 --> 00:27:03,299 role so that avoiding that uh developer 570 00:27:03,299 --> 00:27:06,600 to creating the service and adding into 571 00:27:06,600 --> 00:27:10,500 the application it will easily bypassing 572 00:27:10,500 --> 00:27:13,140 the honor approved service into the 573 00:27:13,140 --> 00:27:14,400 application 574 00:27:14,400 --> 00:27:17,940 also imposter list list privileged 575 00:27:17,940 --> 00:27:20,520 principle make sure that both the third 576 00:27:20,520 --> 00:27:23,340 party side and the application side you 577 00:27:23,340 --> 00:27:25,799 will only granted access what you need 578 00:27:25,799 --> 00:27:27,059 to access 579 00:27:27,059 --> 00:27:29,760 and also the month 580 00:27:29,760 --> 00:27:32,159 keep monitoring the data traffic post 581 00:27:32,159 --> 00:27:35,159 platform and third-part service and 582 00:27:35,159 --> 00:27:37,559 training the developer on the risk of 583 00:27:37,559 --> 00:27:40,279 insecure third-party service 584 00:27:40,279 --> 00:27:42,779 it leads more chance that they will 585 00:27:42,779 --> 00:27:45,179 bring the insecure third-party service 586 00:27:45,179 --> 00:27:49,320 such as they just adding on the FTP were 587 00:27:49,320 --> 00:27:52,760 they trying to access insecure HTTP side 588 00:27:52,760 --> 00:27:55,980 but if you are not training well to the 589 00:27:55,980 --> 00:27:58,260 citizen developer this is happening 590 00:27:58,260 --> 00:28:00,200 really 591 00:28:00,200 --> 00:28:03,480 and okay so let's move to the second 592 00:28:03,480 --> 00:28:05,940 Security review 593 00:28:05,940 --> 00:28:08,179 um I'm going to adding the security 594 00:28:08,179 --> 00:28:11,340 developer adding the security data and 595 00:28:11,340 --> 00:28:15,120 then I see that hardcore is Secret in 596 00:28:15,120 --> 00:28:16,740 plain text 597 00:28:16,740 --> 00:28:18,779 what type of vulnerability you find 598 00:28:18,779 --> 00:28:21,779 there what's the risk on this security 599 00:28:21,779 --> 00:28:24,440 mistake 600 00:28:25,799 --> 00:28:28,620 yeah yeah true 601 00:28:28,620 --> 00:28:31,860 yeah it's great yeah 602 00:28:31,860 --> 00:28:34,559 yeah so this is so simple it's like the 603 00:28:34,559 --> 00:28:37,200 same thing on the hard-coded data in the 604 00:28:37,200 --> 00:28:41,760 source code the same common mistake 605 00:28:41,760 --> 00:28:43,980 that they it will be your data the case 606 00:28:43,980 --> 00:28:47,400 anyone who can see this client ID or 607 00:28:47,400 --> 00:28:49,620 secrete either platform side or 608 00:28:49,620 --> 00:28:52,860 application side this happened a lot 609 00:28:52,860 --> 00:28:55,860 more than these traditional development 610 00:28:55,860 --> 00:28:59,279 process because the local local platform 611 00:28:59,279 --> 00:29:02,520 will everything without they do not 612 00:29:02,520 --> 00:29:04,559 write in code but they were adding the 613 00:29:04,559 --> 00:29:08,159 configuration if so there is a lot of 614 00:29:08,159 --> 00:29:12,179 area to feel uh adding the configuration 615 00:29:12,179 --> 00:29:15,960 if the platform itself or the citizen 616 00:29:15,960 --> 00:29:18,240 developer are not training well then 617 00:29:18,240 --> 00:29:21,120 they will place put the secret key in 618 00:29:21,120 --> 00:29:23,719 the wrong place 619 00:29:26,220 --> 00:29:30,960 so here are my remediation step I'm 620 00:29:30,960 --> 00:29:34,140 found that it is not just a secret key 621 00:29:34,140 --> 00:29:36,720 but I see that they're trying to adding 622 00:29:36,720 --> 00:29:40,080 the API Connection in in inside the 623 00:29:40,080 --> 00:29:42,720 application they by they're trying to 624 00:29:42,720 --> 00:29:45,419 bypassing the service administ service 625 00:29:45,419 --> 00:29:49,320 integration setting feature I feel that 626 00:29:49,320 --> 00:29:51,659 uh this citizen developer doesn't know 627 00:29:51,659 --> 00:29:54,600 how to use the service integration so I 628 00:29:54,600 --> 00:29:56,360 guide them to 629 00:29:56,360 --> 00:29:59,820 create the service and then move this 630 00:29:59,820 --> 00:30:02,039 secret to the service Administration 631 00:30:02,039 --> 00:30:04,799 part with where the service credential 632 00:30:04,799 --> 00:30:07,260 are securely stored 633 00:30:07,260 --> 00:30:10,100 there is will be a different guidance 634 00:30:10,100 --> 00:30:13,080 depending on your business solution or 635 00:30:13,080 --> 00:30:15,779 the business use case and also depending 636 00:30:15,779 --> 00:30:18,600 on the how the platform supporting this 637 00:30:18,600 --> 00:30:21,500 Secure Storage 638 00:30:22,200 --> 00:30:24,779 so what type of security control are we 639 00:30:24,779 --> 00:30:28,080 needed first thing obviously reviews the 640 00:30:28,080 --> 00:30:29,940 application configuration 641 00:30:29,940 --> 00:30:33,299 and also it's tabulously secured by the 642 00:30:33,299 --> 00:30:36,779 port make sure that you always set up 643 00:30:36,779 --> 00:30:39,120 the security by the port that will 644 00:30:39,120 --> 00:30:42,899 minimize to misconfiguration from the 645 00:30:42,899 --> 00:30:45,720 citizen developer and then you will last 646 00:30:45,720 --> 00:30:49,320 time to uh training the citizen 647 00:30:49,320 --> 00:30:50,940 developer they will already know that 648 00:30:50,940 --> 00:30:53,100 when they're using if everything set up 649 00:30:53,100 --> 00:30:55,440 secure then they will learn how to use 650 00:30:55,440 --> 00:30:58,740 security control on it also follow the 651 00:30:58,740 --> 00:31:01,100 industry security best practice 652 00:31:01,100 --> 00:31:05,220 most of the local plan platform vendor 653 00:31:05,220 --> 00:31:08,520 will follow the industry best practice 654 00:31:08,520 --> 00:31:11,159 so checking on their documentation or 655 00:31:11,159 --> 00:31:13,980 third-party service documentation and 656 00:31:13,980 --> 00:31:16,740 how they actually is providing to set up 657 00:31:16,740 --> 00:31:20,779 their configuration securely 658 00:31:21,059 --> 00:31:23,880 so we have walked through the manual 659 00:31:23,880 --> 00:31:27,299 configuration review now like you are 660 00:31:27,299 --> 00:31:29,340 doing the code review manual 661 00:31:29,340 --> 00:31:31,679 configuration review also very time 662 00:31:31,679 --> 00:31:35,720 consuming and easily missing the poverty 663 00:31:35,720 --> 00:31:38,279 finding depending on the size of your 664 00:31:38,279 --> 00:31:41,220 configuration therefore I will 665 00:31:41,220 --> 00:31:43,620 demonstrating the how to improve the 666 00:31:43,620 --> 00:31:45,899 local Security review 667 00:31:45,899 --> 00:31:49,080 I have a two methodology first thing I 668 00:31:49,080 --> 00:31:51,600 creating the script by myself and then 669 00:31:51,600 --> 00:31:54,059 running the rule against this 670 00:31:54,059 --> 00:31:57,059 configuration second thing is that I 671 00:31:57,059 --> 00:32:00,419 integrating this rules with the existing 672 00:32:00,419 --> 00:32:03,299 Source tool I use the same grip to 673 00:32:03,299 --> 00:32:07,080 running my rules and my my rule against 674 00:32:07,080 --> 00:32:11,340 this Json file okay 675 00:32:11,399 --> 00:32:15,678 let me switch it to the monitors 676 00:32:37,860 --> 00:32:41,820 yeah I have application in the no code 677 00:32:41,820 --> 00:32:44,820 platform application usually not only 678 00:32:44,820 --> 00:32:46,919 for one template they are consist of 679 00:32:46,919 --> 00:32:50,279 multiple application template then I'm 680 00:32:50,279 --> 00:32:52,520 gonna pick the one template 681 00:32:52,520 --> 00:32:54,419 configuration review for the 682 00:32:54,419 --> 00:32:55,820 demonstration 683 00:32:55,820 --> 00:32:59,520 click the one template right now 684 00:32:59,520 --> 00:33:01,320 okay 685 00:33:01,320 --> 00:33:04,200 and as you see it has a lot of 686 00:33:04,200 --> 00:33:06,360 components depending on your business 687 00:33:06,360 --> 00:33:10,500 requirement and I actually set up I 688 00:33:10,500 --> 00:33:12,539 actually adding the misconfiguration on 689 00:33:12,539 --> 00:33:16,019 purpose for the demo demo 690 00:33:16,019 --> 00:33:19,440 so for example I added actually adding 691 00:33:19,440 --> 00:33:22,980 updating the permission usually I set up 692 00:33:22,980 --> 00:33:26,279 the default permission but here I 693 00:33:26,279 --> 00:33:28,519 actually 694 00:33:38,059 --> 00:33:40,919 in here I actually updating the 695 00:33:40,919 --> 00:33:44,039 anomalies access to read only this is a 696 00:33:44,039 --> 00:33:46,860 red flag we don't in normally security 697 00:33:46,860 --> 00:33:48,480 doesn't want to allow the 698 00:33:48,480 --> 00:33:52,260 unauthorization user to access so we 699 00:33:52,260 --> 00:33:54,960 will gonna be detecting this is this 700 00:33:54,960 --> 00:33:57,500 configuration 701 00:33:59,399 --> 00:34:02,279 also I adding the third party URL and 702 00:34:02,279 --> 00:34:04,019 then we want to check that what kind of 703 00:34:04,019 --> 00:34:06,419 third-party URL service is in this 704 00:34:06,419 --> 00:34:09,080 configuration 705 00:34:10,679 --> 00:34:12,960 and I was adding the file on loading 706 00:34:12,960 --> 00:34:16,080 component and then actually forced to 707 00:34:16,080 --> 00:34:18,719 allow no restriction on the file 708 00:34:18,719 --> 00:34:21,899 formatting so this means that allow any 709 00:34:21,899 --> 00:34:25,320 type of file format to uploading 710 00:34:25,320 --> 00:34:28,580 and I have a couple of the service 711 00:34:28,580 --> 00:34:31,280 security 712 00:34:31,280 --> 00:34:35,280 misconfiguration uh like the second 713 00:34:35,280 --> 00:34:37,739 Security review with so that I adding 714 00:34:37,739 --> 00:34:43,339 the secret key in insecure place 715 00:34:45,300 --> 00:34:48,719 I adding the our Security review demo in 716 00:34:48,719 --> 00:34:51,020 here 717 00:34:53,399 --> 00:34:57,300 another one I adding the Google key here 718 00:34:57,300 --> 00:35:00,599 one tip I want to share is that if you 719 00:35:00,599 --> 00:35:02,400 don't know what where is the secure 720 00:35:02,400 --> 00:35:05,580 location to adding the secret key if you 721 00:35:05,580 --> 00:35:08,400 see that the value is clear text that's 722 00:35:08,400 --> 00:35:11,960 definitely not a secure place 723 00:35:12,540 --> 00:35:17,099 so we take a look the review and I 724 00:35:17,099 --> 00:35:19,560 in this platform allowed to downloading 725 00:35:19,560 --> 00:35:22,680 the application configuration easily 726 00:35:22,680 --> 00:35:25,879 copy the module definition 727 00:35:27,839 --> 00:35:31,079 so I copy the module definition it is a 728 00:35:31,079 --> 00:35:34,140 Json format so I'm gonna creating the 729 00:35:34,140 --> 00:35:35,579 Json file 730 00:35:35,579 --> 00:35:38,000 set demo 731 00:35:38,000 --> 00:35:42,240 then copy the old configuration it 732 00:35:42,240 --> 00:35:44,099 actually has not only for the security 733 00:35:44,099 --> 00:35:46,680 setting it has all the setting of all 734 00:35:46,680 --> 00:35:49,759 the decoration stuff 735 00:35:50,280 --> 00:35:54,359 so I saved that Json format and let me 736 00:35:54,359 --> 00:35:58,859 show you uh my rules set what I actually 737 00:35:58,859 --> 00:36:01,260 trying to check in on it so I try to 738 00:36:01,260 --> 00:36:04,380 check in on the permission check and 739 00:36:04,380 --> 00:36:07,020 I know that this Json format has the 740 00:36:07,020 --> 00:36:09,900 specific variable so I checking on the 741 00:36:09,900 --> 00:36:13,380 value variable and the value matching 742 00:36:13,380 --> 00:36:15,839 such as the permission if someone trying 743 00:36:15,839 --> 00:36:18,720 to changing it will show 744 00:36:18,720 --> 00:36:21,300 in the Json format so I check someone 745 00:36:21,300 --> 00:36:24,599 trying to modify the my secure control 746 00:36:24,599 --> 00:36:26,640 setting 747 00:36:26,640 --> 00:36:29,339 also I I also want to check in on the 748 00:36:29,339 --> 00:36:33,060 third party service URL and I'm creating 749 00:36:33,060 --> 00:36:35,099 the how to find the third part URL 750 00:36:35,099 --> 00:36:37,440 python script so we'll check in on the 751 00:36:37,440 --> 00:36:39,180 URL 752 00:36:39,180 --> 00:36:42,900 I also checking on the file type if they 753 00:36:42,900 --> 00:36:46,560 have no restriction I'm gonna warning my 754 00:36:46,560 --> 00:36:49,079 Security review and I'm also adding the 755 00:36:49,079 --> 00:36:51,119 five pattern if they are including the 756 00:36:51,119 --> 00:36:53,640 execution file I'm gonna definitely fail 757 00:36:53,640 --> 00:36:56,579 it this is not what I want to see if 758 00:36:56,579 --> 00:36:57,720 this doesn't make my security 759 00:36:57,720 --> 00:36:59,160 requirement 760 00:36:59,160 --> 00:37:01,859 another one is that I'm gonna find the 761 00:37:01,859 --> 00:37:05,099 hard-coded secret key I use the treble 762 00:37:05,099 --> 00:37:07,740 Hall Graphics pattern so we find the 763 00:37:07,740 --> 00:37:12,779 whole type of secret API pattern 764 00:37:15,540 --> 00:37:18,180 so I'm just running the python script 765 00:37:18,180 --> 00:37:23,480 against the abstract demo Json file 766 00:37:29,880 --> 00:37:33,420 yeah done do you guys know that how long 767 00:37:33,420 --> 00:37:36,359 does it take and the manual Security 768 00:37:36,359 --> 00:37:41,220 review of the GUI Burton if you I'm I'm 769 00:37:41,220 --> 00:37:43,619 checking on very I'm actually reviewing 770 00:37:43,619 --> 00:37:46,980 very fast it I think depending on the 10 771 00:37:46,980 --> 00:37:50,400 module 10 component it will take up at 772 00:37:50,400 --> 00:37:52,800 least five more than five minutes then 773 00:37:52,800 --> 00:37:55,440 think about that this application have a 774 00:37:55,440 --> 00:37:59,280 20 template and then which means more 775 00:37:59,280 --> 00:38:02,760 than a hundred minutes to checking every 776 00:38:02,760 --> 00:38:06,060 single one but in this uh it with the 777 00:38:06,060 --> 00:38:09,180 automation script check it is one second 778 00:38:09,180 --> 00:38:12,300 so you will get the 20 second to review 779 00:38:12,300 --> 00:38:14,700 the 20 template 780 00:38:14,700 --> 00:38:19,200 uh let's check that wizard so it was 781 00:38:19,200 --> 00:38:21,720 checking on the detecting the permission 782 00:38:21,720 --> 00:38:24,480 where they switch it changing the 783 00:38:24,480 --> 00:38:27,119 multiple setting it will also checking 784 00:38:27,119 --> 00:38:29,520 on the third part URL 785 00:38:29,520 --> 00:38:32,460 any third-part URL I add a day at trying 786 00:38:32,460 --> 00:38:35,579 to add in also detecting any integration 787 00:38:35,579 --> 00:38:37,560 service 788 00:38:37,560 --> 00:38:40,440 and also trying to checking on the five 789 00:38:40,440 --> 00:38:43,079 pattern when I when they trying to 790 00:38:43,079 --> 00:38:46,260 adding the no restriction or execution 791 00:38:46,260 --> 00:38:48,960 file here is I set up the no 792 00:38:48,960 --> 00:38:51,420 restrictions so if I it actually 793 00:38:51,420 --> 00:38:54,119 detecting the no restriction 794 00:38:54,119 --> 00:38:56,880 and also find also find the security 795 00:38:56,880 --> 00:39:00,420 pattern adding the Google API key then 796 00:39:00,420 --> 00:39:02,579 it will detect it or the Google related 797 00:39:02,579 --> 00:39:06,060 potential API keep secret pattern also 798 00:39:06,060 --> 00:39:08,640 adding the twilo API so that I've I've 799 00:39:08,640 --> 00:39:10,859 also found the trailer API 800 00:39:10,859 --> 00:39:13,920 so at this is about the debugging level 801 00:39:13,920 --> 00:39:16,260 I checking on it but usually I'm only 802 00:39:16,260 --> 00:39:18,980 checking on 803 00:39:19,020 --> 00:39:22,260 the analysis review based on my security 804 00:39:22,260 --> 00:39:25,619 requirements set so it will either fail 805 00:39:25,619 --> 00:39:28,260 or warning so you can go back to the 806 00:39:28,260 --> 00:39:31,260 configuration checking that determine 807 00:39:31,260 --> 00:39:34,680 the warning Security review 808 00:39:34,680 --> 00:39:37,220 that's about the my manual security 809 00:39:37,220 --> 00:39:40,859 testing my manual security script and 810 00:39:40,859 --> 00:39:44,220 I'm gonna show you that uh integrate 811 00:39:44,220 --> 00:39:47,060 with the same grip 812 00:39:47,460 --> 00:39:51,619 I I found that the same 813 00:39:51,960 --> 00:39:55,619 yes it's a python script I made it 814 00:39:55,619 --> 00:39:58,460 ah okay 815 00:39:59,820 --> 00:40:02,660 right here 816 00:40:03,660 --> 00:40:06,660 I slightly modify for abstract demo it 817 00:40:06,660 --> 00:40:09,420 is not the entire thing but what I do is 818 00:40:09,420 --> 00:40:12,180 that I creating the rule and then I have 819 00:40:12,180 --> 00:40:15,300 a rule engine and then I have an engine 820 00:40:15,300 --> 00:40:19,140 and running the Json so if I adding that 821 00:40:19,140 --> 00:40:22,740 which rule what review type will need 822 00:40:22,740 --> 00:40:24,839 the root and then I'm gonna checking 823 00:40:24,839 --> 00:40:27,480 that and also passing the Json file 824 00:40:27,480 --> 00:40:31,200 whether they are mapping with the uh 825 00:40:31,200 --> 00:40:33,599 rule attribute and then I will 826 00:40:33,599 --> 00:40:36,839 evaluating whether such as if the logic 827 00:40:36,839 --> 00:40:39,119 is not so that I'm checking if the 828 00:40:39,119 --> 00:40:42,000 permission is not the Json value has no 829 00:40:42,000 --> 00:40:45,839 data then I will returning the condition 830 00:40:45,839 --> 00:40:48,780 result that's how I work on the result 831 00:40:48,780 --> 00:40:51,000 I'm still working on it because it's 832 00:40:51,000 --> 00:40:53,780 very Dynamic so that it is easy to 833 00:40:53,780 --> 00:40:56,220 breaking.json purse so that is the 834 00:40:56,220 --> 00:41:00,000 reason I try to use the existing stuff 835 00:41:00,000 --> 00:41:03,780 tool such as the sand grip sangric has 836 00:41:03,780 --> 00:41:05,880 an awesome feature for 837 00:41:05,880 --> 00:41:09,000 uh creating the custom Rule and they 838 00:41:09,000 --> 00:41:11,760 also I was trying to find out is there 839 00:41:11,760 --> 00:41:15,260 any such tools supporting the no code 840 00:41:15,260 --> 00:41:19,440 and in my application supporting the no 841 00:41:19,440 --> 00:41:21,420 code configuration saved as a change 842 00:41:21,420 --> 00:41:24,900 format and send group of supporting.js 843 00:41:24,900 --> 00:41:28,320 format rule matching therefore I I was 844 00:41:28,320 --> 00:41:32,400 able to clean the my own rules and then 845 00:41:32,400 --> 00:41:35,460 I checking on the ranges as a Json 846 00:41:35,460 --> 00:41:39,060 so let me run the 847 00:41:39,060 --> 00:41:44,180 Century rule against it my abstract demo 848 00:41:48,960 --> 00:41:52,020 so that is the the rule that checking on 849 00:41:52,020 --> 00:41:55,280 the file type violation 850 00:41:56,339 --> 00:41:58,920 yeah so they also find the same thing 851 00:41:58,920 --> 00:42:02,880 the result are the same you you can also 852 00:42:02,880 --> 00:42:05,760 use the pre-built-in Sentry rules such 853 00:42:05,760 --> 00:42:10,339 as the find the Google API 854 00:42:14,880 --> 00:42:17,880 CRI 855 00:42:22,500 --> 00:42:24,800 yeah 856 00:42:24,800 --> 00:42:29,359 and generally there's a lot of things 857 00:42:37,859 --> 00:42:40,800 yeah they also find the same Google API 858 00:42:40,800 --> 00:42:43,859 while I write my own custom security 859 00:42:43,859 --> 00:42:46,400 scan 860 00:42:51,540 --> 00:42:54,119 yeah that's all right I have a demo 861 00:42:54,119 --> 00:42:57,839 this demonstration shows that there is a 862 00:42:57,839 --> 00:43:00,900 chance to you can adding this Security 863 00:43:00,900 --> 00:43:03,260 review in your CI CD pipeline 864 00:43:03,260 --> 00:43:06,300 unfortunately I'm still cannot find the 865 00:43:06,300 --> 00:43:09,420 right platform and security scan to 866 00:43:09,420 --> 00:43:12,960 integrate automatically so you will 867 00:43:12,960 --> 00:43:16,400 still need to store this Json file like 868 00:43:16,400 --> 00:43:18,900 while you're integrating the source code 869 00:43:18,900 --> 00:43:20,760 you integrate directory to the big 870 00:43:20,760 --> 00:43:24,119 bucket to your SAS tool but in this 871 00:43:24,119 --> 00:43:27,420 process until the vendor provide the 872 00:43:27,420 --> 00:43:29,339 soft scan or platform providing the 873 00:43:29,339 --> 00:43:33,480 right place to drop the configuration 874 00:43:33,480 --> 00:43:35,700 review you will provide in the your own 875 00:43:35,700 --> 00:43:38,520 way to store this JS file and then run 876 00:43:38,520 --> 00:43:40,680 the scan using the same grave or other 877 00:43:40,680 --> 00:43:43,140 source tool 878 00:43:43,140 --> 00:43:46,160 people we have a q a question 879 00:43:46,160 --> 00:43:49,140 here are the I'm going I actually 880 00:43:49,140 --> 00:43:52,460 creating the GitHub uh repository for 881 00:43:52,460 --> 00:43:55,859 lcnc security material I have not 882 00:43:55,859 --> 00:43:58,859 uploading this talk but I will uploading 883 00:43:58,859 --> 00:44:01,200 my top presentation at the end of the 884 00:44:01,200 --> 00:44:03,720 today I will share through the upset 885 00:44:03,720 --> 00:44:07,819 Twitter handle and I also wrote some 886 00:44:07,819 --> 00:44:10,819 documentation and I also writing some 887 00:44:10,819 --> 00:44:12,859 extended off 888 00:44:12,859 --> 00:44:16,680 Note called local security risk on my 889 00:44:16,680 --> 00:44:18,960 experience and I adding some more threat 890 00:44:18,960 --> 00:44:21,660 scenario on it please checking on it and 891 00:44:21,660 --> 00:44:25,920 also the second is the use it is a 892 00:44:25,920 --> 00:44:28,500 usable resource about coding list 893 00:44:28,500 --> 00:44:31,619 architecture that my company is working 894 00:44:31,619 --> 00:44:33,900 on no code 895 00:44:33,900 --> 00:44:37,380 open open standard no code platform so 896 00:44:37,380 --> 00:44:39,540 please checking out how it's working on 897 00:44:39,540 --> 00:44:42,359 and I would hope that we will work 898 00:44:42,359 --> 00:44:44,940 together to building the stand open 899 00:44:44,940 --> 00:44:49,099 source standard local platform 900 00:44:49,980 --> 00:44:53,099 yeah that's all about it thank you for 901 00:44:53,099 --> 00:44:55,700 your attention 902 00:44:58,280 --> 00:45:00,450 thank you 903 00:45:00,450 --> 00:45:03,640 [Applause] 904 00:45:08,460 --> 00:45:11,960 do you have any questions 905 00:45:13,380 --> 00:45:15,660 uh hello so I've got one quick question 906 00:45:15,660 --> 00:45:18,780 so when you manually review any changes 907 00:45:18,780 --> 00:45:20,760 that have been done to the Loco platform 908 00:45:20,760 --> 00:45:23,940 do you view like a diff or do you just 909 00:45:23,940 --> 00:45:25,560 have to go through like every single 910 00:45:25,560 --> 00:45:28,020 screen to like find any potential 911 00:45:28,020 --> 00:45:30,720 changes that have been made 912 00:45:30,720 --> 00:45:33,180 for me it's a still I'm working on I'm 913 00:45:33,180 --> 00:45:36,660 not building the 100 automation so I'm 914 00:45:36,660 --> 00:45:38,940 checking like an adult base when when 915 00:45:38,940 --> 00:45:42,540 the developer changing it or you but you 916 00:45:42,540 --> 00:45:45,240 can run it whenever you want it or like 917 00:45:45,240 --> 00:45:48,000 a practically checking the source code 918 00:45:48,000 --> 00:45:51,060 review because still we do not have the 919 00:45:51,060 --> 00:45:54,500 uh I don't have like a big pocket style 920 00:45:54,500 --> 00:45:59,040 cicd integration but you yeah there is a 921 00:45:59,040 --> 00:46:01,319 way to yeah running so could they 922 00:46:01,319 --> 00:46:03,839 publish it between you checking it again 923 00:46:03,839 --> 00:46:06,540 yeah so whenever is someone changing 924 00:46:06,540 --> 00:46:08,819 this application using the Version 925 00:46:08,819 --> 00:46:12,480 Control you will hook the API to web web 926 00:46:12,480 --> 00:46:14,640 hook to running that if there are 927 00:46:14,640 --> 00:46:16,380 someone is changing then run the 928 00:46:16,380 --> 00:46:18,660 security scan 929 00:46:18,660 --> 00:46:20,280 thank you 930 00:46:20,280 --> 00:46:22,920 when you added the query parameters to 931 00:46:22,920 --> 00:46:24,540 the API call 932 00:46:24,540 --> 00:46:26,700 um the context around how you're 933 00:46:26,700 --> 00:46:28,380 supposed to do that is that well 934 00:46:28,380 --> 00:46:30,240 documented in the platform because a lot 935 00:46:30,240 --> 00:46:32,460 of none a lot of business users don't 936 00:46:32,460 --> 00:46:35,880 necessarily understand that formatting 937 00:46:35,880 --> 00:46:38,839 third party service 938 00:46:42,240 --> 00:46:44,099 third party 939 00:46:44,099 --> 00:46:46,200 notation okay because the vendor doesn't 940 00:46:46,200 --> 00:46:47,640 know that what type of third-party 941 00:46:47,640 --> 00:46:50,400 service they're adding they rely on that 942 00:46:50,400 --> 00:46:52,859 what's the best practice of third-party 943 00:46:52,859 --> 00:46:54,599 integration okay so it's up to the 944 00:46:54,599 --> 00:46:55,680 business person to read that 945 00:46:55,680 --> 00:46:58,020 documentation and yeah so that's when I 946 00:46:58,020 --> 00:46:59,760 mentioned that you have to follow the 947 00:46:59,760 --> 00:47:04,220 industry best practice thank you yeah 948 00:47:06,250 --> 00:47:10,309 [Applause] 949 00:47:13,310 --> 00:47:16,380 [Music]