Latest / CyberCode Academy / Course 29 - AZ-500 Microsoft Azure Security Technologies | Episode 5: Azure Network Infrastructure and Security
Transcript
- 0:00Speaker 1: Imagine you are the lead architect for a brand new
- 0:04Speaker 1: globally available application.
- 0:06Speaker 2: Oh, that is a massive undertaking, right.
- 0:09Speaker 1: Your mission is to make it incredibly fast for users
- 0:11Speaker 1: around the world, completely imtenegible to attackers, and you know,
- 0:16Speaker 1: easily manageable for your remote engineering team.
- 0:18Speaker 2: Yeah, you're not just building a simple web app at
- 0:20Speaker 2: that point, you are really architecting a digital fortress that
- 0:24Speaker 2: also needs to function as this high speed global transit hub.
- 0:28Speaker 1: Okay, let's unpack this because if we build an amazing app,
- 0:31Speaker 1: but say leave the administrative backdoor wide open, or if
- 0:35Speaker 1: the whole thing just crashes the second we get a
- 0:37Speaker 1: massive traffic spike, we fundamentally fail completely.
- 0:40Speaker 2: The order of operations here is crucial. I mean, a
- 0:43Speaker 2: single misconfiguration at any one of those layers can compromise
- 0:47Speaker 2: the entire architecture.
- 0:48Speaker 1: So in this deep dive, we are going to mentally
- 0:51Speaker 1: build this secure global cloud infrastructure from the outside in
- 0:56Speaker 1: no screens, no diagrams, just you and us walking through
- 0:59Speaker 1: the logic. We'll figure out how to manage global web traffic,
- 1:03Speaker 1: lock down our internal networks, connect to physical corporate headquarters,
- 1:08Speaker 1: and safely sneak remote administrators into this.
- 1:10Speaker 2: System right, and to start building our fortress, we really
- 1:13Speaker 2: first need to look at the absolute edge of our network.
- 1:16Speaker 1: I'm talking about the exact point where the general public
- 1:19Speaker 1: first meets our application. Like, how do we handle users
- 1:22Speaker 1: levising in from London, Tokyo and New York all at
- 1:25Speaker 1: the exact same time without the system lagging.
- 1:27Speaker 2: Well, we establish a perimeter and in this architecture that
- 1:31Speaker 2: global Welcome MATT is Azure front Door. It acts as
- 1:34Speaker 2: an application delivery network. Now this operates specifically at layer
- 1:38Speaker 2: seven of the OSI.
- 1:39Speaker 1: Model Ler seven, So we're talking about the application layer,
- 1:41Speaker 1: the actual HTTPS web traffic right exactly, not just the
- 1:45Speaker 1: networking plumbing correct.
- 1:47Speaker 2: It is looking at the web requests themselves. And the
- 1:52Speaker 2: way front Door handles global traffic is by utilizing something
- 1:55Speaker 2: called the any cast protocol.
- 1:56Speaker 1: Any cast I've seen that term around. How does any
- 1:59Speaker 1: cast actually speed things up for the end user?
- 2:01Speaker 2: So it changes the fundamental routing geometry. Normally, if a
- 2:05Speaker 2: user in London wants to access a server physically located
- 2:09Speaker 2: in let's say Australia, their data packets have to hop
- 2:13Speaker 2: across dozens of public Internet routers to get there, which
- 2:16Speaker 2: is slow, very slow. Any cast instead broadcasts the same
- 2:20Speaker 2: IP address from multiple Microsoft edge locations all over the world.
- 2:24Speaker 2: Oh wow, Yeah, so that user in London connects to
- 2:27Speaker 2: a Microsoft node right there in London, and from that
- 2:30Speaker 2: point on, their traffic rides Microsoft's massive, dedicated high speed
- 2:34Speaker 2: global fiber network straight to.
- 2:35Speaker 1: Australia, drastically reducing latency purcisely. That makes a ton of sense. Yeah, So,
- 2:40Speaker 1: as the architect, I'm setting up this global routing. Let's
- 2:42Speaker 1: say I have back end pools, maybe storage accounts, hosting
- 2:45Speaker 1: my apps static front end in three different regions, say Australia,
- 2:50Speaker 1: the US, and Europe. How does front Door know if
- 2:53Speaker 1: one of those regions suddenly goes offline?
- 2:55Speaker 2: Through continuous health checks, front Door is constantly pinging your
- 2:59Speaker 2: back end servers, just waiting for an HTGP two hundred
- 3:02Speaker 2: OK message.
- 3:03Speaker 1: Which is the standard web code for everything is fine.
- 3:07Speaker 2: Exactly, But if that European server suddenly starts returning a
- 3:11Speaker 2: five h three error meaning service unavailable, front Door detect
- 3:15Speaker 2: that failure almost.
- 3:16Speaker 1: Instantly, so it knows something is wrong.
- 3:18Speaker 2: Right, and it immediately stops routing traffic to Europe and
- 3:22Speaker 2: seamlessly shifts those users to a healthy region.
- 3:25Speaker 1: And I'm guessing we can dictate exactly how that backup
- 3:28Speaker 1: graphic flows.
- 3:29Speaker 2: Oh. Absolutely, you can control it using routing priorities. They're
- 3:32Speaker 2: scaled from one to five. Okay, So if you want
- 3:35Speaker 2: absolutely everyone to hit your Australian server first, perhaps because
- 3:38Speaker 2: your primary database lives there, you set the Australian servers
- 3:42Speaker 2: priority to one. Any others you set the US and
- 3:44Speaker 2: Europe service to priority five. They will just sit there
- 3:47Speaker 2: quietly as idle backups, receiving zero traffic unless that priority
- 3:51Speaker 2: one server fails.
- 3:52Speaker 1: Okay. We also need to think about user experience. I mean,
- 3:55Speaker 1: we don't want our customers typing in a long, messy
- 3:58Speaker 1: as you're generated rel to get to our app up.
- 4:00Speaker 1: We want our own custom domain right.
- 4:02Speaker 2: To achieve that, you would configure a CNME record with
- 4:05Speaker 2: your DNS.
- 4:06Speaker 1: Provider a CNMY.
- 4:08Speaker 2: Yeah. It essentially acts as an alias pointing your clean
- 4:11Speaker 2: custom domain directly to the front door infrastructure. And crucially,
- 4:16Speaker 2: front door handles the SSL.
- 4:18Speaker 1: Offloading, meaning it manages all the complex encryption certificates right
- 4:23Speaker 1: there at the edge, so our back end servers don't
- 4:26Speaker 1: have to waste processing power decrypting web traffic.
- 4:30Speaker 2: That's the mechanism. Yes, it centralizes certificate management, which is
- 4:33Speaker 2: just a huge operational relief.
- 4:36Speaker 1: But here's where things get tricky. We've built this incredibly fast,
- 4:40Speaker 1: highly available global welcome mat but we can't just let
- 4:44Speaker 1: everyone in. No, definitely, not for a high profile application.
- 4:47Speaker 1: We're going to be.
- 4:48Speaker 2: Targeted, which means we need to inspect the traffic before
- 4:50Speaker 2: it ever gets close to your internal virtual network. We
- 4:53Speaker 2: do that by deploying a web application firewall or TAFF
- 4:56Speaker 2: directly onto Azure front door.
- 4:58Speaker 1: So how does the WEF actually decide who gets in
- 5:00Speaker 1: and who gets dropped?
- 5:01Speaker 2: It processes traffic through a very specific hierarchy of rules,
- 5:04Speaker 2: starting with custom rules. You can configure geolocation blocks here, Oh,
- 5:08Speaker 2: like blocking a whole country exactly. If you're noticing a
- 5:11Speaker 2: highly coordinated attack originating from a specific country, you can
- 5:16Speaker 2: create a custom rule that instantly denies any IP address
- 5:19Speaker 2: originating from that region.
- 5:21Speaker 1: Wow.
- 5:21Speaker 2: After it checks the custom rules, it moves on to
- 5:24Speaker 2: the managed rule sets.
- 5:25Speaker 1: And these are the rules pre configured by microsoftware.
- 5:28Speaker 2: Yes, they maintain a default rule set designed to block
- 5:31Speaker 2: classic web exploits, things like SQL injections, where an attacker
- 5:35Speaker 2: tries to manipulate your back end database by typing malicious
- 5:38Speaker 2: code into.
- 5:39Speaker 1: A web form or cross site scripting.
- 5:41Speaker 2: Right. But the really powerful feature here is the bot manager.
- 5:46Speaker 1: I wanted to ask about that. How does it know
- 5:48Speaker 1: the difference between a good bot like Google Search crawler
- 5:51Speaker 1: trying to index our site and a bad bot trying
- 5:54Speaker 1: to scrape our data or brute force our logins.
- 5:57Speaker 2: It relies on Microsoft's Threat Intelligence feed. Microsoft analyzes literally
- 6:02Speaker 2: trillions of signals every single day across xbox Office three
- 6:05Speaker 2: sixty five, Azure, and their global enterprise network trillions. They
- 6:10Speaker 2: use that massive data set to dynamically identify and categorize
- 6:14Speaker 2: malicious bot behaviors globally. The wa of polls from that
- 6:18Speaker 2: living intelligence feed to categorize bots into bad, good, and unknown.
- 6:23Speaker 2: Blocking the bad ones automatically.
- 6:25Speaker 1: That is wild. It's like tapping into a global security hive. Mind.
- 6:29Speaker 1: But what if the attackers don't try to be sneaky?
- 6:31Speaker 1: What if they just try to overwhelm our front door
- 6:34Speaker 1: with junk traffic until the whole system collapses.
- 6:37Speaker 2: You are describing a distributed denial of service or DDAs attack,
- 6:42Speaker 2: and to mitigate that, Azure offers DDS protection at two tiers,
- 6:46Speaker 2: Basic and Standard.
- 6:47Speaker 1: Okay, what's the difference.
- 6:48Speaker 2: Well, the Basic tier is free and enabled by default
- 6:51Speaker 2: to protect Azure's underlying infrastructure, but it doesn't offer a
- 6:54Speaker 2: service level agreement or advanced alerting for your specific app.
- 6:58Speaker 1: So if we're building an enterprise grade application and we
- 7:00Speaker 1: definitely need the standard tier.
- 7:02Speaker 2: The Standard tier is essential for critical workloads. It gives
- 7:05Speaker 2: you a strict SLA, detailed metric logging, and most importantly,
- 7:09Speaker 2: direct access to the MICROSOFTDS response team during an active attack.
- 7:13Speaker 1: That's reassuring.
- 7:15Speaker 2: It is designed to absorb massive attacks across three different vectors.
- 7:20Speaker 1: Let's break those vectors down, because they attack different parts
- 7:22Speaker 1: of the network, right they do.
- 7:24Speaker 2: First, you have volumetric attacks. This is sheer brute force
- 7:28Speaker 2: attackers flood your network with spoofed packets, just trying to
- 7:31Speaker 2: consume all your available bandwidth until the pipe effectively burst.
- 7:35Speaker 1: Got it? What's the second?
- 7:37Speaker 2: Second? You have protocol attacks. These exploit weaknesses in the
- 7:40Speaker 2: layer three and four of the OSI model, the underlying
- 7:43Speaker 2: transport mechanisms.
- 7:45Speaker 1: A classic example of that would be a syn flood yes,
- 7:49Speaker 1: where the attacker's computer asks our server to open a connection.
- 7:52Speaker 1: Our server says okay, I'm ready and then the attacker
- 7:54Speaker 1: just goes silent. Our server leaves that connection open, waiting
- 7:59Speaker 1: until it completely right out of memory and crashes.
- 8:01Speaker 2: That perfectly describes the mechanism, and the final vector is
- 8:04Speaker 2: application layer attacks, which target the actual web applications at
- 8:08Speaker 2: layer seven trying to overwhelm the web server processes. Standard
- 8:12Speaker 2: DIDOS protection combined with the WAIF uses advanced traffic profiling
- 8:17Speaker 2: to scrub all of this malicious traffic at the edge,
- 8:19Speaker 2: so your back end servers never even see it.
- 8:22Speaker 1: So what does this all mean for you? The architect
- 8:25Speaker 1: as your front door is basically an elite psychic hotel concierge.
- 8:30Speaker 1: It knows exactly which geographic room is closest to your
- 8:34Speaker 1: user and checks if that room is clean before sending
- 8:37Speaker 1: them there.
- 8:38Speaker 2: I like that.
- 8:39Speaker 1: And the wave is the massive bouncer standing right next
- 8:42Speaker 1: to the concierge, checking IDs against a global database of
- 8:46Speaker 1: gnome criminals and turning away troublemakers before they even step
- 8:49Speaker 1: foot in the lobby.
- 8:50Speaker 2: The analogy holds up really well for perimeter defense, but
- 8:54Speaker 2: we have to look at a critical architectural flaw in
- 8:56Speaker 2: this design. So far, what if a sophisticated attacker completely
- 8:59Speaker 2: ignored the concierge and the bouncer. What if they somehow
- 9:02Speaker 2: stand the Internet, find the direct private IP address of
- 9:06Speaker 2: your back end server and try to connect directly to it.
- 9:09Speaker 1: Oh wow, Yeah, if they find a side window, they
- 9:12Speaker 1: bypass the front door entirely. The bouncer isn't even looking
- 9:14Speaker 1: in that direction.
- 9:15Speaker 2: Exactly the problem. If you only have perimeter defense, a
- 9:19Speaker 2: bypassed edge means total compromise. We have to lock down
- 9:23Speaker 2: the internal network itself. We need an internal security checkpoint.
- 9:27Speaker 1: Okay, so we're moving deeper into the architecture. We need
- 9:30Speaker 1: a stateful firewall.
- 9:32Speaker 2: Yes, we use Azure Firewall for this. And the term
- 9:36Speaker 2: stateful is very important here.
- 9:37Speaker 1: Because a basic firewall just looks at an individual data
- 9:40Speaker 1: packet and says yes or no exactly.
- 9:43Speaker 2: But a stateful firewall actually remembers the entire context of
- 9:46Speaker 2: the conversation. It knows if a packet is part of
- 9:49Speaker 2: an established, legitimate connection or just a random, unprompted request.
- 9:54Speaker 2: It protects your internal virtual networks or v nets.
- 9:57Speaker 1: But how do we force our servers to actually use that.
- 10:00Speaker 1: They're just sitting in a cloud network. Couldn't they just
- 10:02Speaker 1: talk directly to the Internet by default.
- 10:04Speaker 2: By default in Azure, yes, subnets can route directly to
- 10:07Speaker 2: the Internet. To fix this, we implement a hub and
- 10:10Speaker 2: spoke architecture. Hub and spoke Okay, you place the Azure
- 10:13Speaker 2: firewall in its own dedicated subnet the hub. All your
- 10:16Speaker 2: other subnets where your servers and databases live are the spokes.
- 10:20Speaker 1: Okay, So we have the layout, but we still need
- 10:22Speaker 1: to tear up the default Internet roads and force all
- 10:26Speaker 1: the traffic through our new checkpoint.
- 10:28Speaker 2: Right, and we do that by configuring a custom route table.
- 10:31Speaker 2: We create what's called a user defined route or a.
- 10:34Speaker 1: UDR, So we're essentially pouring concrete and building a single
- 10:38Speaker 1: inescapable highway. We tell the system that the next hop
- 10:42Speaker 1: for any outbound traffic isn't the open Internet. It is
- 10:45Speaker 1: strictly the private IP address of our Azure firewall. Every
- 10:49Speaker 1: single car must go through this one tool.
- 10:51Speaker 2: Booth, and this tollbooth operates on a strict default deny policy.
- 10:55Speaker 2: Once traffic hits the Azure firewall, nothing gets in er
- 10:58Speaker 2: out unless you, the architect, have explicitly written a rule
- 11:01Speaker 2: allowing it.
- 11:02Speaker 1: What kind of rules are we writing at this toll booth?
- 11:04Speaker 2: You need to configure two main types. First are network rules,
- 11:07Speaker 2: which operate at layer three and four, dealing with raw
- 11:10Speaker 2: IP addresses and ports. Okay, let's say your internal Linux
- 11:14Speaker 2: server needs to resolve domain names. It has to talk
- 11:16Speaker 2: to a DNS server.
- 11:17Speaker 1: So we create a network rule that explicitly allows that
- 11:20Speaker 1: specific server to send traffic out on UDP port fifty three,
- 11:24Speaker 1: but only to a trusted IP address like Google's eight
- 11:27Speaker 1: point eight point eight point eight correct.
- 11:29Speaker 2: And if that server later gets compromised by an attacker
- 11:32Speaker 2: and they try to point it to a malicious DNS
- 11:35Speaker 2: server on a different IP address, the stateful firewall instantly
- 11:39Speaker 2: drops the connection.
- 11:40Speaker 1: Nice.
- 11:40Speaker 2: The second type of rule is the application rule, which
- 11:43Speaker 2: works at layer seven.
- 11:44Speaker 1: Okay, so back up at the web traffic layer.
- 11:46Speaker 2: Yes, but instead of using IP addresses, application rules use
- 11:50Speaker 2: fully qualified domain names or fqdns.
- 11:53Speaker 1: Can you give an example.
- 11:54Speaker 2: Sure, you might rate a rule allowing your server to
- 11:57Speaker 2: send HTTTS traffic out strictly to to www dot Microsoft
- 12:02Speaker 2: dot com for software updates. If it tries to reach
- 12:05Speaker 2: any other website, it hits a brick wall.
- 12:07Speaker 1: Wait, let me push back on this for a second.
- 12:09Speaker 1: If we already have a web application firewall up at
- 12:12Speaker 1: the front door thoroughly checking all our web traffic. Why
- 12:15Speaker 1: are we writing application rules on the internal firewall. Aren't
- 12:18Speaker 1: we just doing the exact same work twice.
- 12:20Speaker 2: It looks redundant, I know, but they serve entirely different purposes.
- 12:24Speaker 2: So the way I f at front door is protecting
- 12:26Speaker 2: your application from inbound bad guys attackers out on the
- 12:30Speaker 2: public Internet trying to break in. The internal Azure firewall
- 12:33Speaker 2: is doing the opposite. It is strictly controlling what your
- 12:36Speaker 2: internal servers can do outbound.
- 12:38Speaker 1: Ah here's where it gets really interesting. If an attacker
- 12:42Speaker 1: somehow sneaks a piece of malware onto our server, maybe
- 12:46Speaker 1: through a compromise dependency, that malware usually needs to phone
- 12:50Speaker 1: home to an external command server to download further instructions
- 12:54Speaker 1: or exceltrate our data.
- 12:56Speaker 2: Yes, the phone home is the critical moment. If you
- 12:59Speaker 2: have strict out bound application rules in place, the malware
- 13:02Speaker 2: tries to reach evil dash haacker dash domain dot com,
- 13:06Speaker 2: and the internal Azure firewall blocks it.
- 13:08Speaker 1: The attacker is trapped inside the room with no cell service.
- 13:11Speaker 1: They can't get data out, and they can't get instructions in.
- 13:13Speaker 2: It is the absolute core of defense and depth. You
- 13:16Speaker 2: assume the perimeter will eventually be breached, and you design
- 13:19Speaker 2: the internal network to isolate and neutralize the threat.
- 13:22Speaker 1: Okay, so we have built an incredibly secure, tightly controlled
- 13:26Speaker 1: cloud environment. It's isolated, it's locked down. But real companies
- 13:31Speaker 1: have physical offices. How does a massive corporate headquarters securely
- 13:35Speaker 1: connect their physical building directly into this isolated cloud fortress.
- 13:40Speaker 2: That is the challenge of Azure hybrid networks. We need
- 13:43Speaker 2: to bridge the divide between physical on premises infrastructure and
- 13:48Speaker 2: the cloud without exposing our data.
- 13:50Speaker 1: How do we build that bridge well?
- 13:52Speaker 2: A common starting point is the Azure VPN gateway. This
- 13:55Speaker 2: creates site to site IPsec encrypted tunnels right over the
- 13:59Speaker 2: public Internet. You can figure a gateway and Azure point
- 14:01Speaker 2: it at the physical firewall sitting in your corporate office building,
- 14:04Speaker 2: and they negotiate a secure tunnel between them.
- 14:07Speaker 1: I know that when configuring these there are different pricing
- 14:09Speaker 1: and performance tiers or SKUs, and this is an area
- 14:13Speaker 1: where choosing the cheap option can actually ruin your security posture.
- 14:16Speaker 2: Right absolutely. Ader offers a basic SKEW for the VPN gateway,
- 14:20Speaker 2: but it is considered legacy. It only supports the older
- 14:22Speaker 2: IKE version one protocol, and its bandwidth maxes out in
- 14:25Speaker 2: a mere one hundred megaditts per second.
- 14:27Speaker 1: Why is IKE version one a problem? Why shouldn't we
- 14:30Speaker 1: use it?
- 14:31Speaker 2: Ikfi one is an older key exchange protocol, It uses
- 14:34Speaker 2: weaker encryption algorithms and is significantly slower at establishing the
- 14:38Speaker 2: secure tunnel. Modern security compliance almost always mandates the use
- 14:42Speaker 2: of IKE version two, which has vastly superior cryptographic standards
- 14:47Speaker 2: and faster tunnel negotiation.
- 14:49Speaker 1: So for our enterprise architecture, we want the production SKUs
- 14:52Speaker 1: VPN GW one, GW two or GW three. These support
- 14:57Speaker 1: the modern IKEv two protocol and they scale up massively. Right.
- 15:01Speaker 1: GW three can handle up to one point twenty five
- 15:04Speaker 1: gigabits per second.
- 15:05Speaker 2: Yes, but what if your corporate security policy dictates that
- 15:09Speaker 2: your data cannot touch the public Internet at all, even
- 15:12Speaker 2: if it is heavily encrypted inside a VPN tunnel. Then
- 15:15Speaker 2: what that is when you must use express route?
- 15:17Speaker 1: Oh, express route. I've always thought of express route as
- 15:20Speaker 1: essentially laying a private physical fiber optic cable straight from
- 15:23Speaker 1: your office desk directly in the Microsoft Data Center. It
- 15:26Speaker 1: completely bypasses the public Internet. It acts as a highly reliable,
- 15:30Speaker 1: incredibly consistent extension of your company's own wide area network,
- 15:33Speaker 1: capable of speeds up to ten gigbits per second.
- 15:35Speaker 2: The physical cable analogy is highly accurate.
- 15:38Speaker 1: But wait, if express route is so fast, so secure,
- 15:42Speaker 1: and avoids the public Internet entirely, why wouldn't every single
- 15:45Speaker 1: company just use that immediately instead of messing around with
- 15:48Speaker 1: a VPN over the internet.
- 15:50Speaker 2: Because express route requires a physical telecom provider to provision
- 15:54Speaker 2: dedicated circuits. It is not something you can just click
- 15:57Speaker 2: a button in the addre portal and have running by
- 15:59Speaker 2: two day afternoon.
- 16:00Speaker 1: Oh I see.
- 16:01Speaker 2: The typical lead time for an express route installation is
- 16:03Speaker 2: around ninety days. It requires deep planning, physical hardware installation,
- 16:08Speaker 2: and coordination with network engineers.
- 16:10Speaker 1: Ah. So the friction is physical world.
- 16:13Speaker 2: Logistics precisely, which is why many organizations start by spinning
- 16:17Speaker 2: up an acual VPN gateway to get their teams connected immediately,
- 16:21Speaker 2: and then keep that VPN running as an automatic failover
- 16:24Speaker 2: backup once the express route is finally installed months later.
- 16:27Speaker 1: Are those the only two ways to connect?
- 16:28Speaker 2: There is a third option, network Virtual Appliances or nvas.
- 16:33Speaker 2: Instead of using Microsoft's native VPN gateway you install third
- 16:36Speaker 2: party firewall tools like Cisco or Palo Alto as virtual
- 16:40Speaker 2: machines directly inside Azure.
- 16:42Speaker 1: Well, I do that.
- 16:43Speaker 2: Organizations usually do this to meet very specific compliance requirements
- 16:47Speaker 2: like needing certificate based authentication instead of a shared secret,
- 16:50Speaker 2: which is common in finance or government. Or their network
- 16:54Speaker 2: team is just already deeply trained on Palo Alto devices,
- 16:57Speaker 2: so it's operationally easier to use the same technology in
- 17:00Speaker 2: the cloud.
- 17:01Speaker 1: Okay, so we've successfully connected the corporate office building to
- 17:04Speaker 1: the cloud fortress. We have global traffic handled, we have
- 17:07Speaker 1: internal traffic lockdown. But this raises a completely new issue.
- 17:12Speaker 2: What's that?
- 17:12Speaker 1: What about the human element? What about the solo DevOps
- 17:16Speaker 1: engineer who gets paged at two am to troubleshoot a
- 17:20Speaker 1: Linux server and they are sitting in their living room
- 17:22Speaker 1: on their personal laptop. How do they get in.
- 17:25Speaker 2: Securely remote access management? And I will tell you this
- 17:28Speaker 2: is arguably the most dangerous attack vector in the entire architecture.
- 17:32Speaker 1: Yeah, let's talk about the nightmare scenario cloud account takeover.
- 17:36Speaker 1: Imagine your lead engineer has incredibly high privileged access to
- 17:40Speaker 1: the entire Azure environment. They're using their laptop to SSH
- 17:45Speaker 1: into cloud servers. But on that exact same laptop, they
- 17:49Speaker 1: are checking their personal email, browsing social media, clicking on
- 17:52Speaker 1: random links.
- 17:53Speaker 2: If they click a malicious link in a highly targeted
- 17:56Speaker 2: fishing email, an attacker could silently compromise that work station.
- 18:01Speaker 2: Because the engineer already has valid, authenticated administrative credentials active
- 18:05Speaker 2: on that machine, the attacker doesn't need to break your
- 18:07Speaker 2: firewalls terrified, They just hijack that active session right right
- 18:11Speaker 2: through your perimeter and take total command and control of
- 18:14Speaker 2: the cloud environment.
- 18:15Speaker 1: It bypasses everything we just built. So how does Microsoft
- 18:17Speaker 1: recommend we fix the human problem?
- 18:19Speaker 2: The foundational gold standard is requiring a dedicated administration workstation,
- 18:24Speaker 2: a lockdown laptop that has no productivity apps, no email client,
- 18:28Speaker 2: highly limited outbound internet access, and enforces strict multi factor authentication.
- 18:34Speaker 2: It is used exclusively for managing the cloud infrastructure, nothing else.
- 18:38Speaker 1: But even if we give them a hyper secure laptop,
- 18:40Speaker 1: we still have to figure out how they physically connect
- 18:42Speaker 1: from their living room to the virtual machines hidden deep
- 18:46Speaker 1: inside Azure. Can't we just give the virtual machine a
- 18:49Speaker 1: public IP address un till the firewall to only let
- 18:52Speaker 1: the engineer's home IP connect from.
- 18:55Speaker 2: A security perspective, we strongly advise against that relying on
- 18:59Speaker 2: a network security group to protect a public facing management
- 19:02Speaker 2: port is incredibly risky.
- 19:03Speaker 1: Why is it so risky?
- 19:04Speaker 2: It is far too easy to misconfigure one tiny typo
- 19:08Speaker 2: in the rule and you have accidentally exposed an SSH
- 19:11Speaker 2: or remote desktop port to the entire public Internet. Automated
- 19:15Speaker 2: scanners will find that open port in minutes and begin
- 19:18Speaker 2: brute forcing it.
- 19:19Speaker 1: Okay, so exposing a public IP is the bad way,
- 19:21Speaker 1: what's a better way?
- 19:22Speaker 2: A better way is using a point to cite VPM.
- 19:25Speaker 2: The engineer installs a client on their laptop like OpenVPN
- 19:29Speaker 2: and dials directly into the Azure Virtual Network. They become
- 19:32Speaker 2: a secure node on the internal network without exposing the
- 19:35Speaker 2: servers publicly.
- 19:36Speaker 1: That's decent.
- 19:37Speaker 2: However, managing all those individual client certificates can become an
- 19:40Speaker 2: operational headache. If you have a large engineering team.
- 19:43Speaker 1: Which brings us to the absolute best, fully managed way
- 19:46Speaker 1: to do this, as your Bastion. This is a platform
- 19:50Speaker 1: as a service provisioned entirely inside your v net.
- 19:53Speaker 2: What makes Bastion so secure is that your target virtual
- 19:56Speaker 2: machines do not need a public IP address at all.
- 19:59Speaker 2: They remain completely hidden, isolated on a private back end subnet.
- 20:03Speaker 1: The way it actually functions is brilliant. The DevOps user
- 20:06Speaker 1: doesn't use an SSH client on their machine. They log
- 20:09Speaker 1: into the Azure portal in their web browser over a
- 20:12Speaker 1: standard secure SSL connection. From inside the portal, they click
- 20:16Speaker 1: a button and Azurebastion securely opens a remote desktop window
- 20:20Speaker 1: for Windows or an SSH terminal for Linux right there
- 20:23Speaker 1: inside the browser tap.
- 20:25Speaker 2: It acts as an intermediary. The Bastion host, sitting securely
- 20:28Speaker 2: inside your network, makes the connection to the private server
- 20:31Speaker 2: on the engineer's behalf, streaming the visual output back to
- 20:34Speaker 2: their browser over SSL.
- 20:36Speaker 1: It's exactly like an airlock on a spaceship. If you
- 20:38Speaker 1: need to fix something on the outside of the ship,
- 20:40Speaker 1: you can't just open the command center door directly into
- 20:42Speaker 1: the vacuum of space. Everyone would die. You go into
- 20:45Speaker 1: the Bastion airlock, the door seals behind you, You get
- 20:47Speaker 1: authenticated and decontaminated via SSL, and only then does the
- 20:51Speaker 1: outer door open, allowing you to touch the internal controls.
- 20:55Speaker 1: It completely abstracts the direct network connection away from the
- 20:58Speaker 1: user's local machine.
- 21:00Speaker 2: It is an incredibly elegant solution for high privileged remote access,
- 21:05Speaker 2: ensuring that even at two am, your perimeter remains perfectly sealed.
- 21:09Speaker 1: What an incredible mental journey we've just been on. We
- 21:12Speaker 1: started at the absolute edge, setting up Azure front door
- 21:15Speaker 1: to route our global users instantly while the web application
- 21:19Speaker 1: firewall and DEDOS protection scrubbed away the bad actors yep.
- 21:22Speaker 1: Then we moved inside, pouring concrete to build an internal
- 21:25Speaker 1: Azure firewall hub, dictating exact traffic flows and preventing compromise
- 21:29Speaker 1: servers from phony home.
- 21:31Speaker 2: And from there we bridge the gap to the physical
- 21:33Speaker 2: world using IPsec, VPNs and express route to securely connect
- 21:37Speaker 2: the corporate headquarters without exposing data to the open web.
- 21:41Speaker 1: And finally, we built our secure bastion airlock, ensuring our
- 21:45Speaker 1: remote engineers can administer the system without ever opening a
- 21:48Speaker 1: direct port to the Internet. So before we wrap up
- 21:52Speaker 1: this deep dive, let's do a quick mental check for you.
- 21:54Speaker 1: If you are building this architecture right now and your
- 21:57Speaker 1: boss tells you that you have to support a legacy
- 21:59Speaker 1: on press Missus application that absolutely only supports IK version
- 22:03Speaker 1: one for its VPN connection, which as your VPN gateway skew,
- 22:07Speaker 1: are you stuck with?
- 22:08Speaker 2: Well, if you guess the basic CU You'd be correct.
- 22:11Speaker 2: It is the only tier that still supports the legacy
- 22:14Speaker 2: IKV one protocol. But as we discussed, you really want
- 22:17Speaker 2: to avoid using it for a production environment because it
- 22:19Speaker 2: lacks the advanced encryption algorithms of IKAV two and severely
- 22:23Speaker 2: limits your bandwidth to one hundred megabits per second.
- 22:25Speaker 1: Spot On.
- 22:25Speaker 2: You know, we have spent this entire time meticulously designing
- 22:29Speaker 2: a multimillion dollar cloud architecture. We've deployed global anycast networks,
- 22:34Speaker 2: tapped into threat intelligence feeds, configured stateful firewalls, and built
- 22:39Speaker 2: encrypted tunnels. But I want to leave you with this
- 22:41Speaker 2: final thought, tam all over. No matter how incredibly advanced
- 22:44Speaker 2: all this Microsoft technology is, No matter how many layers
- 22:47Speaker 2: of defense and depth you build, the absolute weakest link
- 22:51Speaker 2: in this entire fortress is still just a tired administrator
- 22:55Speaker 2: checking their personal email on the wrong laptop. Security isn't
- 22:58Speaker 2: just about routing protocol and firewall rules. Fundamentally, the ultimate
- 23:02Speaker 2: vulnerability is always human behavior.
- 23:05Speaker 1: A sobering reminder that we can engineer the perfect system,
- 23:08Speaker 1: but we still have to engineer around ourselves. Thank you
- 23:10Speaker 1: so much for joining us on this deep dive, keep questioning,
- 23:13Speaker 1: keep building, and we'll see you next time.