WEBVTT

NOTE The Haunted House of APIs - The Witch’s Brew with Jayesh Ahire

1
00:00:00.920 --> 00:00:29.880
<v Noah Labhart>Hello, listeners. Today we are kicking off an amazing series for Cybersecurity Awareness Month, aka Halloween, entitled The Haunted House of APIs, sponsored by our friends at Traceable AI. In this series, we are building awareness around APIs, their security risks, and what you can do about it. Traceable AI is building one platform to secure every API so you can discover, protect, and

2
00:00:30.000 --> 00:00:36.140
<v Noah Labhart>test all your APIs with contextual security, enabling organizations to minimize risk and

3
00:00:36.140 --> 00:00:39.780
<v Noah Labhart>maximize the value APIs bring to their customers.

4
00:00:40.220 --> 00:00:46.220
<v Noah Labhart>Our episode for today is entitled The Witch's Brew, Stirring Up OWASP Vulnerabilities in

5
00:00:46.220 --> 00:00:47.060
<v Noah Labhart>API Testing.

6
00:00:47.300 --> 00:00:53.000
<v Noah Labhart>We'll be talking with Jayesh Ahire, an expert in API testing and OWASP, who will guide us

7
00:00:53.000 --> 00:00:57.280
<v Noah Labhart>through the brew of common vulnerabilities that haunt API ecosystems.

8
00:00:57.280 --> 00:01:03.000
<v Noah Labhart>systems. He'll share how organizations can use API security testing to spot and neutralize these

9
00:01:03.000 --> 00:01:08.820
<v Noah Labhart>vulnerabilities before they become major exploits. By focusing on proactive security measures,

10
00:01:09.120 --> 00:01:15.280
<v Noah Labhart>Jayesh will offer insights into creating a strong API testing framework that keeps malicious actors

11
00:01:15.280 --> 00:01:19.040
<v Noah Labhart>at bay. Jayesh, thank you for being on the show today.

12
00:01:19.280 --> 00:01:21.300
<v Jayesh Ahire>Thanks for having me. Glad to be here.

13
00:01:21.300 --> 00:01:27.880
<v Noah Labhart>Really excited to jump into OWASP vulnerabilities and API testing, the witch's brew.

14
00:01:28.160 --> 00:01:34.500
<v Noah Labhart>Before we jump into that, though, tell me a little bit, and my audience, tell me and my audience a little bit about you.

15
00:01:34.760 --> 00:01:35.260
<v Noah Labhart>Yeah,

16
00:01:35.180 --> 00:01:37.780
<v Jayesh Ahire>I'm Jayesh. I run product management here at Traceable.

17
00:01:37.980 --> 00:01:42.420
<v Jayesh Ahire>Been here for almost five years now, playing to the API security world.

18
00:01:43.100 --> 00:01:47.600
<v Jayesh Ahire>Before this, I was running my own venture in machine learning, cloud ops, DevOps.

19
00:01:47.600 --> 00:01:55.520
<v Jayesh Ahire>I read a lot. Since last few years, I have been doing 100 books a year. It's been interesting

20
00:01:55.520 --> 00:02:01.120
<v Jayesh Ahire>going through the list and reading around a lot of different things. That's one part.

21
00:02:01.340 --> 00:02:07.460
<v Jayesh Ahire>Other thing, I also write poems in my mother tongue, in English, depending on the mood.

22
00:02:07.820 --> 00:02:14.560
<v Jayesh Ahire>Also published a few books around it and some technical ones. I like to write as well.

23
00:02:15.180 --> 00:02:17.640
<v Jayesh Ahire>I used to play guitar and piano.

24
00:02:17.800 --> 00:02:22.040
<v Jayesh Ahire>But yeah, reading, writing, poetry, that's a jam for these days.

25
00:02:22.340 --> 00:02:24.740
<v Noah Labhart>That gives a picture of a well-rounded individual.

26
00:02:24.920 --> 00:02:26.600
<v Noah Labhart>And I appreciate you sharing all that.

27
00:02:26.760 --> 00:02:28.200
<v Noah Labhart>Let's dive into it then.

28
00:02:28.340 --> 00:02:32.320
<v Noah Labhart>So we're talking about OWASP vulnerabilities and API testing.

29
00:02:32.920 --> 00:02:35.480
<v Noah Labhart>Diving into the witch's brew, we're calling it.

30
00:02:35.520 --> 00:02:41.640
<v Noah Labhart>What are some of the most common vulnerabilities and APIs that align with the OWASP top 10?

31
00:02:41.780 --> 00:02:44.080
<v Noah Labhart>And tell me why they're so dangerous.

32
00:02:44.560 --> 00:02:56.480
<v Jayesh Ahire>When we talk about APIs, one of the things which is prominent these days is every single thing we are building, like every single product, every single software, every single app is running on APIs.

33
00:02:56.780 --> 00:02:59.440
<v Jayesh Ahire>And that's where we talk about vulnerabilities.

34
00:02:59.480 --> 00:03:03.760
<v Jayesh Ahire>The impact also increases because everything is an API at the end of the day.

35
00:03:03.880 --> 00:03:10.420
<v Jayesh Ahire>And that's why I categorize these vulnerabilities or even dangers into three broad categories.

36
00:03:10.920 --> 00:03:12.380
<v Jayesh Ahire>One is the access control.

37
00:03:12.380 --> 00:03:22.600
<v Jayesh Ahire>We are building these APIs, but sometimes you just left the door open and that door can be exploited by attackers to get the information.

38
00:03:23.220 --> 00:03:25.740
<v Jayesh Ahire>In access control, there are vulnerabilities like BOLAs.

39
00:03:26.220 --> 00:03:32.660
<v Jayesh Ahire>Nowadays, in the new OWASP API top 10, we have BOPLA, which is broken object property level authorization.

40
00:03:33.340 --> 00:03:36.300
<v Jayesh Ahire>Then there's always BAFLA, which is broken function level authorization.

41
00:03:36.300 --> 00:03:41.780
<v Jayesh Ahire>Not to just throw some terms, but essentially, when the API was built, the authentication

42
00:03:41.780 --> 00:03:46.040
<v Jayesh Ahire>authorization was not configured properly, and that's where somebody else can get access to

43
00:03:46.040 --> 00:03:50.620
<v Jayesh Ahire>somebody else's information. Now, which is again problematic when literally we are dealing with

44
00:03:50.620 --> 00:03:55.560
<v Jayesh Ahire>banks, dealing with health cares, where all of the information is pretty sensitive and pretty critical.

45
00:03:55.560 --> 00:04:00.820
<v Jayesh Ahire>But access control part is most prominent one and most exploited one we have seen in last

46
00:04:00.820 --> 00:04:06.580
<v Jayesh Ahire>few years at the very least. It's first in OWASP API Top 10. The second part of that is data

47
00:04:06.580 --> 00:04:12.820
<v Jayesh Ahire>privacy. That's where the excessive data exposure comes into picture, where we are actually showing

48
00:04:12.820 --> 00:04:18.720
<v Jayesh Ahire>the information in plain text or in responses or in places in the UI where it shouldn't be there.

49
00:04:19.000 --> 00:04:24.840
<v Jayesh Ahire>We have seen a bunch of news articles coming around this part where the social security

50
00:04:24.840 --> 00:04:28.560
<v Jayesh Ahire>numbers of thousands of people leaked or millions of people leaked at bad points.

51
00:04:28.560 --> 00:04:35.820
<v Jayesh Ahire>And all of that is due to that information already being exposed in place or in response where it

52
00:04:35.820 --> 00:04:42.360
<v Jayesh Ahire>shouldn't be, because, as I said earlier, everything is driven around data, and data is gold.

53
00:04:42.360 --> 00:04:48.000
<v Jayesh Ahire>So it becomes critical for these applications, for the services, for the softwares to actually

54
00:04:48.000 --> 00:04:53.800
<v Jayesh Ahire>secure it properly. And as everything is exposed via API, it comes to the API layer again. Third part,

55
00:04:53.800 --> 00:04:59.380
<v Jayesh Ahire>and I'll talk about this in the later sections more on, but the third part is inventory management.

56
00:04:59.380 --> 00:05:05.200
<v Jayesh Ahire>All building lot of APIs just days, but sometimes we don't even know what we have built over the

57
00:05:05.200 --> 00:05:11.020
<v Jayesh Ahire>period. A lot of APIs which were retired but still being used, still publicly accessible. Payment

58
00:05:11.020 --> 00:05:15.420
<v Jayesh Ahire>gateways, you are using validation platforms, and you're actually sending the sensitive information

59
00:05:15.420 --> 00:05:20.740
<v Jayesh Ahire>to those platforms and making sure, like, what you are sending, what you are, what you should be sending,

60
00:05:20.740 --> 00:05:23.820
<v Jayesh Ahire>sending what you should not be sending and having proper filters for that.

61
00:05:23.840 --> 00:05:28.780
<v Jayesh Ahire>That also becomes pretty critical when we are dealing with the huge number of APIs we

62
00:05:28.780 --> 00:05:29.680
<v Jayesh Ahire>are dealing with these days.

63
00:05:29.780 --> 00:05:36.260
<v Jayesh Ahire>So actually knowing what you have and making sure to add every single action or every single

64
00:05:36.260 --> 00:05:41.500
<v Jayesh Ahire>thing which is being performed with the APIs you have and the issues with those APIs is

65
00:05:41.500 --> 00:05:42.660
<v Jayesh Ahire>also a very critical thing.

66
00:05:43.040 --> 00:05:47.420
<v Jayesh Ahire>When I talk about all of these three categories, everything is part of OWASP API Top 10.

67
00:05:47.660 --> 00:05:48.160
<v Noah Labhart>Sure.

68
00:05:48.060 --> 00:05:49.280
<v Noah Labhart>All that makes sense.

69
00:05:50.740 --> 00:05:55.500
<v Noah Labhart>sitting in a world where everything is built on top of APIs, and that makes API testing

70
00:05:55.500 --> 00:05:56.500
<v Noah Labhart>in general critical.

71
00:05:56.640 --> 00:06:02.200
<v Noah Labhart>But why is API security testing crucial for detecting these types of vulnerabilities that

72
00:06:02.200 --> 00:06:03.220
<v Noah Labhart>you just mentioned early?

73
00:06:03.500 --> 00:06:07.320
<v Noah Labhart>And how does it differ from traditional security testing?

74
00:06:07.440 --> 00:06:11.120
<v Noah Labhart>I could probably extract a couple of things from a few things you pointed out, but I'm

75
00:06:11.120 --> 00:06:12.500
<v Noah Labhart>curious to hear what you have to say holistically.

76
00:06:12.840 --> 00:06:19.620
<v Jayesh Ahire>When we talk about security testing, traditionally, we talk about SAST, DAST, IAST to some extent,

77
00:06:19.740 --> 00:06:20.240
<v Jayesh Ahire>right?

78
00:06:20.740 --> 00:06:23.160
<v Jayesh Ahire>SAST being the static application security testing,

79
00:06:23.340 --> 00:06:25.520
<v Jayesh Ahire>DAST being dynamic application security testing.

80
00:06:26.100 --> 00:06:28.900
<v Jayesh Ahire>First thing, SAST, when we talk about SAST,

81
00:06:29.020 --> 00:06:33.760
<v Jayesh Ahire>it's purely looking at your code and trying to find what is wrong.

82
00:06:34.000 --> 00:06:37.080
<v Jayesh Ahire>And when you look at just a code, it doesn't have any context.

83
00:06:37.340 --> 00:06:40.180
<v Jayesh Ahire>It's just lines and lines of code.

84
00:06:40.280 --> 00:06:41.820
<v Jayesh Ahire>You're going through it.

85
00:06:41.860 --> 00:06:43.660
<v Jayesh Ahire>You're going through some function and seeing,

86
00:06:44.360 --> 00:06:46.700
<v Jayesh Ahire>maybe this is too wide open.

87
00:06:46.860 --> 00:06:48.540
<v Jayesh Ahire>Maybe this library is old.

88
00:06:48.540 --> 00:06:53.520
<v Jayesh Ahire>maybe there's some problem with this specific. There's no dynamicity in it, and that's where

89
00:06:53.520 --> 00:06:59.140
<v Jayesh Ahire>the DAST comes into picture. But traditionally, DAST has always been more of a black box. It's

90
00:06:59.140 --> 00:07:04.740
<v Jayesh Ahire>somebody sitting outside your system and trying to make an attack. When that somebody is sitting

91
00:07:04.740 --> 00:07:08.740
<v Jayesh Ahire>outside your system, they definitely don't understand your application well, and that's where

92
00:07:08.740 --> 00:07:15.000
<v Jayesh Ahire>the false positives in the DAST comes into picture. But looking at the API specifically,

93
00:07:15.000 --> 00:07:19.920
<v Jayesh Ahire>All of these tools, like all of the traditional security testing tools, operate at the application level.

94
00:07:20.300 --> 00:07:23.260
<v Jayesh Ahire>The API interactions are pretty different.

95
00:07:23.400 --> 00:07:32.160
<v Jayesh Ahire>When we talk about APIs specifically, there's a lot to digest, which is, let's say you have a thousand APIs and most of these APIs are talking to each other.

96
00:07:32.220 --> 00:07:34.080
<v Jayesh Ahire>Most of these APIs are talking to third parties.

97
00:07:34.360 --> 00:07:41.080
<v Jayesh Ahire>And when all of these interactions are going on, the attack surface you have becomes very large.

98
00:07:41.080 --> 00:07:46.540
<v Jayesh Ahire>And at the same time, the amount of knowledge somebody might need to go and exploit the

99
00:07:46.540 --> 00:07:51.960
<v Jayesh Ahire>application is not something which you can replicate with SAST. It needs way more context.

100
00:07:52.120 --> 00:07:56.820
<v Jayesh Ahire>It needs way more insight into the business logic of the application. And that's where the API

101
00:07:56.820 --> 00:08:02.620
<v Jayesh Ahire>security testing part comes into picture because with API security testing specifically, you're

102
00:08:02.620 --> 00:08:07.820
<v Jayesh Ahire>dealing with the APIs first of all. And you're making sure that all of these different interactions

103
00:08:07.820 --> 00:08:13.180
<v Jayesh Ahire>we are talking about, all of these dependencies we're talking about, the third parties. So we are

104
00:08:13.180 --> 00:08:20.320
<v Jayesh Ahire>replicating the business logic abuse at its truest sense. Let's say talking about something around

105
00:08:20.320 --> 00:08:25.540
<v Jayesh Ahire>payment gateways. So if you're sending the sensitive information about your user to the payment gateway

106
00:08:25.540 --> 00:08:31.160
<v Jayesh Ahire>and that's, that's excessive data exposure that can only be caused at the API layer, and

107
00:08:31.160 --> 00:08:36.000
<v Jayesh Ahire>DAST tools picking, picking up on it or SAST tools picking up on it is pretty hard by definition.

108
00:08:37.820 --> 00:08:43.320
<v Jayesh Ahire>Another part is everything is evolving with all the things in place now,

109
00:08:43.420 --> 00:08:48.640
<v Jayesh Ahire>with LLMs, with ChatGPT, with even traditionally the cloud native development practices.

110
00:08:49.100 --> 00:08:53.980
<v Jayesh Ahire>Your applications are evolving so quickly that for traditional security testing tools

111
00:08:53.980 --> 00:08:56.680
<v Jayesh Ahire>to keep up with the whole pace is pretty hard.

112
00:08:56.740 --> 00:08:58.120
<v Jayesh Ahire>Learning the context is pretty hard.

113
00:08:58.260 --> 00:09:01.820
<v Jayesh Ahire>So that's where the contextual security testing on APIs comes into picture.

114
00:09:01.920 --> 00:09:07.580
<v Jayesh Ahire>And that's where I feel the API security testing becomes a better alternative to traditional tools,

115
00:09:07.820 --> 00:09:12.960
<v Jayesh Ahire>when it comes to dealing with complexity, which API brings into the whole conversation at the same time,

116
00:09:13.020 --> 00:09:16.240
<v Jayesh Ahire>the continuous evolution we are seeing around the development cycles.

117
00:09:16.940 --> 00:09:19.700
<v Noah Labhart>Certainly. Okay, that clarifies that for me.

118
00:09:19.780 --> 00:09:23.280
<v Noah Labhart>And, you know, how important, right, the testing portion of it is.

119
00:09:23.380 --> 00:09:26.460
<v Noah Labhart>And I imagine that, you know, when you don't get the testing right,

120
00:09:26.620 --> 00:09:31.320
<v Noah Labhart>finding a vulnerability after the fact can lead to a significant problem.

121
00:09:31.560 --> 00:09:37.620
<v Noah Labhart>Can you share an example of how maybe one of these overlooked vulnerabilities led to a significant security breach?

122
00:09:37.820 --> 00:09:47.020
<v Jayesh Ahire>Without naming the companies, I was in Australia back in 2022 and met CISOs of one of the major telecoms there.

123
00:09:47.400 --> 00:10:04.120
<v Jayesh Ahire>One thing, they went to the breach pretty recently at that time and the breach was more leaking sensitive information, including passport details, phone numbers, addresses, a bunch of other things for millions of their users.

124
00:10:04.760 --> 00:10:10.860
<v Jayesh Ahire>When we went through, like, how it happened, the reason was they had one of these APIs which were

125
00:10:10.860 --> 00:10:15.420
<v Jayesh Ahire>which was public, which were publicly available. But the API, that API was supposed to be retired

126
00:10:15.420 --> 00:10:20.460
<v Jayesh Ahire>way back, so they developed a newer version which had better security gates in place, which had

127
00:10:20.460 --> 00:10:24.560
<v Jayesh Ahire>better standards in place, which had rate limiting in place. They released it, it was still

128
00:10:24.560 --> 00:10:29.320
<v Jayesh Ahire>again it was accessible to everybody, but at the same time the older version which they were

129
00:10:29.320 --> 00:10:36.100
<v Jayesh Ahire>supposed to retire, the lid, and attacker exploited the exact old version to get all of the information

130
00:10:36.100 --> 00:10:42.500
<v Jayesh Ahire>for millions of their users. That was painful to watch, and that's where the third category which

131
00:10:42.500 --> 00:10:46.920
<v Jayesh Ahire>I mentioned, which is inventory management, comes into picture, where somebody actually exploited

132
00:10:46.920 --> 00:10:54.340
<v Jayesh Ahire>an older API, older version of the API, which was accessible even after it was supposed to be

133
00:10:54.340 --> 00:11:01.380
<v Jayesh Ahire>be retired a long time back. There's also telecom provider in US which also had a very similar

134
00:11:01.380 --> 00:11:07.280
<v Jayesh Ahire>incident, and that was more around the web interfaces which were in the play, and the APIs,

135
00:11:07.280 --> 00:11:13.260
<v Jayesh Ahire>the older APIs again which had weak authentication in place, was still publicly accessible, publicly

136
00:11:13.260 --> 00:11:20.380
<v Jayesh Ahire>available. Then Facebook went to something pretty similar back in 2018, where access tokens for 50

137
00:11:20.380 --> 00:11:24.340
<v Jayesh Ahire>million user accounts are leaked purely because of the flaw in the business logic workflow,

138
00:11:25.140 --> 00:11:32.720
<v Jayesh Ahire>and the authentication they had on those APIs was weak. Somebody found the vulnerability exploited

139
00:11:33.360 --> 00:11:39.900
<v Jayesh Ahire>and that resulted into the leak of 50 million user access tokens for 50 million user accounts.

140
00:11:40.440 --> 00:11:47.000
<v Jayesh Ahire>When we talk about all of these things, you'll see that most of the issues or most of the exploits

141
00:11:47.000 --> 00:11:50.300
<v Jayesh Ahire>which happen because of very small issues.

142
00:11:50.660 --> 00:11:52.440
<v Jayesh Ahire>When you look at these things afterwards,

143
00:11:52.720 --> 00:11:54.360
<v Jayesh Ahire>you feel like this was a silly mistake.

144
00:11:54.900 --> 00:11:59.040
<v Jayesh Ahire>But those small mistakes can result into a huge impact,

145
00:11:59.260 --> 00:12:01.640
<v Jayesh Ahire>like reputational impact, monetary on organizations.

146
00:12:02.260 --> 00:12:04.380
<v Jayesh Ahire>Some of these things could have been easily avoided

147
00:12:04.380 --> 00:12:07.600
<v Jayesh Ahire>by having the right set of standards in place,

148
00:12:07.640 --> 00:12:10.020
<v Jayesh Ahire>having the right set of security testing in place.

149
00:12:10.180 --> 00:12:12.180
<v Jayesh Ahire>But as the processes go,

150
00:12:12.420 --> 00:12:15.360
<v Jayesh Ahire>we always learn our lessons when we get impacted

151
00:12:17.000 --> 00:12:17.660
<v Jayesh Ahire>right things in place.

152
00:12:18.160 --> 00:12:20.280
<v Noah Labhart>That's millions and millions of users.

153
00:12:20.360 --> 00:12:25.780
<v Noah Labhart>It's easy to see how important this testing is and how important it is to catch these

154
00:12:25.780 --> 00:12:27.400
<v Noah Labhart>vulnerabilities ahead of time.

155
00:12:27.500 --> 00:12:33.040
<v Noah Labhart>Now, I'm curious, from your perspective, how can organizations create an effective API

156
00:12:33.040 --> 00:12:36.600
<v Noah Labhart>testing framework that addresses these types of vulnerabilities?

157
00:12:37.360 --> 00:12:42.320
<v Jayesh Ahire>One of the things which is very prominent and very important when it comes to this is

158
00:12:42.320 --> 00:12:45.400
<v Jayesh Ahire>having everything part of your development lifecycle.

159
00:12:47.000 --> 00:12:52.720
<v Jayesh Ahire>If testing is part of your development life cycle, it saves a lot of pain, it saves a lot of money

160
00:12:52.720 --> 00:12:58.640
<v Jayesh Ahire>because there's a study which says that a defect which is fixed thing before things go into

161
00:12:58.640 --> 00:13:04.720
<v Jayesh Ahire>production can save you hundred times the cost of fixing that in production. To save that money is

162
00:13:04.720 --> 00:13:10.380
<v Jayesh Ahire>just one part of it, but to save yourself and your organization from the impact of some of these

163
00:13:10.380 --> 00:13:15.780
<v Jayesh Ahire>things, having everything native to your development life cycle and making sure that, like, you catch

164
00:13:17.000 --> 00:13:18.060
<v Jayesh Ahire>early in the development lifecycle,

165
00:13:18.420 --> 00:13:19.660
<v Jayesh Ahire>improves reliability,

166
00:13:20.040 --> 00:13:23.220
<v Jayesh Ahire>improves the security by a large extent.

167
00:13:23.540 --> 00:13:26.580
<v Jayesh Ahire>But when we talk about framework or the pipeline,

168
00:13:26.660 --> 00:13:27.980
<v Jayesh Ahire>how can we get there?

169
00:13:28.060 --> 00:13:29.920
<v Jayesh Ahire>A few things I'll point out is

170
00:13:29.920 --> 00:13:36.120
<v Jayesh Ahire>make sure you have the whole SAST, DAST tooling in place

171
00:13:36.120 --> 00:13:39.040
<v Jayesh Ahire>along with your container scanning, ISEs.

172
00:13:39.120 --> 00:13:41.020
<v Jayesh Ahire>When we talk about APIs broadly

173
00:13:41.020 --> 00:13:42.820
<v Jayesh Ahire>or development life cycles broadly,

174
00:13:42.900 --> 00:13:45.680
<v Jayesh Ahire>there are three stages before it goes to distribution.

175
00:13:47.120 --> 00:13:52.480
<v Jayesh Ahire>develop, deploy, and then last phase is distribution, which is running it in production, making sure it's

176
00:13:52.480 --> 00:13:57.520
<v Jayesh Ahire>publicly accessible. When we talk about design, develop, deploy, and distribute, first three things

177
00:13:57.520 --> 00:14:03.020
<v Jayesh Ahire>design, develop, and deploy has a lot of nuances in it. I will say very first thing is security is

178
00:14:03.020 --> 00:14:07.900
<v Jayesh Ahire>always an afterthought, and to address that problem, make sure that when you design your APIs, you

179
00:14:07.900 --> 00:14:14.700
<v Jayesh Ahire>consider all of the security practices into that design. Let's say you're building an API, make

180
00:14:14.700 --> 00:14:17.600
<v Jayesh Ahire>Make sure it has the strongest authentication in place.

181
00:14:17.660 --> 00:14:21.580
<v Jayesh Ahire>Make sure it is not susceptible to the bolas and baflas of the world.

182
00:14:21.640 --> 00:14:25.420
<v Jayesh Ahire>Make sure it is not exposing any sensitive information to the public.

183
00:14:25.800 --> 00:14:30.420
<v Jayesh Ahire>So having all of these considerations while you design the APIs saves a lot of pain.

184
00:14:30.680 --> 00:14:34.480
<v Jayesh Ahire>Then as you go forward, there's a development phase.

185
00:14:34.620 --> 00:14:37.000
<v Jayesh Ahire>And in development phase, while you're building the APIs,

186
00:14:37.180 --> 00:14:41.880
<v Jayesh Ahire>enabling your development teams to think security first definitely helps.

187
00:14:41.880 --> 00:14:46.860
<v Jayesh Ahire>And that's where having the right cues in place when they are pushing things, when they are creating

188
00:14:46.860 --> 00:14:53.220
<v Jayesh Ahire>the builds, testing those builds with various tools, having the SAST tools in place gives them

189
00:14:53.220 --> 00:14:58.320
<v Jayesh Ahire>a path towards a better and secure development. Then when you deploy and create the containers,

190
00:14:58.320 --> 00:15:04.160
<v Jayesh Ahire>you actually create this infrastructure as code pipelines, the Terraform platforms, having the

191
00:15:04.160 --> 00:15:10.020
<v Jayesh Ahire>security layer there as well helps you with another gate. So all of these gates coming together,

192
00:15:11.880 --> 00:15:19.020
<v Jayesh Ahire>you create a secure system overall, and the security testing plays a great role when it comes to

193
00:15:19.020 --> 00:15:24.760
<v Jayesh Ahire>level between develop and deploy. So before you go and distribute it to production, you actually

194
00:15:24.760 --> 00:15:30.160
<v Jayesh Ahire>should run detail like automated security testing which will catch things like OWASP API Top 10s,

195
00:15:30.160 --> 00:15:36.640
<v Jayesh Ahire>any of the PCI DSS vulnerabilities, anything that can help you or your organization to meet the

196
00:15:36.640 --> 00:15:42.660
<v Jayesh Ahire>the standards, the compliance standards, as well as make sure you have a better security posture.

197
00:15:42.800 --> 00:15:49.200
<v Jayesh Ahire>All of those vulnerabilities should be continuously and automatically running on your staging environment.

198
00:15:50.020 --> 00:15:55.140
<v Jayesh Ahire>If any of those vulnerabilities are found, we should be able to mitigate them before things go into production.

199
00:15:55.940 --> 00:16:01.060
<v Jayesh Ahire>That framework helps us to visualize and propagate it to our customers as well.

200
00:16:01.280 --> 00:16:02.080
<v Noah Labhart>I think

201
00:16:02.080 --> 00:16:06.020
<v Noah Labhart>that lays out a great foundation of how organizations can approach that,

202
00:16:06.640 --> 00:16:12.660
<v Noah Labhart>mindset point that you called out where people are taking cues and really thinking differently

203
00:16:12.660 --> 00:16:18.340
<v Noah Labhart>about how they're going about doing their testing and making sure the APIs don't have

204
00:16:18.340 --> 00:16:23.800
<v Noah Labhart>those vulnerabilities. I'm curious about what sort of tools and methods that you would recommend.

205
00:16:24.140 --> 00:16:28.780
<v Noah Labhart>Obviously, you know this space quite a bit. So what tools or methods would you recommend

206
00:16:28.780 --> 00:16:35.100
<v Noah Labhart>for continuously testing APIs and ensuring they remain secure as they evolve? And I think you

207
00:16:36.640 --> 00:16:39.060
<v Noah Labhart>last answer, but, but I'm curious of what you would say.

208
00:16:39.060 --> 00:16:42.240
<v Jayesh Ahire>It categorizes organizations into two types.

209
00:16:42.240 --> 00:16:49.600
<v Jayesh Ahire>One is organizations which are very early, just got started, trying to get things out of the door

210
00:16:49.600 --> 00:16:55.680
<v Jayesh Ahire>and at least start building something. And the second, the Series B, Series C, post that, enterprises

211
00:16:55.680 --> 00:17:03.280
<v Jayesh Ahire>which are mature, which are trying to build rigid pipelines, making sure everything goes as expected

212
00:17:03.280 --> 00:17:04.680
<v Jayesh Ahire>and as smoothly as possible.

213
00:17:05.180 --> 00:17:07.760
<v Jayesh Ahire>So when we deal with early stage organizations,

214
00:17:08.260 --> 00:17:10.580
<v Jayesh Ahire>problem is everybody is an engineer.

215
00:17:10.800 --> 00:17:12.500
<v Jayesh Ahire>There's no security when we are dealing

216
00:17:12.500 --> 00:17:13.500
<v Jayesh Ahire>with early stage companies.

217
00:17:13.660 --> 00:17:15.380
<v Jayesh Ahire>Everybody just wants to get things done.

218
00:17:15.920 --> 00:17:18.320
<v Jayesh Ahire>That's where we make a lot of mistakes

219
00:17:18.320 --> 00:17:19.460
<v Jayesh Ahire>when it comes to security.

220
00:17:19.780 --> 00:17:22.000
<v Jayesh Ahire>We take a lot of things for granted.

221
00:17:22.220 --> 00:17:24.360
<v Jayesh Ahire>And I will say one of the things

222
00:17:24.360 --> 00:17:26.360
<v Jayesh Ahire>which we can do there is at least make sure

223
00:17:26.360 --> 00:17:28.760
<v Jayesh Ahire>your developers understand the security

224
00:17:28.760 --> 00:17:30.580
<v Jayesh Ahire>and making right choices.

225
00:17:31.720 --> 00:17:38.660
<v Jayesh Ahire>Second thing to do that, like, to help them make the right choices, just having any SAST tool in place

226
00:17:38.660 --> 00:17:45.540
<v Jayesh Ahire>can be a good start. It doesn't take much. You can go with the open source SonarQube kind of a setup

227
00:17:45.540 --> 00:17:51.020
<v Jayesh Ahire>which will help you get started, and that becomes the first entry point. Then second thing is having

228
00:17:51.020 --> 00:17:57.300
<v Jayesh Ahire>a right set of DAST tool in place. Again, as I said earlier, these things can produce false positives,

229
00:17:57.300 --> 00:18:03.320
<v Jayesh Ahire>but they can at least help you get started on your journey towards the better security position.

230
00:18:03.320 --> 00:18:09.200
<v Jayesh Ahire>And as you mature, things become more complicated. Now instead of dealing with one API which was

231
00:18:09.200 --> 00:18:15.480
<v Jayesh Ahire>running in your AWS account, like one EC2 instance, now we are dealing with thousands of APIs,

232
00:18:15.480 --> 00:18:23.180
<v Jayesh Ahire>a large Kubernetes cluster, maybe in multiple regions. And at a maturity stage, you want to get

233
00:18:23.180 --> 00:18:27.740
<v Jayesh Ahire>the inventory management in place where you know all of your APIs, what the problems are,

234
00:18:27.880 --> 00:18:33.680
<v Jayesh Ahire>how they are designed. You need controls on your design stage as well because you want to make sure

235
00:18:33.680 --> 00:18:39.160
<v Jayesh Ahire>that your API design are there to some standard your organization has set. So that's different

236
00:18:39.160 --> 00:18:44.300
<v Jayesh Ahire>tools at different levels. But API security testing plays a great role in the mature organizations

237
00:18:44.300 --> 00:18:49.420
<v Jayesh Ahire>for inventory management, for posture management, for security testing, for contextual security

238
00:18:49.420 --> 00:18:53.660
<v Jayesh Ahire>testing for lack of better words. You're not just running things against the black box,

239
00:18:53.800 --> 00:18:58.340
<v Jayesh Ahire>but you're actually running the security testing with all the API context in place,

240
00:18:58.380 --> 00:19:03.780
<v Jayesh Ahire>all the understanding of an API in place. So that way you produce very pinpointed results,

241
00:19:04.020 --> 00:19:08.540
<v Jayesh Ahire>tell users like what are the exact vulnerabilities, how to fix them, help them fix it,

242
00:19:08.660 --> 00:19:14.200
<v Jayesh Ahire>and that way help secure the organizations and at the end of the day help secure the

243
00:19:14.200 --> 00:19:15.180
<v Jayesh Ahire>the users of the organizations.

244
00:19:16.160 --> 00:19:17.700
<v Jayesh Ahire>Traceable does a pretty good job

245
00:19:17.700 --> 00:19:20.880
<v Jayesh Ahire>when it comes to securing things around your SDLC.

246
00:19:21.020 --> 00:19:23.440
<v Jayesh Ahire>When I say SDLC, specifically on API security,

247
00:19:24.100 --> 00:19:26.980
<v Jayesh Ahire>making sure you have the secure design in place,

248
00:19:27.160 --> 00:19:30.520
<v Jayesh Ahire>make sure you're running the API security testing continuously.

249
00:19:30.960 --> 00:19:33.200
<v Jayesh Ahire>At the same time, when things go into production,

250
00:19:33.420 --> 00:19:37.180
<v Jayesh Ahire>making sure we are blocking all the bots, frauds,

251
00:19:37.180 --> 00:19:39.820
<v Jayesh Ahire>the OWASP web top 10, API top 10 attacks

252
00:19:39.820 --> 00:19:42.460
<v Jayesh Ahire>which are happening in live production deployment.

253
00:19:44.200 --> 00:19:48.640
<v Jayesh Ahire>of great tools out there which can help you get started. When you're very early stage, go with

254
00:19:48.640 --> 00:19:55.140
<v Jayesh Ahire>something lightweight open source like SonarQube, ZAP. But as you mature, keep looking for better tools,

255
00:19:55.140 --> 00:20:00.180
<v Jayesh Ahire>and that's something like Traceable can come handy, where which can solve for a lot of your concerns.

256
00:20:00.180 --> 00:20:01.120
<v Noah Labhart>Jayesh,

257
00:20:01.120 --> 00:20:04.900
<v Noah Labhart>I appreciate you being on the show today. I feel like we were able to list the most

258
00:20:04.900 --> 00:20:11.360
<v Noah Labhart>common vulnerabilities and illustrate why it's critical that api security testing be done up

259
00:20:11.360 --> 00:20:16.280
<v Noah Labhart>upfront, how businesses, how organizations can create effective API testing and what sort of

260
00:20:16.280 --> 00:20:20.740
<v Noah Labhart>tools they can use. And it's very obvious that Traceable is solving this problem for a large

261
00:20:20.740 --> 00:20:24.180
<v Noah Labhart>amount of companies and doing so well. So I really appreciate you being on the show today.

262
00:20:24.360 --> 00:20:29.680
<v Jayesh Ahire>Thank you. I totally enjoyed being here and looking forward to doing it more often.

263
00:20:32.080 --> 00:20:38.420
<v Noah Labhart>And this concludes The Witch's Brew, Stirring Up OWASP Vulnerabilities in API Testing with Jayesh Ahire.

264
00:20:39.260 --> 00:20:43.400
<v Noah Labhart>Stay tuned for more episodes in our series, The Haunted House of APIs.

265
00:20:43.840 --> 00:20:47.240
<v Noah Labhart>And if you'd like to learn more about Traceable, go to traceable.ai.

266
00:20:47.920 --> 00:20:49.700
<v Noah Labhart>That's traceable.ai.

267
00:20:51.100 --> 00:20:52.540
<v Noah Labhart>And thanks again for listening.
