<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AiTM on Nicola Suter</title><link>https://nicolasuter.ch/tags/aitm/</link><description>Recent content in AiTM on Nicola Suter</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Nicola Suter</copyright><lastBuildDate>Mon, 01 Apr 2024 18:23:49 +0000</lastBuildDate><atom:link href="https://nicolasuter.ch/tags/aitm/rss.xml" rel="self" type="application/rss+xml"/><item><title>AiTM Phishing with Azure Functions</title><link>https://nicolasuter.ch/aitm-phishing-with-azure-functions/</link><pubDate>Mon, 01 Apr 2024 18:23:49 +0000</pubDate><guid>https://nicolasuter.ch/aitm-phishing-with-azure-functions/</guid><description>&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://cdn-images-1.medium.com/max/800/1*2rGHexNlD4iRO2hqP2zfAg.png"
 &gt;&lt;/figure&gt;
&lt;p&gt;Recently I stumbled over a nice &lt;a href="https://zolder.io/aitm-attacks-using-cloudflare-workers/" target="_blank" rel="noreferrer"&gt;post from Wesly Neelen&lt;/a&gt; who built an AiTM phishing toolkit based on a cloudflare worker. Although ‘prooven’ AitM phishing toolkits such as evilginx provide more capabilities in terms of flexibility and robustness I wanted to setup my own phishing toolkit that runs serverless on Azure — based on Azure Functions to phish some Entra ID credentials and cookies.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Advantages of serverless phishing toolkits
 &lt;div id="advantages-of-serverless-phishingtoolkits" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#advantages-of-serverless-phishingtoolkits" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Serverless platform solutions such as Cloudflare workers, AWS lambda and Azure functions provide some advantages to phishing toolkits that are server-based:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No Infrastructure as a Service (IaaS) resources like virtual machines and public IP addresses are required, this allows faster deployments, easier scaling and comes with low costs&lt;/li&gt;
&lt;li&gt;Serverless platforms often have pooled outbound IP addresses that are dynamically assigned by the cloud provider&lt;/li&gt;
&lt;li&gt;No DNS domain name or name server entries are required as the cloud provider assigns URLs to the serverless functions&lt;/li&gt;
&lt;li&gt;As the domain names, IP addresses and certificates are issued and managed by the cloud provider, this goes usually hand-in-hand with better reputation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 class="relative group"&gt;Let’s do AiTM Phishing with Azure Functions
 &lt;div id="lets-do-aitm-phishing-with-azure-functions" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#lets-do-aitm-phishing-with-azure-functions" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;

&lt;h3 class="relative group"&gt;Demo
 &lt;div id="demo" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#demo" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;The following demo provides a quick overview about the Azure AiTM Function and the replay of the cookies in an incognito browser window:&lt;/p&gt;</description></item></channel></rss>