<?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 Yashicasharma on Medium]]></title>
        <description><![CDATA[Stories by Yashicasharma on Medium]]></description>
        <link>https://medium.com/@yashicasharma098?source=rss-2277265c8848------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*c7Zrse5V_ChDBRBr</url>
            <title>Stories by Yashicasharma on Medium</title>
            <link>https://medium.com/@yashicasharma098?source=rss-2277265c8848------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:36:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yashicasharma098/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[DLL Analysis — Full details]]></title>
            <link>https://medium.com/@yashicasharma098/dll-analysis-full-details-3dac012c356d?source=rss-2277265c8848------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dac012c356d</guid>
            <category><![CDATA[dynamic-link-library]]></category>
            <category><![CDATA[malware-analysis]]></category>
            <dc:creator><![CDATA[Yashicasharma]]></dc:creator>
            <pubDate>Thu, 01 Oct 2026 18:05:19 GMT</pubDate>
            <atom:updated>2026-10-01T18:18:42.558Z</atom:updated>
            <content:encoded><![CDATA[<p>Malware Analysis and Cyber Defence</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*Zf1zYhPvMqDL7PSd.png" /><figcaption>Dynamic link library</figcaption></figure><p><strong><em>1.1 The Special Problem With DLLs</em></strong><em>:</em><br>A DLL (Dynamic Link Library) is a file that contains reusable pieces of code, meant to be borrowed by other programs — it is NOT meant to be run on its own, the way a normal .exe file is. If you simply double-click a DLL file in Windows, nothing useful happens — Windows doesn’t know how to “run” it by itself, because a DLL has no single, fixed starting point the way an .exe does. This creates a genuine, practical problem for malware analysts: a lot of real-world malware is actually delivered as a DLL file, specifically because this makes it a little trickier for both antivirus tools and analysts to handle compared to a normal, double-click-and-run .exe file. So how do you actually get a malicious DLL to run, so you can watch what it does?</p><p><strong><em>1.2 Using rundll32.exe </em></strong><br>Windows itself actually provides a small, built-in helper program specifically for this purpose, called rundll32.exe . Its whole job is: “take a DLL file, and a specific function name inside it, and run that one function.” Analysts use this exact same tool — originally meant for completely legitimate purposes — to deliberately force a malicious DLL to start running, so its behaviour can be observed, in exactly the same way a normal .exe would be run. Simple analogy: A DLL is like a tool in a toolbox (say, a specific type of screwdriver) — it’s not something you can just “turn on” by itself; it needs someone to actually pick it up and use it for a specific job. rundll32.exe is like a robotic hand whose only purpose is to pick up a specific tool from the toolbox and use it for you, so you can watch exactly what that tool does when it’s put to work.</p><p><strong><em>1.3 Figuring Out Which Function to Run </em></strong><br>Because rundll32.exe needs to be told exactly which function inside the DLL to run, the analyst first needs to find out what functions the DLL actually makes available. The analyst checks the DLL’s Export Table (using tools like PEView or CFF Explorer) to see the full list of functions the DLL offers, then picks one (often there’s an obviously-named one like a generic “start” or “run” function) to actually trigger with rundll32.exe . Some malicious DLLs are built so that simply loading the DLL at all (even without deliberately calling a specific exported function) is enough to trigger the malicious behaviour — this works because of a special, automatic function inside every DLL called DllMain , which Windows automatically runs the very moment the DLL gets loaded into memory, even before any of its “official,” exported functions get called on purpose. Malware authors sometimes deliberately put their malicious logic directly inside this automatic DllMain function specifically so it triggers immediately and automatically, without needing anyone to call a specific function by name at all.</p><p><strong><em>1.4 Watching a DLL the Same Way as an EXE </em></strong><br>Once the DLL is actually running (via rundll32.exe , or by being loaded by some other program), the analyst watches it using all the exact same tools and techniques — Procmon for file/registry activity, Process Explorer for process behaviour, Wireshark for network activity. The only genuinely different part is just this extra first step of figuring out how to get the DLL running in the first place, since — unlike a normal won’t simply run on its own with a plain double-click.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dac012c356d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>