Hello everyone. Thank you for coming today. Looking forward to talking with you about no-code security review. What should I review in an application without code? Who am I? I'm Ine Kim. I'm lead security engineer at Enquire. I have been working on no-code security assessment over two years, and I also have helped a client to develop the digital transformation securely during the pandemic period. I'm also an AppSec engineer over seven years and working on the web and mobile application. Previously, I was a software engineer developing the security tools and mobile application. For the disclaimer, the opinions expressed are solely by my own and do not express the view or opinion from my employer. This presentation is designed to give overall security risk on the low-code, no-code platform or application built in Bionic. Therefore, I do not promote it or endorse any provider solutions. Yeah, before we start to what we are going to talking about, I have a couple of questions you guys. Have you ever heard of a no-code or no-code? Anyone? Yeah. And does anyone actually using the no-code application, low-code application in your organization? Wow, that's a surprise. I thought it's only my team can use the no-code. Okay, so have you ever guys reviewed the no-code applications assessment? No? Okay, that's good. That's the reason you guys coming here. So those of you don't know, don't worry about it. Today, I will cover all the things that low-code, no-code security review. So I have divided my presentation into three main part. First is that what is the low-code application? And second is that what are the security risk no-code and how to prevent them? Lastly, are we guided to how to conducting the security review over the no-code, low-code application? And we will also exercise together no-code security review. And also, I'm demonstrating the how this security review automatically. Music is getting louder, so I have to speak up. So first thing is that what's the software development trend in 2020? Anyone tell me what is the latest security or software development trend? No one? Yeah, any other? Yeah, I will tell the answer. It's the the popularity of low-code, no-code platform. And the reason is that business trying to looking a way to connecting their customer and users digitally. However, there is a challenging to make a digital transformation in their legacy program because they need to have a right IT budget and need a resource to building that digital transformation. However, during the COVID outbreak, it accelerating their legacy to building the digital transformation because as you all know that we are, COVID is enforced that many millions of people work and learn from home. So therefore the business need to work in their service with the online. And according to the recent Gartner research, they predicted that 70% of new application building by IT enterprise that we're gonna be using the low-code, low-code platform technology for new application use. In 2020, they already use less than 20% of new application building by low-code, no-code technology. So why does the business want to use the low-code, low-code technology? The reason is that we all know that there is a difficulty challenging in the traditional development. In the traditional development, software development, everything has to be coded by hand. It requires a lot of our engineer to do building the application and also working on the very time-consuming process. It is also very challenging to updating your software after the application building on the production. So how can low-code, no-code can help the business to fast to digital transformation? First thing is that a low-code, low-code platform allows the business user become a developer. We are called that developer, citizen developer. And it also speed up the development process by allowing business user to creating their own business solution. They don't need to put all the pressure to the IT team waiting them their cue to building the application. They can just accelerating the requirement, they can just accelerating the requirement, they can just accelerating the requirement, gathering themself, and then they save a time to writing the code. Another advantage of using the low-code, low-code application is that it can save money, is one of the best attractive why business want to use. They don't need to hiring the specialized engineer, and also they don't need to additional legacy maintenance on their own application. So let's take a look at what is the key feature of the low-code, no-code platform. First thing is that drag and drop interface. Drag and drop interface is one of the core low-code, no-code platform feature. Developer use the pre-building component, and then drag, just dragging to the whiteboard application. That's all, that's how to building the application. And it also providing the visual modeling. And it also providing the visual modeling. It allows that every process is presented, and it will show the business work logic graphically in the platform. And it also providing the reusability. Local, no-code make very easy to building the repeatable application compared to the traditional one. User just copy and paste the application configuration from the previous existing template, or they can just downloading the industry business logic from marketplace. There is no need to extra dependency patchy, or additional library required to running this application. Lastly, but most important key feature I want to share is the security. Most commercial no-code, no-code platform supporting the enterprise grade solution, which means that they providing the comprehensive security feature, such as the multi-factor authentication, or single-sided authentication. And on, or semi-integration for centralized user management. It also protected the data, so that they definitely protected the data encryption in transit at last. Also, it providing the, most of the platform providing the access log that what user are trying to do in the platform and application. Now, let's take a look at the high level difference between the traditional and local and no-code development. The picture shows that the traditional development is required 100% code needed. The less needed for the local, and then there is a general code needed no-code in developing the application. The more code needed means that the more professional developers are required, so that more professional developer can building very customized. For example, if they want to build a flexible application on their own, using manual coding, they can also choose their own technical stack, API, infrastructure, operation, whatever they want. So that they will be able to get the higher product control, how to building the application. On the other hand, local or no-code, they don't need to involving this process. They just use the platform what they supporting. So it will less product control, control, control than the traditional one. But they will save a time to maintain this kind of thing, so that they also don't need to writing the code. So the productivity is much higher than less local or traditional development. Let's move on to the second part of our topic, is security concern. According to the Docker rating survey in January 2020, they asked IT and security professional about what security concern do you have regarding the no-code, low-code platform. 32% response that they think that this application has no data governments how to handle the user, how to handle the data, and how to accessing the data. And 26% say they don't trust. They trust this local, no-code platform vendors. Another 26% say they don't know how to handle, how to check the vulnerability in the application. And 25% say IT or security team don't know what kind of application we're creating on the platform. The reason is that the business user, non-IT team, will managing this platform, so it will easily bypassing the engineer and team software development process. And let me expand in the reason why they concerned about the local, no-code platform use. I guess first main reason is that it reduces the security feasibility and control on the application. While code are hidden from the platform user, the application use the third-party source code. However, users are hard to understand. So they opt out the pre-building feature from the platform. Therefore, the application would inherit on third-party vulnerabilities from the platform. Also, the user has the minimum access to the vendor's source code or infrastructure. Like a cloud provider or any SaaS software provider, vendors do not share a complete view of their software and their internal system. And then there is no easy way to inspect their system. And verify their integrity. The other main security concern is the lack of the security training among the citizen developer. Not every business user understanding application security, like you guys. And the failure to security training and awareness would lead to data leak. Data breach become possible when the user misconfigure proper security control. So as an example, a user can't access the data, and the data Also, do not have a security mindset. You can also find the technical security and privacy risk of the local application in OAAPS organization. I just found that, yeah, recently I found that OAAPS also publish local security top ten risk. I'm not going to walk through each risk at this time, but I will talk of a few of them and then later why we are exercising security review. So let me briefly summarize what we talk about the security concern in the local, no-code platform. First is that no-code does not mean the no vulnerability. There are inherent vulnerability from the third party platform code and also there are vulnerability happen by citizen user generate the misconfiguration in the platform. Also, no-code does not mean the no security needed. You will need to work with citizen developer to building the secure applications. So how to stay secure using the local, no-code platform? Here are the mitigations to security risk code the local, no-code platform. First thing, buy the platform from the trust vendor. You have to ensure that the vendor has the trust support. third-party attest the certification to represent their internal security practice and process. Second is that we cast a software bill of material from the vendor. It's called the SBOM. SBOM helps the organization determine if they are vulnerable to security vulnerability in the software component. It will mitigate the security concern of reduced security visibility of the third-party source code. Third is that you have to train the citizen developer. Depending on your organization's security program, you will need more security champions across the different departments. In the end, you need to integrate the security into application development. Each platform provides the different security control and configuration. Therefore, you need to make sure that understand how platform providing the security control to protect your application. You also ensure that the application following the industry security best practice. So back to my topic title. What should I review an application without code? The application security engineer will need to review business logic and workflow, or application configuration, instead of the source code. That's a huge difference of what you are going to do in the low-code, no-code development security review. You also need to train the citizen developer or business user instead of the product developer, professional developer, software engineer. Then application security engineer also involving that, local-local SDLC process, like a traditional SDLC process. Here are the guidelines, what you should do in the low-code, no-code security review. First thing is that during the planning, make sure you understand the business requirement. Then find that how far the low-code, no-code security provider can protect your application. So that help the business stakeholder by purchasing the right platform. This is very important. This is an important step before you start the security review. Because if they fail to providing your security requirement, you will fail. Because it is really challenging to integrate your own existing security control. Or you may not get the ultimate security control to building on that. So you might need to have additional time, resource to building the extra security control, which is cost more than the threat. That's in the development process. And during the building phase, I highly recommend you to learn the platform. Like when you do the code review, you should learn how the program language coding works. So you have to learn how the platform works. And then building the security best practice, security control on it. Do not rely on the security control setting by the citizen developer. Awesome. Thank you. Thank you. Thank you. If you want to make sure that citizen developer to proper security control, set up the security control by default before the citizen developer using that application. And then train them to do not touch my security control on it. And during the verification phase, do your usual security testing. Only one difference in this phase between the traditional development security review and low code, no code. Is that you're not going to do the code review. Instead, you are more focusing on the configuration review. And then do the dynamic security testing against your low code application. Lastly, after you are running the application, running on the production, continuously maintain it using version control. Also, monitoring the application and the platform. From my experience, this lifecycle, cycle way, way faster than traditional development. You might be doing this cycle within the one day. Because they do not coding. They're just updating the configuration. So cycle will be really fast. So you have to prepare that how to review this fast, like the development. So now let's do the security review together. Today, we will exercise two low code security review. I have been secure low code application security review over 50 application during last year and before pandemic, at the pandemic period. And I have been working on a lot of citizen developer building application. And then those two security code review, we are going to see is the most common security mistake from the citizen developer. So you might see the same security mistake, if you, you, from your citizen developer. First thing I want to show is the service integration in the platform. Here are the business requirement. Building the application that user can see their own data only from the third party service. Here is the limitation. We're not going to be allow the user to authenticate the third party service through the application. We will just create it. In the service account, or for the third party service, then we will retrieve data using the service account. Then please, guys, keep focusing on this stuff. I'm going to ask questions. And then I will throw out the swag for you guys. First thing, I'm going to take a look the two area. First is the service administration page, where the developer creating the service. And the second area I want to take a look is the application, where the developer adding the service. So now let's take a look the service administration page first. So developer in the service administration part, they creating the service. So as you see that they adding the service name, and then they adding the service URL, what to connect. And here are the, configuration, they actually disable allow service execution server side only. Which means that it will allow to client side can execute directly this API. And then go to the managing access page, and it allows to global access services, allow to other application to allow to access this service. One of the feature, the local local platform, they supporting the multi-tenant application. So you can building multiple application in the same platform. Let's keep checking on the service account configuration. I check on that they are using the basic authentication method, and they are using 100% I guess, personal account to set up the third party connection. And that's all about the service administration review. And now let's move to the application configuration part. So developer adding the service we just creating, and then they adding the URL, what URL query to what to retrieve in this application. Yeah, that's all I review. So let's start, did you guys find the security issue in this configuration? Yeah, can you speak up? Mm-hm, okay, yeah, could be, but it's still, yeah. Industry is still using it, but yeah, thank you for answering, yeah. Yeah, so in this configuration, all we know, have you guys find the security issue here? . Okay. . Yeah, yeah, true, yeah. And any others? Now, hint is that anything read and then precise. Yeah, then, yeah, let me, and I found the full vulnerability in this security configuration. First thing is the account impersonation. By using the personal account, application user will request the data with the developer's identity. If you goes to the third-party service log, you will see that all the request comes from the single user. Another vulnerability I found that privilege escalations. By using the personal account first, if that personal account has admin privilege, or if you check on carefully, you will see that, yeah, Basically, what is the business requirement, is that they want to see the users' own data. If you are using the service account, you will get the, you will make up the another unauthorizatio data from them. Also, we did not add the user parameter, so just pulling the older query. It will allow to get, retrieve more data,��� Savareng inãn a legyou save beneficiary thanks to the이고 master again. expected. And as he mentioned about that, we also allow to disable the server-side execution only, so that end-user side, they can discover this API, and then they recall that API, and then adding the additional parameter to gain the additional information in it. That's about the privilege escalation vulnerability. And another one is that authorization misuse. I mentioned that this service is allowing the global access, which means even though your application, your platform, want to using the single application in platform, but who knows that in the future, you're going to be adding the more application building on the platform. In that case, those future application will automatically grant access to this. And the last vulnerability I found is data leakage. Adding the service integration to the application allows the data transfer from or to the platform. The hint is that service, when you create the service, developer creating the service. So if you have limited, you have an internal team who are trying to do some, trying to pull in some data. And then if they have a permission to access service admin, they can do, they can pull in the applicant's data easily, just accessing this creation service or the page, so that there will be a chance to have a data leakage. So next step is I'm going to share how to remediating this security mistake. So I'm going to guide them, restrict the end user to access API directly by enabling the service side security execution only. And also, I allow to grant service access to application that only need to perform the job, and always make sure that to no access by default. And the last part of remediating in the service side, I'm going to recommend it to creating the dedicated service account. If you are using the personal account to third-party integration, it will easily forget what security accounts are setting up in the production. Also, the application side, I highly recommend it to filter the query parameter with this setting, the server side security. Server side security execution, server side execution only. In this platform, either you can set up the server side execution in the service level, or you can also set up in the application level. It's up to you. And what type of security control are needed for third-party integration? First thing is that added only approved service to the platform. I highly recommend it to set up the separate role between the developer and administration role, so that avoiding that developer to creating the service, adding into the application. It will easily bypassing the unapproved service into the application. Also, impose the least privilege principle. Make sure that both the third-party side and the application side, you will only granted access what you need to access. And also, keep monitoring the data traffic, both platform and third-party service. And training the developer on the risk of insecure third-party service. It is more chance that they will bring the insecure third-party service, such as they just adding on the FTP, or they trying to access insecure HTTP site. But if you are not training well to the citizen developer, this is happen really. And OK, so let's move to the second security review. I'm going to adding the security data, developer adding the security data. And then I see that hard code is secret in plain text. What type of vulnerability you find it? What's the risk on this security mistake? Yeah, yeah, true. Yeah, it's correct. Yeah. Yeah, so this is so simple. It's like the same thing on the hard coded data in the source code. Just same common mistake. That it will be a data leakage. Anyone who can see this client ID or secret, either platform side or application side. This happened. This happened a lot more than these traditional development process, because the local, local platform for everything without, they do not writing code, but they were adding the configuration. So there is a lot of area to adding the configuration. If the platform itself or the citizen developer are not training well, then they replace, put the secret key in the wrong place. So here are my remediation step. I found that it is not just a secret key, but I see that they trying to adding the API connection inside the application. They trying to bypassing the service integration setting feature. I feel that this citizen developer doesn't know how to, to use the service integration. So I guide them to create the service, and then move this secret to the service administration part, where the service credentials are securely stored. There will be a different guidance, depending on your business solution or the business use case, and also depending on how the platform supporting this secure storage. So what type of security control are we needed? First thing, obviously, reviews the application configuration. And also, is tabulousy secure by the port? Make sure that you will set up the security by the port that will minimize to misconfiguration from the citizen developer, and that you will last time to training the citizen developer. They will already know that when they're using, if everything's set up secure, then they will learn how to use security control on it. Also, follow the industry security best practice. Most of the local, local platform vendor will follow the industry best practice. So checking on their documentation, or service documentation, and how they actually providing the setup their configuration securely. We have walked through the manual configuration review now. Like you are doing the code review, manual code configuration review also very time consuming, and easily missing the vulnerability finding, depending on the size of your configuration. Therefore, I will demonstrating how to improve the no-code security review. I have two methodology. First thing, I creating the script by myself, and then then running the rule against this configuration. Second thing is that I integrating this rules with the existing SAS tool. I use the same grid to running my rules, my rule against this JSON file. Let me switch it to the monitor. Yeah, I have application in the no-code platform. Application usually not only for one template, they are consist of a multiple application template. Then I'm going to pick the one template, and then I'm going to pick the one template, and then I'm going to pick the one template, and then I'm going to pick the one template. I'm going to pick the one template, and then I'm going to pick the one template. configuration review for the demonstration. Click the one template right now. And as you see, it has a lot of component depending on your business requirement, and I actually set up, I'm actually adding the misconfiguration on purpose for the demo. So for example, actually updating the permission, Usually, I set up the default permission, but here, I actually... In here, I'm actually updating the anomalies access to read-only. This is a red flag. Normally, security doesn't want to allow the unauthorized user to access. So, we're really going to be detecting this configuration. And then, also, I'm adding the third-party URL. Now, we want to check what kind of third-party URL service is in this configuration. And I'm also adding the file uploading component. And then, actually, forced to allow no restriction in the file formatting. So, this... Means that allow any type of file format to uploading. And I have a couple of the service security misconfiguration. Like the second security review, we saw that I adding the secret key in insecure place. I adding our security review demo in here. Another one, I adding the Google key here. One tip I want to share is that if you don't know where is the secure location to adding the secret key, if you see that the value is clear text, that's definitely not a secure place. So, we take a look the review. And I... In this platform allowed to downloading the application. Configuration. Easily copy the module definition. So, I copy the module definition. It is a JSON format. So, I'm gonna creating the JSON file. Copy the old configuration. It actually has not only for the security setting. It has all the setting about the declaration stuff. So, I save that JSON format. And let me show you my rule set what I actually trying to checking on it. So, I trying to checking on the permission check. And I know that this JSON format has the specific variable. So, I checking on the value variable and the value matching. Such as the permission if someone trying to changing. It will show in the JSON format. So, I check someone trying to modify the my secure control setting. Also, I also want to checking on the third party service URL. And I'm creating the how to find the third party URL Python script. So, we're checking on the URL. I also checking on the file type. If they have no restriction, I'm gonna warning my security review. And I also adding the file pattern. If they are including the execution file, I'm gonna definitely fail. This is not what I want to... This doesn't meet my security requirement. Another one is that I'm gonna find the hardcoded secret key. I use the Trapahawk regex pattern. So, we find the all type of secret API pattern. So, I'm just running the Python script. Again, to... FSEC demo JSON file. Yeah, it's done. Do you guys know that how long does it take in the manual security review of the GUI version? If you... I'm checking on... I'm actually reviewing very fast. I think depending on the 10 module... 10 component. It will take at least more than 5 minutes. Then think about that this application have 20 template. And then which means more than 100 minutes to checking every single one. But in this... With the automation script check, it is one second. So, you will get the 20 second to review the 20 template. Let's check the result. So... It was checking on the... Detecting the permission where they switch changing the My Depot setting. It will also checking on the 35 URL. Any 35 URL I add... They are trying to adding. Also detecting any integration service. And also trying to checking on the file pattern when I... When they trying to adding the no restriction or execution file. Here is I set up the... No restriction. So, if I... It actually detecting the no restriction. And also find the security pattern. Adding the Google API key. Then it will detected all the Google related potential API key secret pattern. Also adding the Twilio API. So that I also find the Twilio API. So... This is about the debugging level. I checking on it. But usually I'm only checking on... The analysis review. Based on my security requirement set. So, it will either fail or warning. So, you can go back to the configuration. Checking that... Determine the warning security review. That's about the my manual security testing... My manual security script. And I'm gonna show you that... Integrate with the SendGrid. So... I found that the SendGrid... Yes. It's a Python script. I made it. Ah. Okay. I slightly modify for AppSec demo. It is not the entire thing. But what I do is that I creating the rule. And then I have a rule engine. And then I have an engine. And running the JSON. So, if I adding that which rule... What review type will need the rule. And then I'm gonna checking that. And also parsing the JSON file. Whether they are mapping with the... Rule attribute. And then I will evaluating whether... Such as if the logic is not. So that I'm checking if that permission is not... The JSON value has no data. Then I will returning the... Condition result. That's how I work on the result. I still working on it because it's very dynamic. So that it is easy to breaking the JSON parse. So that is the reason I trying to use the... Existing SAS tool. Such as the SendGrid. SendGrid has awesome feature for... Creating the custom rule. And they also... I also trying to find out is there any... SAS tools supporting the no code. And... In my application... Supporting the... No code configuration. Save as a JSON format. And SendGrid... Supporting the JSON format rule matching. Therefore I... I was able to creating the... My own rules. And then I checking on the... Rangage as a JSON. So... Let me run the... SendGrid rule. Against it my AppSec demo. So that is the... The rule that... Checking on the file type violation. Yeah. So... They also find the same thing. The result are... Are... The same. You... You can also use the... Prebuilt in SendGrid... Rules. Such as the... Find the... Google API. And... Copy the... CLI. Yeah. They also find the same... Google API what I write... My own custom... Security scan. Yeah. That's all. I have a demo. This demonstration shows that... There is... A... Chance to... You can... Adding this... Security review... In your CICD pipeline. Unfortunately... I'm still... Cannot find the right... Platform... And security scan... To... Integrate... Automatically. So... You will still need to... Store... This JSON file. Like... While you are integrating... The source code... You are integrating... Directory to the... Bitbucket... To your... SAS tool. But... In this process... Until the... Vendor provides... The SAS scan... Or platform... Providing the right... Place to... Drop the... Configuration review... You will provide... In the... Your own way... To store... This JSON file... And then run the scan... Using the... SendGrid... Or other... SAS tool. Before... We have a... Q&A... Question... Here are the... I'm go... I actually... Creating the... GitHub... Repository for... LCNC... Security... Material... I have not... Uploading this... Talk... But... I will... Uploading my... Talk... Presentation... At the end of the... Today... We share... Through the... AppSec... Twitter... Handle... And I also... Wrote... Some... Documentation... And I also... Writing... Some... Extended... OAuth... OAuth... Not... Code... Local... Security... Risk... On my... Experience... And adding... Some more... Threat... Scenario... On it... Please... Checking on it... And also... The second... Is that... Use... It is a... Useful... Resource... About... Codeless... Architecture... That... My... Company... Is working on... No... Code... Open... Open... Standard... No... Code... Platform... So... Please... Checking out... How... It's... Working... On... And I... Will... Hope... That... We... All... Work... Together... To... Building... The... Stand... Open... Source... Standard... Local... Platform... Yeah... That's... All... About... It... Thank... You... For... Your... Attention... Do... You... Have... Any... Questions... Hello... So... I've got... One... Quick... Question... So... When... You... Manually... Review... Any... Changes... That... Have... Been... Done... To... The... Local... Platform... Do... You... View... Like... A... Diff... Or... Do... You... Just... Have... To... Go... Through... Like... Every... Single... Screen... To... Like... Find... Any... Potential... Changes... That... Be... Made... For... Me... It's... Still... I'm... Working... On... I'm... Not... Building... The... 100%... Automation... So... I'm... Checking... Like... Adult... Base... When... When... The... Developer... Changing... It... Or... You... But... You... Can... Run... It... Whenever... You... Want... It... Or... Like... A... Particularly... Checking... The... Source... Code... Review... Because... Still... We... Do... Not... Have... The... I... Don't... Have... Like... A... Big... Pocket... Style... CIC... Integration... But... You... Yeah... There... Is... A... Way... To... Yeah... Running... So... Could... They... Publish... It... Between... You... Checking... It... Again... Yeah... So... Whenever... Someone... Changes... This... Application... Using... The... Version... Control... You... Will... Hook... The... API... To... Web... Web... Hook... To... Running... That... If... There... Someone... Is... Changing... The... Run... The... Security... Scan... Yeah... Thank... You... When... You... Added... The... Query... Parameters... To... The... API... Call... The... Context... Around... How... You're... Supposed... To... Do... That... Is... That... Well... Documented... In... The... Platform... Because... A... Lot... Of... Non... A... Lot... Of... Business... Users... Don't... Necessarily... Understand... That... Formatting... The... Third... Party... Service... Integration... The... URL... Is... Actually... Is... Third... Party's... Best... Practice... Documentation... Because... The... Bender... Doesn't... Know... That... What... Type... Of... Third... Party... Service... They... Adding... They... Rely... On... That... What's... The... Best... Practice... Of... Third... Party... Integration... Okay... So... It's... Up... To... The... Business... Person... To... Read... That... Documentation... Yeah... So... That's... And... I... Mentioned... That... You... Have... To... Follow... The... Industry... Best... Practice... Thank... You... Yeah...