Latest / CyberCode Academy / Course 29 - AZ-500 Microsoft Azure Security Technologies | Episode 13: Storage, SQL Databases, and HDInsight
Transcript
- 0:00Speaker 1: So imagine for a second that you've just finished building
- 0:02Speaker 1: this massive, state of the art digital vault for your company.
- 0:06Speaker 2: Oh right, like top of the line security exactly.
- 0:08Speaker 1: I mean inside this vault, you are storing your organization's
- 0:11Speaker 1: most sensitive data. We're talking scanned personal documents, massive database backups,
- 0:17Speaker 1: proprietary code, basically the lifeblood of the entire business.
- 0:21Speaker 2: Right the stuff you absolutely cannot lose.
- 0:23Speaker 1: Yeah, and it's constricted with these impenetrable steel walls. But
- 0:28Speaker 1: there's a catch.
- 0:29Speaker 2: There's always a catch.
- 0:30Speaker 1: The front door to this incredibly secure vault is technically
- 0:33Speaker 1: facing a busy public street, just completely exposed to the
- 0:36Speaker 1: elements and literally anyone walking.
- 0:38Speaker 2: By, which is frankly a terrifying thought for any security professional.
- 0:43Speaker 2: But surprisingly that is the default reality for a staggering
- 0:47Speaker 2: amount of cloud data if the architects aren't paying really
- 0:51Speaker 2: close attention.
- 0:52Speaker 1: And that right there is our mission for today's deep dive.
- 0:55Speaker 1: We are taking a conceptual, step by step walk through
- 0:57Speaker 1: of cloud security, specifically focusing on how to lock down
- 1:01Speaker 1: Microsoft Azure data environments.
- 1:04Speaker 2: Yeah, we're going to build what's called a defense in depth.
- 1:06Speaker 1: Strategy right from the ground up, moving layer by layer
- 1:09Speaker 1: through this digital fortress. We'll examine the exact mechanisms that
- 1:13Speaker 1: keep attackers out and maybe equally importantly, the misconfigurations that
- 1:19Speaker 1: just invite them right in.
- 1:20Speaker 2: Because defense in depth, that's really the foundational philosophy here.
- 1:24Speaker 2: You never ever rely on a single point of failure.
- 1:28Speaker 2: You build overlapping independent layers of security. So if one fails, exactly,
- 1:33Speaker 2: if an attacker manages to bypass one control, say I
- 1:36Speaker 2: don't really steal password, they immediately hit a brick wall
- 1:40Speaker 2: at the next control, like a network restriction.
- 1:42Speaker 1: Makes total sense. But before we start building those walls,
- 1:45Speaker 1: let's give you a quick mental map of what we're
- 1:47Speaker 1: actually protecting inside this vault. In Azure, there are basically
- 1:51Speaker 1: four main types of storage.
- 1:53Speaker 2: Right.
- 1:53Speaker 1: You got blobs, Yeah, blobs, which is object storage for
- 1:56Speaker 1: unstructured data like images or backups. Then you have five
- 2:00Speaker 1: which act kind of like your traditional network.
- 2:02Speaker 2: Drives, and then queues and tables.
- 2:04Speaker 1: Right, queues hold millions of messages passing between applications, and
- 2:09Speaker 1: table store unstructured no SQL data. All four of these
- 2:13Speaker 1: hold highly sensitive information.
- 2:16Speaker 2: And simply throwing a password on them is just not enough. Yeah,
- 2:19Speaker 2: because well, if that single password fails, the data is.
- 2:22Speaker 1: Just gone, which brings us to the first necessary layer
- 2:26Speaker 1: of our defense, right, yeah, the network perimeter.
- 2:29Speaker 2: Yes, before we even worry about who holds the keys
- 2:32Speaker 2: to the data, we really have to secure the roads
- 2:35Speaker 2: leading up to the building itself.
- 2:36Speaker 1: Okay, so how does that work in Azure?
- 2:38Speaker 2: Well, Azure storage is a platform as a service or
- 2:41Speaker 2: pass and by default it's fully qualified domain name. You know,
- 2:46Speaker 2: the web address you actually use to reach that storage.
- 2:48Speaker 2: It resolves to an Internet routable IP address.
- 2:51Speaker 1: Wait, I have to push back on that for a second.
- 2:52Speaker 1: Qu sure, why on earth would the default setting allow
- 2:55Speaker 1: an attacker to potentially connect directly to my company's storage
- 2:58Speaker 1: over the public Internet just by I like hitting a URL.
- 3:02Speaker 1: I mean, if security is paramount, why not default to
- 3:04Speaker 1: complete lockdown.
- 3:05Speaker 2: It's a great question. It really comes down to friction.
- 3:08Speaker 2: Cloud providers want to prioritize ease of use, right and
- 3:12Speaker 2: immediate accessibility for developers, so.
- 3:14Speaker 1: They wanted to just work out of the box exactly.
- 3:17Speaker 2: If a developer writes a script on their local laptop
- 3:19Speaker 2: to test a new app, they want that script to
- 3:22Speaker 2: instantly connect the cloud storage without having to configure like
- 3:26Speaker 2: complex networking rules first.
- 3:28Speaker 1: Okay, but you're trading security for convenience big time.
- 3:32Speaker 2: You're absolutely right to be alarmed by that. This architecture
- 3:35Speaker 2: carries a massive risk. If a container is accidentally misconfigured
- 3:39Speaker 2: as public, literally anyone can access it anonymously, just wide open,
- 3:44Speaker 2: wide open, and even if it requires a password, an
- 3:47Speaker 2: attacker can launch a brute force attack from literally anywhere
- 3:50Speaker 2: on Earth. There is zero defense in depth in that
- 3:53Speaker 2: default state.
- 3:54Speaker 1: So we need to take that front door off the
- 3:56Speaker 1: public street entirely. How does the architecture actually handle that.
- 4:00Speaker 2: We implement Azure storage firewalls and virtual networks. When you
- 4:03Speaker 2: enable this, you change the posture of the storage count
- 4:05Speaker 2: from allow all to a really strict default deny. Oh yeah,
- 4:09Speaker 2: it instantly blocks all incoming connections from the outside world.
- 4:13Speaker 2: And then from there you systematically punch highly specific, tightly
- 4:19Speaker 2: controlled holes in that firewall.
- 4:21Speaker 1: So you can figure the system to assume everyone is
- 4:24Speaker 1: a threat.
- 4:24Speaker 2: First, precisely for internal traffic. You can figure the firewall
- 4:29Speaker 2: so that only a specific subnet within your Azure virtual
- 4:33Speaker 2: network is allowed to connect, and you do this using
- 4:35Speaker 2: a mechanism called a service endpoint.
- 4:37Speaker 1: Okay, wait, what does the service endpoint actually do under
- 4:40Speaker 1: the hood. Is it just like checking the IP address?
- 4:43Speaker 2: Oh no, it's much more robust than that. A service
- 4:46Speaker 2: endpoint actually optimizes the routing at the network layer itself.
- 4:50Speaker 1: Interesting.
- 4:50Speaker 2: Yeah, it forces the traffic from your virtual network to
- 4:53Speaker 2: stay entirely on the Microsoft as your backbone network, so
- 4:56Speaker 2: your sensitive data request never even touch the chaotic public interner.
- 5:00Speaker 1: Wow. Okay, the routing path fundamentally changes exactly.
- 5:03Speaker 2: And for external access. Say you have a database administrator
- 5:07Speaker 2: who absolutely needs to run a quarry from their laptop
- 5:09Speaker 2: at home, you can whitelist their specific authorized public IP
- 5:12Speaker 2: address right in the firewall.
- 5:14Speaker 1: Think about how this feels in practice for a second.
- 5:17Speaker 1: Imagine you have a proprietary image stored in a blob
- 5:20Speaker 1: and you copy its URL without the firewall enabled. You
- 5:24Speaker 1: paste that URL into your browser while sitting at a
- 5:26Speaker 1: coffee shop and the image just loads.
- 5:29Speaker 2: Yep, easy as that.
- 5:30Speaker 1: But the moment you flip that switch to enable the
- 5:32Speaker 1: storage firewall and your coffee shop's IP address isn't explicitly whitelisted.
- 5:38Speaker 2: You refresh the page and the browser instantly returns an
- 5:41Speaker 2: authorization failure. The resource cannot be.
- 5:44Speaker 1: Reached, which perfectly illustrates the absolute power of perimeter security.
- 5:49Speaker 1: Even if a hacker uses some sophisticated fishing scam to
- 5:52Speaker 1: steal a valid administrative password.
- 5:55Speaker 2: If they are sitting on an unapproved network, they cannot
- 5:57Speaker 2: get in. The network infrastructure itself drops their connection before
- 6:01Speaker 2: they can even present that stolen password.
- 6:03Speaker 1: That is so cool. Okay, so the roads to the
- 6:05Speaker 1: building are secure, but once someone is legitimately on that network,
- 6:10Speaker 1: how do we control exactly what they are allowed to touch?
- 6:13Speaker 2: And that brings us to layer two, the front door.
- 6:16Speaker 2: This requires granular access control, and it starts with the
- 6:19Speaker 2: containers themselves. For blob storage, there are three main permission levels.
- 6:23Speaker 1: Okay, what are they?
- 6:24Speaker 2: First is private That means absolutely no anonymous access and
- 6:28Speaker 2: thankfully this is the default for new containers today.
- 6:31Speaker 1: Okay, that's good.
- 6:32Speaker 2: Then you have blob level, which allows anonymous red access,
- 6:35Speaker 2: but strictly for the individual objects, like if you have
- 6:38Speaker 2: the exact link to an image, you can see it,
- 6:41Speaker 2: but you cannot request a directory listing to see what
- 6:43Speaker 2: else is in that folder?
- 6:45Speaker 1: Got it?
- 6:45Speaker 2: And the third, finally container level. This allows anonymous red
- 6:49Speaker 2: access for the objects and provides a full directory listing
- 6:53Speaker 2: of everything inside.
- 6:55Speaker 1: But honestly, those anonymous settings pale in comparison to the
- 6:59Speaker 1: master keys. When you create a storage account in Azure,
- 7:02Speaker 1: the system automatically generates two.
- 7:05Speaker 2: Access keys, Yeah, the master keys.
- 7:07Speaker 1: These grant full, completely unrestricted read and write access to
- 7:10Speaker 1: the entire storage account. Think of these master access keys
- 7:14Speaker 1: like the ultimate master skeleton key for a massive hotel.
- 7:17Speaker 2: That's a great analogy, right.
- 7:19Speaker 1: If a developer accidentally hard codes this key into their
- 7:22Speaker 1: application and then pushes that code to a public repository,
- 7:26Speaker 1: an attacker finds that key and they now own the
- 7:28Speaker 1: whole building. They can steal, modify, or delete everything. It's
- 7:33Speaker 1: game over totally. But why does the system generate two
- 7:36Speaker 1: keys instead of just one.
- 7:38Speaker 2: It provides a mechanism for key rotation without causing system downtime.
- 7:43Speaker 2: If you suspect a key is compromised, or you know
- 7:45Speaker 2: you're simply following standard security hygiene by rotating credentials every
- 7:49Speaker 2: ninety days, you have to change it.
- 7:51Speaker 1: And if you only had one.
- 7:52Speaker 2: Key, regenerating it would instantly break every single production application
- 7:56Speaker 2: currently relying on it. Because you have two, you can
- 7:59Speaker 2: update your apps to use key two. Once you verify
- 8:02Speaker 2: all traffic is migrated, you safely regenerate key one.
- 8:05Speaker 1: Still handing out a master skeleton key to dozens of
- 8:08Speaker 1: applications just feels incredibly dangerous. Even with rotation. We really
- 8:12Speaker 1: need a way to hand out a temporary.
- 8:13Speaker 2: Pass instead, and that introduces shared access signatures or SaaS tokens.
- 8:18Speaker 2: A SaaS token is a restricted URI that delegates specific
- 8:21Speaker 2: access rights to your storage resources for a tightly defined
- 8:24Speaker 2: window of time.
- 8:25Speaker 1: So instead of the skeleton key, it's a single use
- 8:27Speaker 1: key card programmed to only open room three h two
- 8:31Speaker 1: and only between two pm and four pm.
- 8:33Speaker 2: Perfect way to picture it.
- 8:34Speaker 1: When you actually look at a SaaS token, it's this
- 8:37Speaker 1: massively long string of characters attached to the end of
- 8:41Speaker 1: a URL. But it's essentially a mathematical contract, right, yes, exactly.
- 8:44Speaker 1: You declare the rules like this token is for reading only,
- 8:48Speaker 1: or this token expires in exactly one hour, this token
- 8:51Speaker 1: must be used over HTTPS, and this token is only
- 8:55Speaker 1: valid for this specific blob container.
- 8:57Speaker 2: Yeah, and the mechanism that actually secures all those rules
- 9:00Speaker 2: is the signature hash at the very end of that string.
- 9:02Speaker 1: How does that work?
- 9:03Speaker 2: Azure takes all those parameters you just listed, concatenates them,
- 9:07Speaker 2: and runs them through a one way cryptographic function called
- 9:10Speaker 2: an hmac SAHA two five six using your master access
- 9:14Speaker 2: key as a secret. The resulting signature is appended to
- 9:17Speaker 2: the URL.
- 9:18Speaker 1: Okay, so if a malicious user receives a read only
- 9:20Speaker 1: token and they try to like manually edit the text
- 9:22Speaker 1: in the URL string to say write or delete so
- 9:24Speaker 1: they can manipulate the data.
- 9:26Speaker 2: The moment that modified request hits Azure, the server recalculates
- 9:30Speaker 2: the mathematical hash based on that new delete parameter, and
- 9:33Speaker 2: it won't match exactly because the parameters changed. The new
- 9:37Speaker 2: hash will not match the signature hash provided in the URL.
- 9:41Speaker 2: Azure instantly knows the token has been tampered with and
- 9:44Speaker 2: just rejects the request.
- 9:46Speaker 1: That cryptographic math is so elegant. But wait, if the
- 9:49Speaker 1: system is just checking the mathematical validity of the signature
- 9:53Speaker 1: hash when a request arrives, that means it isn't like
- 9:56Speaker 1: phoning home to check a centralized database of active toe.
- 10:00Speaker 2: And you just hit on the glaring architectural flaw of
- 10:03Speaker 2: SaaS tokens because they are decentralized and validated mathematically on
- 10:07Speaker 2: the fly. There's no easily accessible master list of all
- 10:12Speaker 2: the SaaS tokens currently circulated within your organization.
- 10:14Speaker 1: And if you can't see them, you can't selectively kill them.
- 10:17Speaker 1: If I accidentally issue a token that is valid for
- 10:19Speaker 1: ten years instead of ten minutes, I can't just press
- 10:21Speaker 1: a button to revoke that one specific token exactly.
- 10:25Speaker 2: The only way to invalidate a robe SaaS token is
- 10:28Speaker 2: to regenerate the master access key that was used to
- 10:30Speaker 2: sign it, which, as we established earlier, could break other
- 10:34Speaker 2: legitimate applications.
- 10:35Speaker 1: So how do we fix this management nightmare?
- 10:38Speaker 2: The industry gold standard now is to move away from
- 10:40Speaker 2: shared keys entirely and use Azure Active Directory, which is
- 10:44Speaker 2: now run as Microsoft entra id paired with Role based
- 10:47Speaker 2: Access control or RBAC.
- 10:50Speaker 1: How does that shift the mechanism?
- 10:52Speaker 2: Instead of passing around these cryptographic strings, you assigned specific,
- 10:56Speaker 2: heavily restricted roles to a specific user identity or a
- 11:00Speaker 2: managed application identity.
- 11:02Speaker 1: Like giving someone a specific job title.
- 11:04Speaker 2: Right, you might assign a server the role of storage
- 11:06Speaker 2: blob data reader. It provides centralized management, full auditing, and
- 11:10Speaker 2: most importantly, instant revocation.
- 11:12Speaker 1: Oh that's huge.
- 11:13Speaker 2: If an employee leaves the company or a server gets compromised,
- 11:16Speaker 2: you just disable their identity and then try d and
- 11:19Speaker 2: their access to the storage is immediately severed globally, and
- 11:22Speaker 2: for Azure files, you can even integrate this with active
- 11:25Speaker 2: directory domain services to use standard Carbero's authentication protocols. That
- 11:30Speaker 2: makes cloud file shares behave exactly like traditional on premises
- 11:33Speaker 2: network drives with all those associated security policies.
- 11:37Speaker 1: Okay, so our network is restricted by routing and our
- 11:40Speaker 1: front door access is tightly controlled and centralized via entra id.
- 11:44Speaker 1: But what if a highly motivated threat actor completely bypasses
- 11:48Speaker 1: the digital infrastructure.
- 11:49Speaker 2: You mean physical access?
- 11:50Speaker 1: Yeah? What if they physically compromise the server acts in
- 11:53Speaker 1: the data center or manage to intercept the raw data
- 11:57Speaker 1: as it travels across the physical fiber optic cables. That
- 12:00Speaker 1: brings us to layer three, the vault, which governs encryption.
- 12:04Speaker 2: Right, so data in transit is protected by Transport Layer
- 12:07Speaker 2: security or TLS. Azure storage requires secure transfer by default,
- 12:13Speaker 2: ensuring that as data moves between the client app and
- 12:15Speaker 2: the cloud servers, the packets are wrapped in cryptographic protection.
- 12:18Speaker 1: Is there ever an architectural reason to disable that requirement
- 12:21Speaker 1: and allow unencrypted HTTP traffic? It seems like a massive
- 12:24Speaker 1: vulnerability to introduce willingly.
- 12:26Speaker 2: It is extremely rare today, But there are edge cases
- 12:30Speaker 2: like what like if your storage account is purely being
- 12:33Speaker 2: used to host public facing, completely nonsensitive, static website assets,
- 12:38Speaker 2: and you have legacy client devices that literally cannot support
- 12:42Speaker 2: modern TLS handshakes, then you might allow basic HTTP.
- 12:46Speaker 1: Okay, so only for very specific public.
- 12:48Speaker 2: Things exactly, But for any environment storing actual organizational data,
- 12:54Speaker 2: enforcing HTTPS is a non negotiable requirement.
- 12:57Speaker 1: Makes sense? And what about when the data is just
- 12:59Speaker 1: sitting dormant on the physical hard drives in the data center.
- 13:02Speaker 2: By default, Azure encrypts all data at rest using a
- 13:05Speaker 2: Microsoft managed key. The storage service uses two hundred and
- 13:09Speaker 2: fifty six bit as encryption to automatically scramble the data
- 13:12Speaker 2: as it is written to the physical discs, and it
- 13:14Speaker 2: seamlessly decrypts it when an authorized user requests it.
- 13:16Speaker 1: So Microsoft is handling the heavy lifting there.
- 13:19Speaker 2: Yep. Microsoft handles the key generation, the secure storage, the
- 13:22Speaker 2: regular rotation, and the backups completely behind the scenes.
- 13:25Speaker 1: Okay, but if Microsoft is already handling the encryption seamlessly
- 13:29Speaker 1: and securely, aren't we just introducing a massive human error
- 13:33Speaker 1: risk if a company demands to hold the encryption keys themselves.
- 13:37Speaker 1: Why would anyone take on that burden.
- 13:39Speaker 2: It usually comes down to strict regulatory compliance rather than
- 13:43Speaker 2: pure technical superiority.
- 13:45Speaker 1: Right compliance.
- 13:46Speaker 2: Yeah, organizations operating under stringent frameworks, like defense contractors or
- 13:51Speaker 2: highly regulated financial institutions, they must legally prove that no
- 13:56Speaker 2: third party, not even Microsoft, has the theoretical ability to
- 14:00Speaker 2: access their unencrypted data I see. To achieve this, they
- 14:03Speaker 2: use customer managed keys. They generate their own massive RSA
- 14:07Speaker 2: key and store it in an isolated, highly secure hardware
- 14:10Speaker 2: security module in the cloud called Azure key vault.
- 14:13Speaker 1: So you basically can figure the storage account to say,
- 14:16Speaker 1: encrypt my data before writing it to disk, but use
- 14:18Speaker 1: this specific key located in my key vault to do
- 14:21Speaker 1: the map correct.
- 14:22Speaker 2: But your concern about human error is incredibly valid. If
- 14:25Speaker 2: you manage your own keys, you bear the ultimate responsibility
- 14:28Speaker 2: for data.
- 14:29Speaker 1: Survival, because if you lose the key.
- 14:30Speaker 2: If an administrator accidentally or maliciously deletes that key vault,
- 14:35Speaker 2: the storage account can no longer decrypt the data on
- 14:37Speaker 2: the discs. It becomes cryptographically shredded. Ya gone forever, even
- 14:42Speaker 2: though the physical hard drives are perfectly fine.
- 14:43Speaker 1: That is a terrifying amount of power to hand to
- 14:46Speaker 1: an IT administrator.
- 14:47Speaker 2: Which is exactly why you must implement safeguards on the
- 14:50Speaker 2: key vault itself, specifically mechanisms called soft delete and purge protection.
- 14:56Speaker 1: One of those do.
- 14:57Speaker 2: These features ensure that even if a deletion command is executed,
- 15:00Speaker 2: the key is retained in a hidden, recoverable state for
- 15:04Speaker 2: a mandatory retention period, usually ninety days. It prevents an
- 15:08Speaker 2: insider threat from instantly permanently destroying the company's data access.
- 15:12Speaker 1: Okay, that's a relief. So we have complex locks on
- 15:15Speaker 1: the doors and the data itself is scrambled. But a
- 15:17Speaker 1: robust physical security system doesn't just rely on strong locks.
- 15:21Speaker 1: It requires cameras to watch for suspicious behavior and record
- 15:25Speaker 1: a ledger of who came and went absolutely, which is
- 15:28Speaker 1: layer four auditing and threat protection.
- 15:30Speaker 2: Right. You need an immutable record of every access request.
- 15:34Speaker 2: In Azure, you enable diagnostics logging. It captures exactly who
- 15:39Speaker 2: requested what data, when they requested it, from what IP address,
- 15:43Speaker 2: and whether the request was successful or denied.
- 15:46Speaker 1: But there is a massive architectural flaw in how many
- 15:49Speaker 1: organizations initially deploy this logging.
- 15:53Speaker 2: Oh yeah, this common one.
- 15:54Speaker 1: By default, these logs are often stored in a hidden
- 15:57Speaker 1: container named logs And where does that can live? It
- 16:01Speaker 1: lives inside the exact same storage account that is being monitored.
- 16:04Speaker 2: Yes, which creates a critical vulnerability.
- 16:07Speaker 1: If the logs are stored in a hidden container inside
- 16:09Speaker 1: the monitored storage account, you are essentially installing a state
- 16:13Speaker 1: of the art security camera system in your bank vault,
- 16:16Speaker 1: but placing the recording equipment inside the vault right next
- 16:19Speaker 1: to the cash.
- 16:20Speaker 2: Right.
- 16:20Speaker 1: If an attacker manages to compromise the vault credentials, the
- 16:24Speaker 1: very first thing they will do is delete the logs
- 16:26Speaker 1: container to wipe the tapes and cover their tracks.
- 16:29Speaker 2: It completely defeats the purpose of an audit trail. An
- 16:32Speaker 2: audit trail must be isolated from the system it is monitoring.
- 16:35Speaker 1: So what's the fix.
- 16:36Speaker 2: The architectural fix is to decouple the logging mechanism entirely.
- 16:41Speaker 2: Best practice dictates that you stream these logs in your
- 16:44Speaker 2: real time out of the storage account and route them
- 16:47Speaker 2: to a separate, highly secured security information and event management
- 16:52Speaker 2: system a c or an azure log analytics workspace, governed
- 16:56Speaker 2: by completely different access credentials.
- 16:58Speaker 1: And we can actually expand and this active monitoring concept
- 17:02Speaker 1: beyond basic file storage just structured databases, right, az. Your
- 17:06Speaker 1: SQL features a suite of mechanisms under the umbrella of
- 17:09Speaker 1: advanced data security that act like highly intelligent, proactive security cameras.
- 17:15Speaker 2: It goes far beyond just recording queries. It actively analyzes
- 17:18Speaker 2: the environment. The suite relies on three specific mechanisms.
- 17:22Speaker 1: Okay, what's the first one?
- 17:23Speaker 2: The first is data discovery and classification. It continuously scans
- 17:26Speaker 2: your database schema, automatically identifying columns that likely contain sensitive
- 17:30Speaker 2: information like credit card numbers or personal data protected by privacy.
- 17:34Speaker 1: Laws, and then it labels them.
- 17:35Speaker 2: It physically labels those columns. Then it tags those specific
- 17:40Speaker 2: classifications directly into your audit logs, so your security team
- 17:44Speaker 2: knows exactly when highly sensitive data is being queried, not
- 17:48Speaker 2: just general database activity.
- 17:50Speaker 1: That's incredibly useful. What about the second mechanism?
- 17:52Speaker 2: The second is vulnerability assessment. This is proactive. It scans
- 17:56Speaker 2: the database infrastructure for misconfigurations. It will active flag dangerous setups,
- 18:01Speaker 2: warning administrators like, hey, you assign high level database roles
- 18:05Speaker 2: directly to an individual user account instead of using an
- 18:07Speaker 2: entra id group, or you have completely forgotten to enable
- 18:11Speaker 2: server level auditing. Okay, and the third mechanism is advanced
- 18:15Speaker 2: threat protection. This is the active alarm system. It utilizes
- 18:18Speaker 2: Microsoft's threat intelligence and machine learning algorithms to establish a
- 18:22Speaker 2: baseline of normal behavior for your specific database.
- 18:26Speaker 1: So if something weird happens, exactly if.
- 18:28Speaker 2: It detects a sudden deviation like a known SEQL injection
- 18:31Speaker 2: attack pattern, a barrage of brute force credential attempts, or
- 18:35Speaker 2: even a perfectly authorized user suddenly requesting an abnormally massive
- 18:39Speaker 2: volume of data from a freely unusual location, it immediately
- 18:43Speaker 2: fires off an alert to the security operations center.
- 18:46Speaker 1: Wow, we have covered incredible ground securing static files and
- 18:50Speaker 1: structured databases, but we must address layer five securing the big.
- 18:54Speaker 2: Stuff, the big data.
- 18:56Speaker 1: Yeah, how do these exact same defense and depth principles
- 18:59Speaker 1: apply when you are no longer dealing with a static database,
- 19:02Speaker 1: but rather a massive, chaotic fire hose of real time
- 19:06Speaker 1: big data.
- 19:07Speaker 2: Well in Azure, big data environments are usually managed by
- 19:10Speaker 2: a service called hd in in Sight, which basically orchestrates
- 19:13Speaker 2: these heavy hitting open source frameworks.
- 19:15Speaker 1: Let's contextualize this with a scenario for you listening, Imagine
- 19:18Speaker 1: an enterprise automotive company. They are analyzing streaming telemetry data
- 19:22Speaker 1: from millions of connected cars driving around the globe. We
- 19:26Speaker 1: are talking billions of daily events, GPS locations updated every second,
- 19:29Speaker 1: engine performance metrics, break sensor data. It is a massive,
- 19:33Speaker 1: relentless pipeline.
- 19:34Speaker 2: And to process that sheer volume an each d ind
- 19:38Speaker 2: sight cluster relies on a chaotic ecosystem of specialized tools
- 19:42Speaker 2: like what. You have a Patche hidoupe distributing the processing
- 19:45Speaker 2: across dozens of virtual machines. You have a Patche spark
- 19:48Speaker 2: performing lightning fast in memory parallel processing. You have a
- 19:52Speaker 2: patchi Kafka ingesting the massive streams of telemetry data. And finally,
- 19:57Speaker 2: apatche hive access the structured data ware house to allow
- 20:01Speaker 2: analysts to actually query all this information.
- 20:03Speaker 1: Okay, so you have dozens of virtual machines constantly spinning
- 20:07Speaker 1: up and down, processing data in memory, and passing petabytes
- 20:11Speaker 1: of information between different open source applications. How do you
- 20:14Speaker 1: possibly secure all those moving parts without wronging the whole
- 20:17Speaker 1: system to a grinding holt Do the layers we just
- 20:19Speaker 1: built still apply?
- 20:20Speaker 2: They absolutely do. The philosophy remains identical, the implementation just
- 20:24Speaker 2: scales out.
- 20:25Speaker 1: Okay, let's map them out.
- 20:26Speaker 2: Let's map those layers onto this chaotic environment. Layer one
- 20:30Speaker 2: the perimeter. You do not expose these virtual machines to
- 20:34Speaker 2: the Internet. The entire massive HD Insight cluster is deployed
- 20:38Speaker 2: completely inside an isolated Azure virtual network, governed by strict
- 20:42Speaker 2: network security groups that control exactly what traffic can enter
- 20:46Speaker 2: or leave the cluster subnet makes sense.
- 20:49Speaker 1: Layer two access in an environment this large, we certainly
- 20:52Speaker 1: don't want hundreds of data analysts sharing a generic database password.
- 20:55Speaker 2: Right, So HD Insight utilizes the Enterprise security package. This
- 20:59Speaker 2: mechanism sinks the open source cluster directly with Azure Active
- 21:02Speaker 2: directory domain services.
- 21:04Speaker 1: So they just use their normal log.
- 21:05Speaker 2: In Exactly when a data scientist logs in to run
- 21:08Speaker 2: a query on the connected car data, they use their
- 21:10Speaker 2: standard corporate identity and they are authenticated using secure temporary
- 21:14Speaker 2: Carbero's tokens. The cluster inherently knows exactly who is requesting
- 21:19Speaker 2: the data.
- 21:19Speaker 1: But here is where the big data complexity really hits.
- 21:22Speaker 1: Layer two. What about micro permissions? Ah? Yeah, like a
- 21:26Speaker 1: junior analyst might need to query the engine performance data
- 21:29Speaker 1: to look for widespread maintenance trends across the fleet, but
- 21:32Speaker 1: legally they are absolutely not allowed to see the exact
- 21:36Speaker 1: GPS coordinates of where the drivers live. How do you
- 21:39Speaker 1: restrict that without having to duplicate petabytes of data into
- 21:42Speaker 1: separate junior and senior databases.
- 21:45Speaker 2: That is where the architecture utilizes a tool called Apache Ranger.
- 21:49Speaker 2: Ranger sits within the cluster and acts as a centralized
- 21:51Speaker 2: authorization mechanism, allowing for insanely granular role based access control.
- 21:56Speaker 1: How granular are we talking?
- 21:58Speaker 2: Very An administrator can can figure a policy and ranger
- 22:01Speaker 2: that executes dynamic column level data masking directly within the
- 22:06Speaker 2: hive database.
- 22:06Speaker 1: Wait, how does dynamic masking actually function? During a query?
- 22:10Speaker 2: So when the junior analysts submit the query requesting all
- 22:12Speaker 2: data for a specific car model, Ranger intercepts the request,
- 22:16Speaker 2: It checks the user's identity via their Carbero's token, cross
- 22:19Speaker 2: references it with the policy, and realizes, oh, this user
- 22:23Speaker 2: likes GPS privileges and then what Before the database engine
- 22:26Speaker 2: returns the results to the analyst's screen, Ranger dynamically redacts
- 22:31Speaker 2: or completely obfuscates the GPS column in real time.
- 22:34Speaker 1: That's wild.
- 22:35Speaker 2: Yeah, the engine data comes back perfectly intact for their analysis,
- 22:38Speaker 2: but the sensitive location data is hidden on the fly
- 22:41Speaker 2: you maintain one single massive data set, but the system
- 22:45Speaker 2: dynamically filters the exposure based entirely on who was asking
- 22:49Speaker 2: It is.
- 22:49Speaker 1: A brilliant mechanism. And finally, layer four the auditing and compliance.
- 22:54Speaker 2: Because every single query is intercepted by Ranger, Ranger generates
- 22:57Speaker 2: an incredibly detailed audit log of excs Exactly who requested
- 23:01Speaker 2: what and whether they were granted or denied access based
- 23:04Speaker 2: on the masking policies.
- 23:05Speaker 1: And where do those logs go.
- 23:07Speaker 2: All those access logs plus the underlying infrastructure logs from
- 23:10Speaker 2: the virtual machines are streamed continuously to an external Azure
- 23:14Speaker 2: monitor workspace.
- 23:15Speaker 1: Which feeds into Security Right.
- 23:17Speaker 2: This feeds directly into Azure Security Center, allowing the enterprise
- 23:21Speaker 2: to continuously and mathematically prove to external auditors that they
- 23:25Speaker 2: are maintaining compliance with strict regulatory frameworks, whether that is
- 23:29Speaker 2: data privacy laws or information security management standards.
- 23:33Speaker 1: It's the exact same defense in depth architecture we built
- 23:37Speaker 1: for a simple file storage container, just scaled up and
- 23:40Speaker 1: orchestrated to handle billions of real time events across an
- 23:43Speaker 1: open source cluster. Exactly, we have built a formidable digital fortress.
- 23:47Speaker 1: Step by step we established strict routing via firewalls and
- 23:52Speaker 1: virtual networks at the perimeter. We deployed entr id and
- 23:55Speaker 1: scrutinize the mathematical risks of SaaS tokens to guard the doors.
- 23:58Speaker 2: We utilize key vault to manage our encryption keys ensharing.
- 24:02Speaker 2: We implemented softly to avoid cryptographic shredding YEP.
- 24:05Speaker 1: And we physically moved our recording VCR out of the
- 24:08Speaker 1: vault by streaming our logs to an external sign And finally,
- 24:12Speaker 1: we deployed sophisticated mechanisms like a patchy ranger to dynamically
- 24:15Speaker 1: mask data in our chaotic big data streams.
- 24:18Speaker 2: You know the specific tools and acronyms we explored today,
- 24:21Speaker 2: the specific checkboxes in the Azure portal, the names of
- 24:25Speaker 2: the open source frameworks. Those will inevitably evolve. The technology
- 24:30Speaker 2: change is constantly very true. But the core philosophy of
- 24:33Speaker 2: layered security, the assumption of breach and the requirement for
- 24:37Speaker 2: independent overlapping controls, that architectural mindset does not change.
- 24:42Speaker 1: Defense in depth is timeless, which brings me to a
- 24:45Speaker 1: final thought. A quick mental exercise for you to test
- 24:48Speaker 1: the concepts we've explored today.
- 24:49Speaker 2: I love this part.
- 24:50Speaker 1: If you were to log into your company's cloud portal
- 24:53Speaker 1: right now and provision a brand new data storage container,
- 24:57Speaker 1: what is the absolute first architectural layer of defense you
- 25:01Speaker 1: would check to ensure it isn't sitting wide open on
- 25:03Speaker 1: the public internet.
- 25:04Speaker 2: Think about the routing of your virtual.
- 25:06Speaker 1: Networks exactly, and think about those ease of use default
- 25:09Speaker 1: settings we discussed right at the beginning of our journey.
- 25:12Speaker 1: It is the single most critical step in establishing your
- 25:15Speaker 1: perimeter without a doubt. Thank you so much for joining
- 25:18Speaker 1: us on this deep dive into cloud security architecture. We
- 25:21Speaker 1: hope this step by step explamation empowers you to go
- 25:24Speaker 1: back and critically examine the mechanisms protecting your own digital fortresses.
- 25:28Speaker 1: Because your vault might have the thickest steel walls in
- 25:31Speaker 1: the world, but it simply doesn't matter if the front
- 25:33Speaker 1: door is wide open to the street. Keep questioning the
- 25:36Speaker 1: defaults and keep learning.