<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vávra Tomáš</title>
    <description>The latest articles on DEV Community by Vávra Tomáš (@vavratomas).</description>
    <link>https://dev.to/vavratomas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3167907%2Fc9d95cf0-9074-444c-9b37-0a56ee54b420.png</url>
      <title>DEV Community: Vávra Tomáš</title>
      <link>https://dev.to/vavratomas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vavratomas"/>
    <language>en</language>
    <item>
      <title>Device Code Flow: The Overlooked Phishing Vector (And How to Block It)</title>
      <dc:creator>Vávra Tomáš</dc:creator>
      <pubDate>Mon, 01 Jun 2026 15:49:22 +0000</pubDate>
      <link>https://dev.to/vavratomas/device-code-flow-the-overlooked-phishing-vector-and-how-to-block-it-3m0g</link>
      <guid>https://dev.to/vavratomas/device-code-flow-the-overlooked-phishing-vector-and-how-to-block-it-3m0g</guid>
      <description>&lt;p&gt;Device Code Flow abuse is not a new technique. Security teams have known for some time that this OAuth feature can be leveraged in phishing attacks to obtain tokens without stealing credentials. What is new is how accessible and scalable this attack has become.&lt;/p&gt;

&lt;p&gt;In April 2026, the FBI warned about a Phishing-as-a-Service (PhaaS) platform called Kali365, which operationalizes this exact technique. It allows even low-skilled attackers to run campaigns that trick users into entering device codes on legitimate Microsoft login pages — ultimately granting attackers OAuth tokens and acess to Microsoft 365 environments without triggering traditional authentication defenses.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fze6yokcfzv84qvgznfff.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fze6yokcfzv84qvgznfff.jpg" alt="Device code flow attack" width="696" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How Device Code Flow Works
&lt;/h2&gt;

&lt;p&gt;Device code flow is an authentication method designed for scenarios where a device has limited input options or lacks a convenient browser interface (such as smart TVs, IoT devices, or command-line tools). Instead of entering credentials directly on the device, the application generates a verification code and displays it.&lt;/p&gt;

&lt;p&gt;The user then switches to a secondary device (such as a laptop or smartphone), navigates to &lt;a href="https://microsoft.com/devicelogin" rel="noopener noreferrer"&gt;https://microsoft.com/devicelogin&lt;/a&gt;, and enters the provided code. After successfully authenticating, the identity provider securely links the session and grants the original device access to the requested resource.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Device Code Flow Should Be Restricted
&lt;/h2&gt;

&lt;p&gt;In practice, many organizations don’t have a real or current business need for device code flow, yet leave it enabled—unnecessarily expanding their attack surface. Disabling it helps reduce exposure by removing a legacy or rarely used authentication path and reinforces modern controls. &lt;/p&gt;

&lt;p&gt;Microsoft recommends getting as close as possible to a full block. Start by auditing existing usage, validate whether any legitimate scenarios still require it, and strictly limit access only to well-defined, secured, and documented use cases (e.g., specific legacy tools). In all other cases, device code flow should be disabled by default—and users that legitimately need device code flow should be educated about how it can be misused in phishing campaigns.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Restrict Device Code Flow in MS Entra ID
&lt;/h2&gt;

&lt;p&gt;You can mitigate this flow by implementing Conditional Access — here’s step by step guide based on Microsoft's documentation:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Sign in to the Microsoft Entra admin centre as (at least) a Conditional Access Administrator.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Sign in to the Microsoft Entra admin centre as (at least) a Conditional Access Administrator.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Browse to &lt;strong&gt;Entra ID&lt;/strong&gt; &amp;gt; &lt;strong&gt;Conditional Access&lt;/strong&gt; &amp;gt; &lt;strong&gt;Policies&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;New policy&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Assignments&lt;/strong&gt;, select &lt;strong&gt;Users or workload identities&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Include&lt;/strong&gt;, select users you want to be in-scope for the policy (&lt;strong&gt;All users&lt;/strong&gt; recommended).&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Exclude&lt;/strong&gt;, select your organization’s emergency access or break-glass accounts and any other necessary users. This exclusion list should be audited regularly.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under &lt;strong&gt;Target resources&lt;/strong&gt; &amp;gt; &lt;strong&gt;Resources (formerly cloud apps)&lt;/strong&gt; &amp;gt; &lt;strong&gt;Include&lt;/strong&gt;, select the apps you want to be in-scope for the policy (&lt;strong&gt;All resources (formerly 'All cloud apps')&lt;/strong&gt; recommended).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Conditions&lt;/strong&gt; &amp;gt; &lt;strong&gt;Authentication Flows&lt;/strong&gt;, set &lt;strong&gt;Configure&lt;/strong&gt; to &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Device code flow&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Done&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Access controls&lt;/strong&gt; &amp;gt; &lt;strong&gt;Grant&lt;/strong&gt;, select &lt;strong&gt;Block access&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Select&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Confirm your settings and set &lt;strong&gt;Enable policy&lt;/strong&gt; to &lt;strong&gt;Report-only&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;Create&lt;/strong&gt; to enable your policy.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After evaluation of the policy settings using policy impact or report-only mode, move the &lt;strong&gt;Enable policy&lt;/strong&gt; toggle from &lt;strong&gt;Report-only&lt;/strong&gt; to &lt;strong&gt;On&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Microsoft-managed Conditional Access Policies
&lt;/h2&gt;

&lt;p&gt;Device code flow may already be blocked in your tenant by default through Microsoft-managed Conditional Access policies. To check:&lt;/p&gt;

&lt;p&gt;Go to: &lt;strong&gt;Entra ID&lt;/strong&gt; &amp;gt; &lt;strong&gt;Conditional Access&lt;/strong&gt; &amp;gt; &lt;strong&gt;Policies&lt;/strong&gt; &amp;gt; &lt;strong&gt;Microsoft-managed&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Microsoft automatically deploys these preconfigured policies based on global threat intelligence, often including controls like blocking device code flow or enforcing MFA to reduce risk. These policies are initially introduced in report-only mode and later enforced, meaning your environment might already be protected without manual configuration. It’s therefore important to review existing Conditional Access policies before implementing new ones, as device code flow could already be restricted as part of Microsoft’s secure-by-default approach.&lt;/p&gt;

</description>
      <category>entraid</category>
      <category>identity</category>
      <category>security</category>
      <category>azure</category>
    </item>
    <item>
      <title>My Experience Learning and Passing the AZ-900: What Helped, What Didn’t, and What I’d Do Differently</title>
      <dc:creator>Vávra Tomáš</dc:creator>
      <pubDate>Thu, 15 May 2025 21:29:31 +0000</pubDate>
      <link>https://dev.to/vavratomas/my-experience-learning-and-passing-the-az-900-what-helped-what-didnt-and-what-id-do-differently-4oii</link>
      <guid>https://dev.to/vavratomas/my-experience-learning-and-passing-the-az-900-what-helped-what-didnt-and-what-id-do-differently-4oii</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; I passed the AZ-900 using Microsoft Learn, YouTube resources, and free practice tests. Here's what helped, what I'd skip, and what I wish I’d done earlier.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hey everyone&lt;/p&gt;

&lt;p&gt;I recently passed the &lt;strong&gt;AZ-900: Microsoft Azure Fundamentals&lt;/strong&gt; certification, and I wanted to share a bit about my journey—what worked, what didn’t, and what I'd recommend if you're considering going down the same path.&lt;/p&gt;

&lt;p&gt;Whether you're just getting into cloud, exploring Azure for the first time, or simply validating your understanding, I hope this gives you some helpful insight.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 Why I Took the AZ-900
&lt;/h2&gt;

&lt;p&gt;I wanted to solidify my understanding of &lt;strong&gt;cloud computing concepts&lt;/strong&gt; and get familiar with &lt;strong&gt;Azure’s core services and offerings&lt;/strong&gt;. This certification felt like the right starting point to gain clarity on how Azure platform works, especially in service-oriented context.&lt;/p&gt;




&lt;h2&gt;
  
  
  📚 My Study Strategy
&lt;/h2&gt;

&lt;p&gt;I didn’t want to overcomplicate things, so I focused on four main resources:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Microsoft Learn (Free!)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This was my primary study material. Microsoft’s official learning paths are well-structured and beginner-friendly, while also updated based on the general exam curiculum.&lt;br&gt;&lt;br&gt;
I followed this course:&lt;br&gt;&lt;br&gt;
🔗 &lt;a href="https://learn.microsoft.com/en-us/training/courses/az-900t00" rel="noopener noreferrer"&gt;MS Azure Fundamentals&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✅ What I liked:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bite-sized modules
&lt;/li&gt;
&lt;li&gt;Self-paced learning
&lt;/li&gt;
&lt;li&gt;Quizzes after each section to reinforce learning&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⚠️ Some parts can feel a bit high-level or repetitive, but they’re exam-relevant and cover a broad range of topics well.&lt;/p&gt;




&lt;h3&gt;
  
  
  2. &lt;strong&gt;John Savill’s YouTube Certification course (2025 update)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;John Savill’s &lt;strong&gt;AZ-900 video series&lt;/strong&gt; was super helpful.&lt;br&gt;&lt;br&gt;
He explains concepts clearly, uses diagrams, and gives real-world context to abstract ideas. This source was especially useful for deeper understanding of some Azure-specific services, so its not necessary to watch whole serie.&lt;/p&gt;

&lt;p&gt;🔗 &lt;a href="https://www.youtube.com/watch?v=IUCEFBmYIog&amp;amp;list=PLlVtbbG169nED0_vMEniWBQjSoxTsBYS3" rel="noopener noreferrer"&gt;Watch it here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✅ Great for reviewing and reinforcing what I learned on Microsoft Learn.&lt;/p&gt;

&lt;p&gt;⚠️ Some videos can feel a bit redundant after MS Learn, especialy those focusing on basic concepts.&lt;/p&gt;




&lt;h3&gt;
  
  
  3. &lt;strong&gt;Inside Cloud and Security YouTube AZ-900 Cram&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This video was especially useful during the final days before the exam—perfect for a last-minute review.&lt;/p&gt;

&lt;p&gt;🔗 &lt;a href="https://www.youtube.com/watch?v=8n-kWJetQRk" rel="noopener noreferrer"&gt;Watch it here&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Microsoft Learn AZ-900 Practice Asessment
&lt;/li&gt;
&lt;li&gt;Inside Cloud and Security AZ-900 Practice Quiz&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✅ Great for last minute reviewing and refreshing.&lt;/p&gt;

&lt;p&gt;⚠️ Use 1.5x speed if you use it just for revisiting materials to save some time.&lt;/p&gt;




&lt;h3&gt;
  
  
  4. &lt;strong&gt;Practice Tests&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Testing myself was crucial. I used only free practice tests.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Microsoft Learn AZ-900 Practice Asessment
&lt;/li&gt;
&lt;li&gt;Inside Cloud and Security AZ-900 Practice Quiz&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These helped me: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Identify areas I needed to revisit (MS Learn is unparalleled for this)&lt;/li&gt;
&lt;li&gt;Practice time management under exam conditions&lt;/li&gt;
&lt;li&gt;Inside Cloud and Security quiz is closer to real question style, since MS  Learn is noticably easier than real exam&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 What Was Most Useful
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Microsoft Learn + practice tests&lt;/strong&gt; made a strong combo
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Summarizing key concepts in my own words&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hands-on with the Azure Portal&lt;/strong&gt;—even though not required, this made everything more tangible&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤔 What I’d Do Differently
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Take practice tests earlier.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
They reveal weak spots and help you study smarter, not harder.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Spend more time using the Azure portal.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Seeing how services are deployed and managed deepens understanding, even for a theory-based exam like AZ-900.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧰 Useful Links &amp;amp; Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📘 &lt;a href="https://learn.microsoft.com/en-us/credentials/certifications/azure-fundamentals/?practice-assessment-type=certification" rel="noopener noreferrer"&gt;Microsoft Learn AZ-900 Path&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💰 &lt;a href="https://esi.microsoft.com/" rel="noopener noreferrer"&gt;50% discount if your company is part of ESI program&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💰 &lt;a href="https://www.microsoft.com/en-us/trainingdays" rel="noopener noreferrer"&gt;50% discount if you join MS Virtual Training Day: Azure Foundations&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ✅ Final Thoughts
&lt;/h2&gt;

&lt;p&gt;AZ-900 is a great foundation-level certification if you're starting out with Azure or cloud in general.&lt;br&gt;&lt;br&gt;
It won’t dive deep into hands-on tasks, but it gives you the &lt;strong&gt;language, context, and confidence&lt;/strong&gt; to explore further paths.&lt;/p&gt;

&lt;p&gt;If you're studying or already passed—drop a comment! I’d love to hear how your experience went too 👇&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
