# Cybersecurity Fundamentals From Zero to Practical Understanding

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

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/129936404/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-10-23%2Fffe4432d-ab70-516b-da49-2bee229e0cfb.mp3

Want to start a career in cybersecurity but feel confused about where to begin?This Cybersecurity Fundamentals 2026 Masterclass is designed for complete beginners who want to understand cybersecurity from ZERO step by step, in simple language, with practical examples. Before learning ethical hacking, SOC tools, cloud security, GRC, penetration testing, AI security, or collecting certifications, you need to understand one thing:What exactly are we protecting — and how does it actually work?In this complete beginner session, Prabh Nair takes you from basic computer and networking concepts all the way to cyber attacks, defensive security, identity, cloud security, SOC operations, SIEM, incident response, and modern AI security risks.🔐 WHAT YOU WILL LEARN✅ What cybersecurity actually means✅ How computers work — CPU, RAM, storage, hardware and software✅ How applications and operating systems interact✅ How digital information is stored as data✅ Clients, servers and cloud computing explained simply✅ How user accounts, passwords and permissions work✅ Networking fundamentals for cybersecurity✅ IP addresses, DNS, DHCP, TCP and UDP✅ How devices communicate across the internet✅ What happens when you open a website✅ Why cybersecurity exists✅ Confidentiality, Integrity and Availability — the CIA Triad✅ Threats vs vulnerabilities vs risk✅ Security controls and defense-in-depth✅ Social engineering and phishing✅ Malware and ransomware✅ Credential attacks✅ Vulnerabilities and misconfigurations✅ How attackers chain multiple weaknesses✅ Cyber Kill Chain explained with a practical scenario✅ Identity, Authentication, Authorization and Accounting✅ Multi-Factor Authentication (MFA)✅ Least privilege and access control✅ Firewalls, segmentation and network security✅ Encryption and data protection✅ Endpoint protection and EDR✅ Application security basics✅ Cloud security and shared responsibility✅ Zero Trust fundamentals✅ How a Security Operations Center (SOC) works✅ SOC Tier 1, Tier 2 and Tier 3 responsibilities✅ Security logs and monitoring✅ SIEM explained for beginners✅ How analysts investigate suspicious activity✅ Incident Response fundamentals✅ How defenders contain a cyberattack✅ AI-powered phishing and deepfakes✅ Risks of sharing confidential data with AI tools✅ Prompt injection and AI security basics✅ How all security layers fit into one architecture#CyberSecurity #CyberSecurityForBeginners #CyberSecurityFundamentals #CyberSecurity2026 #CyberSecurityCareer #SOCAnalyst #InfoSec #NetworkSecurity #SecurityPlus #EthicalHacking #CloudSecurity #AISecurity #GRC #SecurityArchitecture #PrabhNair

## Transcript

[0:00] Hi team, welcome to my session on Coffee with Prep and today
[0:03] we're going to discuss about cybersecurity fundamental.
[0:06] I know you guys know cybersecurity but I want to
[0:08] drive this session in a way even the non-technical person can
[0:12] understand cybersecurity and the other stuff in a very simple
[0:15] manner. This video is for everyone who
[0:19] want to start their current cybersecurity but they don't
[0:22] know what is cybersecurity. They are in a GRC but they don't
[0:25] know what is cybersecurity or information security.
[0:28] So this video for everyone and I'm sure it give you a very good
[0:31] benchmark to start your journey in cybersecurity.
[0:34] If you're new to the channel to subscribe to channel and click
[0:37] on the bell icon to make sure you should not miss the future
[0:39] videos on a similar topic. So without wasting your time,
[0:42] let's get started. So before we deep dive into
[0:46] cybersecurity, we need to 1st understand what we trying to
[0:48] protect, right? Because what is cyber?
[0:51] Before that, let's understand computer.
[0:53] As I said, I'm going to start this video from scratch.
[0:57] So first understand computer. So I'm sure whenever you saw the
[1:00] computer, you see this is how the computer works.
[1:03] We have a computer, we have a keyboard, we have a mouse, we
[1:09] have a storage which is called hard disk.
[1:12] We have a CPU, we have a RAM, right?
[1:17] So we have seen all these things.
[1:19] So let's understand in a simple way.
[1:21] If you take example a computer, before we can protect computer,
[1:25] we need to agree on what computer actually it is.
[1:28] Is it your phone is a computer? Yes.
[1:30] Your car is a computer, yes. ATM is a computer, yes.
[1:34] But I want to keep it more simple.
[1:37] Think of a kitchen, the kitchen what you have, right?
[1:40] So we have ingredients. So ingredients is something
[1:44] comes in OK. So keyboard, mouse, touchscreen,
[1:47] camera, microphone even I am right now giving input.
[1:50] So this is called input OK. Second is called as a
[1:53] processing. Now processing is the CPU OK
[1:56] which actually cook to be follow.
[1:59] So here the CPU follow the instructions right?
[2:02] So cook cook also follow the instructions.
[2:05] How they follow the instruction by using a memory or RAM which
[2:08] is basically a work table. 3rd is called as a storage.
[2:12] A storage is like a fridge when you make some food or uncut
[2:17] vegetables. So what you do you basically
[2:19] keep in a storage fridge because you want to retain for longer
[2:22] time. Same like when you done with the
[2:25] data and all that it need to be move in a permanent storage.
[2:29] So that is called as a storage and the most important part,
[2:32] whatever you want to display to the user and all that or
[2:35] whatever the cooked food we have or the dish is ready, you need
[2:38] to present on the table. Same like whatever the outcome
[2:41] we have, we can display on the screen, speaker or printer.
[2:45] So it's a very important part. So you enter input by keyboard,
[2:49] CPU basically process the information with the help of
[2:52] memory. Memory basically holder
[2:54] temporary informations, OK. And we want to discuss in detail
[2:57] in the later stage, because memory or RAM is very important
[3:02] for your investigations. Also, RAM hold the very
[3:05] sensitive information, RAM hold the current session information
[3:09] about the attacker also. So that is the RAM is very
[3:11] important. And based on that we generate an
[3:14] output. So laptop, phone, ATM, smart TV,
[3:17] car, card, machine, everything is a computer.
[3:20] It's all about how we use that. And every computer from a phone
[3:24] to server follow the same input, process, storage and output
[3:28] pattern. OK, let's move to the next part,
[3:32] OK? Now one thing we need to
[3:34] understand here in this section, we're going to discuss about
[3:38] hardware, software and opening system, OK?
[3:42] Or we can say we have a different version of software.
[3:44] So let's take example of a car. So we have a car has a body
[3:50] engine, which is hardware, right?
[3:53] The driver who drive the car. OK, so now the next topic is
[3:59] called as a hardware, software and operating system.
[4:02] OK, so if you take example of your computer or laptop,
[4:06] whatever. So this is your laptop we have
[4:10] imagine, so this is my CPU, this is my storage RAM.
[4:17] This is called as a hardware. OK then you install operating
[4:24] system which actually used to control this hardware.
[4:29] But make sure this hardware should be coordinate with the
[4:34] user properly. We install one application
[4:38] called as a firmware. Firmware is basically help the
[4:44] hardware to be communicate with the user, OK and then on top of
[4:48] it you install some kind of a utility like antivirus, miss
[4:52] word that is basically called as an core application.
[4:57] So you speak to the you as a user talk to the application.
[5:01] Application can be my browser, e-mail, chat, spreadsheet.
[5:06] Then we have operating systems, Windows, Mac, Linux which manage
[5:10] the hardware files and user and hardware is basically CPU,
[5:13] memory, storage, network, which part you can touch.
[5:16] So hardware is a machine always run on that app, you do the task
[5:19] and software all need a update. OK, so that's something is very
[5:23] important. Now we move to the next part.
[5:26] See software is written by the people normally OK, source code
[5:30] and all that. People make mistake and we find
[5:33] the bug. Bug is called as a weakness.
[5:36] Same like when you constructing any house some worker not able
[5:42] to focus and all that they mix too much sand and all that which
[5:46] basically create a problem. Or we spoke to the architect he
[5:49] designing a house but there was a issue in his thought process
[5:54] and all that and that make the house in a weak positions.
[5:57] OK so same like people does mistakes in their coding and all
[6:01] that. So that is called as a bug and
[6:04] some bug let attacker basically in bug is a vulnerability.
[6:07] So attacker basically find those vulnerability and we need to
[6:10] patch them. OK, so that is a cycle we
[6:12] follow. But before we deep dive into
[6:15] into the, you know, core security and all that, we need
[6:18] to also understand the era of digital.
[6:21] And that's why we have a next topic which talk about digital
[6:24] and data. So let's say example, we have a
[6:26] photos, songs, bank balance, WhatsApp message, right?
[6:32] So this is something we use in a computer and they do the same
[6:35] thing just as data. Let's see what data is made-up
[6:38] of. So can you see that?
[6:40] So let's say example, this is my Lego Lego so 123456.
[6:54] So each individual is basically Lego.
[6:57] OK, so this is a tiny brick snap together become a block and
[7:03] block itself is represent something in imagination you
[7:07] getting a point. So this is basically first is
[7:09] small small blocks OK And when we club this blocks it become
[7:16] one component and I can imagine that particular component same
[7:19] like in a computer you have a concept called as a bit.
[7:23] Bit is basically a smallest unit it has a 0 or A1 not both.
[7:28] It can be switch off or on. Now when we have a group of 8
[7:33] bit, it is called as a byte. So 8 bit make a byte which is
[7:38] enough for one character which is called as a letter A.
[7:42] So when I say AB so it store as a 010001 just imagine OK and
[7:48] that basically build a file. So first eight we have a bit 8
[7:54] bit equal to 1 byte OK 8 byte. So then we basically from 8 byte
[8:02] we form the character which is A and then bytes build a file OK,
[8:06] which is a document photo or songs and file we organise into
[8:11] folder. So when we talking about
[8:13] investigation, we talking about cyber securities and all that,
[8:16] we always say we need to have a, you know, bit level copy of the
[8:21] data so we can have a better visibility.
[8:23] So KB is a short, small, short e-mail.
[8:26] MB is basically you can say megabytes.
[8:30] Then we have a GB as a movie and then we have a TB as a company
[8:34] file server and that is how the data is basically also have a
[8:38] different state. So we have a three states of
[8:40] data, data at rest which is called as a stored data in
[8:46] transit which is basically called as a travelling and data
[8:49] in use which is a memory. Let's take example, we have a
[8:52] system A and we have a system B hypothetical scenario.
[8:57] OK now A want to send data to B. So with the help of IP address
[9:01] we are going to discuss over the Internet we sending data A to B.
[9:04] So that is called data in transit.
[9:06] In front of you I am running a PPT.
[9:08] So this PPT is running in system A but with the help of memory
[9:12] only I can able to run this PPT. So that is called data in use.
[9:16] It is reside in my C drive not not in use.
[9:19] That is called data at store. And we have a different type of
[9:22] security control for each and every stuff.
[9:25] Just imagine, OK, and we want to discuss that one more important
[9:28] thing. If you delete the data, it does
[9:30] not mean it completely read it. We can still able to recover if
[9:34] we get a presence of their bits. So that is why I have taken this
[9:38] as a reference to understand better in the course cyber
[9:40] security. Let's move to the next part.
[9:44] So the next topic is called as a client, server and cloud.
[9:47] Now first understand what is client.
[9:49] See, client is is the one who always do the request and server
[9:54] is the one who always provide the access, OK?
[9:58] That's why we called SURF OK? Or we say no, we have a client.
[10:02] So let's say example, if you come into my session, so you are
[10:05] my ex client, OK, you are my student, but by end of the day
[10:08] you are my client. So you are asking me some
[10:11] question from what is COM share? What is CSSB?
[10:14] What is cybersecurity? So you always send me request,
[10:17] OK? And my responsibility is to
[10:19] provide you the right answer. So I am your server.
[10:23] So here the same thing we can see.
[10:25] So we have a laptop as a client, phone as a client.
[10:29] I request the server for some information and they provide the
[10:33] data. It is also seem like you know
[10:35] you are using a laptop. OK and this is a Gmail, this is
[10:43] YouTube. OK, so you contact Gmail, Gmail
[10:48] provide you mailbox, OK. And then you can basically check
[10:52] your e-mail. So in this case, you are a
[10:53] client who send the request and Gmail is basically server who
[10:57] provide data same like you want to open and you want to watch
[11:00] some videos. So you send the request to
[11:03] YouTube and YouTube provide the necessary content.
[11:07] Understood. So that's how it basically
[11:09] works. And this is something a scenario
[11:12] of a very common thing. But but but the next important
[11:17] thing, we also need to understand a cloud.
[11:20] Now what is cloud? A server that you rent in
[11:23] someone else data center. What is the meaning?
[11:27] See, let's take example. You want to play some game, OK,
[11:34] you need to play PlayStation. OK, but PlayStation hardware is
[11:37] very expensive, right? You need to buy a PlayStation
[11:40] hardware. What if I tell you, you can use
[11:43] your current laptop, connect with some random server and on
[11:49] that server you play the game you just need to pay.
[11:51] So instead of you own any hardware you basically use
[11:56] someone else hardware and on that hardware you run your game.
[12:00] It is same like you know today you reach 1 new place now you
[12:05] are here for only 10 days. No you cannot buy a car for 10
[12:09] days. You are.
[12:10] If you are money or you know big party, then it's a different
[12:14] story, but if you just a person with the basic salary and all
[12:17] that, you will not going to invest and buy a car only for 10
[12:20] days. So you will rent a car and then
[12:23] you will use a car for what you have.
[12:25] That's called subscription model.
[12:27] Same like same like we have a cloud.
[12:30] So cloud it's basically a server that you rent in someone else
[12:34] data center. Instead of buying your own, you
[12:36] can rent a whole computer which is in which you get a RAM, CPU,
[12:41] storage and you decide what OS you want to install that is
[12:45] called as a IAS Infrastructure services.
[12:48] Is it clear? So in that case what happened is
[12:52] they will provide you RAM, they will provide you CPU, they will
[12:55] provide you storage. Now you decide what OS you want
[12:58] to install, what application you want to install.
[13:01] That is called infrastructure as a services.
[13:04] Now you said prep, I don't need to manage RAM, CPN, storage, OK,
[13:07] You just give me one environment and on that environment I will
[13:11] host my application, I will do my development all that.
[13:14] Let's take example Netflix, So they use a just example, OK,
[13:18] they using one infra on which they host their product which is
[13:22] a Netflix product and then they sell as a solution.
[13:24] So that is called platform as a service.
[13:26] They where they rent a platform, but third is called as a SAS
[13:30] software, as a services where you take like the gaming.
[13:35] Now to run some games you need a special hardware, you need a
[13:38] special configuration. I don't have, so I will open a
[13:41] browser, I will connect the cloud and they provide me
[13:43] directly that platform over the browser.
[13:45] The best example right now is Gmail.
[13:48] OK, do you need to install any special software for that?
[13:52] No, you just need a basic Internet connection.
[13:55] You connect to the server and you can open the mailbox
[13:57] anywhere. That's a live example of the
[14:00] ass. OK, so everything has a
[14:04] different requirement. OK you want to rent a complete
[14:07] server go for IS you want to rent only the platform in which
[14:11] you can host your application. That is basically pass You want
[14:14] to buy someone else software itself like SAP ERP, Office 365,
[14:20] Ms. Office. You don't need everything.
[14:21] Now everything is hosted on the Internet.
[14:23] Gmail is the best example, G Suite is the best example.
[14:25] You opendrive.com you open doc dot dot dot google.com You don't
[14:31] need to install any application over the browser.
[14:32] You can run anything. So that's something we need to
[14:36] understand. So more of the story is that
[14:38] client asked server answer that we discussed.
[14:43] But on the other side, cloud is simply a server you rent in
[14:47] someone else data center. OK, now let's move to the next
[14:50] part account and login. What is the meaning?
[14:53] See this is your. So when you start your laptop
[14:59] you see three options username, password right?
[15:07] So username basically verifying your identity.
[15:11] Password is basically the evidence which can prove your
[15:15] identity. Example you go to airport and
[15:18] say hey my name is Prabh, I'm travelling from Delhi to Kerala.
[15:21] So they will check your name in the list that is called
[15:24] identification. Yes Sir, I can see your name.
[15:27] Can you please show me your IE ID and all that which can prove
[15:29] you are the same person who claimed to be.
[15:31] That is called authentication. And that is why when it comes to
[15:34] cyber security, information security, this is very
[15:36] important. We're taking another example of
[15:39] office ID card. It say who you are and it
[15:42] control which door you can open. Same with the computer also.
[15:45] So when you start your laptop, first it asks for username which
[15:49] verify your identity. Then you enter password which is
[15:53] called something, you know PIN something you so something PIN
[16:01] password and PIN is basically part of something you know
[16:06] fingerprint is called as a something.
[16:08] You are one more important thing you know when you receive OTP
[16:11] and all that on mobile that is called something you have.
[16:16] So there's a three-way we can able to prove who the user and
[16:19] then based on that you can able to access a particular files and
[16:22] all that same like hey my name is Prabh, I'm travelling from
[16:30] Delhi to Mumbai. OK Sir, I can see show me your
[16:32] Aadhar card passport that is called authentication.
[16:36] So your seat number is 37 that is called authorization that is
[16:41] called access control. Now we have a different kind of
[16:44] an account. One is called as a standard user
[16:47] everyday browse e-mail document but can't install softwares,
[16:51] change system settings. But on the other side we have a
[16:53] administrator. Administrator is the one whose
[16:57] master who can create a user install and everything.
[17:00] Now you tell me in a comment box which is more concerned for me,
[17:03] a standard user get hacked or administrator get hacked?
[17:07] Definitely you will say administrator because if
[17:08] administrator is hacked, the big thing is going to be happen.
[17:12] So account is a digital identity and login is how the computer
[17:15] check it. Really you are.
[17:16] OK, let's move to the next part. OK, interesting one.
[17:21] You know when you open any website or when you type any
[17:24] website in in a browser? OK, how does your laptop knows
[17:30] where the website lives, where the website reside?
[17:33] It actually use a three kind of identifier which work together.
[17:38] The 1st is called as a DNS. See, we as a human, it is very
[17:44] difficult for us to remember numbers.
[17:47] So computer make their life simple.
[17:50] We have introduced the service where you enter the name and it
[17:55] will convert into now because by end of the rec computer
[17:58] understand binary we just discussed right?
[18:01] So let's take example. I want to open a website
[18:05] calledgoogle.com. OK, I'm sure you'd open
[18:13] google.com. Every day there's one one more
[18:16] website we open everybodycalledchatgbt.com I'm
[18:19] sure. But what is the IP?
[18:21] Because by the end of the day we need to communicate on the IP
[18:23] computer understand binary. So we when we type google.com it
[18:30] actually send a request to 1 server which is called as a DNS,
[18:36] DNS stand for Domain Name System.
[18:38] They maintain the records in the DNS that OK any request is
[18:44] coming from google.com it should be translated to 1.1.1.1.
[18:54] He will say hey you reach out to me for google.com it is on one
[18:59] dot 1.1 dot. So then 1.1.1 is the web server
[19:04] of Google. Same like you know you have a
[19:08] phone directory so you save your friend's name right with the
[19:13] phone number. Right now you want to call your
[19:15] friend 1 S you type the name because it is easy for you to
[19:18] remember the friend name. So type the name directory,
[19:22] convert name to number and by end of the day what they dial is
[19:25] number. So DNS works in a similar way.
[19:28] DNS is basically translate name to IP and IP to name and it
[19:33] works on the layer seven of the OSI model.
[19:35] The second is called as a IP address.
[19:37] Every computer has a unique address, OK, in the network to
[19:42] communicate with the network and that is called as a IP address.
[19:45] Now IP address is 2 type public IP, private IP.
[19:48] Let's take example, you went to the hotel, OK, you check in into
[19:53] the hotel now and your friend also check in into the hotel.
[19:56] Now you want to call within a hotel, not outside within a
[19:59] hotel. So we have extinctions same like
[20:02] within a network you want to communicate, we use a private
[20:05] IP. But when you want to call your
[20:08] family that you reach and all that, you use your public
[20:10] connections. You use the actual number
[20:12] tangent number and call that is called as a public IP.
[20:16] So private IP is used within the one LAN and public IP is
[20:21] something which is used to communicate over the Wan.
[20:24] Now one one more address we have called as a Mac address.
[20:28] Now Mac address is basically a unique address assigned to your
[20:33] LAN card in the global. It is just like a mobile IMEI
[20:37] number, which is very unique for every device in this
[20:42] organization, in this world. Now when we're talking about IP
[20:46] address, IP address has a 2 version 1 is called as a IP
[20:50] version four and we have a IP version six.
[20:53] OK, IP version 4 is actually a 32 bit and IP version 6 is
[21:01] basically 128, but Mac address is actually a 48 bit if you take
[21:06] an example. Now when it come to the Mac
[21:08] address, one more important thing we need to understand that
[21:13] it is basically has a six group of two hexadecimal which is
[21:17] separate by the columns and all that and it works on the layer
[21:20] two of the OSAI model. Now if you want to check the Mac
[21:24] address of your system, just type IP config or IP config all
[21:28] and you will see the complete information about the Mac
[21:30] address. So that's when the link it's a
[21:32] unique address of your Nic, Nic which is of the world, OK?
[21:38] So if you have a laptop, it has a Nic.
[21:40] So that will be unique in the entire world, OK.
[21:44] And the reason they give is because tomorrow if you do any
[21:46] kind of hacking and all that with the help of Mac, only we
[21:49] can able to track the person. And one more important thing, it
[21:53] is also sometime called as the organizationally unique
[21:57] identifier also because it has a manufactured sections and all
[22:00] that. So that something is very
[22:01] important. So again DNS is basically so
[22:06] when you type portal.aspirin.com it go to 2:03 dot DNS answer
[22:12] router, forward the packet by the IP and last hope delivered
[22:15] by the Mac OK. So it seem like your house
[22:20] address is actually the Mac, OK. And the particular parameters we
[22:26] have particular apartment number is basically the IP address.
[22:30] So that something is part of a function.
[22:32] So DNS turn the name into IP, IP route between the network and
[22:36] Mac deliver on the local network.
[22:38] Because every LAN, every laptop has a unique Mac address.
[22:43] That's something we need to understand.
[22:46] OK, so next is how we exchange the packets.
[22:49] So when you post any letter, you put in a envelope, right?
[22:53] And write a what is a look from and what is the destination and
[22:58] post office pass it basically along until it arrive computer
[23:02] actually do the same thing. Now let's say example, we have a
[23:05] Priya OK, so Priya using a laptop and she sent a request to
[23:11] a aspirants OK, at at aspirants. So she want to send request.
[23:15] So first thing it we talk about switch.
[23:18] Now two things are there. We have a switch and we have a
[23:20] hub. What is the difference between
[23:23] the switch and hub? See when I say hub, this is the
[23:27] hub we have. We have a system A, we have a
[23:33] system B and we have a system C If A want to send data to B, it
[23:39] send the request to hub. Hub will broadcast the data to
[23:43] all the ports. See we need to send to B, but
[23:45] it's sent to everyone. But in the case of switch, what
[23:49] happen is this is my switch. We have a system A, we have a
[23:54] system B, we have a system C and we have a system D Listen
[23:58] carefully. OK, so now if ABC and A want to
[24:04] send to D only so A send the request to switch.
[24:08] Now switch has A1 table which is called as a Mac table.
[24:14] Mac table OK Switch maintain the Mac table which maintain the Mac
[24:22] address of all the connected host.
[24:25] That is where first time when you turn on switch you notice
[24:29] one thing. There is a light is basically
[24:32] broadcast to all the ports. Light will reflect in all the
[24:37] port. Just to listen how many hosts
[24:38] are connected. OK, port on port #1 system A is
[24:43] connected, on port #3B is connected.
[24:46] On 9C is connected, on 10D is connected and they collect the
[24:51] Mac address. So now what happen?
[24:54] Every computer has a table. That table is called as a AARP
[24:59] table. Sorry.
[25:02] The table is basically called as a AARP which maintain the
[25:07] neighbor IP and Mac address information.
[25:08] So here IP address 1.1.1.1 and Mac address is 9 B at 7D, IP is
[25:16] 1.1 dot 1.2 and Mac address is basically 7B at 7:00.
[25:23] So now what happen? I want to send data to D so A.
[25:27] So if you go by the OSI are we going to cover?
[25:29] So we need to send to B. So we maintain the neighbor IP
[25:33] and Mac address information. So 1.1 dot 1.2 Mac address is
[25:37] basically 7BH2. So we identify the associate Mac
[25:42] and we attach, we send to switch.
[25:44] Switch will check 7BH2 on which particular port and on that
[25:48] particular port it send the data.
[25:51] So that's the quality. I understand in this way, you
[25:53] know you have a light switch in your house, a particular switch
[25:57] for particular light. This is called unicast.
[26:00] But you have a main switch by which you switch off everything
[26:02] that is a hub. So that's why we have a three
[26:04] type of casting also. One is called as a broadcast,
[26:12] one is called as a unicast and one is basically called as a
[26:18] multicast. Broadcast mean send to all
[26:24] unicast is 1 to 1 multicast is 1 to many not all.
[26:32] OK so switch is basically does the unicast hub is do the
[26:35] broadcast. So when laptop Priya sending a
[26:38] data, first it go to switch, switch try to locate what is the
[26:42] router. Because when you talking about
[26:44] your IP address you also mentioned default gateway
[26:46] because default gateway is the parameter through which you
[26:49] access the Internet. So here the default gateway is
[26:52] 1.1.1.1 which is actually the IP of the router.
[26:58] Now through the switch router you can the request to the
[27:00] Internet and by Internet you basically send the request to
[27:04] web server. So that's something we have.
[27:07] Now based on that same content, if you can see, we have a source
[27:11] IP, we have a destination IP on which particular port you
[27:15] sending a data that is also matter.
[27:18] And last we also have a payload. Now here what happened, this
[27:22] payload play a very important role.
[27:24] Payload is the letter itself which request to open a login
[27:28] page. Big files are split into many
[27:30] packet and the symbol as a destination.
[27:32] Now what is protocol C I'm using?
[27:35] I'm using English in my video. OK, so English is a protocol by
[27:39] which I'm communicating. Same like when 2 computers are
[27:41] communicating, they use protocol as a set of rule to communicate.
[27:44] For an example, if you don't give preferred DNS in your Nic
[27:48] interface card, you can't translate name to IB.
[27:51] You're getting a point. And then as you don't type HTTP
[27:53] you can't open the page. So it's a rule.
[27:55] So protocol is a set of rule by which two systems can
[27:58] communicate with each other. We seen a love language.
[28:02] To make the couples communicate properly they use love language
[28:05] same like protocol is a love language.
[28:08] The protocol is a set of rule by which they basically deliver the
[28:13] data from source to destination on a particular port number.
[28:16] So data travel as a small label packet that follow every rule
[28:21] called as a protocol. So every protocol has a port
[28:24] number like it. It has to be communicate through
[28:26] the particular port number. So now we need to understand one
[28:30] more important part that when it comes to protocols overall
[28:33] protocols are categorized into two-part 1 is called as a
[28:37] connection oriented and one is called as a connectionless.
[28:40] I repeat one is called as a connection oriented and one is
[28:43] called connection less. So TCP is a connection oriented.
[28:47] So we have a system A and we have a system B.
[28:52] Now they want to send data on a particular port.
[28:54] Before they send the data on a particular port they send a SYN.
[28:58] It is same like any relative, any friend coming to your house
[29:02] first they call or knock knock. So SYN is basically just
[29:07] checking whether port is open. If port is open it will say OK I
[29:11] am open. So SYN enact is your port is
[29:14] open. So he also send the SYN
[29:16] acknowledgement that I receive us in and then he gave the
[29:19] acknowledgement. So this is called as a three-way
[29:21] handshake, OK. But sometime what happen we also
[29:26] have a connectionless protocol which is called UDP, OK, in UDP
[29:30] we don't follow this three-way handshake.
[29:32] We simply send the data, OK. So live example is when you open
[29:37] first time youtube.com, youtube.com that is happening on
[29:41] TCP. But when you start playing the
[29:43] videos and all that, you know you notice buffer play, buffer
[29:46] play, buffer play that is called UDP.
[29:48] That's where TCP is reliable. But UDP is fast because it
[29:51] doesn't follow any handshake. It's same like you know the
[29:53] conversation between you know husband, wife or you and your
[29:57] partner is UDP. It start with no logic, finish
[29:59] at no logic. That's why it prone to lot of
[30:01] errors. But the conversation start with
[30:03] high hello with your friends, it can long for you know you can
[30:06] stop talk for one hour, 2 hour and all that's called TCP.
[30:10] So UDP has lot of errors because they don't follow any handshake.
[30:14] It same like you know suddenly guest come to your house, you
[30:17] know you have some commitment, you have some plans, suddenly
[30:20] they came understood. So we are using one tool which
[30:24] is called nmap through which we can able to discover the open
[30:27] ports on the target system. And these are the ports through
[30:31] which element try to penetrate into the network.
[30:34] So we have some popular ports like 443 for HTTPS, but for HTTP
[30:39] we have a port #80 OK, 53 for DNS, SSH for 22.
[30:45] Like let's say example remote, you want to do any kind of a
[30:48] command execution, so we use SSH.
[30:51] But if you want to take a remote desktop and all that, we use
[30:53] 3389 for RDP and we have a 25 for SMTP.
[30:56] So these are some of the common popular port numbers we have
[31:00] which is used for communication. Now let's understand how you
[31:03] open any web page before trying to understand how open website.
[31:07] Let's take one example. Let's take example today's
[31:10] weekend and you planning for a eating out.
[31:12] You want to go out for a dinner. So you look up for the
[31:16] restaurant, then try to get the seat, confirm it's a real place,
[31:20] not a not a fake place. Your order, the kitchen will
[31:23] cook and food arrive at your table.
[31:26] Same happen here. So you want to open google.com
[31:29] so you enter the URL then it first go to the DNS to check
[31:34] that what is the name and IP or what is the IP of the name what
[31:37] he requested. Then it basically discover the
[31:41] server and on that server we connect on port #443 because we
[31:45] are connecting on the web. Then we have a TLS handshake
[31:49] which is used to create a secure connection over HTTPS.
[31:53] Then you initiate the request, OK, I want to access the page.
[31:57] So you query and build a page and page is render for you.
[32:01] So browser, Internet, web browser, application, database,
[32:05] that's how it works. So opening one page involved
[32:07] DNS, TCP tailors, HTTP and app and database.
[32:10] Each one layer is to has to be secure.
[32:13] Now to understand this, let's have a one quiz.
[32:15] OK, so router sent. So this is basically one
[32:18] exercise. OK, so before we start on
[32:20] secure, let's show the foundation solid.
[32:23] OK so here the left exercise is Priya at office and she typed
[32:28] portal dot aspirant dot dot example into her browser and we
[32:32] need to organize the five event in a sequence.
[32:34] OK so we have a sequence like router send her packet, DNS
[32:39] turned the name into IP, server app fetched the data from
[32:42] database, DHCP gave IP and page IP in the browser.
[32:46] Is it the same sequence? No, the current sequence is
[32:49] first. What is first?
[32:51] So first is basically DHCP give the IP because DHCP is server
[32:54] which assign IP address to system without IP.
[32:57] How can they communicate then based on that request to DNS,
[33:02] right? So we have first step, then we
[33:10] have a second step then you basically send the packet out to
[33:16] the Internet 3 OK Then after that server app fetch and pages
[33:27] appear in the browser OK So most common mistake is putting DNS
[33:33] 1st remind you know it's all about how the laptop is
[33:36] basically communicating OK so key question on here is which
[33:40] part keep files when power is off OK storage which is SSDR
[33:46] hard disk, not a RAM. So it's all about because we're
[33:50] talking about two type of memory.
[33:51] We have discussed about two type memory, right?
[33:53] So that's how it works. So you know how to computer data
[33:56] network works. Now let's time to understand the
[33:59] information security. OK, so let's get started, see
[34:04] what happened is password is the most important control we have
[34:09] on the system, OK? It is just like a lock on your
[34:12] front row. OK, so and one stolen password
[34:17] can be achieved by the help of phishing, guessing or reuse.
[34:20] Now if you hack a particular password, there's a possibility
[34:24] through that hack you can target the individual account where you
[34:27] know you can drain his bank accounts and all that.
[34:31] It is also possible with the stolen password you can impact
[34:34] the organization also where the downtime, ransom, demand loss,
[34:38] regulatory fines also there because let's say example you
[34:40] hack company database your companies, you hack one of the
[34:44] employee password and through that you hack the entire
[34:46] organization. Now organization phase the
[34:47] downtime you encrypt their file and you asking for ransom
[34:53] because they lost their reputation, they will lose the
[34:55] car client or because of data breach.
[34:57] You have heard about lot of data breach in India right now that
[35:00] you have to pay the fine. So you just imagine one stolen
[35:02] password creating how much impact or third is basically
[35:06] society. So let's say example you hack
[35:10] one of the account of the doctor and through that you get it into
[35:13] some medical reports and everything.
[35:15] OK you hack into their devices which is used for the treatments
[35:18] and all that because you got the password of that so you can able
[35:21] to manipulate the. Now just imagine you
[35:23] manipulating a machine which is used for cancer treatments, you
[35:27] manipulating a machine which is used for laser treatment, you
[35:29] manipulating a machine which is used for MRI scan.
[35:33] OK so it will be impact on hospitals payment power grid
[35:36] depending upon SO1 password you can imagine what is the level of
[35:40] impact it basically create. It's all depending upon how it
[35:43] basically drive. OK so before learning attack and
[35:47] defence we need to know what we are defending.
[35:50] OK let's say example if there is a thief OK he broke into bank OK
[35:55] So what would they want? Not the furniture but the cash.
[35:59] So bank protect three things the building, the Volt and the money
[36:04] which is inside. So same like in cyber security,
[36:08] the building is our devices, the vault is our systems, and money
[36:11] is our data. Now before I jump into that, I
[36:14] want to give you clarity about cybersecurity and information
[36:18] security. See, cybersecurity is basically
[36:26] protect the digital data. OK, information security protect
[36:36] all type of data. So you can say like that cyber
[36:43] security is part of information security.
[36:45] So under the information security we have a cyber, we
[36:47] have physical security, process security and all that.
[36:50] Let's say example, this is the phone, the phone has a WhatsApp.
[36:55] So WhatsApp I protect with the password.
[36:57] So that is basically called as a cyber OK because we protecting a
[37:01] digital assets. But I place this phone in a
[37:03] physical locker and I told the security guard to monitor.
[37:06] So that is basically called as a information security.
[37:09] That's why information security protect all type of assets
[37:12] tangible and tangible with the cyber security protect that
[37:15] digital assets. Now here if you can see the
[37:18] systems OK, we have a outer layer which is a device.
[37:22] Now device can be my you can say laptop, OK, device can be my
[37:31] phone, device can be my server, device can be my router OK.
[37:38] Now inside the so that is basically there right?
[37:42] Then we have a systems. The systems are applications,
[37:47] e-mail, network, cloud services. And the core is basically called
[37:50] as a data. Now if you work for any
[37:53] organization, we only have a three type of data. 1 is
[37:56] basically called as a This is my experience I'm sharing OK.
[38:00] So one is called as a regulation regulated data, 2nd is basically
[38:09] called as a business data, and 3rd is called as a operation
[38:19] data. Like Π Phi is a regulate data.
[38:24] Trade secrets are basically the business data.
[38:26] Business data, OK telemetry Operation logs are basically
[38:30] operation data. So it's very important for us to
[38:33] know this OK, so devices are two, six and laptops, phone
[38:37] routers. We have systems are client
[38:39] portal, company e-mail, HR, finance app and data is
[38:42] basically anything. So security professional first
[38:46] job is to building a inventory of assets because you cannot
[38:49] protect what you don't know exist.
[38:51] Is it clear? So device hold system, system
[38:53] hold data. Data is actually what attacker
[38:55] really want we that's why we called as a guard rails.
[38:57] Now one thing we need to understand that every security
[39:02] decision is given in upon what you want to achieve because
[39:05] outcome of information security is to maintain the
[39:07] confidentiality, integrity, availability.
[39:10] OK look at the triangle. This is basically your data OK
[39:16] which is set in the middle and each corner promise something.
[39:19] I will make this data available whenever it required to the
[39:22] authorized user. I will make sure it is only
[39:25] available to my particular person for which he's authorized
[39:30] and make sure always remain the same SETO data.
[39:33] It is like, you know, I have a friend, OK, so I share.
[39:35] I shared all my secrets with him.
[39:38] He told me Prabh, I will not share with anyone.
[39:41] So until and he doesn't share, it's a trust.
[39:43] But he shared with everyone except me.
[39:45] It's a breach of confidentiality.
[39:47] He told me, Prabh, whenever you have a fight, always reach out
[39:50] to me. I will be available.
[39:51] When I reach out to him, he's unavailable.
[39:53] Can I trust him again? No, I ask him from some advice,
[39:57] you know, how's your life after marriage?
[39:58] He's a marriage is a beautiful thing and all that you also get
[40:00] married. I follow him advice.
[40:02] So you know integrity issue same like when organization building
[40:07] cybersecurity, information security.
[40:09] Our outcome is what maintaining A confidentiality, integrity
[40:12] availability. So confidentiality mean only
[40:14] authorized people can see this data.
[40:16] OK, so client contracts are readable only by accounting.
[40:19] Integrity mean data is accurate and altered.
[40:22] So invoice banking details cannot be silently change.
[40:25] Availability means system work when needed.
[40:28] So and it all depending upon the industry, you cannot have 100%
[40:31] confidentiality, 100% integrity, 100% availability.
[40:34] You cannot achieve that. So let's say example, you join
[40:36] bank, you join banking sector. In bank our priority is
[40:40] confidentiality and integrity. Now just imagine in your COM
[40:44] your account you have a $10,000 only 10 is missing but that 10
[40:49] can get impact. So because of the error in the
[40:51] application it giving you wrong information.
[40:53] Will you trust the bank again? No, it's a breach of integrity.
[40:57] You want to connect to net banking and you want to see your
[40:59] payment details. That's called confidentiality.
[41:01] But if you could not and someone else get access to those
[41:04] information, it's a concern. You want to access your OTT
[41:08] platform videos but it is unavailable.
[41:11] It's a breach of availability. So as AC, so as a information
[41:14] security professionals, we need to maintain the balance of all
[41:17] three. It is not possible that OK every
[41:19] industry is basically follow the 100%.
[41:21] This it all depending on which industry you work like
[41:23] healthcare focus on availability, which is a safety
[41:26] for them. Banking focus, focus on
[41:28] confidentiality, integrity for them.
[41:30] Defence focus on confidentiality, integrity on
[41:32] them. So confidentiality who can see
[41:35] integrity mean is it accurate or unaltered and availability, can
[41:38] I use it when needed? That's a very important part.
[41:41] So every security control protects CIA or you can mix of
[41:43] them. It's all depending upon your
[41:45] requirement. Is it clear?
[41:47] Now one thing we need to understand and it's a very, very
[41:51] interesting part, but what is that?
[41:54] So here what happened, we need to understand if CI promise
[41:57] break it, the business feel like you know something is wrong.
[42:00] OK, let's let's make it real. OK, which is worse for hospital
[42:04] leaking patient files, wrong blood group on a record or power
[42:09] cut in the middle of surgery? All three are serious.
[42:11] Each one is is is different promise failing.
[42:14] If you take example of hospital example, leak files are the
[42:18] confidentiality failure wrong blood group is basically the
[42:21] integrity power cut is availability.
[42:23] So if you read the diagram Rover also you'll get the visibility.
[42:26] So consultant e-mail a client contact to the wrong recipient.
[42:29] So information is close to wrong person.
[42:30] Attacker alter the bank details integrity ransomware take the
[42:34] client portal offline. So what is the impact when if
[42:36] you're sending the information to someone else, you lose the
[42:38] client trust contract penalties, DPDP or any regulatory impact
[42:43] payment sent to the fraudster, money really recovered.
[42:45] That's a breach of integrity. Attacker literally alter the
[42:47] bank details on a vendor invoice and payment goes to the
[42:50] fraudster and money is really recovered and because of the
[42:53] ransomware takes the client portal offline for two days.
[42:56] It caused the missed deadline and lost the revenue.
[42:59] So you can imagine this kind of a seriousness we have.
[43:02] So only hacker caused incident. No, even people's stupidity can
[43:05] make a trouble. Sometime intentional, sometime
[43:08] unintentional. OK, so name the broken promise
[43:11] first. It will tell you which control
[43:13] failed and what to fix. That's a very important part.
[43:19] OK, so now we need to understand another important thing which is
[43:22] called thread vulnerability and risk.
[43:24] See information security achieved by confidentiality,
[43:27] integrity, availability that we have seen that.
[43:31] But what is the way someone can breach the CIA?
[43:33] There is a three parameters which can break the CIA.
[43:35] The 1st is called as a threat. OK, so let's let's take example
[43:40] of a house. OK, before I jump into this, let
[43:43] me explain with the example of house.
[43:44] This is your house. OK, now there is a thief, OK,
[43:55] there's a thief. So thief is trying to get some
[43:59] stuff from your house, OK. And it is only possible with the
[44:02] help of action. So when he trigger the action
[44:07] for me, that threat is called as a sorry, that action is called
[44:10] as a threat. Let's say example, you're
[44:13] planning some weekend trip and suddenly relatives come to your
[44:16] house. Can you predict?
[44:18] No, that's an action. So threat is an action.
[44:23] OK, Now it has a three parameters based on which they
[44:27] they do this. So one is called as a motif, 1
[44:31] is called as a method, and one is called as an opportunity.
[44:34] So when I say motif, it has some purpose the way they're doing
[44:38] the things that is called as a method.
[44:40] They're finding a weakness that is an opportunity.
[44:42] So threat is an action which basically target your systems.
[44:47] So that's the one thing. Now as I said, threat is only
[44:50] successful against the opportunity.
[44:52] The opportunity is called as a vulnerability which is called
[44:55] weakness. OK, so let's say example, some
[44:59] ports are open, weak password. This is the vulnerability.
[45:03] And if this has become successful, it can harm the
[45:06] assets and that represent as a risk.
[45:08] OK, let's take one example, this is house one, this is house 2
[45:14] and this is house 3. So this is you, this is your
[45:18] friend one and this is your friend two.
[45:20] There is a uncle or aunty. They came on weekend.
[45:26] They ask you do you, do you, you know, are you in our house?
[45:30] Yes. They take you to one marriage
[45:32] event and fix your marriage. So here this uncle and aunty is
[45:35] a threat because you have a nature say no to the things
[45:40] this, you know, always say yes to everything.
[45:41] You're very introvert. That's a vulnerability and they
[45:44] use this opportunity take you to one marriage event and get your
[45:46] marriage fixed. And that is the impact.
[45:49] Same thing happened to this, same thing happened to this.
[45:51] So your you have an introvert nature that is a weakness
[45:56] relatives basically target the interval nature that is a threat
[45:59] and that basically compromise your life and all that.
[46:01] That is basically harm to your asset as it can be anything
[46:03] which can create a value for an organization as it can be your
[46:05] tangible it can be intangible that is what we have.
[46:10] So that trigger the risk. Risk is always a probability.
[46:13] It is not a confirm action. See you know the relative will
[46:16] come to the house before that you ran away.
[46:18] So because your risk of not get going to the event, because if
[46:22] you go to the event, you, you you get married, right?
[46:25] So, but if you already married, then it's a incident.
[46:28] The difference between risk and incident is risk is a
[46:30] probability, but incident is a confirm action.
[46:32] And the formula for risk is likelihood multiplied by impact.
[46:36] So likelihood mean how probable is a threat exploit the weakness
[46:39] and impact is how bad is the damage it occur?
[46:42] Is it clear? So let's say example, this is my
[46:45] system A OK. And it has a firewall.
[46:50] We have a system B. It has no firewall.
[46:54] So hacker, if you're trying to perform any attack, control is
[46:57] there which can block. So likelihood is basically
[47:00] called threat exploit. The vulnerability which is low
[47:05] chance of happening is low. Impact is also low if there's
[47:08] no, but in this case, if there's no firewall, the chance of
[47:11] attacking is basically great and it has a confidential data.
[47:14] If it's compromised, impact is also there.
[47:17] So according to that, we plan our controls team clear.
[47:20] So risk is basically called as a probability but incident is a
[47:24] confirm action To prevent the incident, we do risk assessment
[47:27] that is why we have this metrics.
[47:29] So key takeaways, risk only exists where the thread can
[47:31] exploit the vulnerability and we can reduce by the help of
[47:34] controls. Now next is called as a attack
[47:37] surface. OK, so next topic is called as a
[47:39] attack surface. Before I discuss about attack
[47:42] surface, I want to talk about 3 important dimensions.
[47:44] OK, first is called as a threat actor, 2nd is called as a attack
[47:59] vector and 3rd is called as a attack surface.
[48:13] So we have a three things here Threat actor, attack vector and
[48:17] attack surface. So when I say threat actor is
[48:20] called as a who attack vector, you talk about how an attack
[48:26] surface we talk about where. OK so when I say threat actor it
[48:32] mean the individual group or entity.
[48:34] So let's say example there is a hacker, hacker is called as a
[48:38] threat actor or we can have A2 type of threat actor.
[48:42] One is called internal and one is called external employee is a
[48:47] internal. So threat actor is the one who
[48:50] triggered the action. OK now let's take example.
[48:54] This is my laptop. OK, this is my laptop.
[49:01] Now here laptop is running a OS. So OS for me is basically attack
[49:06] surface. OK, which is basically where now
[49:11] by sending a phishing campaign, by sending some exploits he
[49:16] trying to target that is basically attack vector which is
[49:19] called how so the one who performing an attack that is
[49:23] called threat actor, the specific method he using like
[49:26] phishing or stolen password is called as attack vector.
[49:29] And again, the target is basically called as attack
[49:32] surface where, you know, open port cloud server, you know that
[49:35] thing we have now attack surface is a very important part in
[49:39] cybersecurity. So look at the diagram here,
[49:42] e-mail client portal, cloud accounts, USB.
[49:45] So these are basically the entry point we have by which we can
[49:49] able to exploit the system. So one simple principle is that
[49:53] if you increase the functionality, you decreasing
[49:56] the security. That's why we say never speak
[50:00] much, because more you speak you, you have more chance to get
[50:02] compromise. That's why after marriage
[50:04] everyone becomes silent. So we have a less words, less
[50:07] communication, less attack. So that's something we need to
[50:10] understand. So aspirants in this case sit in
[50:12] the centre which is surround by the 8 entry points. e-mail is an
[50:18] entry point, client portal is an entry point, cloud account is an
[50:20] entry point, vendor is an entry. These all are entry points.
[50:24] OK, so here he can use multiple techniques to exploit the
[50:30] things. So that's why we always prefer
[50:31] that. OK, We tried to reduce as much
[50:34] as functionality so I can able to reduce attacks 100%.
[50:36] You cannot remove that. So the best practice is that
[50:39] close our news ports, remove old accounts, inventory every device
[50:44] and train people. They are part of a surface.
[50:46] That's a very important part we have so string the attack
[50:48] surface few door open so that we can have a less chance.
[50:51] Now we have a three type of controls overall, so OK by which
[50:55] we can able to reduce the attack surface and reduce the
[50:57] vulnerability because controls are introduced to reduce the
[50:59] vulnerability. The first is called preventative
[51:01] control, the control which is used to prevent an incident,
[51:04] firewall, antivirus and all that.
[51:06] OK, but if something goes wrong, we should also need some control
[51:10] to detect the incident. So we have ideas, log
[51:12] monitoring, CCTV and then we need to restore also.
[51:16] So we have a corrective control. Let's say example, we have
[51:19] installed the antivirus fine, which basically prevent a system
[51:24] from getting things and all that.
[51:25] But what if it done so they also have a logs and all it give a
[51:29] notification system is infected virus, virus, virus.
[51:31] So isolate a system immediately. That's part of corrective.
[51:34] Now, let's take a very common example of ransomware.
[51:36] We had a firewall. We have everything still be able
[51:38] to bypass fine it encrypt the file, we got a notification
[51:42] detective, then restore the backups, isolate a system that
[51:47] is called corrective. That's how it basically works.
[51:50] Is it clear? One more important thing
[51:52] further, we execute in a different way, technical
[51:55] control, managerial control and physical control.
[51:56] Let's example firewall. Firewall is basically technical.
[51:59] Something was implemented technically inspect, technically
[52:01] blocked, physically blocked. Technically managerial control
[52:05] are like a company process and policy.
[52:06] Hey guys, no one supposed to browse social media.
[52:08] It's a policy sent by HR that's a managerial.
[52:13] But you still try to open some social media sites.
[52:15] There's a DLP which is called technical.
[52:18] Understood. Hiring a security guard, CCTV
[52:20] cameras, biometric on the main doors, they're called physical.
[52:23] So things which can prevent technically detect technically
[52:26] correct technical is called technical control sent in a form
[52:29] of directive policies and everything.
[52:31] It's called as a managerial, which is also called as a
[52:33] administrative controls. And 3rd is called something you
[52:36] try to block physically check physically.
[52:38] That's called physical control. Let's say example CCTV physical
[52:42] control manager supervision behind you know your back and
[52:45] checking what you're doing on a screen.
[52:46] That's example of physical control.
[52:48] OK, let's take example of COVID. So post COVID people company has
[52:53] resumed work from office. So you reach main gate security
[52:57] guard checking whether you have a vaccination certificate,
[52:59] that's a physical control because he received instruction
[53:02] from the HR, no one supposed to enter without vaccination
[53:04] certificate that's a managerial. Now they give you E pass based
[53:07] on which you can able to login. That's a technical control.
[53:10] So that is how the controls category enforce preventive,
[53:13] detective and corrective in nature.
[53:15] So moral of the story is that good security combined control
[53:20] that act before, during and after.
[53:21] That's why we use a series of controls.
[53:23] OK, so let's understand what the scenario.
[53:26] OK? Now in this scenario, if you can
[53:29] see here we have a defence in depth.
[53:32] See human is the weakest link in the organization and that must
[53:35] be protect with the defence in depth.
[53:37] We have a policy no one supposed to browse or should be 9:00 to
[53:40] 5:00 and we have educate them with the help of training and
[53:42] all that. We have a physical badges.
[53:44] Then we have firewall. Further we have a network
[53:46] segmentations EDR is there which can install in every system
[53:51] which detect and prevent. And then we have applicant, then
[53:53] we have a data each different control.
[53:56] So the attacker must defeat. The question is, as my laptop is
[53:58] stolen from a cab, which control best protect the client files
[54:01] Keyword is files Wi-Fi password no.
[54:05] Now hacker basically got his laptop OK, antivirus will not he
[54:10] already left, so lock is gone. So only option is full disk
[54:12] encryption. Now what is full disk
[54:14] encryption? See thief has a laptop itself.
[54:16] OK, so officer or office protections are irrelevant.
[54:20] Wi-Fi password option A protect the network, the laptop is no
[54:24] longer on networks. Antivirus on the server.
[54:28] So option C does nothing for laptop disk.
[54:31] So lock server room. Option D protect the server, not
[54:33] laptop in the cap. So encryption can protects data
[54:36] whether it is in a disk. It's one of the best solution
[54:38] when you having a third party controls.
[54:41] Example, when you moving data in the cloud, encrypt.
[54:44] When you keep the data in the laptop, encrypt.
[54:45] When you keep the data in a pen drive, encrypt.
[54:47] So in worst case even its law still it maintain the persistent
[54:49] security. That's the reason full disk
[54:51] encryption is a best answer for that.
[54:53] This is called as a layer of defence.
[54:56] Is it clear? It is called as a layer of
[54:58] defence. Defence in depth we called.
[55:01] Now when you communicate over the web, one of the common
[55:04] protocol we use HTTP. OK, but problem is that HTTP
[55:08] send the information in the plain text.
[55:11] OK now we have a HTTPS://STTPS running on TLS Transport Layer
[55:17] security. Everything same but the
[55:19] information is basically encrypted.
[55:22] Now I want to also discuss about the history of different version
[55:25] of STTPS. See what happen is when it comes
[55:29] to the STTPS and all that it's it's not started with the TLS,
[55:33] it was started with the SSL first.
[55:35] So there was a version called as a SSL 1.0, SSL 1.0, OK.
[55:45] It was never publicly released. Then we have a 2.0.
[55:48] It was a first public assessor but it has a major security
[55:51] weakness. Then we introduce 3.0.
[55:53] It has a major redesign but later broken by the attack
[55:56] called Portal PODDLE attack. Then what happened is IETF has
[56:02] acquired that and then they introduce a version called TLS
[56:05] 1.0. Then we had a 1.11.2.
[56:08] Current version is 1.3, but still 1.2 is basically used for
[56:13] backward application. So when I say TLS 1.0, it was a
[56:16] successor of 3.0. TLS 1.1 improved the protection
[56:20] against some CBC attacks. TLS 1.2 was a stronger algorithm
[56:25] and it has a modern cipher support.
[56:27] And when it will TLS 1.3 it has a faster handshake.
[56:31] Remove many old weak algorithm and they introduce a sigh.
[56:34] So today when you preparing for interview preps and all that,
[56:36] remember one thing TLS 1.3 then mostly ask and TLS basically
[56:41] introduce a simple safer parameter with a lightweight for
[56:45] securing the data. So 1.3 is cleaner and stronger
[56:47] evaluation today in HTTPS. So Https://encrypt traffic and
[56:52] prove the server and it does not prove the site is honest that
[56:55] something is there. So now we move to the next part
[56:59] which is basically called as a firewall.
[57:01] Firewall is a device which prevent another is user to
[57:06] access the Internet work. Is it clear?
[57:09] So let's take example, I have a user one, I have a user 2, I
[57:14] have a user 3. Now let's take example if you
[57:16] don't have a firewall hypothetical scenario.
[57:19] So user try to access web server on port number 443.
[57:23] OK let's take example because we are connecting HTTPS right?
[57:26] So it should be on port 443. Now if you don't have a firewall
[57:29] then we can try to connect on random ports.
[57:33] We can have a multiple traffic so that is why we need to
[57:36] filter. I want to make sure a right user
[57:39] connect on right port and it make sure it should not be
[57:43] connected on other server. So let's say example, it's a web
[57:44] server definitely. And we have introduced a web
[57:47] server so that my people can use the services.
[57:51] So I'm running a ecommerce company.
[57:54] I host my entire content on this website.
[57:57] OK, now website is brought by the file and the website 443 is
[58:01] open. OK 22 port is open, 21 is open,
[58:06] 20 is open. Now if I if I open all these
[58:10] ports so it mean attacker has a opportunity to exploit my system
[58:13] through these ports. But I want to only make sure
[58:16] connection should be done by 443 only.
[58:19] It should not be connect on any other port.
[58:21] So in the firewall we create a rule like source is any
[58:26] destination is basically a web server, source port is any and
[58:34] destination port is 80 or destination port is 443.
[58:38] So whenever the traffic goes by the firewall, we check from
[58:42] where it is coming to, where it is going from which port is
[58:46] coming, is it going on 443? We allow if it's going on some
[58:49] other port it will block. So firewall is basically monitor
[58:52] based on that and connect the web server.
[58:55] You're getting a point. So that's why firewall is
[58:58] introduced to protect based on the IP traffic.
[59:03] Today the firewall that we use not only monitor the IP but also
[59:06] check the content port and all that.
[59:08] That's why I call next generation firewall it monitor
[59:10] from and to and everything. Because one primary concern here
[59:14] is that even the legitimate IP trying to send some malware and
[59:18] all that. So nowadays that's why we use
[59:20] the next generation firewall, which does the packet filtering.
[59:27] Second, it does the port filtering.
[59:30] It check the content inspection and then only reads the web
[59:34] server. So we create a rule allow
[59:37] sources any destination web server 443, allow admin VPN web
[59:40] server TCP 22, but deny any any and firewall default work on a
[59:45] failed secure mode. That's something we need to
[59:47] understand now. Next is basically called as IDs.
[59:51] See firewall used to prevent if anything suspicious it prevent
[59:54] firewall check the address and port.
[59:56] But what if malicious content arrive on a allowed port?
[59:59] So I want to monitor that compare to CCTV.
[1:00:02] OK CCTV system with the alarm, you can just imagine OK alarm
[1:00:06] against the guard standing in the doorway.
[1:00:07] So CCTV see the intruder and raise the alarm.
[1:00:09] But someone still has to respond, right?
[1:00:13] So we are using other solutions like IDs.
[1:00:15] So IDs is a solution which detect the incident.
[1:00:18] OK, so traffic flow normally from the Internet to the server
[1:00:22] while copy is sent to the ID sensor, OK.
[1:00:26] And if spot is known, it basically record but it does not
[1:00:30] block. But what I need I want that to
[1:00:32] be block. That is why we have a IPS.
[1:00:36] That's why IPS is also called as a inline mode.
[1:00:39] It is called as a inline mode. What is it meaning if the
[1:00:45] traffic is malicious before reaching a server it can block
[1:00:48] but in this case it remain passive.
[1:00:51] OK so IPS can block the legitimate traffic if it raise
[1:00:53] the false positive also. So mean you need to tune the
[1:00:56] rule carefully and according to that you need to plan your
[1:00:59] controls properly. So IDs detect and alert from
[1:01:04] copy traffic and IPS sit inline and block in a real time.
[1:01:07] OK now the next topic is called as a segmentation.
[1:01:11] OK, so why did the Titanic sink when only few compartment
[1:01:15] flooded right? Water was spilled over the tops
[1:01:18] of the bulkhead into the next one.
[1:01:20] And this how the same thing happened with network attacks.
[1:01:22] So what happened is traditionally we used to have a
[1:01:25] flat network. Flat network basically mean we
[1:01:28] have firewall and from there the connection go to the web server
[1:01:36] database and we have a e-mail server.
[1:01:40] So let's say example, if I consider web server, I need to
[1:01:43] have a less rule in the firewall.
[1:01:44] Because we are into e-commerce, we cannot put too much
[1:01:46] restrictions. But what if attacker bypass a
[1:01:49] firewall, hack the server, From there he can propagate the tag
[1:01:52] database and all that. Then we introduce the concept of
[1:01:55] DMZ. What is DMZ?
[1:01:57] We create one network here, then we have another firewall and
[1:02:02] then we have a another network. So now what happened?
[1:02:05] Whatever the public facing server we have, we can keep it
[1:02:08] in the DMZ. Example web server, DNS, VPN and
[1:02:14] whatever the sensitive server we have we keep it in the Intel
[1:02:18] network like database AD. So now what happen if any kind
[1:02:23] of a request come like example user want to access the website
[1:02:26] the go to the firewall, firewall do the inspection according to
[1:02:29] their. In worst case if this firewall
[1:02:32] is compromised he can compromise web server dinner.
[1:02:34] But from there he tried to hack the internal.
[1:02:36] This firewall has more stringent rule.
[1:02:38] So this is how we limit the attack.
[1:02:39] But now what happen if I hack the web server from here?
[1:02:42] I can hack this system, this system, this system.
[1:02:44] So today there is a new more concept was introduced which is
[1:02:47] called as a micro segmentation. In micro segmentation each host
[1:02:51] is separate from other. You getting your point?
[1:02:55] So that what we have second important thing when the
[1:02:58] employee working from home, he cannot simply connect over the
[1:03:02] van. So we use one solution called as
[1:03:04] a VPN. That's why you know when you
[1:03:05] working from home you use one software through which it
[1:03:07] creating a tunnel and then through the tunnel it basically
[1:03:10] send the data. I want to ask you one thing you
[1:03:13] staying in one metro city. OK, so you have a choice in a
[1:03:16] peak traffic, what is a safe and secure and fastest way to reach
[1:03:20] office car, metro or bus? The answer is metro because it
[1:03:27] has a dedicated route, dedicated path through which we reach the
[1:03:30] destination. That is what we have here.
[1:03:33] So in this scenario, if you take a example, VPN is basically
[1:03:37] provide a secure tunnel through which we can send the data, it
[1:03:40] provide protection against eavesdropper required MFN, it
[1:03:44] protect the part not the infected laptop.
[1:03:46] That's a different story. OK.
[1:03:48] So we use different kind of techniques to achieve the
[1:03:50] segmentation, segmentation over the van VPN segmentation, the
[1:03:54] LAN with the help of VLAN, DMZ. So we can use that team clear.
[1:03:59] But one thing is that if you are a user working from home VPN is
[1:04:02] basically mandatory So split away network into zone.
[1:04:05] So limit the spin and use encrypton over the remote
[1:04:08] access. Now what happened There is one
[1:04:10] concept in due to zero trust. Now what is 0 trust?
[1:04:12] Now let's say example I have a employee and he working from
[1:04:18] home. He working from home.
[1:04:23] This is called as a Internet. Then we have a firewall, then we
[1:04:31] have a DMZD militarized zone, then we have another firewall
[1:04:36] and then we have a internal network.
[1:04:39] So we have A1 system here which is called as a jump server.
[1:04:46] Jump server is just like a system through which you connect
[1:04:48] the internal network. So now let's say example you did
[1:04:51] the VPN, you you basically did the VPN to the server or so
[1:04:54] let's say example this is a VPN server.
[1:04:57] Now VPN server verify your username and password.
[1:04:59] So we assume if username, password is correct we give
[1:05:02] access. What if it is a hacker who hack
[1:05:06] one of your employee credentials and he used his laptop to
[1:05:10] authenticate? This was happened today post
[1:05:13] 2020. Post COVID.
[1:05:16] Employees are working from home. The new parameter is the
[1:05:20] employee house. We don't know from which
[1:05:22] location he login. We don't know what device he
[1:05:25] using. So instead of only verifying
[1:05:28] username, password, I want to verify multiple thing MFA is the
[1:05:33] device is healthy? Does the it's a authorized
[1:05:35] device, does have a antivirus and everything?
[1:05:37] Is it a normal thing? He ask he are accessing during a
[1:05:40] business hours and then we give the access to the one app only.
[1:05:46] Next time if you try to access any other app again he need to
[1:05:49] go through the identity device, healthiness, normal context and
[1:05:52] all that. So that something is basically
[1:05:54] part of functions. So is it clear?
[1:05:57] So this is basically called as a 0 Truss architecture.
[1:06:00] Now in this case, if you take example, we have to block the in
[1:06:05] one RDP from Internet alert on suspicious weapon without
[1:06:08] blocking, keep the guest wifers and let remote staff.
[1:06:11] So if you're talking about overall functions, OK, we can
[1:06:14] have a one block in one RDP from firewall, two alert on
[1:06:19] suspicious pattern without blocking, keep guest Wi-Fi.
[1:06:22] These are the best practices we have.
[1:06:23] OK, Zero trust is not a solution.
[1:06:25] It's a concept that we literally implement in the organization.
[1:06:30] Is it clear? So being inside the network earn
[1:06:33] no trust. So every request need to be
[1:06:35] verified and validate. That's a very important part.
[1:06:38] Now let's understand the different type of people who
[1:06:41] commit the crime. Actually they are our friends
[1:06:42] because if they don't commit the crime will not able to have a
[1:06:46] value. OK, so first it's called
[1:06:48] cybercriminals, they want money OK, so ransomware, fraud, stolen
[1:06:54] data for sale, they are called as a so you know we need to
[1:06:57] understand that, you know, we have seen a lot of videos, you
[1:07:00] know, wearing a hoodies teenagers in a dark room.
[1:07:03] But reality is much more varied, OK, opportunities here try to do
[1:07:09] everything to gain access. It has a one one of the most
[1:07:11] important thing motive here. The motive is fraud, motive is
[1:07:15] money. Is it clear?
[1:07:16] Now we have one category called as a apartment groups, which is
[1:07:20] companies, government sponsors, OK.
[1:07:24] They are basically well funded by the government.
[1:07:27] They always maintain a very stealth, more very low, low
[1:07:31] level parameter so that no one can able to detect.
[1:07:34] And mostly the countries basically hire these people to
[1:07:37] target the other countries because war happened on three
[1:07:40] levels, on ground, on water, on sky.
[1:07:43] The 4th is basically cyber. So one country will say OK,
[1:07:47] let's attack other country, hospital, their power sector,
[1:07:51] you know. So these groups are sponsored by
[1:07:54] the government. Then some hacktivist activist is
[1:07:58] basically mean the hack for a particular Causeway.
[1:08:00] Let's say example, I want to hack some website and promote
[1:08:03] the religious message. I want to hack the website, I
[1:08:05] want to promote some social message.
[1:08:08] So they hack for a particular reason, they have a ideology.
[1:08:12] Then we have insider threat. I'm not very happy with my
[1:08:14] salary increment, so let me do something internally that is
[1:08:16] called as insider threats. The biggest threat for me is
[1:08:19] insider threat because they already have access to
[1:08:21] everything. Then we have some unskilled
[1:08:23] attackers, they learn from some randoms training programs and
[1:08:25] become hacker and trying to add some things without knowing
[1:08:28] anything. That's called as unskilled
[1:08:29] attackers or sometimes the competitors basically hire the
[1:08:32] people. So that's something is there.
[1:08:36] So models for that known knowing the attack motive and resource
[1:08:39] tell you what they target, how hard they are.
[1:08:41] So that's a very important part. It's very important to know
[1:08:43] their attack, their motive. So security professional use
[1:08:46] this to build a threat model who would target us?
[1:08:49] What would they want? How capable are they?
[1:08:52] And according to that we have to.
[1:08:53] So let's say example aspirants aspirant hold client data for
[1:08:56] large enterprise. So which is attractive to
[1:08:58] criminal and possible to spy the targeting those client also.
[1:09:02] So it is very important to know the motive which is very
[1:09:05] important here. Next topic is called as a social
[1:09:09] engineering. OK, next is called as a social
[1:09:11] engineering. Social engineering basically
[1:09:13] mean indirect way to gather the information.
[1:09:16] I'm sure everyone in this who watching this video are victim
[1:09:20] of social engineering. I'll give you an example.
[1:09:22] Remember the first time when your parents ask your dad, your
[1:09:25] mom beta don't worry I'm not going to beat you.
[1:09:28] Tell me the honest, tell me truth.
[1:09:30] Just make just feel like I'm your friend.
[1:09:33] And when you feel them like a friend, we don't know at what
[1:09:37] what point they become a father. So indirectly they're trying to
[1:09:41] extract information from you. Same like hacker creating
[1:09:44] urgency. Hey, I'm your friend authority.
[1:09:46] Creating a fear, creating curiosity.
[1:09:48] OK, there's a lottery. I'm here to help you with the
[1:09:51] question paper helpless. Oh, you claim $100 reward.
[1:09:55] And based on that, they extract the information.
[1:09:57] So that is called social engineering.
[1:10:00] OK, it is same line of when you're a kid, but I will give
[1:10:03] you chocolate. Tell me this.
[1:10:04] So giving a chocolate reward. Hey, I'm your father authority
[1:10:09] if you don't tell me I will tell your mom fear you know there's a
[1:10:12] very important thing I will tell you.
[1:10:13] But before that you have to tell me curiosity.
[1:10:15] So here what happens Social engineering is trigger from
[1:10:17] that. OK, so the most important part
[1:10:22] is we have a different way of doing a social engineering 1 is
[1:10:24] called phishing, sending a fake mail to everyone.
[1:10:27] Smishing is basically means sending a message.
[1:10:31] I'm sure you have seen some of the message nowadays receiving
[1:10:33] like you know you have this challan, you have this this
[1:10:39] ticket of the crossing red light and all that you need to pay the
[1:10:42] money wishing is basically receiving calls.
[1:10:45] OK, hi, this is basically from this this bank we are providing
[1:10:48] our free loans Pre texting is believing invented story to gain
[1:10:51] trust. Hey, you know I'm your I know
[1:10:53] your friend. You did the mistake.
[1:10:54] So creating things or you going to the office, you punch your
[1:10:58] card and someone just follow behind you.
[1:11:00] That's called tailgating. Understood.
[1:11:03] There's one more term called as a piggybacking.
[1:11:05] See in piggybacking is with consent.
[1:11:07] Like I came to your office for a training, definitely I don't
[1:11:10] have a card, so you will punch the card for me and then I will
[1:11:12] enter into the office. That is called as a
[1:11:15] piggybacking. So piggybacking has a consent.
[1:11:17] Tailgating does not have a consent.
[1:11:19] Fishing is also have a three type 1 is called fishing, one is
[1:11:22] called spear fishing and one is called as a whaling whale.
[1:11:26] Phishing means sending to everyone.
[1:11:27] Spear phishing is targeting a particular company.
[1:11:29] Vaal is basically targeting a management of the company.
[1:11:33] So one common technique which can defend all this attack is
[1:11:35] security awareness session. Because there is no solution in
[1:11:38] this world can prevent this. Only we can able to prevent this
[1:11:42] by changing the behaviour of the people make them aware about
[1:11:44] this activity. So the most effective control to
[1:11:47] prevent this is introducing a security awareness session.
[1:11:49] That's the most effective technique we have.
[1:11:52] OK, so pause when message push emotions plus urgency.
[1:11:55] That combination is the attack level.
[1:11:57] OK, let me give an example. OK, so bait has been prepared.
[1:12:00] It mean the trap has been created.
[1:12:02] Hey, your password expired today.
[1:12:03] Verify now. So you click on the link and you
[1:12:06] type a password in attack receive that.
[1:12:08] That's what we have. So here how how we need to
[1:12:11] figure out here. So red flags are urgent.
[1:12:13] Look like a sender domain link different however or dear user
[1:12:18] defence is MFA block check the message header, e-mail
[1:12:22] filtering, awareness training these are the techniques we can
[1:12:24] use. So spot the red flags and never
[1:12:28] enter credential from e-mail links and report it fast.
[1:12:31] Next is called as a different type of malware.
[1:12:33] Malware is basically something a malicious software which infect
[1:12:36] your system for a specific reasons and we have a different
[1:12:39] family of that. So first is called virus which
[1:12:42] attached to the file itself and then getting into system.
[1:12:45] But to infect from one system to other system it need a human
[1:12:48] interference. Example like we have a system A,
[1:12:53] we have a system B. Now I plug the pen drive in the
[1:12:56] system A which is infected with the virus already.
[1:12:58] So when I remove the pen drive and I plug the pen drive in the
[1:13:01] system B, automatically virus will be copy.
[1:13:03] So virus required human interference to replicate from
[1:13:05] one system to other system. Second is called worm.
[1:13:08] Worm doesn't require human replication.
[1:13:10] It can move from one network to another network, 1 system to the
[1:13:13] system over the network easily. 3rd is called Trojan.
[1:13:16] See Trojan doesn't slow down the system.
[1:13:18] Trojan was introduced to gain access to the system.
[1:13:20] How so? I said hey there is one software
[1:13:23] you can install. It will improve your
[1:13:25] performance. It will improve the performance
[1:13:27] of your laptop. So you install that particular
[1:13:29] app. Now what happened?
[1:13:30] It open one port and through that port you gain access
[1:13:33] system. So purpose of Trojan is to take
[1:13:36] control of a system just like a VNC software.
[1:13:39] So in that consent is there OK install the VNC.
[1:13:41] I will take a remote of your laptop and do the
[1:13:42] troubleshooting. But in this case we don't give
[1:13:44] them that information. So without the consent gaining
[1:13:47] access to system and last is called spyware.
[1:13:50] It is basically their purpose is once you install whatever you
[1:13:54] type, whatever is peak Cam, everything get record.
[1:13:57] So classify malware by how it spread, what it does.
[1:14:00] And according to that you need to plan all the controls.
[1:14:03] That's a very important part we have.
[1:14:07] Is it clear now? We have a case study here, OK.
[1:14:11] Now at 9:10 finance receive urgent overdue invoice e-mail
[1:14:15] with the invoice 0923 OK An employee open it and hidden
[1:14:19] script basically run unusual login to the file server with an
[1:14:23] admin account and a large file upload and all that has been
[1:14:25] done OK. So here what happened is it's
[1:14:28] like a example of phishing. So your task is to name and
[1:14:31] every attack tab you can see in the timeline.
[1:14:34] OK, Second task for each step, pick one control that would
[1:14:37] broken. And 3rd, what are your first
[1:14:40] response action at 11:30? OK, so I want you to answer in
[1:14:46] the command because if you're watching the video till this, I
[1:14:49] want you to comment. OK, So for task one, it's look
[1:14:51] like a phishing with malicious attachment and all that.
[1:14:54] For task two, I will first first.
[1:14:56] So what I'm going to do is I will remove the network cable,
[1:14:59] OK? I will check the e-mail
[1:15:01] filterings MFA need to be enabled and all that.
[1:15:03] And what are you first thing I will report this incident to
[1:15:06] certain or respective management and all that.
[1:15:08] And according to that, I will plan Mac, this is my suggestion.
[1:15:10] OK, what you going to do? Let me know in the comment box.
[1:15:13] OK, so real instant change several attack type.
[1:15:16] So we have to understand each one and pick according to that.
[1:15:20] Now when we're trying to access any system as I said we have
[1:15:23] identification, authentication, authorization.
[1:15:24] So identification mean who are you?
[1:15:26] Hey, my name is Prabh and I'm travelling from Delhi to I went
[1:15:30] to airport and said my name is Prabh.
[1:15:31] They will check my name in the passenger list.
[1:15:33] That is called identity. Same like when you open Gmail,
[1:15:36] the first thing they are the e-mail address because they need
[1:15:38] to verify that whether this e-mail is valid or not.
[1:15:40] So that is called identification.
[1:15:43] Second is called as a authentication where you enter
[1:15:45] the password to prove I'm the same person who claimed to be
[1:15:50] based on that you get a particular seat that is called
[1:15:52] authorization which include the access control but make sure you
[1:15:55] are doing the right activity. We need to track that.
[1:15:57] So we have a called as a accounting.
[1:16:00] So authentication prove who you are, authorization decide what
[1:16:02] you can do and they are not a same.
[1:16:05] Now when it comes to the authentication, we have a three
[1:16:07] type of authentication, something you know, something
[1:16:09] you have and something you are something you know is what you
[1:16:11] remember. That's why you are able to enter
[1:16:14] something you have like you have some device in which it deliver
[1:16:17] like example OTP, RSA tokens and all that.
[1:16:20] Because just entering a password there is a possibility anyone
[1:16:22] can attempt even he has a password, still he cannot able
[1:16:25] to login because the second factor is already enabled.
[1:16:27] So it has to be sent to OTP on a particular phone number.
[1:16:31] And 3rd your presence is required which has got something
[1:16:33] you are fingerprint and all that.
[1:16:35] So in data center people prefer something you are because we
[1:16:38] need to make sure he should be physically present there.
[1:16:40] So let's say example you have ID card, based on ID card you
[1:16:43] access the data center. So someone can say tomorrow
[1:16:45] someone has took my ID card and login to the data center.
[1:16:48] So ID card is something you have.
[1:16:50] So that's why in data center what I need, I want the physical
[1:16:53] presence. That's why something you are.
[1:16:56] We basically enable there where the biometric is involved for
[1:16:59] the authentication. So Priya password approved phone
[1:17:02] prompt access granted attacker stolen password, no access to
[1:17:05] private and block and alert rays because of the MFA has been
[1:17:08] enabled. So combine factor from different
[1:17:11] category is basically a most effective control we have.
[1:17:15] Now next is basically called lease privilege.
[1:17:18] Necessary right has been assigned to the user to perform
[1:17:20] the duty that is called lease privilege.
[1:17:22] If I give A1 user a complete privilege then what happen if
[1:17:26] hacker basically hack he can do a great stuff there.
[1:17:29] So in worst case if Priya account is compromise also the
[1:17:32] impact is limited. So we give a necessary right to
[1:17:35] the user to perform the duty. We never give complete privilege
[1:17:38] and it's a very common principle in the organization.
[1:17:43] Is it clear? It's a very common principle in
[1:17:45] the organization. Now next is basically called our
[1:17:50] security operations. OK, so best analogy is airport
[1:17:55] control tower. So 100 of flights, constant data
[1:17:58] on a screen, trained controllers following a clear procedures and
[1:18:02] authority to act fast when something look wrong.
[1:18:04] Now in this case, we have an endpoint firewall cloud which
[1:18:07] generate an incident, OK. Now what is SIM?
[1:18:09] See what happened initially we so this is a firewall.
[1:18:15] OK, we have a switch here. We have a system A, we have a
[1:18:22] system B, we have a system C and we have a log server.
[1:18:29] Now just imagine there's no log server.
[1:18:30] OK, so there is a IP1 dot 1.1 bypass the firewall went to ABCD
[1:18:34] system. So manually I need to
[1:18:36] investigate the firewall logs, then A then B&C which is the
[1:18:39] time consuming activity. And 2nd is the device like
[1:18:42] firewall and all that. It has a very limited storage.
[1:18:45] So what I need, whatever that would happen, it's go to log
[1:18:47] server. So we have now centralized
[1:18:49] server where can keep all the logs.
[1:18:51] So tomorrow if I want to investigate from one single
[1:18:53] point, I can investigate and to end entire logs.
[1:18:56] But problem is that manually we need to convert because A is a
[1:18:59] Windows, B is a Linux, C is a Mac, manually we need to convert
[1:19:03] this log. So that's a challenge.
[1:19:04] So to overcome that log management plus automation plus
[1:19:09] data analytics we introduce one feature called Siem security,
[1:19:12] incident event management, security information even
[1:19:15] management. OK so now 1.1 IP file will
[1:19:18] record that it go to log SIM ABC go to SIM.
[1:19:22] So first thing SIM does they convert the logs into common
[1:19:25] format which is called normalization.
[1:19:28] Then we correlate and we can able to respond to the incident.
[1:19:31] So today the fastest we can respond to any incident we can
[1:19:34] do with the help of SIM. Now SIM has record the
[1:19:36] information. Let's take example, it will go
[1:19:40] to for Tier 1, so tier one do the analyst, so he will check
[1:19:44] whether it's real or fake. Then we have a Tier 2 which
[1:19:48] investigate, confirm the incident in depth.
[1:19:50] And tier 3 is a senior analyst who handle the complex cases,
[1:19:53] probably hunt for threads that did not trigger the alert.
[1:19:56] The final step is basically response based on which we
[1:19:59] contain the threads and all that.
[1:20:01] So now people has to be trained on analysis.
[1:20:03] That's a very important part. We should have a playbook and
[1:20:06] technologies. We have to use the same EDR and
[1:20:08] all that. So SAW can turn the raw data
[1:20:10] into decision, collect the triage, investigate and all
[1:20:12] that. It is very important part.
[1:20:15] Now logs are basically a story. Logs are the very important step
[1:20:19] which is required in the organizations.
[1:20:21] So when something goes wrong, the first question is what is
[1:20:23] happened. Think of us building OK, so CCTV
[1:20:26] footage which combined with visitor register at reception.
[1:20:28] So after incident you replay both so who came in at what time
[1:20:32] through which store and look at the log panel.
[1:20:34] Right now there is a simplified frictional sample of aspirant's
[1:20:37] e-mail system. Each line has the same field
[1:20:39] time stamp, the event type result, the user and source IP
[1:20:42] address now read it at top to the bottom.
[1:20:45] So we have a four fail attempts. Can you see that four fail
[1:20:49] attempts then we have a success. So and second thing is that if
[1:20:55] you can see it's talk about Meera.
[1:20:57] So Meera account are from one unfamiliar IP address within a
[1:21:01] second, then successful login from a same address, then new
[1:21:04] mailbox rule that forward message to the outside address.
[1:21:06] So individually the failed login mean nothing.
[1:21:09] People type mistype passwords constantly, but together failure
[1:21:12] followed by the success from new location, then forward rule from
[1:21:15] classic account. It's a perfect example of
[1:21:17] modification. So what analysis see here is
[1:21:20] failure source IP, new forwarding rule correlation.
[1:21:23] So that's something we need to understand.
[1:21:26] Is it clear? That's something we need to
[1:21:28] understand. So to handle this, we have a
[1:21:30] instant response process when when incident hit, the worst
[1:21:33] enemy is panic. So people unplug the random
[1:21:36] machine, deleting evidence and all that.
[1:21:37] The first step is preparation. We prepare the policy plan and
[1:21:42] all that. Second is we detect the
[1:21:43] incident, isolate a system, so then we can do the analysis
[1:21:48] whether it is true or not. Then we isolate a system, then
[1:21:52] we remove the virus from the system, Then we restore the
[1:21:55] system back to the production and then we have a lesson
[1:21:57] learned. It's a very important process
[1:22:01] which we basically follow for everything.
[1:22:03] Team Clear. Now we have a walkthrough of the
[1:22:07] compromise account. OK, so at 214 Mira mailbox sign
[1:22:12] in 220 create a hidden rule and 2:26 we have.
[1:22:15] So now we detect by the SIM, disable the account by contain,
[1:22:19] reset the password, eradicate and call the team and restore
[1:22:22] the systems That is part of a recovery.
[1:22:25] It's very important to have a confirm stage there to make sure
[1:22:28] this should not be happen again. We need to have a one process in
[1:22:31] the organization called vulnerability management
[1:22:32] process. Their goal is to identify the
[1:22:35] vulnerability, but to exploit the vulnerability.
[1:22:37] We have a PT, so it's very important.
[1:22:40] The company should have a VMS process, vulnerability
[1:22:42] management process in which we first identify, then we
[1:22:47] prioritize, then we remedy it, then we verify and we create
[1:22:50] such kind of a gates, which is basically very important for us
[1:22:53] to understand. Make sure every company conduct
[1:22:58] Virginia, but not every company conduct the PT OT airports they
[1:23:02] don't do regular PT because PT explored the system and there's
[1:23:04] a possibility of the downtime. Is it clear that is why for that
[1:23:09] we create a process called GRC governance risk management.
[1:23:11] So we first, so let's say example, think of a city
[1:23:14] traffic. So governance write the traffic
[1:23:16] rules and decide who enforce them.
[1:23:18] Risk manual look at which junctions are more dangerous and
[1:23:20] put the signal 1st and compliance is a policy check
[1:23:22] that confirm every drivers are actually following a rule.
[1:23:25] So governance said the directions policy roles,
[1:23:28] accountability, such as information security policy
[1:23:31] approved by leaderships. You know, risk management,
[1:23:33] identify s s, treat the risk and document the risk and compliance
[1:23:37] actually prove you meet the law contract and everything.
[1:23:40] So it's very important we have a different type of risk
[1:23:42] treatment. Mitigate, transfer, avoid and
[1:23:44] excel Mitigate mean you implement the control transfer
[1:23:46] is you're taking insurance. Next is basically called avoid
[1:23:51] where you discontinuing the opportunity that bring risk to
[1:23:53] the organization or 4th is accept like you accept the risk
[1:23:56] with the following things and all that because you believe the
[1:23:58] impact is less and we follow some kind of a regulations in my
[1:24:02] next videos. OK, So what is the best practice
[1:24:06] update the device use unique password passphrase MFA backup
[1:24:10] photos, public Wi-Fi on organizational level, make sure
[1:24:12] you should have a asset inventory that's a very
[1:24:14] important practice patch to define the deadlines.
[1:24:17] That's a very important part and least privilege MFA should be
[1:24:24] enable and blame free incident reporting should be there.
[1:24:27] So this is all from my side to let me know how do you find this
[1:24:29] video in a comment box and shall I make more videos like that on
[1:24:33] AI Security Foundation? And if you new to the channel to
[1:24:35] subscribe channel and click on the bell icon to make sure you
[1:24:38] should not miss the future videos on a similar topic.
[1:24:40] Good day, 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.
