# Secure by Design Mindset: The One Skill Every Developer Needs

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 23 Feb 2026, 1 h 04 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/115899150/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-1-23%2F6052dac6-dad3-267c-1661-92daccb9c944.mp3

Secure by Design means security is built into the product from the beginning, not patched in after vulnerabilities show up.In this episode, Prabh sits with Abhijeth to break down Secure by Design principles and threat modeling in a way that actually feels practical. We run a simple threat modeling exercise using a vending machine scenario to show how attackers think, how threats get missed, and how to design controls that prevent predictable failures.GUESTAbhijit: \[https://www.linkedin.com/in/abhijeth/\]WHAT YOU’LL LEARN- What Secure by Design really means in product development- Why “functionality first” creates security debt later- Security by Design vs Secure by Design (quick clarity)- Threat modeling approaches: asset-centric, attacker-centric, and system/data-centric- A practical threat modeling walkthrough using a vending machine scenario- How to handle vulnerabilities with collaboration, not blame- Learning resources to level up in Secure by Design and threat modelingKEY TAKEAWAYS (FAST RECAP)1) Security must be part of the first design conversation, not the last checklist.2) Threat modeling is a thinking habit, not a document.3) When you find a vulnerability, fix the system, not the person.CISO talkshttps://www.youtube.com/playlist?list=PL0hT6hgexlYwPTD-wC3oFBe27VGEiizg1NIST Serieshttps://www.youtube.com/watch?v=VcC_KabV_Ho&list=PL0hT6hgexlYy0vBwMv0eteiyAxB48RQzy&pp=gAQBiAQBGRC Serieshttps://www.youtube.com/watch?v=mq_vSLHm4r0&list=PL0hT6hgexlYztA41j1bceTfVagP9mtq28&pp=gAQBLinkedin Profile of Prashanthttp://linkedin.com/in/prashant-mohan-cissp-issap-ccsp-04610215Book Building Blocks: Comprehensive guide to build a security architecture programhttps://amzn.to/4szY0QvISO 27001 Videohttps://www.youtube.com/watch?v=sQqJH2naU6I&t=1454s&pp=ygUeaXNvIDI3MDAxIGltcGxlbWVudGF0aW9uIHN0ZXBzISO 27001 Implementation Guidehttps://www.youtube.com/watch?v=GBfwk10Hh-o&pp=ygUeaXNvIDI3MDAxIGltcGxlbWVudGF0aW9uIHN0ZXBzGRC Practical Serieshttps://www.youtube.com/playlist?list=PL0hT6hgexlYztA41j1bceTfVagP9mtq28GRC Interviewhttps://www.youtube.com/playlist?list=PL0hT6hgexlYz1Usn1Nrnur6OzVoz59zylInternal Audithttps://www.youtube.com/playlist?list=PL0hT6hgexlYyNWBcGYfabwumCr0GKmLWv#SecureByDesign #ThreatModeling #ProductSecurity #AppSec #CyberSecurity #SecurityArchitecture

## Transcript

[0:00] Does passion drive important thing?
[0:01] Does money drive everything? When you start chasing your
[0:04] passion. When you start chasing something
[0:06] you love doing, be it cyber security, writing code, actions,
[0:09] whatever it is. It's all about center of
[0:11] obsession. You know, have a center of
[0:12] obsession toward the knowledge. The center of obsession about
[0:14] the social media is the center of obsession or become
[0:16] something. But there should be a balance of
[0:18] everything. So there's a lot of buzzword
[0:20] around what is secured by design.
[0:22] You know, there's a lot of buzz around Secured by Design.
[0:25] The reason I am passionate about Secured by Design is my career
[0:27] started with, let's say, pen testing and finding
[0:30] vulnerabilities. Hi guys.
[0:32] Welcome to the session on Coffee with Probe.
[0:34] And today we have a special guest, Mr. Abhijit.
[0:37] Abhijit is Security Leader Advisor and with the deep hands
[0:41] and experience across product security, security operations
[0:44] and often security thinking. And when you're talking about
[0:47] Abhijeet has worked closely with engineering security to turn the
[0:51] real world threats into the practical and scalable defence.
[0:54] Along with that, he worked in India, Australia, US and I
[0:57] personally follow his content, what he uploaded on LinkedIn,
[1:01] LinkedIn platform and Linden learning through which I got
[1:05] more insight about Abhijit. And it is really a great honor
[1:08] for us to have him in this podcast.
[1:10] Still can't believe 306 is starting with the guy who I
[1:14] admire his content and all that. And yeah, I'm very excited.
[1:19] Still. I'm not believing that we are
[1:20] doing this podcast. And I'm and guys, those those
[1:22] are not aware about the time zone right now.
[1:24] Abhijit is in US and taking all the time in a late night and
[1:27] doing the podcast. It is a great way to giving back
[1:30] to the community. And thank you, Abhit, for taking
[1:32] all the time for this podcast. No, thank you.
[1:35] Back at you. I've been following your work
[1:37] for the past 10 to 12 years. The way you and Infosec train
[1:42] has grown is fantastic. The content that you put is
[1:46] really amazing and I don't have as much patience as you to put
[1:52] content. So respect.
[1:53] I don't know how you do it, but respect man no.
[1:55] No motivation coming from you. Like, you know, guys are people,
[1:58] you know, it motivate me and yeah, I can say say something,
[2:02] OK, people like you around, you know, giving you good motivation
[2:07] calls and that that motivate me to make more content.
[2:11] I think it's great, right? Because security is one of those
[2:14] domains where we all learn from each other.
[2:18] I agree. That is the only way we can go
[2:20] forward. It's not like, oh, I have these
[2:22] five special techniques and I'm going to keep it to myself.
[2:27] And tomorrow I'm going to be I, I, I don't know if that works
[2:30] that way, but I think in our industry, sharing is caring and.
[2:34] Exactly because no one is perfect.
[2:36] Might be I'm good with something, might be a bit good
[2:38] with that reason. Like 100% security and 100% risk
[2:41] cannot be mitigate. It always come with the
[2:44] knowledge. You should put that on a
[2:46] T-shirt. I thought we'll start the
[2:50] podcast with this concept and that's how we say security by
[2:52] design. I think that's why we are here
[2:53] for today's right? That's right.
[2:57] I think that's why we are not talking about I think
[3:02] necessarily like pen testing or cross scripting a sequel
[3:05] direction or bug Bondy. It's a little bit different.
[3:08] A lot of people think secure by design is a bit dry topic.
[3:11] So try to make it as enjoyable for the audience as we can and
[3:16] we'll take it from there. That's how we are here for that.
[3:18] And we, we, I will be your first student.
[3:21] We're going to write a lot of notes and yeah, so, yeah.
[3:26] So just bear with me if I ask some silly questions because
[3:29] that can be useful for my content creation also and my
[3:33] experience also. And pardon me if I say something
[3:37] stupid, I do have to say it. This is something I really, it's
[3:40] very important for me to say in every podcast, everything that I
[3:44] speak in the next few minutes, opinions are mine and not my
[3:47] employers and none of my sponsors.
[3:49] So they're mine. If you don't like anything that
[3:53] I say, please DM me. I'm happy to learn.
[3:56] And I'm going to share your LinkedIn profile in description
[3:58] so if someone have any kind of questions they can reach out to
[4:01] you. Sounds good.
[4:03] Excellent. So Abhijit, I want to start
[4:05] before we jump into about secure by design, you know, which is
[4:10] right now a very buzzword. I want to know about Abhijit
[4:12] journey, You know, how do you get into cyber security?
[4:16] If you can share your two minutes viewpoint on that area
[4:19] like what is a journey? Yeah, I think for me, when I was
[4:25] really young, I used to play an online game called Pokémon
[4:28] creator.com. It was all about finding Pokémon
[4:31] and becoming the best trainer. Someone had my profile they're
[4:34] sending me officially and they said if you click this, you'll
[4:38] get Charizard. As a 1415 year old kid, I think
[4:42] Charizard is the most precious thing in life for you.
[4:46] So yeah, I fell for it. And then I went on Yahoo and
[4:49] searched for what is hacking and then it's been a blur since
[4:54] then. Absolutely.
[4:56] Very privileged and very, very lucky that I get paid to do what
[5:01] I love to do. When I joined in my engineering
[5:05] in GITAM, I should have give ethical hacking workshops and
[5:09] cyber security workshops. That's how my career actually
[5:11] started. First.
[5:12] I used to do it for free and one of my professors said like the
[5:16] famous, I think it's a Batman quote, like if you are good at
[5:21] something, don't do it for free. And then that's how my career
[5:24] started. Then I started getting into like
[5:26] pen testing, consulting. I did application security and
[5:29] product security for about 10 to 12 years, LED a bunch of teams,
[5:33] helped my previous company in the whole IPO security journey.
[5:37] So that was pretty exciting. Now I manage a few offensive
[5:42] security teams, so mostly red teaming and penetration testing.
[5:45] That's what I do from 9:00 to 5:00.
[5:47] But outside of that, I'm passionate about talking about
[5:51] security. You can talk to me at a bar, you
[5:54] can talk to me at a coffee shop, you can talk to me at the beach,
[5:58] and I'll be happy to have a conversation about the things I
[6:01] know about security. So yeah, that's my journey.
[6:04] Excellent. And Abhijit, and as you said,
[6:06] like you know, yeah, the starting was not great for you
[6:09] because it come with the lessons, but that inspire you
[6:12] to, you know, make a journey in cyber.
[6:16] Actually guys, this is not part of this session, but you know,
[6:19] it make me to ask this question because I used to receive a lot
[6:22] of DM from the freshers and all that about, you know, there's a
[6:27] one statement that we did we are using nowadays is called
[6:29] burnout. Yeah, depression, you know,
[6:33] clinical depressions, you know, people creating a meme, you
[6:37] know, the company making me work for 24 hours, 12 hours and all
[6:40] that. And I'm sure you agree with me
[6:42] on this part. 10 years back when we are in a cyber, you know,
[6:45] there was no concept of burnout and everything, right?
[6:48] So now some people coming with the pressure, you know, Abhijeet
[6:52] is in a cyber and he making a good money right now he's in the
[6:56] US and meant lot of dollars. And if I also big move into
[7:02] cyber, I will also mean dollars and I will move to US or
[7:06] Australia and all that. What is the reality?
[7:09] Does passion drive important thing?
[7:11] Does money drive everything? I think different people have
[7:13] different motives. It's OK to chase whatever motive
[7:18] you have. But for me, the thing I have
[7:22] learned what worked for me is like when you start chasing your
[7:26] passion. When you start chasing something
[7:29] you love doing, be it cyber security, writing code, a
[7:32] agents, whatever it is, once you start doing that with genuinity
[7:37] and genuine passion, I feel like you'll go a long way and at some
[7:42] point money will follow you. It may not be in the first one
[7:44] month, it may not be in the first six months, it may not be
[7:46] in the first one year, but it will come to you because
[7:50] philosophically, I believe money is not the finite resource like
[7:55] we humans and the connections that we make are more important
[8:00] than money. I'm not saying money is not
[8:02] important. We all need financial education.
[8:04] We all need to know how to manage it.
[8:06] Again, it is probably one of the most crucial part of our life.
[8:08] But at the end, what I'm trying to suggest is like, if you're
[8:11] passionate about something, if you genuinely enjoy what
[8:14] cybersecurity is, I think you'll have a longer career just
[8:19] chasing it for money because at some point we will face a hurdle
[8:23] or in the current market, none of our jobs are permanent.
[8:28] Have that hiccup when you have that hurdle, I think your
[8:32] passion may able to help you to cross the hurdle.
[8:35] And if you're passionate about cybersecurity and if you're
[8:38] getting into this with some passion to do big things or some
[8:41] passion to do, you know, learn how the industry works or learn
[8:46] how the trade craft works, then you'll make connections.
[8:49] You'll make communities, you'll be part of communities and the
[8:51] communities will help you make friends.
[8:54] And in difficult times, it's these friends and communities
[8:58] that will stay with you, and it'll help you to cross the
[9:01] bridge. Excellent, excellent.
[9:03] That's why you said about passion is important.
[9:05] I, for me, I think passion is important, but I also know if it
[9:10] is raining outside, I would rather be inside a Mercedes and
[9:14] cry rather than be on the street and cry.
[9:17] So there's also this counter argument about, you know, how
[9:21] money drives. So I, I think my simple point is
[9:25] whatever drives you, follow it, but make sure you enjoy what you
[9:30] do, otherwise you will get burnt out.
[9:32] This is one of those spaces where you have to continuously
[9:36] learn or, you know, you have to keep update with what's
[9:40] happening on the Internet or what's happening on the
[9:43] industry. I mean, I'm sure, like, you
[9:46] spend countless, like, weekends reading about an article or
[9:51] reading about ACV that got released during Christmas
[9:53] instead of celebrating with your family.
[9:56] True. Or maybe you're at a dinner and
[9:58] someone sends your ability and you're like, guys, 8 minute and
[10:03] then finished reading that article, and then you go back
[10:07] and eat that chicken biryani. Yeah.
[10:09] But center of obsession, it's all about center of obsession.
[10:11] You know have a center of obsession toward the knowledge,
[10:14] the center of obsession about the social media, the center of
[10:16] obsession or become something. But there should be a balance of
[10:20] everything you know, because no one knows you more than
[10:23] yourself. I think so.
[10:25] And I, I, I am among the people who thinks burnout is real.
[10:32] If you don't have a control on, I think you can.
[10:37] We all can get just about. You have to do it.
[10:39] Yeah, we have to learn when to switch off.
[10:42] That's why physical exercise, as everyone keeps saying, is so
[10:46] important. There is at least once or twice
[10:48] in my career in the past 15 years that I thought maybe I
[10:52] should do something else or maybe I should quit cyber.
[10:54] But sometimes you take a break and you come back.
[10:57] And every time I take a break, like by the end of two weeks,
[11:01] I'm excited to go back to work, thinking about, OK, what am I
[11:05] going to do on Monday? And that's when I know I'm
[11:08] really enjoying what I'm doing. That's yeah, there is a
[11:12] psychology behind that which is very, very, very aligned with
[11:15] that. You know, now there's A2 type of
[11:18] people who go to gym, 1 doesn't like to go gym but they have to
[11:21] go because they want to lose weight and 2nd those who go to
[11:25] gym because they love to go to gym.
[11:28] So by end of the day, sometime boredoms and the silence will
[11:33] give you a lot of insight than having a, you know, shows and
[11:36] all that. And that's why I agree on that
[11:38] part is but but Abhijit, like, you know, I'm sorry, there's a
[11:41] second question I want to ask before we move to the main
[11:43] agenda. What?
[11:44] How you got your first job in cyber?
[11:48] So I think my first job is all the ethical hacking workshops I
[11:52] used to give. OK, fine.
[11:54] Me. But how you got that
[11:55] opportunity? Well, how you got that
[11:56] opportunity? So it was actually through my
[11:59] seniors, I was telling them, hey, I I learned this fishing
[12:03] technique and I was showing them the really old PHP script that
[12:07] you save a file as fishing dot PHP added to your Facebook page.
[12:11] And I was just showing them instead of making fun of me.
[12:14] My seniors went and told my professors and the professors,
[12:19] they were doing AC workshop with another one of my classmates and
[12:23] in the C workshop in six hours. They said, OK, 15 minutes.
[12:28] Why don't you come and show about this fishing?
[12:31] Because everyone's learning about CC Plus Plus.
[12:34] We are learning about data structures, we are learning
[12:37] about all these how to write code, but come and show about
[12:40] fishing because it's fun, it'll entertain people.
[12:43] So I gave that 15 minute lecture and it was a huge hit.
[12:48] Everyone loved it. Then we made that 15 minutes
[12:51] into a three hour training course and then we made it into
[12:55] 8 hours and then we realized it could be a 16 hour course.
[12:59] And then we, we did a couple of sessions for free and then
[13:02] someone said, OK, I'll give you ₹500 if you come and speak for
[13:06] two hours. That time ₹500 was a lot of
[13:09] money. It was like one week of my
[13:13] canteen fee. I was so excited.
[13:15] Started with ₹500, then it became a career.
[13:18] Then I just like many other people at my company, I gave an
[13:20] interview at TCS, Unlike everyone else who got hired as a
[13:25] systems engineer or software engineer, I got hired as a
[13:27] security consultant straight off the bat.
[13:30] That's because in the interview, I talked about security
[13:33] interview, I talked about vulnerabilities.
[13:34] And by that point I was doing freelancing, I was working with
[13:39] Indian Navy. So it was, I already had a
[13:42] profile, it was on my resume, it was different.
[13:45] So they asked me, I answered the questions, they connected me
[13:50] with someone after the interview, and by the time I
[13:52] joined in TCS, they knew I was gonna join security.
[13:57] Then you're like, like, yeah, they said, yeah, you cleared
[14:00] this training, but you will be joining the security team.
[14:03] So sorry for the long answer, but I that ₹500 is also very
[14:09] important for me. The opportunity that I got in
[14:11] TCS was also very important for me because it was special rather
[14:14] than of doing something else. But in that time you that for
[14:19] you the passion was important because see today this is a
[14:21] problem. You know, I used to receive a
[14:23] lot of DMS about probably we don't getting any calls.
[14:26] I see he's not getting shortlist.
[14:27] So you're thinking about only negative.
[14:30] Yeah. On the other side, we have to
[14:32] look for from the perspective why I'm not getting call instead
[14:34] of saying see I'm not getting call is the one thing.
[14:37] But why? When you you know Simon's three,
[14:40] why some concept is there, right?
[14:41] And unless you know why is not clear, you cannot proceed with
[14:45] the how. And unless your how is not
[14:47] clear, you're not proceed with the what.
[14:49] So instead of as you said about the Mercedes example, you know,
[14:52] you can cry in Mercedes, you can cry outside.
[14:54] It's all about how you prioritize.
[14:56] And this is something is very important for me to ask because
[14:59] it's a very common question I ask every speaker who come to
[15:02] this podcast. And thanks.
[15:04] Thanks for sharing that inside of Ajit.
[15:06] No, no worries. What's I think we all have
[15:11] different journeys. How we start doing cyber
[15:15] security? I mean, you still do trainings,
[15:18] you can do how many other things you, you put much good content,
[15:22] but why do you still give trainings?
[15:23] Because somewhere you are passionate.
[15:25] About passionate, passionate, definitely If you're telling me
[15:27] today also what 12 hours I will do, I will do that.
[15:29] That's something is basically I can do countless hours.
[15:32] Exactly. I mean now you're doing in front
[15:34] of a computer. I'm pretty sure back in the day
[15:36] you used to stand up for 8:00. Hours.
[15:37] No. Even today I do stand stand up
[15:39] for 8 hours because September, October, October, October,
[15:42] November, December I was traveling in three months
[15:46] outside and doing Monday to Friday sessions and weekend
[15:49] another sessions. So yeah.
[15:51] I mean, if you ask an average software engineer and ask them
[15:55] to stand up for 8 hours, it's a different mindset, right?
[16:01] Whereas you stand, you have to speak and you have to
[16:03] coordinate. Your brain is involved, your
[16:05] voice, your mouth, his face is involved, your hand movements
[16:09] are involved, and your legs. It's more like a HITI intention
[16:13] work. I know, right?
[16:14] But what? But how are you doing it?
[16:16] Because you are gently passionate about it.
[16:18] Yeah, exactly. Money comes, follows.
[16:21] Fame follows. But if there is no passion, I
[16:25] don't think. I mean, I don't think you would.
[16:28] Agree. Yeah, I agree.
[16:29] I mean, sorry to put words in your mouth, but I I can see the
[16:32] passion. So yeah.
[16:33] See, that's not only me, it's your passion to speak.
[16:35] That's why right now, this is the time, the US time, you will
[16:38] sleep, you will enjoy your party.
[16:40] Everybody giving back to said it's a big thing.
[16:42] I was surprised that I that's why guys and I asked him, Are
[16:44] you sure you want to do park at this time?
[16:46] So he said yes, but I'm open for that.
[16:47] That was a wow, that's really great.
[16:50] I'm also an old man now prob. I don't think I can party and
[16:54] drink so much, so I would rather sit here and talk about security
[16:58] all night than court and party, but yeah.
[17:03] Party has no age. OK, let's let's move to the the
[17:05] next topic. So there's a lot of buzz around
[17:09] what is secured by design. You know there's a lot of buzz
[17:11] around secured by design and why do you like it so much?
[17:15] Because I've seen you also focus more content, OK, on LinkedIn
[17:20] learning and all that on this area.
[17:22] What? What make you to go through
[17:23] this? Yeah.
[17:24] And what is this all about? Yeah.
[17:26] Yeah, I think first of all, I'm I am.
[17:31] My content is like tiny, tiny. I actually barely put content
[17:36] when compared to some really big thought leaders in this space.
[17:41] The reason I am passionate about Secure by Design is my career
[17:45] started with let's say pen testing and finding
[17:48] vulnerabilities, which comes really towards the end of
[17:53] releasing software, really towards the end of, you know,
[17:56] pushing something in production, right?
[17:59] Quite often from an early age, I used to ask this question, like
[18:03] what if things were built securely?
[18:05] One, I won't have a job, it's fine, but how can things be
[18:10] built securely from the beginning itself?
[18:14] And then that's when, you know, we Start learning about stuff
[18:17] like threat modelling. Threat modelling is a really
[18:20] good idea where while building about the product itself, you're
[18:24] thinking about threats, you're thinking about various ways by
[18:28] which someone can hack into your application or your product.
[18:32] And then you're thinking about security recommendations and
[18:35] building something securely. Secure by design.
[18:39] The whole idea or philosophy of Secure by Design goes even a
[18:43] step further further left so. Left, yeah.
[18:48] Yeah. So it's, it's more about as
[18:52] you're building something, you want to build it securely.
[18:55] You want to make whatever thing you're trying to secure very
[18:59] easy. And instead of adding controls
[19:02] after something breaks, you design a system that it is
[19:05] secure and it's very hard for someone to break.
[19:08] And when someone is taking your product or your application and
[19:12] then there are some default controls or they have some level
[19:15] of trust in what they're using, especially because teams are
[19:20] busy, people are busy, engineers are busy.
[19:23] Systems are getting more and more complex.
[19:25] Like back in the day, it was what 2 tier architecture, 3 tier
[19:29] architecture? And then it became micro
[19:32] services APIs. Now it's all agentic now, like
[19:36] you go to cursor, you ask a question or, you know, you give,
[19:39] actually you go to ChatGPT or yeah, exactly like now there's a
[19:45] lot of wipe coding and applications and products are
[19:48] being built without having the context about each other and
[19:53] sometimes don't even know what application your application or
[19:56] your product is talking to. So security becomes even more
[20:00] harder. And it's, it's, I think it's,
[20:02] it's genuinely going to become more complex in some ways.
[20:06] However, if whatever you're building, you build it securely.
[20:12] And you implement some of these secure by design principles,
[20:16] then there is a lesser chance that something is insecure, then
[20:21] there is a chance that something's going to break.
[20:25] And when your application is being integrated with another
[20:28] application, again, there is a lesser probability that you're
[20:31] making the whole system more vulnerable.
[20:34] And that's what makes me passionate about the idea of
[20:39] secure by design. It's also not easy.
[20:42] In saying this, I don't think it's that easy to implement, but
[20:47] when done right, I think you there is a higher probability
[20:52] that you are building a secure system or a secure product.
[20:54] So sorry for the really long answer, but in my mind it's more
[20:58] a philosophical topic rather than a theory.
[21:02] Or rather than OK, you do this and suddenly you are secure by
[21:08] design. It's hard to classify that.
[21:12] It's not like saying, OK, you use HTML encoding and you will
[21:16] never be vulnerable to process scripting.
[21:18] It's not that kind of argument. But if we are able to have this
[21:22] conversation, if we are able to build this philosophy in
[21:25] engineering teams, then we don't need security engineering.
[21:29] Every engineering is automatically doing security
[21:32] engineering. It's more like an integrating of
[21:34] the security champions in our engineering team, right?
[21:36] Because they can because security again a non functional
[21:39] requirement and by the end of the day it need to be enforced
[21:41] with the functions. So you're reducing the process
[21:44] even have to be, Yeah. I mean, Security Champions is a
[21:48] beautiful concept and it is, it is one of the ways you can
[21:51] integrate security into engineering teams.
[21:54] But I think Secure by Design goes a little bit step further
[21:57] too. It doesn't matter what your role
[21:59] is. It doesn't matter whether you
[22:01] are a security person or not, but whatever you're building has
[22:07] security in it, or there are some principles that are
[22:11] embedded into whatever you're building, then you're
[22:15] automatically building it with Secure by Design.
[22:17] I'll, I'll, I'll, I'll give you an example actually, or I'll ask
[22:20] you a question. Let's go with that.
[22:24] Let's say you want to build up. OK, Let's say you want to send
[22:31] me money, right? You ask for my bank details.
[22:34] I'll give you the bank details. And you are someone who is
[22:38] building this application of sending me money as an engineer.
[22:42] What are you thinking about? Yeah.
[22:44] For me, as I said, this application, yeah.
[22:47] So from engineering perspective, if I say, OK, we want a seamless
[22:52] with the limited clicks, the transition need to be done.
[22:55] I prefer usability, I prefer functionality over security.
[22:59] I want to make sure I should not lose the customer.
[23:01] I should not lose the interest of the customer.
[23:03] So in a second it should go like UPI we have right, enter the
[23:06] pin, get the transition, boom, you don't need to carry a purse.
[23:09] That's that's basically my priority.
[23:12] Yeah, let's go with, let's go with that.
[23:15] That's great. Now, in the four or five
[23:19] scenarios that you shared as an engineer, you are taught to
[23:25] think about how to make this application successful.
[23:29] Yeah, how to make the transaction successful.
[23:33] But by default, or the first thought that comes to your mind
[23:37] is not about, OK, what if the application breaks?
[23:42] Or what if what happens if I don't enter the right PIN?
[23:46] This is an after thought for you.
[23:48] But that's where security begins.
[23:51] Because when you start thinking about how something breaks or
[23:57] when you start thinking about how an unsuccessful transaction
[24:00] would look like, what happens when you change one account
[24:03] number or what happens when you change 1 digit on the PIN or one
[24:08] alphabet on the PIN. When you start asking these
[24:12] unsuccessful scenarios or failure scenarios, that's where
[24:17] security begins. So secure by design is the idea
[24:22] where you start thinking about these failure scenarios or
[24:27] unsuccessful scenarios even when you're trying to build an
[24:30] application. Because the moment you think
[24:34] about what happens if you give the wrong number, your mind will
[24:39] automatically say I need to validate the account number
[24:43] true. And the moment you insert the
[24:46] word validation, even if you're using cursor and you mentioned
[24:52] the word validation, it LED a bunch of validations onto you
[24:55] know what the account number is. And then that's, that's your,
[24:58] that's your 0 TH step. And then you start asking some
[25:00] more security questions. Then you start thinking about
[25:02] how else can it fail? Then you start thinking about
[25:05] threats. And this is how you embed the
[25:07] philosophy of building something securely.
[25:09] Am I? Am I making sense or?
[25:11] Am I definitely that? That's why there is one reason.
[25:14] There is one question I want to ask with the follow over this as
[25:17] started with the session on the the context of identifying
[25:20] threads and that's something we have to have a starting of the
[25:24] security by design, which is where we introducing A
[25:27] philosophical thoughts and all that.
[25:29] So how do you design the threat modelling in security by design?
[25:32] How do you interpret the possible threads?
[25:34] Because I want to ask in this way, OK, I work for multiple
[25:39] projects on e-commerce. Now I got a certain requirement
[25:43] of healthcare. For me Healthcare is completely
[25:46] new portfolio, OK, Vulnerability is something we can control.
[25:51] We know what we have Example, I will I always give the marriage
[25:55] example. You know, if I'm an introvert,
[25:57] that's my vulnerability, right? I have to improve that, OK.
[26:02] Now no one can able to improve that.
[26:04] I have to improve myself. Now someone bring a marriage
[26:07] proposal to me. I cannot say no to that.
[26:09] And marriage got fixed because of introvert nature, right?
[26:12] The impact is high, right. So when you're talking about the
[26:17] context of vulnerability, we can control, but we cannot control
[26:20] the threats. I cannot say a related OK, come
[26:22] tomorrow with the marriage proposal, I have to I have to
[26:25] predict that particular threat. I know this guy will come on
[26:28] weekend before that I have to leave the house.
[26:30] Otherwise the impact will be high.
[26:33] So, so I mean, coming to the most important part in security
[26:38] bit design is identifying the possible threats, OK.
[26:42] So how do you see that thought process and how you figure out
[26:45] and how you identify those issues and all that?
[26:50] First of all, I have never in my life heard someone compare
[26:55] threats with marriage. So respect, absolute respect, I.
[27:01] Positive. Negative.
[27:03] No, no real. It's amazing.
[27:05] Like especially how you are saying, you know, like impact is
[27:09] high, so I need to escape before someone needs someone comes to
[27:12] my house in the weekend. You have clearly thought through
[27:15] this. You have experienced this.
[27:16] So that's. Why I blocked my wife on YouTube
[27:20] channel so she cannot see my YouTube channel?
[27:23] Smart man. Very, very smart man, I think.
[27:25] I think I should learn techniques like this.
[27:30] You're right. Check modelling.
[27:33] It is like one of the building blocks of secure by design.
[27:38] You are mentioning a very valid scenario.
[27:40] You're saying, hey, if it's e-commerce, let's say I've done
[27:43] it before a few times, I can think about different threats.
[27:48] What what if I'm suddenly asked to do threat model on a system
[27:54] that is completely different or like that's like that's
[27:57] healthcare, I think. But the fundamental principles
[28:02] of how you do threat modelling is the same irrespective of
[28:08] whether you're doing it on e-commerce or healthcare.
[28:11] However, the biggest difference is your audience or your
[28:14] customers or I put the application.
[28:19] For me, one of the most important things to do a right
[28:23] threat model is to understand the difference between an
[28:26] attacker mindset and a normal user mindset.
[28:31] What do I mean? Right, let's say.
[28:34] What if a user enter the if I just give him a privilege to
[28:39] enter only e-mail ID because I don't want to lose the business.
[28:42] It just take example of 10 years back, you know, you went to
[28:45] e-commerce, you selected all the items, but now they're saying
[28:49] you to create an account and this is where they lose the
[28:52] account, lose the interest of the customer.
[28:55] That's how we introduce the concept of login with social
[28:58] media accounts, which, you know, increase industry.
[29:01] Yeah, because from a user point of view, we have to think more
[29:04] from function how, you know how we have to make sure we should
[29:07] have a limited clicks, limited interface.
[29:10] From a security angle point of view, they say no, you should
[29:13] have defence in depth. So, yeah, So that dimension is
[29:17] there, yeah. Yeah, no, that is that is very
[29:20] valid. And I think that's why guest
[29:23] checkout has come where you don't even have to log in, you
[29:26] just have to enter your e-mail address and that's fine.
[29:30] Whereas if you're dealing with healthcare system or anything
[29:33] like that, then I don't think, I don't know if you can go to
[29:38] something like tractor and not give you a phone number and
[29:42] first name, last name. I don't think doctor is going to
[29:45] send you a medical certificate. Same with Uber also until as you
[29:47] don't give a location they cannot book the cab.
[29:49] So privacy by design it's not necessary.
[29:51] I mean, you need to have 100% privacy, you need to balance.
[29:55] You need to balance and I think that's where going back to your
[29:59] question, if we are trying to implement a threat model in an
[30:04] e-commerce system versus a healthcare system, I think you
[30:06] should still apply similar principles, but you need to
[30:09] understand where this application is being deployed.
[30:11] You need to understand you want to break this down into
[30:14] individual components and then do a combined threat model on
[30:19] all of the components and that where you may be able to come up
[30:22] with a better threat model. Like there are different things
[30:25] like stride. Obviously, stride is one of the
[30:27] most easiest ways you can start, but if any of the listeners want
[30:32] to start with threat modeling, in my opinion, you don't even
[30:36] need to. You know what, I'll show you
[30:40] something, right? Like we'll do a simple thought
[30:42] exercise. So we're talking about threat
[30:45] modeling, right? And the moment we talk about
[30:49] threat model, there are different types of threat models
[30:53] and there are depending on the size of the organization,
[30:55] depending on what you do, you can pick the type of threat
[31:00] model that you would want to do. Like you could do an asset
[31:02] centric where you're building the entire system thinking about
[31:08] what are you protecting. That could be one approach.
[31:13] The other one could be attacker centric threat model where you
[31:17] want to think about who is attacking and what do they want.
[31:22] So this is a little bit more attacker centric threat model.
[31:25] You could do that. And the third one, there's,
[31:29] there's, there's probably four or five more.
[31:31] But like the third one that I like to think about is like
[31:33] system or data centric threat model where you're thinking
[31:38] about different data flows, where you're thinking about what
[31:41] is being attacked and you're thinking about what would happen
[31:45] if it gets leaked and all of those stuff.
[31:47] So are there are these types of threat models?
[31:50] You could pick whatever you want.
[31:52] I know you did a video on threat modelling few weeks ago, so if
[31:57] anyone wants to dive deeper into how these tech models are done,
[32:01] click the link and you'll learn more about it.
[32:03] Stride is one of the most common threat models.
[32:07] It revolves around spoofing, tampering, repudiation,
[32:10] information disclosure, denial of service, and elevation of
[32:13] privilege. These are the things that Stride
[32:15] commonly deals with. What I want to show you here is
[32:20] probably the simplest way to think about threats, and I want
[32:29] us collectively to think in this way and kind of take it from
[32:32] there. So let's say the first one is
[32:34] threat ID, which is classic, then threat name, description,
[32:42] severity. The threat name being we're just
[32:47] going to name the threat description being we're going to
[32:49] like write something about the threat that we are going to
[32:52] identify. Severity being high, medium,
[32:54] low. I'm going to ask you severity
[32:57] from a risk point of view. So when we are thinking about a
[33:00] threat, I want you to think about what would happen to the
[33:02] system if this threat is valid. And let's think about the
[33:08] recommendation just for everyone.
[33:12] I'm going to increase the font just so you'll see it and I'm
[33:16] going to format this as wrap three.
[33:23] OK, that should do cool. Awesome.
[33:27] So let's start with the first one.
[33:30] But I haven't told you what system we are going to do this
[33:33] spec model, right? So we're going to do this
[33:36] exercise together and let's say prob you could be my first
[33:40] audience and everyone who's listening to this can do this in
[33:44] their mind. Imagine you go to a vending
[33:48] machine, you put ₹10 and you get a bottle of soda.
[33:53] Get a bottle of any cool drink I want you to do.
[33:57] I want you to think like an attacker and I want you to think
[34:00] about all the different possible ways by which you can get that
[34:05] bottle of cool drink without paying ₹10 is your task prep.
[34:11] So I want you to think about those different scenarios and
[34:15] there will be our threats and you tell me and we'll build this
[34:18] together. We'll we'll do like maybe four
[34:20] or five, not too many, just four or five.
[34:22] So you don't want to pay money. You got to get food free cool
[34:25] drink. What will you do in that
[34:27] vending? Machine.
[34:28] You mean to say from a manipulation point of view?
[34:31] Yes, from a manipulation point of view, how would you do it?
[34:34] Parameter tampering. But it's a physical vending
[34:38] machine, so you don't even have access to your computer.
[34:42] You're just there physically. We are not even trying to be
[34:44] engineers. We are not trying to be.
[34:46] So you mean to say that I went to one vendor machine and I have
[34:52] you got? 20 yeah ₹20 you get a Coke
[34:55] bottle, right? But you want to put ₹20, but you
[34:58] still want a Coke bottle. What would you do?
[35:01] One thing I can do is social engineering is that I will call
[35:05] the the physical security, physical security team guys and
[35:11] tell him, OK, my money was stuck in the, you know, in the machine
[35:14] and now the things is not coming out.
[35:18] Yeah. And I go with this mindset, OK,
[35:21] what if they open the machine and they don't find the money?
[35:25] So I have also prepared the responses.
[35:27] I don't know, but I put the money.
[35:29] Yeah, you put the money. Yeah, 100%.
[35:31] Like if there's no camera, no logs, no crime.
[35:33] So, yeah, OK, that's that's a that's a good one.
[35:38] Anything else you can think of? Maybe I'll go.
[35:42] I'll go now. OK, one you want me?
[35:45] If I was strong enough, I'll think of breaking the glass.
[35:48] True. So if I break the glass, I can
[35:53] simply steal everything. I don't have to pay and I can
[36:00] run away. No camera, right.
[36:02] That's the environment we're assuming no cameras.
[36:04] Third one, maybe you can think of something prep.
[36:08] Third, OK, I can, if it's machine is small, I can call my
[36:16] friend and I will tell him let's take this machine.
[36:20] Pick the machine. Pick the machine, yeah.
[36:22] Yeah, that's it. Nice and easy.
[36:24] And then you have access to everything in the machine.
[36:29] Yeah, right. Yep.
[36:31] Was it not necessary? It's only in the crowded area.
[36:36] It can be non crowded area in the middle of the night.
[36:38] We just, it happens, you know, in India, some thief has tried
[36:42] to take out the ATM machine and they, you know, took the cash.
[36:46] Yeah. Exactly.
[36:49] That's, that's correct. What I'll try to do is I'll try
[36:52] to put a fake paper the same price of a 22 is not and I'll
[36:56] see if it works. Yeah, see if it works.
[37:04] That's a bad description. But let's let's go with one
[37:06] more, one more trip. Maybe now is a good opportunity
[37:10] for the audience to think about a threat that we have not
[37:15] written again. You can share in the comment box
[37:17] here. You can share it in the comment
[37:19] box. That would be a great one, yes.
[37:22] Anything else prep that you can think of?
[37:26] I will try to. I will try to perform a Dos
[37:29] attack in physically by entering.
[37:30] I will try to enter multiple time key pads and all that and
[37:33] see if it gets stuck. Will it able to take out
[37:36] multiple bottles? Yeah, yeah, that's that's pretty
[37:40] valid. It is one of the very old
[37:42] technique of hacking into vending machines.
[37:45] It works. So we've got 5 threats.
[37:49] That's great. FYII tried to ask this question
[37:54] every time I teach about threat modelling and some of the
[37:56] answers are hilarious. One of my favorite answer that I
[38:00] remember is like, there was this person who stood up and said
[38:04] I'll put my hand through the hole and then try to grab the
[38:08] coke or whatever and I'm like made respect.
[38:11] Someone else would say I'll turn the power off, hope that it'll
[38:15] go into a boot mode or something like that and like just, you
[38:19] know, push something. Again, that all makes sense.
[38:22] There's no wrong answer here. The whole idea we're doing this
[38:25] exercise is to put that attacker mindset.
[38:27] I want to show you all how to think like attackers in a normal
[38:32] day-to-day scenario. Now we have 5 threats.
[38:35] Let's think about severity. So if I had to think about
[38:39] severity, I would say social engineering is medium.
[38:42] Medium because we have trained the security guards might be so
[38:45] they know OK how to handle. Yeah, break the glass.
[38:49] Impact will be high. Impact will be very high.
[38:52] So I would say is hi Ben, we're talking about, in the scenario
[38:56] we're talking about both risk and impact, I would say hi, pick
[39:00] the machine. Again, high impact.
[39:03] But to pick an entire machine, you probably need help from
[39:06] someone else. So there's another factor.
[39:09] So maybe I'll call that medium fake paper.
[39:13] In my opinion, this is critical because it's probably very easy
[39:20] to trick the machine. Again, assuming there's no
[39:24] security implemented, this is just a vending machine and DDoS.
[39:27] Check the. Paper size and based on that it
[39:28] kind of proved. Yeah, DDoS is also very high.
[39:32] High. Yeah.
[39:34] So now you have the severity and now we're going to change our
[39:38] mindset. Now I want you all to stop
[39:42] thinking like attackers. Let's say I am a penetration
[39:46] tester and I came to you with this threat model and I said,
[39:49] hey man, like you could do these threats.
[39:51] There is this description. Now you are the engineer.
[39:55] How you tell me how are you going to protect your vending
[39:57] machine against these threats? Let's say social engineering.
[40:02] How are you going to protect against social engineering in
[40:05] this scenario? Awareness training.
[40:11] Awareness training. Yep, don't trust random callers.
[40:18] Sure that's great. Let's say the second one is
[40:21] break the glass. Strong glass.
[40:27] Like now there are unbreakable glasses and there's enough.
[40:31] Again, depends on what do you have in your vending machine
[40:33] depending on how much you want to spend on the glass.
[40:35] But strong glass is a very easy fix to the break glass scenario.
[40:40] Pick up the machine. I think the easiest way you
[40:42] could do is like make it heavy. Like if you actually notice, a
[40:48] lot of vending machines nowadays are deliberate, deliberately
[40:51] very, very heavy. But the content in the machine
[40:55] is not that heavy. It's just the machines are
[40:57] deliberately made so heavy so that people can't pick it up
[41:00] thick paper. Now, this is, in my opinion,
[41:03] this is the one where you need some design, where you need some
[41:06] logic, where you need some coding, where you need some
[41:09] image processing, for example. Again, you need to read the
[41:12] numbers on the note. So you need to apply logic and
[41:16] design. So this is probably the most
[41:19] important recommendation. DDoS, again, I also think for
[41:23] this you need some code logic, and you need to make sure you
[41:27] know there's enough protection sets of Trump.
[41:30] Trump Guess what? In the last 8 to 9 minutes,
[41:36] everyone who listened to this video created their first
[41:39] threat. Model.
[41:39] Good modeling. Yeah, I.
[41:42] Also, we didn't bring a line of code.
[41:44] Yeah, we didn't write, we didn't read about large threat models.
[41:51] We didn't go through O vast multiple pages.
[41:54] All we did is we took an application, a daily using
[41:58] application vending machine. We all might have used it at
[42:01] least once in our lifetime. First we thought like attackers,
[42:05] we came up with threats, and then we thought, how can we
[42:09] protect this? And we have security
[42:10] recommendations. Now imagine if you were building
[42:14] a vending machine and if you implemented these five
[42:18] recommendations, you're probably more secure than anyone who has
[42:24] built a vending machine without these recommendations in place.
[42:27] As simple as that. So I think this is the
[42:30] philosophy that I want to teach and this is what I want, let's
[42:36] say every product manager, engineer, non security person to
[42:42] start thinking like when you're building something, when you
[42:46] start thinking about how can this be broken?
[42:50] And then apply some security principles.
[42:53] Now, mind you, applying security principles is not easy.
[42:56] Sometimes if you apply the wrong principle, it's easier for you
[43:01] to, you know, to do a wrong thing.
[43:04] And that's where you need the security expertise and that's
[43:06] where you need to talk to a security person, or that's where
[43:09] you want to learn how to do this.
[43:12] But the idea to build something securely from scratch starts
[43:18] from here. And it was very simple, you
[43:21] know, like if you guys asked me one number before, we don't even
[43:25] thought about we're going to discuss about the vending
[43:28] machine and boom, in 10 minutes we had thought process
[43:32] discussions and we come up with the possible things.
[43:35] Wow. So it's all about how and it's
[43:37] also depending upon the person, how he convey the things that
[43:40] people like you. Even I'm not from the background
[43:44] but within a 10 minutes I got a complete insight about this.
[43:48] I think if let's say you start asking these questions in your
[43:52] daily stand up or let's say you're sitting somewhere and
[43:57] you're thinking about, OK, we want to build this feature, what
[43:59] should we do? Or it could be in your
[44:01] boardroom, you're surrounded by a bunch of executives and you're
[44:05] thinking about this new launch or new feature that you would
[44:07] want to build just for a second. If you stop and think about what
[44:11] happens if this gets broken or what, what happens if this gets
[44:15] hacked, you don't. And sometimes when we talk about
[44:18] hacking prep, people think about NSA or nation state hackers or
[44:23] countries hacking into each other.
[44:25] Hacking your girlfriend account. Yeah, you think about all these
[44:29] things, but the reality is sometimes the simplest of the
[44:33] mistakes lead to a vulnerability and can cause more damage than,
[44:38] you know, some of these really complex things.
[44:42] So yeah, I think that's why I'm, I'm sorry for the really long
[44:46] answer about threat modeling. And no way, man, no way this is
[44:49] they. Talk about technical concepts.
[44:51] But I like to make things simpler and easier, so
[44:54] hopefully, yeah, it made sense to the audience, yeah.
[44:58] And when it comes to as I said about what is you know you have
[45:02] given a very well defined crafted response on the security
[45:06] by design. But so as you said about this
[45:10] practical exposure about threat modelling and all that, can you
[45:14] just tell me about the complete process how we go from start
[45:17] zero, you know how the customer understanding requirement comes
[45:21] then you go for this kind of. So can you tell me the end to
[45:25] end process which is it really works in the industry?
[45:31] So in some mature companies and in some mature engineering teams
[45:37] of products, absolutely it happens.
[45:40] It's like I said, it's less of a checklist, but more of a mindset
[45:46] process that you want to go through.
[45:47] Like for example, you want to start with the intent of why
[45:53] you're building something. Don't just think about the
[45:56] feature. Don't just think about, OK,
[45:57] we're talking about e-commerce website.
[45:59] OK, don't just think about check out page cart, page items,
[46:02] product T-shirt. Don't think about that.
[46:03] But that comes later. First think about why you're
[46:06] building that e-commerce page. Who is your audience?
[46:10] What are you trying to do? You're trying to sell AT shirt?
[46:15] Make a payment, take a payment and then make sure it gets
[46:19] shipped to the right person. So that's the intent and then
[46:22] you start applying security to that intent.
[46:25] So I think the first step is understanding the intent of why
[46:28] you're building. Then you want to think about
[46:32] defining what are your trust boundaries.
[46:34] Like in the case of vending machine, our trust boundary was
[46:37] there's no camera. It's in a place where it's there
[46:41] is no security guard. And one of the trust boundary
[46:44] was you were alone. So these are some trust
[46:47] boundaries that you would want to think about.
[46:49] Like, for example, in a real world, you want to think about
[46:52] whether it's an internal application or an external
[46:54] application. Who is going to who's going to
[46:58] use this application? Like is it humans or is it some
[47:00] automated software? Is is it a client side
[47:04] application or a server side application?
[47:05] So what do we trust and what do we not trust is like the second
[47:10] thing that you would want to think about a trust boundary.
[47:12] The third thing as we talked about is think about how you can
[47:18] abuse the system. Think about how this can be
[47:22] broken. And maybe, you know, start
[47:24] making a list and start like for example, when a product manager
[47:30] is thinking about a product, they create something called as
[47:33] a product requirements document in which they do user research
[47:37] in which they talk to customers that talk about different
[47:39] features, different things that they want to develop, how it
[47:42] should work. Sometimes they go to Figma, do a
[47:45] design. That's when a product designer
[47:46] comes into place, puts all these screenshots.
[47:49] As you're doing that, that's when you want to think about
[47:52] these abuse scenarios. And the next step, 4th step is
[47:57] start thinking about some security defaults and some
[48:03] decisions that you would want to make, which would make this
[48:05] default by secure. Like for example, you're
[48:08] building an e-commerce website. Going back to the example, have
[48:11] a login page instead of having no login page.
[48:16] Because the moment you start thinking correct, the moment you
[48:19] start thinking about login page, then you start thinking about
[48:22] OK, what is identity? How do I want to define my
[48:25] identity? Do I want password based
[48:27] identity? Do I want OTP based identity?
[48:29] Do you do I want no password based?
[48:32] All of those are fine. But for that, you need to think
[48:34] about having a login page, you're thinking about a payment
[48:38] page, thinking about using a secure third party payment
[48:42] processor, think about how the data is being used or how the
[48:46] data is being transferred on that payment page.
[48:49] So as I was saying, the fourth thing that you would want to
[48:51] think about is like, how do, how do you ship this securely?
[48:55] And like how do you make this secure by default?
[48:58] And probably the last thing that you would want to implement or
[49:04] that you would want to think about is like whatever security
[49:09] decision that you're taking, don't think about it as a gate.
[49:16] Don't think about it as, or you have to do this, but think about
[49:21] it in a way that, OK, this is by default the way we do it.
[49:26] Like think about the security, whatever, like be it principle
[49:30] of privilege or be it actually, we will edit those 20 seconds,
[49:37] recap, recap, edit, edit. So I'll go back.
[49:41] Whatever security principle that you think about, think about
[49:45] implementing it properly and try to get it right the first time
[49:48] because that's how you get maximum benefit of implementing
[49:52] security early. Because then there is less
[49:55] chances for you to make a mistake, then there's less
[49:56] chances for you to have vulnerabilities.
[49:59] And then eventually, you know, there's a better probability
[50:02] that you're building a secure application.
[50:03] So I think these are the four or five steps.
[50:06] Again, in different organizations, this flow is
[50:09] followed differently. Like for example, some product
[50:13] managers or product designers or product researchers, if they are
[50:18] trained on security, then they can think about these things.
[50:21] So by default they're thinking about some of these principles.
[50:23] But at the same time, there is $1,000,000 question from like,
[50:29] this is a question like people ask me even before I did the
[50:31] LinkedIn course. And many people ask me even
[50:33] today who should implement this? Who should implement secure by
[50:38] design? Like is IT security people?
[50:40] Is it engineers? Is it product?
[50:45] I think if you ask different people, they'll tell you
[50:47] different things. In my opinion, it is everyone's
[50:50] responsibility. Now definitely security is a new
[50:54] responsibility indefinitely, but when it comes to execution part
[50:58] implementation part, who take care of that?
[51:01] So for secure by design, it is still implemented by product and
[51:06] engineering. The security team will tell you
[51:08] how to do it. They'll guide you.
[51:11] Some companies have separate security engineering team who
[51:15] implements this. That's where how your company is
[51:18] built and how the company dynamics work come into picture.
[51:23] Honestly, I'm not the expert about, you know, telling how
[51:27] company structure should be, but.
[51:29] It's also depending on the budget and the structure of the
[51:32] company, right? Example if I work for startup, I
[51:34] don't think so. They will have a unique profile
[51:37] for every position, correct? You when you're working a CSO
[51:41] for startup you are doing everything and to an
[51:42] implementation. But when you work for a product
[51:44] company, then we have a dedicated field, CSO, CTO and
[51:47] all that. Yeah, and that is exactly
[51:51] correct. And in scenarios like that, you
[51:54] do want product and engineering folks to implement this, but
[51:58] they need to be well trained. And I think going back, one
[52:02] thing that's important in this entire journey is proper
[52:05] security education and security awareness.
[52:08] If I had, if I were building a small start up and I had $10,000
[52:14] to implement security, think about security, I had $10,000.
[52:20] And if you ask me what tool should I buy, I would say don't
[52:23] buy a tool with $5000. Give everyone in your company
[52:28] security education, be it awareness, be IT security
[52:33] engineering courses or some threat modelling courses.
[52:37] Or it could also be teach them about whatever they're trying to
[52:41] build, teach them about how to build it securely.
[52:45] Then invest your other 5000 on everything else because the
[52:48] $5000 that you invest on security education goes a really
[52:51] long way because this person when they get educated properly,
[52:56] they will remember about the security principles for a really
[52:58] long way. Excellent.
[53:02] Because as you said about process, for whatever the cost
[53:09] you are defining and all that, it's it's a very good point that
[53:11] you said, you know, integrations, diversifications
[53:16] and maturity, it also drive the security of a design.
[53:19] And without having a thought process, without having a good
[53:24] process simply implement something, it can backfire.
[53:27] Yeah, exactly. And there's also like.
[53:31] Again, I don't want to get too detailed, but even there is a
[53:37] difference between security by design and secure by design if
[53:42] you actually have to get. Into that.
[53:43] So what is the difference of it? I thought, yeah, yeah, yeah,
[53:47] yeah. So security by design is where
[53:50] security is considered using the design phase and you're
[53:54] implementing something. Whereas secure by design is
[53:57] means that a system is inherently more secure.
[54:04] So in secure by design, you're talking about a system or a
[54:06] product that is by default more secure, whereas in Security by
[54:12] Design, you're talking about implementing security in design.
[54:16] Again, I'm not an English expert or I'm not an English major.
[54:21] I think when you talk to different teams or different
[54:23] companies, they have their own vocabulary that they use.
[54:26] So I don't want to get too pedantic, but I have learned a
[54:30] couple of years ago the difference between these two
[54:32] philosophies. And I thought, OK, maybe I'll,
[54:35] maybe I'll mention that. No, but, but you know, you've
[54:39] given me a good homework to be frank today because I was
[54:44] limited to something with some mindset.
[54:46] But now, yeah, it's something now.
[54:50] I think I think one good resource to go and search for is
[54:54] if you go on Google and search for CSA Secure by Design.
[54:59] Yeah. CSA basically has some ideology
[55:03] and pledge on secure by design. I say the word so many times
[55:10] sometimes even like I am confused.
[55:13] They teach you about or they talk about like you know how
[55:16] products should be designed with these principles in your mind.
[55:20] There are about 10 principles like if you're interested, you
[55:23] can go through them. Each of them means slightly
[55:26] different. There are some companies which
[55:29] are doing some amazing work in Secure by Design.
[55:33] One of them is called SISO, which is actually an Indian
[55:36] based startup. I think Bangalorean based
[55:40] startup actually no. Siso, OK SISA is basically a
[55:45] cybersecurity infrastructure Security Agency.
[55:47] This is an American agent. That's not what they're talking
[55:49] about. That Indian company now Siso
[55:51] care. Yes, yeah.
[55:52] So I would highly recommend. Watching this video, his name is
[55:57] Jack. So Jack is, I think one of the
[56:02] leading people. I, I have a lot of respect for
[56:05] in terms of people who believes in the ideology of secure by
[56:08] design. He has his own company called
[56:13] Corridor. So oops, this is the wrong
[56:18] company, but it's called Corridor Security.
[56:23] So yeah, he talks about implementing secure by Design
[56:28] and the ideas of some of these principles at a code level.
[56:31] And the other company I was talking about is Seeso.
[56:35] What Seeso does is Seeso is a startup from Bangalore.
[56:41] They automate using AI on how to do security design reviews and
[56:46] talk about how to do threat modelling at scale.
[56:49] And they talk about when you have thousands of features, how
[56:53] you can make this features default by let me read this, how
[56:59] you can make this thousands of features more secure even when
[57:04] you start building about it from scratch.
[57:08] I think they also have a free account.
[57:10] So if any of you are interested, you can just go create a free
[57:13] account and run a threat model like you can simply upload any
[57:18] of your product design documents or product requirements document
[57:22] and you'll get an output like this.
[57:25] And this is also a good way to learn if you're looking for free
[57:28] open source resource, obviously there's thread tag dragon that
[57:31] you could use. That's an OS project.
[57:33] I have a lot of respect for it, but I came across this thing
[57:37] called as threat modelling dot IO.
[57:40] This was just released yesterday by a security engineer at
[57:45] Commonwealth Bank in Sydney. Again, I think this is a very
[57:49] cool tool. I played with it very briefly a
[57:52] few hours ago. I would highly recommend you all
[57:55] to you know, some homework. If you have come this far in
[57:59] this podcast, respect, kudos to you that you know you have made
[58:06] it this far rather than watching your favorite movie or watching
[58:11] IPLI mean, we have people. We have people, yeah.
[58:16] We should do both of that, but if you have come this.
[58:18] Far and if you're genuinely interested to learn more about
[58:22] this, I would highly recommend you checking out those three
[58:25] websites and yeah, and this is the last website you said talk.
[58:32] About, you know, I'm going to personally review that and yeah,
[58:34] I got an opportunity to make a content around that area, to be
[58:37] frank. And definitely credit goes to
[58:39] you, Abhijit, you know, giving me that visibility.
[58:42] No credit goes to the author. I I'm.
[58:45] Really sorry I actually don't remember the name of the author
[58:47] but but I was you can just share me the URL and WhatsApp.
[58:51] I will. I will.
[58:51] Just copy based in the YouTube description box then yeah.
[58:55] OK, cool. I'll send there.
[58:56] We'll share the. LinkedIn post Yeah, cool.
[58:58] And it's the last question I want to ask here is.
[59:00] What is the security mistake you personally made that taught you
[59:03] the most simple and keep it simple, yeah.
[59:11] I thought security was always engineer's fault.
[59:16] Quite early in my career I found a remote code execution in
[59:20] someone's code a few times back-to-back in multiple
[59:25] releases. I went and complained their
[59:30] manager and they got fired. This is 1 regret I have in my
[59:35] entire career. As you start growing in your
[59:38] career and maturing, you'll start realizing it's never one
[59:41] person's fault. It's never an engineer's fault
[59:46] to write wrong code. Like I said, I have a lot of
[59:49] regret. It's been 11 to 12 years.
[59:51] I still have nightmares sometimes.
[59:53] So I think that's my biggest lesson is if you find a security
[59:57] vulnerability, don't try to be a hero.
[59:59] It should be a collaborative approach.
[1:00:03] Correct like try to be. Kind try to teach and educate
[1:00:07] about the vulnerability or try to, you know, instead of point
[1:00:11] collaborate instead of. Pointing.
[1:00:12] Like it's, it's, yeah, it's some of the maturity, right.
[1:00:16] I think it's come with the maturity then before.
[1:00:18] Marriage you always say, you know it's your mistake, it's
[1:00:21] your mistake after after marriage you say it's my
[1:00:23] mistake, it's my mistake. So it come with the maturity,
[1:00:25] right. So it's I think so too.
[1:00:27] Yeah, it's a. Celebrity initiatives, Yeah, I
[1:00:31] think. So too but.
[1:00:32] Look, I know I could have given a technical answer or I could
[1:00:35] have given a concept, but we are all humans.
[1:00:38] We all make mistakes. I think this is 1 security
[1:00:40] mistake. I think I I still regret about.
[1:00:44] I still have nightmares. So if you find a security
[1:00:46] vulnerability, fantastic, you're doing a good job.
[1:00:50] But don't be don't be awake. Yeah, because we.
[1:00:53] Don't know when can be the vulnerability can be used
[1:00:56] against you. That's why I say insecurity.
[1:00:59] There's no patch for human stupidity.
[1:01:01] It is always and always improve with the health of security
[1:01:04] awareness and collaboration. I think that's where.
[1:01:09] That is why I'm a huge fan of all of you write content.
[1:01:14] I, I, I, I don't do a lot. I, I, I wish I did a lot.
[1:01:18] But all of you who create content and educate others,
[1:01:21] massive respect. Thank you so much for securing
[1:01:25] the Internet guys like you all do thanks.
[1:01:28] Thanks to you, because you know you are also.
[1:01:30] Doing a great job in apps Excite and and you know, I wish to have
[1:01:35] one more podcast with you this year on some of the topic too.
[1:01:39] Yeah, I'm happy to. Chat how I have many topics on
[1:01:44] my mind. This is one of the simpler
[1:01:46] topics that was easy for me to talk about or easy for me to
[1:01:50] share. I hope your security and non
[1:01:53] security audience like this topic because the goal of this
[1:01:56] topic or teaching it in this way was to share it with you all.
[1:01:59] How to make security very simple but at the same time it is you
[1:02:05] know you have to implement it. Maybe this is one of the ways
[1:02:07] you implement it and do it right.
[1:02:10] But but but thanks Abhijit. You know, taking out the time
[1:02:12] for. This topic and to be frank, it's
[1:02:16] now one hour and you know, I still want to continue, but the
[1:02:20] time is running and I don't want to spoil your night because I
[1:02:23] know it's been late in US, but those are watching the podcast
[1:02:27] as Abhijit has said that OK, there's a lot of topics in mind.
[1:02:29] What you have topics in your mind, do share in the comments.
[1:02:33] You know, I will try to pull Abhijit for the next podcast,
[1:02:36] you know, because see, right now we're doing this podcast, this
[1:02:39] recording live so I can ask him any questions so he will not say
[1:02:42] no to that. So I can request him for another
[1:02:44] podcast and let us know your topics in the comment box so
[1:02:47] that, you know, we can look in those comments and you know,
[1:02:50] help me to build more content around that area.
[1:02:53] And definitely it is easy for me to push Abhijit for those
[1:02:56] topics. But Abhijit, thank you again.
[1:02:58] And you know, it was really great insight for me.
[1:03:01] One of the two three things which I like about this
[1:03:03] broadcast is on the spot, how you create a template, amazing.
[1:03:08] Second, integration of philosophy with APSEC and never
[1:03:11] seen any person like that. And 3rd, keep it simple and
[1:03:15] truly kudos to you for that. No kudos to you all.
[1:03:20] Please don't hack vending machines.
[1:03:21] That's my request. Yeah, yeah, and don't.
[1:03:24] Not encouraging bad behavior, but otherwise someone will take
[1:03:28] down my content, correct SO. Please be safe and.
[1:03:32] Thanks for keeping the Internet secure.
[1:03:34] Thank you, Rob. Thanks ABI.
[1:03:35] Thank you for time and thanks for taking.
[1:03:37] Our time for this podcast. We're looking forward for more
[1:03:39] sessions from you. Awesome.
[1:03:41] So this is all from our side team.
[1:03:42] Do let us know how do you find this?
[1:03:44] Podcast and if you're in this channel to subscribe to channel
[1:03:46] and click on the bell icon to make sure you should not miss
[1:03:48] the future videos on a similar topic.
[1:03:50] Good day. Bye.
[1:03:52] Thanks ABI.

Shows are listed from Apple Podcasts' charts and directory, and Podcast Index where it is used. Every show and episode belongs to its publisher and plays from the publisher's own feed; this site hosts none of them.
