# Cloud Security Architecture Blueprint: From Log Analyst to Architect

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 19 Aug 2025, 50 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/107049623/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-7-19%2F8ce5a5e8-419e-c8b1-5e03-5a4ef745c4a5.mp3

Learn how to go from SOC log analyst to cloud-security architect—step by step. In this hands-on masterclass, Kushal Kumar (Security Architect, GoDaddy) shares hard-won lessons on designing secure AWS/Azure environments, avoiding common misconfigurations, and translating tech risk into business value.00:00 – 00:48 - Precap (Summary of previous podcast)00:48 – 01:37 - Start of conversation by welcoming guest01:37 - 03:04 - Introduction of Kushal and his hard work and career03:04 - 06:22 - Step-by-step journey process to become an architect06:22 - 15:06 - Become an architect from zero step by step15:06 - 16:26 - Tools used to design programs16:26 - 19:40 - Important characteristics19:40 - 22:00 - Architecture decisions22:00 - 25:15 - Secrets25:15 - 29:23 - Secret management pattern29:23 - 31:36 - Design principle keeping secrets 31:36 - 33:40 - Logging strategy33:40 - 36:06 - Log Sources36:06 - 37:40 - Cost effective log storage37:40 - 39:40 - Temperproof39:40 - 43:28 - First red flag you look for the vendor cloud architecture43:28 - 45:50 - Findings of architecture into the GRC45:50 - 48:33 - Checklist48:33 - 50:03 - End of the conversation with Vote of Thanks and future podcast50:03 - Share Opinions What You’ll LearnThe exact skills Kushal used to jump from log analysis to cloud security architectureTop 5 cloud mistakes to avoid (open S3 buckets, missing CloudTrail, static keys…)A 3-log starter kit (CloudTrail, VPC Flow Logs, AWS Config / Azure Policy)Secrets management on a budget—choosing vaults, IAM roles, and pre-commit hooksHow to translate architecture findings into non-tech language for the boardQuick checklist: IAM ✔︎ DDoS ✔︎ Data encryption ✔︎ Logging & monitoring ✔︎First red flags in vendor risk reviews (SOC 2, encryption, audit evidence)Linkedin Profilehttps://www.linkedin.com/in/kuskumar/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=gAQBISO 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=PL0hT6hgexlYyNWBcGYfabwumCr0GKmLWvStudy with MeTelegram Grouphttps://t.me/Prabhstudy

## Transcript

[0:00] If someone want to become an architect, So what should be the
[0:02] step by step journey process? To become an architect, it's
[0:05] very important you understand the use case.
[0:08] You understand build your foundation first.
[0:10] It's very important to build the foundation.
[0:12] Once you have that foundation, you start building from there.
[0:14] Me the logging strategy is secure by design.
[0:18] You know, when you're talking about from an architecture
[0:19] perspective. So architecture is speaking a
[0:22] secure by design logging strategy means that you have to
[0:24] have access controls in place so that nobody can, you know, with
[0:28] authorized access can access your logs.
[0:29] So what are the three or four log sources you want to tune for
[0:34] a day one? Three most important log sources
[0:36] would be Cloud Chill or AWS. Second BTC flow log.
[0:40] So now you're now reviewing the vendors for risk and compliance.
[0:42] OK, So what is the first red flag you look for the vendor or
[0:46] cloud architecture? Hi guys, welcome to the session
[0:50] on Coffee with Prabh. And today we have a special
[0:53] guest, my friend Mr. Kushal Kumar.
[0:55] He's a cloud security engineer and architect at one other
[0:58] company. And the best thing about the Mr.
[1:00] Kushal is he spent his great time in designing the AWS Azure
[1:04] reset up, which is, you know, talk about the secure by
[1:06] default, fixing all the identity issues and governance.
[1:09] And the best thing about Mr. Kushal is he writing a very
[1:12] simple playbook to the point, no bluff, nothing to the point
[1:15] which is required as per the business.
[1:17] And the playbooks talk about lot of around the developers which
[1:21] can be used to protect the secrets, logs and data without
[1:24] slowing down their work. Along with that, he also mentors
[1:27] beginners sharing a real lab exercise and checklist that
[1:30] anyone can follow at home. And hey Kushal, welcome to the
[1:33] show and let's deep dive into the practical cloud security
[1:36] today, April. Hello everyone, My name is
[1:38] Kushal. And definitely yes, we'll deep
[1:40] dive into what what secure by default and design means.
[1:43] So little bit, little bit about myself.
[1:46] So I have almost. 10 years of experience in the cloud security
[1:49] and entire cyber security space. Actually, I started my it's a
[1:52] very fine story. I started my journey as a log
[1:54] analyst building log collectors and lock parsers for the Siemens
[2:00] stock solutions and Siemensol platforms.
[2:02] And then from. I did that for almost 2 1/2
[2:04] years, then moved to, did that for almost 2 1/2 years, worked
[2:09] with developers fixing the security issues across secure
[2:11] coding and the apps and everything, right?
[2:13] But that was the time when I realized that trend in the
[2:17] market that everybody is moving to the cloud, the app is moving
[2:19] to the cloud. And within my company there was
[2:22] big push to having the cloudy security engineer and architect,
[2:26] all those people, right? So I thought why not pursue my
[2:29] first aid adverse certifications.
[2:31] And I did that. Once I did that, I got involved
[2:33] with a lot of people who are designing and reviewing clouds,
[2:36] setups and architectures, right? I had a lot of people designed
[2:39] as well. And I think from there I became
[2:42] a cloud security consultant, helping a lot of peoples in that
[2:45] area. And from there, I think I jumped
[2:48] to Cloud Security Architect where I joined a firm almost 2-3
[2:51] years back where I was my entire role was again designing,
[2:54] reviewing the cloud setups and and helping clients.
[2:57] We have a good security posture. OK, that's that's nice.
[3:00] Before we today agenda is I think we are very clear about
[3:04] we're going to discuss about protecting secret logs or we're
[3:07] talking about the architects and all that.
[3:09] But Kushal before we jump into that, I my first question always
[3:13] for my for the speaker is that like your profile is a security
[3:19] architect and the GRC. So if someone want to become an
[3:23] architect, OK, So what should be the step by step journey process
[3:27] if you can spend 5 minutes on that area?
[3:29] To become an architect, it's very important that you
[3:32] understand the use case. You understand build your
[3:34] foundation first. Unless you have a good
[3:36] foundation across different layers of security, whether it's
[3:40] IM, whether it's network security, whether you talk about
[3:43] identity, whether you talk about data protection, anti NS, you
[3:46] have that foundation. It is very difficult to become
[3:50] an architect because once you're an architect, you have to look
[3:53] at things from different perspective.
[3:55] We are giving a, you're looking at things from 10,000 feet
[3:58] overview, right? And from that point of view, you
[4:00] have to, you know, look at everything that can go wrong or
[4:04] right. You have to look at the
[4:05] functional aspect. You have to look at the security
[4:07] aspects, cost aspect resiliently, it should be
[4:10] resilient as well, right? So it's very important to build
[4:12] the foundation. Once you have that foundation,
[4:14] you start building from there, you, you start reading code,
[4:18] deep dive into the different, you know, different areas of
[4:21] what, what's, what interests you.
[4:23] So for me, a simple trick is that whenever you are in puzzle
[4:27] that what should I focus? How to start focus just because
[4:30] certification because then you have don't have analysis
[4:33] paralysis thing right when you have to search, gather and find
[4:36] information and then you have to sit down and that is too much of
[4:40] effort for a lot of business. So I generally come just pick up
[4:44] a certification. It would be AWS, Azure or
[4:46] anything start building the foundation from there start
[4:49] covering the basics and once you are comfortable with the initial
[4:52] stage that you understood what I am means data protection means
[4:55] and all that, then you can you know deep dive into each
[4:57] resources, Google it, find more information on that area.
[5:01] And once you do that, then and the next stage is always comes
[5:04] to how do you practice it? You do, you start your lab, you
[5:07] develop solutions, pick up any solution on online.
[5:10] They are geared resources. For example, Fluus has this AWS
[5:13] reference architecture dark page where you can actually look at
[5:16] the reference design and start seeing what why this designed,
[5:19] why, what could go wrong, what could go right.
[5:21] So that way you can start building the confidence in your
[5:24] in your portfolio and as a security architect.
[5:26] So Kushal, sorry to interrupt here when you said like, OK, I
[5:29] know certification is definitely required.
[5:32] As you know, not everyone come with the budget of having a
[5:34] certification, right? Right.
[5:35] See, I want to drive a car, OK? Definitely I need a learning
[5:40] license. I do understand.
[5:42] But before, OK, learning license is one of the criteria, but we
[5:45] should know the formula of how to update a car, right?
[5:48] Like when I say I want to become an auditor, we have a journey of
[5:52] starting with 27,001 lead auditor, then we do seesaw and
[5:55] audit and all that, right? There's a lot of resources that
[5:58] are available to become an auditor.
[6:00] There's a lot of resources are available to become a management
[6:03] expert. There's a lot of resources are
[6:05] available about network security engineers and all that.
[6:08] But my question is when it comes to architect, there are very few
[6:11] resources, are there right? OK, so how, how we can
[6:14] basically, you know how we can basically become an architect
[6:18] from zero? Step back.
[6:19] So I'll go back to my previous discussion, what we're having
[6:23] forget about certification, right?
[6:24] Number one thing is to forget about becoming an architect.
[6:27] Right now you start at 0 and when you start at zero, you have
[6:30] to build your foundation later build.
[6:32] I'll, I'll, I'll keep this again and I'll say this again and
[6:35] build your foundation. And unless you have foundation
[6:37] on network security, I am data operation everything and these
[6:40] are their terms resources available online on these
[6:42] different areas, right? So once you do that, once you
[6:45] have built the foundation, then certainly then it comes about
[6:48] the practicing of those different areas of your security
[6:53] journey, cloud security journey. Even if you don't do the
[6:55] certification, right, you must have access to the AWS.
[6:58] You cannot say that I cannot access AWS.
[7:00] I cannot do AWS because I don't have money right now.
[7:03] But you cannot, you have to have a practice on on this instances
[7:06] because until unless you have practice, go and deploy some
[7:08] apps, build some design, you will not have any idea of how
[7:11] cloud CPD works and pen and paper.
[7:14] You can design everything. You can design anything.
[7:15] But until as you go to the cloud and design, actually looking at
[7:19] the reference architecture that you found in AWS architecture
[7:21] reference diagram, because that is a free resource.
[7:24] Unless you do that, you won't become you won't start your
[7:26] journey towards cloud, cloud security because designing and
[7:30] understanding the entire reference is very important to
[7:32] become a class. But but how did you started?
[7:34] Like if okay, 1 is that this is how you started your architect
[7:37] part and all. How do you started?
[7:39] So my benefit was that this is I'm I'm totally speaking to the
[7:42] people who are not in that area of IT security where they have
[7:46] the comfort of company where they are already heavy deployed
[7:50] in Azure, right? But it should look at my
[7:52] example. I have already had companies
[7:55] where they are building orderly solution AWS or Azure, right?
[7:59] So I have to look at the document documents or what
[8:01] exactly they are building. What are the resources that are
[8:03] available internally so that I can just have a reference I can
[8:06] learn from those documents how threat model is?
[8:08] Done. What is the document if someone
[8:11] is want to prepare themselves and all that One is basically
[8:14] not about the company document but there should be some
[8:15] reference name to be given. That most common document that
[8:18] you will come across is thread model documents.
[8:22] Thread model documents that. You have the architectures, you
[8:24] have the entire process of how to find threads and designing.
[8:28] Then you have DFD diagram documents, right?
[8:30] Where there's a data flow diagram, which is says that how
[8:32] data flows within these services within each model, right?
[8:35] And those kind of documents you can keep handy whenever you want
[8:38] to learn, practice the architect in the flower or somewhere else,
[8:42] OK, those are documents that we have here.
[8:44] So my go to go to documents were there.
[8:47] I used to be for those documents, right?
[8:48] More documents, right? And use that as a reference and
[8:51] think about, oh, why this, why this service?
[8:54] Why can't we use some other service, right?
[8:56] And then I think, and then I Google, OK, I cannot use this
[8:59] service because this is service is not scalable.
[9:02] This is not secure, right? And then I think in that process
[9:05] and then that process when that process comes into your
[9:08] thinking, you start, you know, pivot towards designing and now
[9:11] you know that how to to design this, right, You started
[9:14] understand that, OK, this design will work with this way or this
[9:17] service will fit this way. And that is entire journey that
[9:20] began for me because you have to have that reference knowledge
[9:23] you have to have, you must have looked at a lot of architectures
[9:26] to before you start designing and implementing it.
[9:28] And that is the entire process, OK.
[9:31] So Kushal, it's a very interesting question I want to
[9:33] ask you as a cloud security architect, OK, how do you
[9:37] explain your job to someone outside the tech?
[9:39] Like I don't know about nothing, you know?
[9:41] So if I want to know what is a role of Kushal, I cannot say.
[9:46] Now you take a flight every day to the cloud.
[9:48] Right from there you basically manage everything.
[9:51] So as as a cloud security architect, how do you explain
[9:53] your job A day in a life of a cushion so.
[9:56] I'll, I'll come to an example. This is like 10 years back to
[9:59] example, right? So I was doing a secure code
[10:02] review and I found this very interesting book called Head
[10:04] First Java. I know if you heard of it or
[10:06] not. And this book is amazing for
[10:08] Java developers. And I just because since I was
[10:10] doing secure code review, I need to know the Java application.
[10:13] So I there was a very important concept that was explained to
[10:16] design a class in Java that use concept.
[10:18] You have a class and everything. And that takes example of how
[10:21] you can take a consider class as a blueprint, right?
[10:24] Blueprint of designing something.
[10:25] When you design, you have a blueprint, you can then copy
[10:27] that blueprint to multiple places.
[10:28] And then so I steal.com, I always steal that concept and
[10:32] put it in my perspective and say that when you talk about class
[10:36] free architect, if someone assume someone is building an
[10:39] building a designing a property, like building an entire mall or
[10:44] everything, anything. And the first thing that you do
[10:47] when you do that is design A blueprint or how that entire
[10:49] thing would look like, right? And then you start and start
[10:52] looking at the gates, windows, you start adding fire
[10:56] extinguishers, exit plans and everything like the similar way
[10:59] the cloud security attack is single way.
[11:01] We do that same thing in the cloud.
[11:03] The only thing difference is that there's no windows, there's
[11:05] no doors. There are services in the cloud.
[11:08] There are exit plans, inbound traffic, outgoing traffics.
[11:12] How do you want to secure that? How is services that you deploy?
[11:15] How to that? How in case of disaster, what
[11:18] exactly do you do to mitigate the disaster plans?
[11:21] So everything that you design is the cloud and that is how
[11:24] explained to anyone. So Kushal help me with this.
[11:29] Can you just explain me with one example?
[11:31] Let's take a one use case. Today we went to the office and
[11:34] we got this requirement and how the cloud security architect
[11:38] share his viewpoint on that. Is it possible?
[11:40] Can you just share that viewpoint so it is easier for
[11:43] the audience to understand the role of a cloud security
[11:46] architect? Yeah.
[11:47] So just to give a brief about how this would happen.
[11:51] So suppose I went for a job today and I require a business
[11:55] requirement comes in. Can you just take an example
[11:57] business? Account business account as in
[11:58] there's an app that needs to be developed, a solution that needs
[12:01] to be developed for the market, which is like an e-commerce
[12:04] application and it requires to it will collect the username and
[12:08] passwords and the phone numbers, emails of the user.
[12:10] It will have the merchandise store somewhere else so that
[12:14] people can look at the photos and have a simple way of simple,
[12:16] simple solutions. Now the requirement is this is
[12:19] the requirement. The way you look at that is how
[12:21] do I pick my services so that I dictate these requirements in
[12:25] the cloud, right? So you example, you pick for
[12:28] example, when you say I have to store my database, I also store
[12:31] my, you know, Pis and everything.
[12:33] So you think about I need, I need to have database.
[12:36] Then you think about, OK, there are some products or services
[12:40] that I need to expose to the outer world, for example,
[12:42] photos. And so I cannot have my internal
[12:45] database exposed to the public, right?
[12:47] Then I choose a file storage service such as S3 in the PWS,
[12:51] which you can, you know, directly customers can talk to
[12:54] directly and fetch information from there, right?
[12:57] Then OK, then how, who would handle the entire algorithm?
[13:00] How would the entire transaction happen?
[13:03] Then you choose OK, should I pick Lambda services, which is
[13:06] function less services or should I go for a server server
[13:09] services which is easy to instances or Azure and Azure
[13:12] instances. Then comes, OK, Now how do I
[13:14] decide? Then comes do I require a longer
[13:17] my do my is my that transaction that is going to happen last for
[13:21] a longer time. So I need to maintain the
[13:23] session. I need to store the session.
[13:25] Do I or is it very quick short burst transaction or
[13:29] communication that is going to going to happen from the outside
[13:31] to inside of the cloud, right? Then you choose OK, it's very
[13:34] short come not lasting very long.
[13:36] Let's choose serverless, serverless app.
[13:38] So you have Lambda services. Now you design this application
[13:41] OK, now comes the API. How would someone access the my
[13:45] service? OK, then we have an APIs.
[13:47] You design the APIs, right? You ask developer to design the
[13:49] APIs. Now how that now how does how
[13:52] does that API will talk to my services?
[13:55] They could be flooding of APIs. A lot of people who talk talk to
[13:57] my APIs. Now my app or serverless I will
[14:00] go to shut down right? Will will be dossed for example.
[14:03] Then you think, OK, let's put an API gateway that will handle my
[14:06] traffic, that will handle all the incoming inbound requests.
[14:09] And when you move to the advantage that it can scale very
[14:12] efficiently. So if you do an API gateway
[14:15] scales very quickly and very efficiently, that will handle my
[14:17] traffic, that will route the traffic to my internal services.
[14:20] And then my app that I connected that PC to instance or Lambda
[14:23] services talk to my DB database, fetch the information and pull,
[14:27] pull that information and someone is trying to log in.
[14:30] Then yes, they will authenticate via database or someone is
[14:33] trying to access the merchandise.
[14:35] Then the the app then app player would migrate, you know, and
[14:39] navigate them to the S3 bucket. Well, they then they'll say get
[14:42] the link and then they will access the entire entire, you
[14:45] know, merchandise and every services, right.
[14:47] So this is the entire flow of how things works in when you
[14:50] start designing architecture. And what is the document called
[14:53] where we document all these things?
[14:55] Architecture Diagrams. Is normal document depending on
[14:58] business, what exactly the business use case, We name that
[15:00] business use case and business and then we start with
[15:03] architectural. OK, so do you use any tool to
[15:06] design these diagrams and all that?
[15:07] So there is very common tool that draw dot IO that is
[15:09] available online. Which one draw dot?
[15:12] IO. OK.
[15:13] So that is very that is very handy tool that you can actually
[15:17] start, you know, started drawing any architecture that you like.
[15:20] That is that is the one of the famous tool that I use.
[15:22] If there's a local tool as well, something called X, something
[15:26] called threat model by Microsoft Stride stride, stride stride.
[15:30] So that is for threat modeling. Yeah.
[15:31] So no, I'm talking about the tool vision Vision.
[15:34] No, no, not vision threat. I forgot the tool name is
[15:37] Microsoft tool that helps you design the production.
[15:39] Then you can do the threat model on that.
[15:41] There's also 11 called Threat Dragon by that helps you design
[15:44] the architect. So these are some of the tools
[15:46] that you can use to design the architect or.
[15:49] Any because I will be your one of the first student noting down
[15:52] all the points. There's something about me also.
[15:54] It's very handy and I in fact not just diagram, you can also
[15:58] design the data flows. Data flows are very different
[16:00] from the diagram you have. You just design the data flows.
[16:02] Like for example you have 3 components talking to each
[16:04] other. When you design entire flow of
[16:07] datas, how would each component talk?
[16:08] What is 1, what is 2, what is 3? What is the first communication,
[16:11] second termination, third communication?
[16:13] All those how how data flows. So those are the things you can
[16:16] draw. OK, Kushal, this is a
[16:17] non-technical question. I want to ask you continuation
[16:20] of this question as a security architect.
[16:23] When we're talking about what are the important
[16:25] characteristics architect need to need to be have when he
[16:29] designing this entire process flow diagram?
[16:32] As a non-technical. Non-technical like, you know,
[16:34] patience or calm mind or So what do you think?
[16:39] You know the mistakes that I'm sure no one is perfect, right?
[16:42] Kushal, when you involved in first project or sometime you
[16:45] involved in some of the projects, things go bad things
[16:48] doesn't go as per plan. So how you know?
[16:52] Do you share any kind of a failure journey or do you share?
[16:56] Do you want to share something which can be useful for the
[16:58] aspiring architect who watching this podcast and they take from
[17:01] this particular podcast? All right.
[17:02] So architect job is not easy. I would say it is too much of
[17:06] too much of pressure that that comes from the business.
[17:09] Once you take up on that job, it's very important to
[17:13] understand that you have your patience to design architect.
[17:16] You have to think of multiple solutions is 1 solution does not
[17:20] fit everything. You cannot have a single
[17:22] solution and like replicate all the same solution across
[17:24] different services and different business unit.
[17:27] Now each business unit has a different requirement.
[17:29] Now it is very important to understand the business
[17:31] requirement until and unless you understand what exactly they
[17:33] want, you cannot design market it doesn't you cannot design a
[17:36] solution like the first important point is understand
[17:39] the business requirement. If your first time a beginner
[17:42] understand what exactly the business wants, right.
[17:45] Second thing is you have to understand from perspective that
[17:49] what I'm trying to put forward, can it be secure enough?
[17:52] Can that handle the security that my it might, might impact
[17:56] the business, right. And when I talk about business,
[17:58] you have to understand that it's not just the losing data.
[18:01] When business lose data, you lose reputation, we lose
[18:03] customer trust and you lose the brand.
[18:06] Exactly. So you have to keep that in mind
[18:08] every time you design something. You have to keep in mind, OK, if
[18:11] I'm putting this out there, can this be compromised?
[18:14] What can go wrong with this, right?
[18:16] That is the second point. Third Point is that you have to
[18:18] understand the trade off between cost of putting that security
[18:22] control, cost of fixing it. Business would say, okay, why
[18:25] should I fix? Why should I put this control?
[18:27] And you have to come with justification that because this
[18:29] control will help you save millions.
[18:31] Otherwise you have to you know, spend more millions to you know,
[18:34] get that, you know, cover that breach or cover that
[18:37] misconfiguration. You cover that impact, right?
[18:39] So you have to have that mentality.
[18:41] And 4th is that you don't expect that your first diagram will be
[18:45] perfect. You will always explore, you
[18:47] will always experiment, you will do something.
[18:50] Then business will say, no, I want this.
[18:52] And there's always changing needs for the business.
[18:53] So when business is no, I want this, I want to be cost
[18:56] effective, but this cannot scale.
[18:58] I want to be multi cloud, OK, I want to be more resilient.
[19:01] This is not, this is not going to happen.
[19:03] So you have to be prepared with that mindset that the first
[19:06] diagram is not never going to be perfect.
[19:08] You will always experiment, you will always explore new
[19:10] solutions and everything. You cannot have everything in
[19:12] your mind. You you have to Google, you have
[19:14] to use the online platforms available that you have to look
[19:17] at the difference architecture to come up with ideas of how can
[19:20] I solve this everything. And you cannot actually remember
[19:23] everything. It's impossible to remember the
[19:25] entire architectures and everything.
[19:26] And you have to take example of the Google and learn from it.
[19:29] And that is, that is the four, five points.
[19:32] Excellent. So, so Kushal, like I want to
[19:35] proceed to the next important thing, which is talking about
[19:38] here is can you share, can you share something in an early
[19:42] design review that made you realize the architecture
[19:44] decisions can make or break security?
[19:48] I'll go back to example again, one of my reviews that I did
[19:51] early, early reviews that I did and probably 219-1919 that I did
[19:55] this review and initially I was very overwhelmed with the design
[19:59] because. I was just started my journey in
[20:02] Akar security. So when I used to get design, it
[20:04] was very much overwhelming. I used to where should I start?
[20:07] Then I slowly, as slowly and steadily, I started learn that,
[20:12] okay, I need to look at this, look at that.
[20:13] Instead of focusing on like getting overwhelmed by entire
[20:16] design. After I think a dozens of
[20:18] review, I started noticing a pattern that the pattern looks
[20:22] like this. Back in the day that three
[20:24] buckets were by default public, but now it is by default
[20:26] private. So when I started doing a lot of
[20:28] people who the designs would include open first, second.
[20:32] I see. OK, have you enabled cloud
[20:34] trail? Cloud trail, which is the, when
[20:35] I was doing the, it was called cloud review, the cloud review,
[20:38] one of the logs, one of the logging thing that you enable
[20:40] while it locks all the audit activities that goes inside the
[20:44] cloud, right? So have you enabled Cloud Cloud
[20:46] Trail? You enabled the RDS encryption
[20:49] because by default when you create the database, this is not
[20:52] encrypted by default. You have to have the encryption
[20:54] in place. So have you enabled that?
[20:56] And the answer was no, I did not, I did not.
[20:58] And 4th, this is always common that why are you using, why are
[21:02] you using credit credentials instead of, you know, managed
[21:04] services, managed roles in AWS? Why are you not using or
[21:08] leveraging that? And these were some of the
[21:10] common findings that I used to see across.
[21:12] And these could have some real world consequences, right?
[21:15] These are the architecture design and mistake that.
[21:18] And this is where I review architectures.
[21:19] We're not from designing architectures.
[21:21] And these could have some real world consequences, right?
[21:23] So St. bucket open and if you're storing datas there, you could
[21:27] like it's a breach of your data, right?
[21:29] It's entire beach. You don't have your encryption
[21:32] in place for the RDS. Someone could you know if you
[21:37] have some open ports or open IP that they could steal the data
[21:40] or they could steal the snapshots of your instances of
[21:44] audience instances. And when you don't use the I am
[21:47] permissions and we see is very common nowadays to see the
[21:51] secrets being leaked and and if you are using secrets to access
[21:55] the services you. Not those who are new to this
[21:58] audience might be the there will be some people will be there.
[22:00] Sorry to interrupt here. What do you mean a secret?
[22:02] So I'll come to that point. Let me finish this thought and
[22:04] then I'll come to that point. So I was talking about secrets
[22:07] and then they and that is all over the place.
[22:10] So it is very important to use the ID Lewis and I am role I am
[22:13] access. I managed tools that that can
[22:16] that that can help you access the, you know, services in the
[22:18] cloud, right. So as I mentioned, like these
[22:21] beaches, it's not just data loss, it's, you know, repetition
[22:24] loss, trust lost brand loss. Sometimes the entire business
[22:28] goes away because of data beaches.
[22:30] And these are some of the mistakes I think every
[22:32] architectures or business should avoid.
[22:34] So if someone highlights it, they should immediately work
[22:37] upon it and commit to the secrets.
[22:39] Yes. So secrets are basically
[22:41] something that can help you access a platform.
[22:44] For example, you have consider your phone as well.
[22:47] You have whatever password that is that you have phone have it's
[22:49] a secret. OK, so the problem is not the
[22:53] secret. Problem is that how do you
[22:54] manage the secrets? I can have the secrets anywhere,
[22:57] right? I can have the secrets in my
[22:58] local doc stop local file, but it doesn't mean anything.
[23:01] I mean, I was going to access my local desktop or local.
[23:05] It's not connected to Internet. So I I don't have problem
[23:08] keeping secrets. What matters is that how do you
[23:10] manage it? How do you manage that so that
[23:12] it does not get leaked to the external world, does not get in
[23:16] hands of authorized people who does not have access to your
[23:19] platform, has access to the, you know, services that you're
[23:21] using. So then you come with the secret
[23:23] management platforms and then we store the secrets in those
[23:26] platforms. And then so that you make sure
[23:28] that you do not commit the secrets in the GitHub
[23:31] repository. And then you use the secret
[23:33] managers to retrieve the secrets and fetch the secrets and you
[23:36] call the 9 yards. Yeah.
[23:37] So we can see like that secrets are basically the most important
[23:40] element most aspect in the log. Right.
[23:43] Not just in the log, but entire entire, you know, ITIT services,
[23:49] secrets are very important. I'm not just talking about the
[23:51] cloud. It could be on Prem, it could be
[23:52] hybrid, it could be anywhere at the local databases I'm using.
[23:57] Take for example, I'm, I'm I have a right, a has an API key,
[24:02] that's a secret. API keys that is personal to you
[24:04] is a secret. If I leak that API key, that's
[24:08] the problem. That's the problem that I
[24:09] someone can help someone else can access my data.
[24:12] You have database credentials. That's a secret.
[24:14] I do not want someone else to access my database.
[24:17] Sometimes people use hashing and use paper and salt, right paper
[24:21] as as a random algorithm and then use that thing and use and
[24:25] use that to, you know, hash it and then store that in a in a
[24:29] secret manager. And some, and I don't want to,
[24:32] you know, reveal that information because that will,
[24:34] you know, impact my my hash to files or credentials, whatever
[24:37] we have. So you could talk about secret
[24:41] as in certificate manager, you use certificates.
[24:44] Certificate is my secret. I cannot just give my private
[24:47] certificate to anyone because if you see I'll take example again.
[24:51] You can do SSH with credentials. You can also do SSH certificates
[24:56] to use. Authentication.
[24:57] Which authentication? MTLS is there right?
[24:59] So if I give my certificates to anyone, I mean they could access
[25:03] my information, right? That is what the secrets are,
[25:06] and that is why you need to have the secret management case.
[25:09] And when it comes to the when you're starting a new project,
[25:12] how do you choose the secret management pattern?
[25:14] You know, we have a built in vault or versus third party if
[25:19] you're looking from without over complexity and all that.
[25:21] So how as a security architect, how we choose that I?
[25:24] Frame this question in a different way.
[25:26] A lot of a lot of mature companies nowadays since I have
[25:29] been, I've been involved with more mature companies than
[25:32] startups. What the moment when I talk
[25:34] about mature companies, I'm talking about the process, the
[25:36] policies they already have in place, right?
[25:39] And by that process of policies, they, they already define what
[25:43] exactly the secret management tools they are already using.
[25:46] So they say that must use secret manager.
[25:49] If you're must use it, the secret manager must use it as
[25:52] your cohort because that is the two things the entire nation
[25:55] might be using. Now you don't have a choice to
[25:57] suggest other third party when you're designing architect,
[26:00] right? You have to say that, OK, you
[26:01] are in ALS cloud user ALS secret manager, you're in Azure use the
[26:05] Azure Key vault. You are in hybrid use the you
[26:08] know, hashtag Vault, which is a third party solution.
[26:10] But having said that, when you are have to choose between, you
[26:15] know, secret manager or third party services or in native
[26:18] services in the cloud, there are four things, three to four
[26:21] things that you need to consider.
[26:23] You have to think about the scalability, how well the
[26:26] secrets tool that I'm using will scale according to my business.
[26:29] You have to talk about obviously security because secrets
[26:33] security, you have to think about it 4th.
[26:35] The third thing is you have to think about how simple it is.
[26:38] It is to use the secret because I don't want my developers or
[26:41] people to be trained use a secret secret manager because
[26:46] that's an overhead. They should be knowing how to
[26:47] use a secret manager and secret tools that whatever I'm using
[26:51] and then then comes a cost effective how much cost that it
[26:54] cost. For example, every secret
[26:56] manager will cost will high the cost in terms of how many API
[27:00] calls that you make to the platform.
[27:03] So you get, you get and write. You either get a secret, you
[27:06] write a secret and then I think Ali Lewis has something 10,000
[27:09] calls for some person, I don't remember exactly the cost.
[27:12] So that are the fourth factors they have to you have to
[27:15] consider whenever you choose a secret manager.
[27:19] But if you're a small scale organization, not not very big,
[27:23] having 11 AWS account, it's very, very obvious to go for our
[27:27] secret manager if you're in AWS because first of all, you, it's
[27:30] very simple to use. Second, you don't have to have
[27:33] invent something you know, engineering overhead is not
[27:36] there. And then since your entire
[27:38] services on AWS, it is very tightly coupled with all the
[27:40] services. Similar goes for Azure, Similar
[27:42] goes for Azure. You have if you if you are in
[27:45] Azure, use Azure keyboard because it's slightly coupled
[27:47] with all the services that is already already there in the
[27:51] Azure. But then don't make this mistake
[27:53] of having your platform multi multi platform.
[27:56] For example, you have service in Azure and AD OS and then using
[28:00] ADOS secret manager as your you know, go to go to secret
[28:03] manager. Because the problem is that the
[28:04] problem which you can run is again, we have to you know, in
[28:08] your designed architecture in some way that now ADO services
[28:11] has to authenticate to AWS. Now, now it has to then it has
[28:14] to authenticate, authenticate to the secret manager, then pull
[28:16] the secret and those adds extra burden to your entire datas and
[28:21] data flows, right? And suppose my platform that is
[28:25] in AW is able to access secret manager, but the platform Azure
[28:29] secured Azure that is not able to access the secret manager
[28:32] that is in AW. Now that's becomes a problem
[28:34] because I'm going to access this, but my other team is not
[28:36] able to access this. Now there's a data loss, time
[28:38] loss, you know, all this business impact that approach
[28:41] that's going to happen. So in such cases when you have
[28:43] hybrid environment or you know when you're looking at the
[28:46] multiple cloud multi accounts multi reason, then it's very to
[28:49] go for 3rd party solutions such as Hashikov vault that can give
[28:55] you a centralized map also. Then it comes from both the
[28:57] governance part as well. You have to have central
[28:59] governance then Hashikov vault go for it.
[29:01] It can have you central governance.
[29:03] It is if it is down for if it is doesn't work, it won't work for
[29:07] everybody. It works, it works for
[29:08] everybody. You don't have to figure out
[29:10] that why it is not working for AWS and my other team is not
[29:13] getting the chance to interact with the secret magic.
[29:16] So yeah, those are the some of the things that I would
[29:18] recommend. And do you like, do you follow
[29:21] any kind of a design principle keeping secrets from leaking
[29:23] into code repository in the 1st place?
[29:25] Do we follow any design principle in place?
[29:27] Secure design principles. When you talk about leaking
[29:30] secrets in the code, yes, we do recommend developers to first of
[29:36] all. So in in terms of designing,
[29:39] what you can recommend is that first of all, never store your
[29:41] secrets in the secret plaintext. You always have to have a secret
[29:45] margin in place, right? Use if possible use tools.
[29:50] We ask developers to use tools such as you know, pre commit,
[29:53] pre commit hooks are there in that you can install in your
[29:55] IDs. So moment you start adding
[29:58] secrets or moment you start pushing secrets, it will detect
[30:01] and warn you that the secret in the in the that code list you
[30:04] also install, you also go for secret scanning.
[30:08] So a lot of lot of SCM platform which is GitHub, GitLab, they do
[30:11] provide this feature of secret scanning.
[30:13] You can also whenever you push something, it will flag it and
[30:15] then it will it will come as a as a risk and then you have to
[30:18] merge it fix and then you merge it.
[30:20] Apart from that, I would say go for there are a lot of open
[30:23] source tools as well. For example, gate leaks are
[30:25] there trouble is there gate secret is there that can help
[30:27] you identify secrets in the code base, right.
[30:30] But from a design perspective, architecturally speaking, it is
[30:32] always a secret magic. Don't store anything anywhere
[30:36] else always uses A second principle that we use is that
[30:39] use I am principles wherever possible.
[30:42] I am service managed roles either your either some your EC2
[30:45] instances accessing the database use define a role, add that role
[30:48] to the EC2 instance and that led that is to instance connected by
[30:51] database. No secrets, no, you know, no
[30:53] credentials that are being used. So that is the second design
[30:55] principle that we we generally talk about.
[30:57] And 3rd is always logging and monitoring is there whenever
[31:00] something being accessed, your secret management being accessed
[31:02] someone is using something authorized access is there.
[31:05] Then you always have to have logs so that you know, you
[31:08] understand who, where and what for the logs, right?
[31:11] So those three, you know, coupled together works very as a
[31:16] first, second and third line of differences, right?
[31:18] So that. That's a great Kushal, Kushal
[31:21] actually, as we're talking about a lot of things around secret
[31:24] management and all that, but one thing we are missing in the
[31:26] cloud is logging, right, Because that help you to improve your
[31:29] all the security controls and posture of the cloud.
[31:32] So what make the logging strategy secure by design?
[31:37] You know, when you're talking about, from an architecture
[31:39] perspective, what should be strategy?
[31:41] Yeah. So I'll, I'll again go back to
[31:43] one of my journeys. I think when I come, when I came
[31:46] across the security log, the first time was when I started my
[31:49] first job, when I started as a log analyst.
[31:52] I, I, that was the first time I started looking at the logs and
[31:55] understood what logs meant. I understood that every device
[31:58] is it is with IPSIDS firewall, every device is emit some kind
[32:03] of logs and the logs are nothing.
[32:05] But any event that happens in in those devices in those devices
[32:09] are captured in the form of logs.
[32:10] Put system log like security logs and all those things,
[32:13] right? And that is the time when I
[32:15] understood the importance of logs, what the security logs
[32:17] meant and what a gold mine. A security logs are for anybody
[32:22] for not just for the company. Because in security
[32:24] investigation, the first thing that you go for is logs, right?
[32:27] And so when a logs are gold by logs are, you know, gold mined
[32:31] for anyone, you want to have it stored security, you want to
[32:35] have that logs maintained for a long time so that you can run
[32:40] your analysis investigations even after like years of
[32:42] research that happens. So architecturally speaking, a
[32:45] secure by design logging strategy means that you have to
[32:48] have access controls in place so that nobody can, you know, with
[32:51] authorized access can access your logs without, without
[32:54] permissions. You have to have, you know,
[32:56] security controls bit around such that you have to have your
[32:59] logs encrypted. You cannot have sitting in a
[33:02] plain text somewhere without any encryption.
[33:05] You have to have the logs integrity maintained so that
[33:08] someone can modify the log. You know that someone did make a
[33:11] mistake in modifying the logs or someone tampered the logs.
[33:14] And finally, you could look at the compliance aspect to it,
[33:17] right? Because lot of lot of industry
[33:20] wants the locks to be retained for so many long like example
[33:24] five year, six years, 10 years sometimes.
[33:26] And that you have and those are some of the factors that I look
[33:29] when you talk about secure design which to have encryption
[33:32] access control, you have integrity, you have compliance,
[33:36] 3 or 4 aspects that you to look at when we talk about secure
[33:39] design logging strategy. That's that's great.
[33:41] And and when it comes to the let's let's say example, Kushal,
[33:45] you're working for the company who having a very limited
[33:48] budget, right? And as you know, when it come to
[33:50] SIM Splunk and all that, the costing is done based on the
[33:56] number of usage, the log storage and all that.
[33:59] And when it comes to the log management, our priority is
[34:02] quality over the quantity. So if budget is tight and you
[34:07] want still you want to log. So what are the three or four
[34:10] log sources you want to tune for a day one Or you think, OK,
[34:15] these are things which we cannot avoid?
[34:17] So this is something that I always tell someone who moves is
[34:20] planning to move to the cloud or someone is planning to you know
[34:23] move their services to the cloud.
[34:25] Three most important log sources would be Cloudtrail or AWS or
[34:29] ensure it would be activity log because these laws captures all
[34:33] the audit events that that goes inside inside your AWS
[34:36] environment, who's talking to whom watch database, what
[34:39] services are talking to each other and all those things,
[34:41] right? Audit logs are there.
[34:42] Secondly, at the network level, you, you must enable the VPC
[34:45] flow log, NWS VPC flow log and Azure.
[34:48] It's called V net V net flow logs because that will help you
[34:51] understand who is going in and out of network, inbound traffic,
[34:54] outbound traffic, what port, what destinations, what source
[34:57] IP, what source port, right? Someone who's accessing those
[35:00] those services is there. Those, those logs will be very
[35:03] important. And finally, someone who is
[35:05] moving to the cloud, I would recommend going for an AWS
[35:09] conflict if if in Azure, it's called policy, AWS policy,
[35:13] something like that because that will help you track the changes
[35:16] to your services. For example, I have AC2 instance
[35:19] in the cloud and there's a security group configured for a
[35:22] specific IP group that only that specific IP can can access my
[35:26] EC2 instance. But someone goes and change that
[35:28] to to a 0.0.0 dot which is open to the Internet.
[35:31] Now how do I track it? Who did it when it was done?
[35:34] So then you have able to detect that drift in your
[35:38] configurations when it was done, who did it?
[35:40] So these are three things that I would always ask someone to
[35:43] enable it when they're moving to the logs crowd.
[35:46] That's great. And the interesting part is talk
[35:48] about the VPC and all that, because I think the major breach
[35:50] happened in in VPC where we have a blast attacks and all that,
[35:54] right, right, right. And I believe we should focus on
[35:58] that from micro segmentation perspective, right, right.
[36:01] And how do you how do you how do you design A log storage, a cost
[36:06] effective, tamper proof and easy for future analysts for search?
[36:10] Well, the biggest, biggest thing about Log Store is that.
[36:13] Locks can get very lost. The volume of the locks that you
[36:16] get can shoot very, very fast. At one moment you might have 10
[36:20] logs another moment you might have 10,000 locks and that can
[36:23] take up your storage very fast. And if you are if you are having
[36:28] an on premise services, you are storing blocks, then good luck
[36:31] with, you know adding more and more storage to your entire
[36:34] server stack. So the best way to store the
[36:36] cloud logs in the cloud and by default a lot of for example,
[36:39] I'm talking about cloud trade locks, they are by default
[36:41] stored in SC bucket. So the best storage when you
[36:44] talk about the cost effectiveness, the best way to
[36:46] look at the tier architecture, tier storage.
[36:49] So where there's a concept called hot storage and then they
[36:53] are pulled storage in the cloud. Hot storage are are the places
[36:57] where you store the most recent logs, most live logs.
[37:00] So you may choose to store 7 days to 30 days logs in your hot
[37:04] storage and then movement the locks becomes older then then
[37:07] you start moving them to archive the, you know, the the cold tier
[37:12] where they're stored because it helps the IT helps in cost
[37:16] effectiveness because now where you're paying like 1X in your
[37:19] hot logs, now you're paying half of that amount full search.
[37:22] So you're reducing the cost by moving the logs into the, you
[37:25] know, archive storing and the and the, you know, cold tier
[37:29] storage. So that is the cost effective
[37:31] cost effectiveness. Second, what?
[37:32] What did you mention second about it tamper?
[37:34] Proof. Yeah, tamper proof.
[37:35] So I think we'd already discussed about logging strategy
[37:38] that before this call, tamper proof is all about someone could
[37:42] not modify my log, someone could not modify the integrity of my
[37:44] logs. And then again, if you're
[37:46] storing the logs in a particular storage, then you have to make
[37:50] sure that nobody has access to the logs, right?
[37:53] You have to have I am principal design in such a way that only a
[37:57] given user or a given role can access that logs and no other
[38:01] user can access the log. Only a given role could modify
[38:03] the logs or only these particular service can, you
[38:06] know, write the logs in that folder or fetch the logs from
[38:09] that folder. Then you have to be you have to
[38:11] have very strict and right controls around the accesses and
[38:14] the encryption and everything. And finally, you may talk about
[38:17] how how is it to search right? How?
[38:20] Because when you have so much of logs, it's very difficult to
[38:22] search the incidents and everything right?
[38:24] When I was dealing with loggings in my previous roles in my first
[38:27] year, I used to see two types of logs. 1 is structured and
[38:31] unstructured. And I since I was creating a
[38:33] parts as you were doing this was so difficult to build a parcel
[38:36] and non structured logs in a structured logs because in non
[38:38] structured logs IPS will be somewhere else but in second
[38:41] line it will be somewhere else. For example, if you consider
[38:43] 321231234 places in the first log IP address might be a first
[38:47] place, but in the second log you have IP addresses in the 4th
[38:50] place. Now when you have such such
[38:52] this, you know this proponent strategy or the structure, then
[38:57] it does this gets very difficult to not just parse it to search
[39:00] it as well. How do I?
[39:01] Because a lot of times you search not by IP address, you
[39:04] search by search by OK, I want to see the IP address is this
[39:08] the first column? What is the first column?
[39:10] And you fetch all the IP address from the first column and 2nd
[39:13] column, right? Sometimes very different.
[39:14] It's very important to have a structure format.
[39:16] Logs should be either in Jason, most of the time I have deal
[39:19] with it's either in CSV format. This is comma separator value
[39:22] format. Logs are stored in various
[39:25] structure format. Once you have the logs stored in
[39:26] the structure format, it's, it becomes easier to search and
[39:29] then you could do analysis on on those format.
[39:32] So yeah, those are the three aspects that I I would think
[39:35] when it comes to designing a secure or resilient architecture
[39:39] logs. That that's great.
[39:40] And one thing I like about that, you know, the integration part
[39:42] you said about now like integrations and limiting
[39:45] privilege, that something is basically very good important
[39:48] point. And with the continuation of the
[39:50] question, you know this is something different from that,
[39:52] you know, so Kushal, when you working as an architect, you
[39:55] know there will be a lot of vendors with you want to
[39:58] involved because a lot of integrations there.
[40:00] So, so now you're now reviewing the vendors for risk and
[40:02] compliance. OK So what is the first red flag
[40:05] you look for? The vendor or cloud architecture
[40:07] if you planning to integrate the external to the internal?
[40:10] When we talk about the vendors, I mean the work for any company,
[40:14] the data is very important. Data is a gold mine for any
[40:17] company. And whenever we talk to a
[40:19] vendor, whenever we want to integrate with some vendor,
[40:21] there is some data exchange that is going to happen.
[40:24] I'm going to send my data for the OR went to the vendor for
[40:27] analytics purposes, for generating some sort of, because
[40:30] they are providing some services that I want and I they want some
[40:33] logs, they want some, you know, some information to be sent out.
[40:36] So every security controls that we review is all about data, all
[40:41] about all all around what data controls, what security controls
[40:44] you have around my data, right? And the very first flag that we
[40:47] look is OK, show me your security controls around the
[40:49] data. Is my data encrypted at rest?
[40:51] How do we are protecting my data?
[40:53] Who have access to my data? Are you logging and monitoring
[40:55] every activity that is, you know, going back and forth to
[40:58] my, you know, the services that you're holding data to?
[41:00] And these those are the first red flag that I always see that
[41:04] show me the log, show me the architecture diagram.
[41:07] In fact, in one use case that I, I remember there was this, I
[41:11] won't, I won't take the vendor name, but I saw that they are,
[41:15] they have two, they have like architecture one as they have
[41:18] two VPCS in the cloud. One is, you know, test the one
[41:21] you have, you know, prod VPC and other is non prod VPC.
[41:24] And what they did was they connected the prod VC to
[41:26] nonprofit VPC and they are extending the data from there.
[41:29] I was like, what, what, what are you doing in the world?
[41:32] How would I know that made data is secure if you're using this
[41:34] architecture, right? And those are the those are
[41:37] blunders. Those architects should not
[41:38] exist. I mean, as part of I have made
[41:41] policies and process in the past, I always say that VPCS
[41:44] sparing should not be enabled. We should not have, you know,
[41:47] this is something called Chinese wall model and you have you
[41:50] separate the production and non production data.
[41:52] You have the segmentation in place, right?
[41:54] So yeah, those are the factors that that I always look at.
[41:57] And anything else you would like to add from non-technical
[41:59] perspective? Could you repeat the first
[42:01] session? Because I forgot what was the
[42:03] first question. So I said about when you're
[42:05] assessing the vendor for architect, what is the red flag?
[42:07] Anything which is basically add from a non-technical
[42:09] perspective, we can add. Yeah, we, we can, we can add.
[42:13] So we, we, we look at the compliance perspective as well.
[42:15] So we look at lot of soft 2 documents, soft 2 type 2
[42:19] documents, which is very compliance focused non tech
[42:22] documents, right. And you'll have all the, it will
[42:25] have all the, you know, rule books that I follow.
[42:28] So for example, a soft to document says just a rule book.
[42:30] The company says, OK, I have this rule book, I follow this
[42:33] rule. These are the rule books.
[42:34] And I follow these rule books. I whatever the book says, I
[42:37] follow it. And that is a soft to document,
[42:39] but then soft to compliant company.
[42:40] But then how do I make sure that you are soft to compliant,
[42:43] You're following all those rules.
[42:44] Then the company says, OK, I'm going to invite some inspector
[42:47] or some some auditor and that will review that what I have
[42:51] implemented and what this sock 2 rulebook says is a match.
[42:55] And the auditor finds that okay, these are match.
[42:58] Then it gives a certificate your sock 2 compliant now and that is
[43:01] what we look for right? And you look for all the sock 2
[43:05] documents, what the controls they are following, well, my
[43:09] data, the structure, the infrastructure, everything that
[43:11] we look at and it's for non-technical people.
[43:13] OK. And Kushal, if you want to
[43:16] translate architecture findings into the GRC language and that
[43:19] non-technical manager understands.
[43:21] So how do you follow that? It means you need to translate
[43:25] your findings of architecture into the GRC so that your
[43:29] manager is a GRC guy. We cannot go to them and explain
[43:31] about the non reputation threat modellings and all that.
[43:34] How do you what is the skill set you need to have to translate
[43:36] that GRC language into non-technical language?
[43:38] Yeah. So for any.
[43:40] Finding into GRC language. Yeah, yeah.
[43:42] It's for for any manager. I think it, it comes down to the
[43:46] business impact. If you're not adding a business
[43:48] impact to the findings, there's no point.
[43:50] I could say, OK, let's take an example.
[43:52] I would say, I could say MD5 is being used and if I'm as a
[43:56] hashing algorithm being used in particular storage services.
[43:59] But then business will say OK, what is the risk?
[44:03] And you just gave me the finding, what exactly do should
[44:05] I do with it? What's the business impact just
[44:08] having MD5 in place? I know MD5 is a, is a whole
[44:11] algorithm not being used. It's a obsolete algorithm, but
[44:14] what do I do with it? How do I, how does it affect my
[44:16] business? Then you say, okay, MD5 is being
[44:19] used to, you know, hash the Pi data in the environment that
[44:22] then there's a business impact. Now my, my customer data is
[44:25] being impacted. If somebody could leak my
[44:27] customer data, it could I could easily, you know, Dehash or the
[44:30] MD5, it could easily be done right.
[44:32] But if you say, no, we are using amplifier to just to main to
[44:36] check the checksum, do the checksum of a file then say
[44:39] that's not a business risk, that's just a checksum that
[44:42] you're just validating the integrity of the file, right?
[44:44] So it is very important that you not just say that, OK, this is
[44:49] the risk, but you also impact highlight that this impact.
[44:51] Take another example, for example, if I say in the cloud,
[44:54] if I say my SC bucket is open, but that does not give you a
[44:58] risk. That is just a misstopulation.
[45:00] OK, my SC bucket could be open, but what is the context?
[45:03] I could be sharing some PDF file to the customer, which is
[45:06] important that that that does not translate to others.
[45:09] And you have to say, OK, S3 bucket is open.
[45:12] It is, it is it has been observed that S3 bucket is open,
[45:15] which could allow authorized access or attacker to have
[45:19] authorized access to the S3 bucket to leak the confidential
[45:22] and conversion from the storage. Now that's an impact.
[45:26] Now that's a business impact. Now business will understand,
[45:28] OK, this is the impact that I'm going to have if this happens,
[45:30] if this thread is realized, this is the impact that I'm going to
[45:34] happen. This is and then you know, that
[45:36] is how you translate the normal risk to a business, business
[45:40] risk. And that is what all the
[45:41] business cares about. What is the impact?
[45:43] OK. And when you're talking about
[45:46] the requirement of implementation of architecture
[45:49] and all that, when you talking about the checklist, when you
[45:53] checklist to make the cloud design safer without buying any
[45:55] new tools. So what is a not 30 but 5
[45:58] checklist or 10 checklist which we need to follow when you
[46:02] designing the cloud security architecture?
[46:04] 3 to 4 checklist that that I follow is to look at yes,
[46:08] whenever I design or whenever I review or design the
[46:11] architecture. First is the IM controls because
[46:14] nowadays I am is becoming the first kind of defense.
[46:17] A lot of breaches happens because the misconfigured I am
[46:21] controls misconfigured over permission roles.
[46:24] And that is I think becoming the first line of defense where you
[46:27] you stop the breach from happening.
[46:30] So first thing is I always look at iron controls, what exactly
[46:34] your iron controls are designed, how it exactly works and how it
[46:37] should work. Second thing I look at the drug
[46:40] security part, your security groups or NaCl or default.
[46:44] I would say I would look at the unused ports, open ports to the
[46:47] Internet. I want I don't want any non
[46:51] required non ports to be part of that group and until and unless
[46:55] it is some internal ports that is required to communicate with
[46:58] internal services, remove it. I don't want it.
[47:00] You should not audit that first. That is second thing you audit
[47:03] after I third thing that you look at the data's encryptions,
[47:07] right. So in the end, it is the data
[47:09] that is going to be affected, right?
[47:11] And you look at how my data is encrypted at rest, you look at
[47:15] how my data is encrypted at motion now so that there could
[47:20] be no eavesdropping of data. Someone could steal my database.
[47:23] So they should not be able to, you know, decrypt my information
[47:26] from the database. That is the third thing I look
[47:28] at. OK, fourth, fourth thing I look
[47:30] at or I recommend to look at is the logging and monitoring.
[47:33] No matter how do you arrange all these things, how do you
[47:36] configure all these things? But then you should not know
[47:38] how, what and why, how, what, when and who.
[47:41] Then you know, you don't know, you'd not understand how
[47:44] something happened. And like I mentioned, the three
[47:47] three important, you know, cloud events that you should configure
[47:51] cloud fail with this flow. And it was config right, because
[47:55] it's very important to know who access what.
[47:57] And if without that, you know, without that view you you feel,
[48:01] you know, misdirected you, you run like a headdress chicken of
[48:05] doing what what is going wrong or how did it happen for did it?
[48:08] So those 4th that and finally, if possible, if you can, if you
[48:13] have the budget, then go for a secret manager.
[48:15] You use the cloud services or you look at the three Ms.
[48:19] services from the three management services in the
[48:21] cloud. You look at the secret manager
[48:23] to store your secret keys. And those are the four or five
[48:26] checkpoints checklist that I would say look at.
[48:29] That's, that's great, Kushal. Kushal, thank you so much.
[48:31] It was a really a great insight session and and I'm sure from
[48:35] this particular podcast, people literally find a lot of insights
[48:39] and they can apply that in the best practices.
[48:42] I'm glad that part of this. Thank you for hosting me and
[48:45] speaking with the legend. It's always.
[48:48] Speaking with you as a legend also is a big thing because
[48:50] you're doing a great job and I always, you know, this is like a
[48:55] recording session which is like on which I can ask many things.
[48:58] So I want to take one for I want to speak on behalf of the
[49:03] subscribers who are watching this podcast.
[49:06] If I disturb you again, can I disturb you again for another
[49:08] new topic on security architecture?
[49:10] Sure, I would love to come to you.
[49:12] Thanks, thanks, thanks. Thanks Kushal, and those who
[49:14] watching this podcast, do let me know in the comment box, you
[49:17] know, what is a new topic we can discuss on the architecture side
[49:20] with Kushal And I'm sure Kushal will always welcome those topics
[49:24] and we can we can discuss about those key pointers in our next
[49:28] podcast. But thank you, Shilvai.
[49:30] Thank you for taking out the time for this particular
[49:32] session. And we're really, really
[49:33] grateful for the experts, wisdom, thoughts, insights that
[49:36] you shared in the session. Thank you, Paul, and thank you
[49:39] everyone for for inviting. First of all, I would like to be
[49:42] grateful for you to invite me into the podcast.
[49:45] It's great to share so much information with you and with
[49:48] the audience. So yeah, thank you for that.
[49:50] Same here Kushal, And for me I got a lot of information,
[49:52] insights, I made a lot of notes. So I'm going I'll bug you.
[49:56] And can I share your LinkedIn profile in description box?
[49:59] If someone want to reach out to you, they can directly reach out
[50:02] to you for the things, sure. Sure, no problem at all.
[50:05] Thanks. Thanks, Kushal.
[50:06] And this is all from our side team.
[50:07] Do let me know how do you find this podcast?
[50:09] And if you're new to the channel, do subscribe to the
[50:11] channel and click on the bell icon to make sure you should not
[50:14] miss the future videos on a similar topic.
[50:16] Thank you so much. Good day.
[50:17] Bye.

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.
