<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dumindu Sameendra on Medium]]></title>
        <description><![CDATA[Stories by Dumindu Sameendra on Medium]]></description>
        <link>https://medium.com/@dumindusameendra?source=rss-fc110c5da3b1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CIQgeontrHRbGdo6</url>
            <title>Stories by Dumindu Sameendra on Medium</title>
            <link>https://medium.com/@dumindusameendra?source=rss-fc110c5da3b1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:32:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dumindusameendra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Run OWASP Broken Web Apps on Apple Silicon Macs with UTM]]></title>
            <link>https://medium.com/@dumindusameendra/run-owasp-broken-web-apps-on-apple-silicon-macs-with-utm-05b97f90dc71?source=rss-fc110c5da3b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/05b97f90dc71</guid>
            <category><![CDATA[utm]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[apple-silicon]]></category>
            <dc:creator><![CDATA[Dumindu Sameendra]]></dc:creator>
            <pubDate>Sat, 25 Jan 2025 15:55:29 GMT</pubDate>
            <atom:updated>2025-01-27T16:54:14.538Z</atom:updated>
            <content:encoded><![CDATA[<p>Launched in late 2020 with the introduction of the M1 chip, Apple Silicon marked a significant transition from Intel-based architectures to ARM-based chip designs. This shift brought substantial improvements in processing power, energy efficiency, and integration, redefining personal computing for developers and users alike. However, for applications like the OWASP Broken Apps Project, which lacks native support for ARM architecture, this transition introduces a compatibility challenge for users working on Apple Silicon devices like M1 and M2 MacBooks.</p><p>UTM has become an invaluable tool for running x86_64-based virtual machines on these devices. Built on QEMU, UTM is a virtualization and emulation platform that enables macOS and iOS users to emulate x86, ARM, and other architectures. This capability allows users to run entire systems, including operating systems and their dependencies, effectively bridging the gap between diverse architectures. For security professionals and developers aiming to study and mitigate vulnerabilities using OWASP applications on Apple Silicon devices, UTM provides a seamless solution to ensure compatibility and functionality.</p><h3>Prerequisites</h3><p>Before you start, make sure you have the following:</p><ol><li><strong>UTM</strong> is installed on your Mac. Download it from <a href="https://mac.getutm.app/">https://mac.getutm.app/.</a></li><li>The <strong>OWASP Broken Web Apps</strong> virtual machine in VMDK format. You can download it from the OWASP SourceForge page: <a href="https://sourceforge.net/projects/owaspbwa/">https://sourceforge.net/projects/owaspbwa/</a></li><li><strong>QEMU</strong> is installed on your Mac. You can install QEMU using <a href="https://brew.sh/">Homebrew</a> with brew install qemu .</li></ol><h3>Convert the VMDK File to QCOW2</h3><p>UTM supports the QCOW2 disk format, so you must convert the VMDK file. Follow these steps:</p><ol><li>Extract the OWASP_Broken_Web_Apps_VM_1.2.7z file using any archive tool.</li><li>Locate the extracted files and identify the OWASP Broken Web Apps-cl1.vmdk file, which does not include the s00X part.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n9NjcHFx4tzsZE3qZXoVsA.png" /><figcaption>Contents of OWASP-BWA zip file</figcaption></figure><p>3. Open a terminal in the folder containing the VMDK files.</p><p>4. Use QEMU to convert the VMDK file to QCOW2 format by running the following command:</p><pre>qemu-img convert -f vmdk -O qcow2 &quot;OWASP Broken Web Apps-cl1.vmdk&quot; &quot;OWASP Broken Web Apps-cl1.qcow2&quot;</pre><p>5. Once the conversion is complete, you will have an “<em>OWASP Broken Web Apps-cl1.qcow2”</em> file in the same directory.</p><h3>Create the Virtual Machine in UTM</h3><ol><li>Launch the UTM app.</li><li>Select <strong>Create a New Virtual Machine</strong>.</li><li>Select <strong>Emulate</strong> and choose <strong>Other</strong> as the operating system.</li><li>Select <strong>None</strong> as the Boot Device and continue.</li><li>For the hardware, keep the architecture and system settings as is. Which are <strong>x86_64</strong> and <strong>Standard PC (q35)</strong>. Allocate at least <strong>1 CPU core</strong> and <strong>1 GB of RAM</strong>.</li><li>Specify the size of the drive. This will be changed later.</li><li>Give the virtual machine a name, such as “OWASP-BWA,” and save it.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fvvHWXGne2zHacQ-RkG-PQ.png" /><figcaption>Summary of the machine we just created</figcaption></figure><p>8. Then, we need to add the QCOW2 Drive. First, right-click on the machine, select edit and go to the <strong>Drives</strong> section. Click <strong>New Drive</strong> and select <strong>Import Drive</strong>. Choose the OWASP Broken Web Apps-cl1.qcow2 file we created earlier. <strong>Drag the newly created drive to the top of the drives list</strong> or delete any other IDE Drives if present (important).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ubMLJn-nurUaKKoGRVanKg.png" /><figcaption>Make sure the qcow2 drive is on top of the drives list</figcaption></figure><p>9. <strong>Disable UEFI Boot </strong>in the settings under QEMU and save the changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*ill6hkWGhzN2lp6FWS0KHg.png" /><figcaption>Make sure UEFI Boot is unchecked</figcaption></figure><h3>Start the Virtual Machine</h3><ol><li>Start the OWASP-BWA virtual machine by clicking the <strong>Play</strong> button in UTM.</li></ol><p>2. You can log in to the OWASP-BWA using the default credentials:</p><ul><li><strong>Username:</strong> root</li><li><strong>Password:</strong> owaspbwa</li></ul><p>3. Verify that the VM is running correctly. You can access the OWASP-BWA web apps by opening a browser and navigating to the IP address assigned to the VM. (Verify your network adapter settings (Host-Only or NAT) and use ifconfig in the VM to check the IP address.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUN_or6SQyStY2ObHzJ1uA.png" /><figcaption>OWASP-BWA VM running in UTM</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P_uSmDTvVzUVSvQD99jF1w.png" /><figcaption>Accessing OWASP-BWA with a browser</figcaption></figure><h3>Conclusion</h3><p>Running OWASP Broken Web Apps (OWASP-BWA) on an Apple Silicon Mac using UTM ensures that developers and security professionals can overcome compatibility challenges introduced by the ARM architecture transition. UTM’s ability to emulate x86_64 systems makes it possible to seamlessly set up and use OWASP-BWA for testing web application vulnerabilities, providing access to a powerful environment for enhancing their cybersecurity knowledge and skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05b97f90dc71" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>