<?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 Durvesh Mahajan on Medium]]></title>
        <description><![CDATA[Stories by Durvesh Mahajan on Medium]]></description>
        <link>https://medium.com/@mahajandurvesh350?source=rss-1b76fcb0d4b0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NWKcOOV-ekDFT8JrubesaA.jpeg</url>
            <title>Stories by Durvesh Mahajan on Medium</title>
            <link>https://medium.com/@mahajandurvesh350?source=rss-1b76fcb0d4b0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 01:42:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mahajandurvesh350/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[Defeating The Malware]]></title>
            <link>https://medium.com/@mahajandurvesh350/defeating-the-malware-d10a8dd35d5b?source=rss-1b76fcb0d4b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d10a8dd35d5b</guid>
            <category><![CDATA[malware-analysis]]></category>
            <dc:creator><![CDATA[Durvesh Mahajan]]></dc:creator>
            <pubDate>Sat, 04 Nov 2023 05:51:08 GMT</pubDate>
            <atom:updated>2023-11-04T05:51:08.489Z</atom:updated>
            <content:encoded><![CDATA[<p>Identifying the malware using Static and Dynamic analysis…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*agFU8K59eu6I71kwX7GVrQ.jpeg" /></figure><h3><strong>Introduction to malware analysis:-</strong></h3><p>In our daily life we work with several types of files for our personal use. But, sometimes there may be some scenarios when users may deal with certain malicious files which may harm to their personal data and they can harm users in many perspectives. So, malware analysis is the process/practice used to detect whether the file with which we are dealing is malicious or not…</p><p>In this blog we will see several methods and signs which may be useful for us to detect the type of file.</p><p>So, now we will perform actual analysis on the file given below,</p><p><strong>File Information:-</strong></p><p><strong>SHA 256:-</strong> a90acf50649ea6ac91c9aded346e47bd4a6fd2d8f3d3a9daf8c072ab6be99a95</p><p><strong>MD5:-</strong> f231a02d229e5f504eacc706629ae2f1</p><p><strong>Tools used for analysis:-</strong></p><p>Here, I have mentioned the tools which I used for analysis,</p><p><strong>Hypervisor:-</strong> Hyper-V</p><p><strong>Operating System:</strong>- Windows 10</p><p><strong>PE Analysis:-</strong> Hex Editor</p><p><strong>Tools used for Static Analysis:-</strong> PEStudio, CFF Explorer ,Detect it easy, EXEInfoPE, etc.</p><p>(<strong>Note:-</strong>Static malware analysis is a method of examining malicious software without executing or running it. It involves analyzing the code and structure of a program to understand its functionality, behavior, and potential risks, usually without activating the malware. )</p><p><strong>Tools used for Dynamic Analysis:-</strong> Regshot, Procmon, Process Explorer, Fiddler, Wireshark, Fakenet, Netmon, etc.</p><p>(<strong>Note:-</strong>It (Dynamic Analysis) involves running the malware within a controlled environment, typically a sandbox or a virtual machine, to observe its actions and behaviors as it executes. This analysis is performed in real-time, allowing analysts to capture the malware’s activities, such as network communication, file modifications, system calls, and any other potentially harmful or suspicious behavior.)</p><h3><strong>1. PE Structure Analysis:-</strong></h3><p>First of all we will discuss some basics of PE structure,</p><p>What is PE structure and how it is related to malware analysis ?</p><p>PE (Portable Executable) is a file format used in 32-bit and 64-bit versions of Windows operating systems. It’s the structure format for executable files, object code, DLLs (Dynamic Link Libraries), and other Windows files. PE files are the standard format for Windows executables and provide a standardized and organized way to store executable code, data, resources, and other essential information required for the operating system to load and execute the program.</p><p>We all know that malware is nothing but the malicious software. As, malware is also a type of software so it is an executable file and for analyzing the .exe file its PE structure is necessary to be understood…</p><p>The PE structure contains various headers and sections that help the operating system understand how to load and execute the program. Here are some key components of the PE structure:</p><p><strong>DOS Header:</strong> This is a legacy header that starts most Windows executable files. It includes the DOS executable header and a pointer to the PE header.</p><p><strong>PE Signature:</strong> This is a marker that specifies the start of the PE header and indicates the start of the PE file.</p><p><strong>PE Header: </strong>This contains crucial information about the PE file, such as the type of file, the architecture, the number of sections, entry point address, and more.</p><p><strong>Section Headers:</strong> These describe various sections of the executable, such as the code section, data section, resource section, and others. Each section contains specific types of data and has its characteristics.</p><p><strong>Import and Export Tables: </strong>These tables contain information about the functions and libraries that the executable file imports (uses) and exports (makes available for use by other programs).</p><p><strong>Resource Directory:</strong> This section contains various resources like images, icons, dialogs, version information, etc., used by the application.</p><p><strong>Relocation Information:</strong> For files that are not loaded at their preferred base address, this information provides details on how to relocate the code in memory.</p><p>Understanding the PE structure is essential for various reasons, including software development, security analysis, debugging, and reverse engineering. Tools like debuggers, disassemblers, and PE editors rely on the information stored in the PE structure to analyze and manipulate executable files.</p><p>This structure provides a standardized way for the Windows operating system to understand and execute executable files while allowing developers and analysts to work with and understand the internal components of these files.</p><p><strong>So, after discussing about basics of PE now we will analyze actual PE structure of the sample file mentioned above,</strong></p><ol><li>DOS HEADER:- (First 64 bytes of the PE)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*9UHNcDPG0oMVheKXkzKU1Q.png" /><figcaption>Dos Header</figcaption></figure><p>⦁ e_magic field (Type: WORD):-</p><p>This field is involved in the first 2 bytes of the DOS header. It is nothing but the signature which is used to identify the file format as a PE. It is denoted as MZ which can be read as 5D4A in hexadecimal notation. We can see that signature below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*xJszbZJ3B0wtfnnK_HXOtw.png" /></figure><p>⦁ e_lfanew field (Type:DWORD):-</p><p>This field is present as a last 4 bytes of the DOS Header.It is nothing the Offset for the PE header(means it is an adress based on which we can find the starting location of the PE header.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*0mcOAA2fILHbTsmsbxgmJQ.png" /></figure><p>2. DOS Stub(64 Bytes) :-</p><p>It the normal alert type of message which tells whether file is DOS supported or not as shown below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*CRr49POaAs9Xwq0XR_ZYrw.png" /><figcaption>DOS Stub</figcaption></figure><p>3.Rich Header(Size is variable):-</p><p>⦁ The Rich Header is an undocumented data structure embedded within the PE files by some Microsoft compilers, including Visual Studio.</p><p>⦁ It contains information about the number of times the program was built and can give insight into the development environment and tools used in the creation of the executable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*ZN3mWv0cTTv8jTxro2ZFKg.png" /><figcaption>Rich Header</figcaption></figure><p>4. PE Header Signature(4 Bytes):-</p><p>⦁ As, we have seen what is offset in the DOS header.So,when we refer the address of that offset we will get the position of the PE header.</p><p>⦁ The PE header starts from PE signature which can be seen as “PE..” in the structure; it is written as (00 00 45 50) in the hexadecimal notation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*dlfFYUpiyinSrmC5rpu-ug.png" /><figcaption>PE Signature</figcaption></figure><p>5. IMAGE FILE HEADER (COFF HEADER):-</p><p><strong>⦁ Machine Field Values:-</strong></p><p>This field starts just after the PE.. signature…</p><p>The value in the Machine field determines the architecture of the file.</p><p>Common values include:</p><p>x86 (32-bit): The Machine field will have the value 0x014C.</p><p>x64 (64-bit): The Machine field will have the value 0x8664.</p><p>ARM (32-bit): The Machine field will have the value 0x01C0.</p><p>ARM64 (64-bit): The Machine field will have the value 0xAA64.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*q0SBWd_lN-zJrtLsuCWYmg.png" /></figure><p>Here, the value of machine field is ’01 4C’. So, this file has 32 bits architecture …</p><p>(Note:- while reading the values in PE structure, always read it from right to left in hexadecimal format field.)</p><p>⦁ <strong>Number of sections:-</strong></p><p>Just after machine field number of sections are mentioned in the structure…</p><p>Here we can see total number of sections are <strong>5</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*dalaKd52tW9UGHSMrDlsjw.png" /></figure><p><strong>⦁ Timestamp:-</strong></p><p>Hexadecimal value of timestamp- 6C DC A0 64</p><p>Decimal converted value- 1688263788</p><p>Timestamp- Sunday, July 2, 2023 2:09:48 AM</p><p>Future Timestamps: If the timestamp indicates a date in the future, it could be a sign of potential manipulation or an attempt to obfuscate the file’s origins. Normal PE timestamps are in the past or, at most, the current date but rarely in the future.</p><p>Very Old Timestamps: Extremely old timestamps on a PE file could raise suspicion. For instance, if the timestamp is significantly outdated and doesn’t align with the file’s expected development or release cycle, it might indicate an attempt to disguise or mislead about the file’s origins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*dCWMjyDh-WEhAxcj6RJC7Q.png" /></figure><p>6. IMAGE OPTIONAL HEADER:-</p><p>⦁ The Image Optional Header, also known as the PE Optional Header, is a significant part of the Portable Executable (PE) file format used in Windows operating systems. It’s found within the PE header and contains additional information about the PE file, which supplements the standard PE header information.</p><p>⦁ The Image Optional Header provides specific details about how the executable is loaded into memory and additional characteristics beyond what the PE header covers. It includes information such as the size of the code and data, entry point, base address, the preferred address of the image in memory, the alignment, and more. The structure and its contents vary depending on whether the file is a 32-bit (x86) or 64-bit (x64) executable.</p><p><strong>Key components of the Image Optional Header include:</strong></p><p>⦁ Magic Number: This field identifies the format of the Optional Header, specifying whether it’s for a PE32 (32-bit) or PE32+ (64-bit) file. For 32-bit, the magic number is 0x10B, and for 64-bit, it’s 0x20B.</p><p>⦁ Address of Entry Point: It specifies the starting point of the code execution when the file is loaded into memory.</p><p>⦁ Image Base: This field defines the preferred base address where the image should be loaded into memory.</p><p>⦁ Section Alignment and File Alignment: These fields define the alignment of sections in memory and in the file itself, respectively.</p><p>⦁ Size of Image: It indicates the total size of the image, including all headers, sections, and other data.</p><p>⦁ Subsystems Information: It includes details about the operating system’s subsystem requirements for running the executable.</p><p>⦁ DLL Characteristics: Flags that specify whether the executable is a DLL (Dynamic Link Library) and if it has ASLR (Address Space Layout Randomization) and DEP (Data Execution Prevention) enabled.</p><p>⦁ Stack and Heap Sizes: Information about the stack and heap size for the executable.</p><p><strong>So,this was all about the basic PE structure analysis of the given sample .Now, we will see the detailed Static and Dynamic Analysis of the given sample,</strong></p><p><strong>(Note:-</strong>Before performing actual analysis turn OFF all the security tools, antivirus, virus and threat protection of your system for better analysis…)</p><h3><strong>2. STATIC ANALYSIS:-</strong></h3><p>Static analysis is a fundamental and initial stage of malware analysis. It helps in identifying, classifying, and understanding the characteristics of a potential threat without the risk of activating or spreading the malware. However, it does have limitations, such as the inability to observe runtime behavior or dynamic aspects of the malware.</p><p><strong>Key aspects of static malware analysis include,</strong></p><p><strong>File Structure Examination:</strong> Analysts dissect the file’s structure to understand its components, such as headers, sections, and embedded resources.</p><p><strong>Code and Binary Analysis:</strong> This involves disassembling or decompiling the executable code to understand its functionality and behavior without execution. Tools are used to inspect the assembly language code or high-level representations to decipher the operations and potential threats.</p><p><strong>Behavioral Signatures:</strong> Looking for specific patterns or signatures that may indicate known malware families or behaviors. This involves comparing the file against known databases of malware or virus definitions.</p><p><strong>Resource and Metadata Examination:</strong> Investigating any embedded files, resources, or metadata within the malware to understand additional functionalities or potential attack vectors.</p><p><strong>Strings and Encryption Analysis: </strong>Looking for identifiable strings, encryption algorithms, or other obfuscation techniques that might be used by the malware to hide its intentions or communication methods.</p><p>⦁ <strong>Type of file and Architecture:-</strong></p><p>Here, we can see that file is an .EXE file and has 32 bits architecture.(Source-Cff Explorer&gt;Image Header&gt;Characteristics)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*fvvBncjwwLxty2pfbapkNA.png" /></figure><p><strong>⦁ Packing Info:-</strong></p><p>Here, we can see that the ENTROPY of the file is 7.848 which is very high value of entropy which confirms that file is Packed!</p><p>(Entropy:-entropy refers to a measure of randomness or unpredictability within the file’s contents. The concept of entropy is used in cybersecurity and malware analysis to assess the level of randomness present in various sections of a PE file, such as the code, data, or other segments.)</p><p>After checking on Detect it easy we can see that Resource and Overlay Sections are packed…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*u3ICB7vKJGaCfMEwGpBqtQ.png" /></figure><h4><strong>⦁ Overlays:-</strong></h4><p>Overlays refers to additional data appended to the end of a file that isn’t part of the file’s intended structure. In malware analysis, overlays can play a significant role in understanding the behavior and characteristics of the malicious software.</p><p>The role of overlays in malware analysis includes:</p><p><strong>Concealment of Code or Data:</strong> Malware may use overlays to hide code or data appended at the end of the file. This hidden code or data might not be immediately visible in the standard analysis tools, making it a technique used for obfuscation and evasion.</p><p><strong>Dynamic Payload Loading:</strong> Some malware might utilize overlays to store encrypted or compressed payloads at the end of the file. During execution, the malware might decrypt or decompress this payload from the overlay to execute or deploy further malicious activities. Analyzing overlays is essential to uncover potential payloads or secondary stages of the malware.</p><p>After checking the file on ExeInfoPE we can see that Overlays are present in this file structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*J-V8k-QM1ahArE0G2NiomQ.png" /></figure><p>After confirming that overlays are present or not, we checked the Overlays section on PEStudio,</p><p>We can see that overlays section is packed with the entropy of <strong>7.995</strong> and also the file ratio of overlays is <strong>76.81% </strong>this can be said as suspicious; Because, almost <strong>77%</strong> size of the file is occupied by overlays. So, this can be the suspicious case…</p><p>Original Size of file is <strong>382020</strong> Bytes and out of that <strong>2,94,433</strong> Bytes are occupied by Overlays…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*gf3JbYeWG8plz4P8W43u7Q.png" /></figure><p>⦁ <strong>Total sections :-</strong> 5 (But, .ndata section has self modifying characteristics which is also a suspicious case…)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*_iBRFaZviMP_jv8vk_sSJA.png" /></figure><p><strong>⦁ Certificate:- </strong>We can see in the Detect it easy &gt; certificate information section where, for this file no certificate is there. So, it can be also one more suspicious case …</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*ufe757-v8OcsGSMYSQ2XQQ.png" /></figure><p>⦁ <strong>Strings Analysis:-</strong>We can see Some Functions in the strings which are not necessary for the file. But, still they are included. Those may be used for Data destruction, Reconnaissance, Registry Modifications ,Data discovery and much more operations…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*67zeOuNO8PaeiHwf-ubTmQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*mZxJrjZODgND5JRjP2_79A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/146/1*Pjy6Bbp0dxH51TZsN9ApTA.png" /></figure><p><strong>⦁ Suspicious Imports which may be misused by malware(Source- PEStudio):-</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*hRD7ly3EQyCaD0QZVzr_Xg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*Y6rxqhDcprmcNQbM7lzPtw.png" /></figure><p>I have explained the some of the cases below,</p><p><strong>AdjustTokenPrivileges:-</strong> It’s a legitimate Windows API function that allows a process to enable or disable privileges for a user account, given the appropriate access rights. However, like many powerful system functions, it can be misused by malicious actors or malware to escalate privileges, modify system settings, and perform unauthorized actions on a system.</p><p>Malware or malicious software often abuses legitimate system functions such as AdjustTokenPrivileges to gain higher privileges than they should have, thereby facilitating their ability to perform unauthorized or malicious actions on the system.</p><p><strong>LookupPrivilegeValueW:-</strong>Cybercriminals might use LookupPrivilegeValueW as part of creating a backdoor or rootkit to maintain persistent access to a compromised system by granting themselves elevated privileges.</p><p><strong>WritePrivateProfileStringW:-</strong>The function’s capability to modify or create sensitive files and configurations is what could make it potentially harmful in the wrong hands. For instance, if an unauthorized application misuses WritePrivateProfileStringW to change system settings or configurations without user consent, it could lead to system instability or security risks.</p><p>If you want to check information about more of them then you can visit <a href="https://malapi.io/">https://malapi.io/</a> for understanding the working of several API functions…</p><p><strong>Virustotal Ratings and Relations:-</strong></p><p>⦁ After checking the file on virustotal, we can see that 51 out of 71 vendors have marked this file as a malicious file after performing analysis.</p><p>⦁ This can be one more proof for declaring this file as a malware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*K_bfO68Ewn8ScJzpvQSfCA.png" /></figure><p>Below given are the contacted sites with their severity ratings which this file contacted after execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*yYwHbwmHqVozAcLDYlEiMw.png" /></figure><p>This file also contacted several domains which are mentioned below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*qt49_ZN6sG6sbyEb5P9jxA.png" /></figure><p>The most important result is ; this file is dropping a file named ‘<strong>dapkqoihy.exe’</strong> which is highly malicious. So, let’s explore more about it with dynamic analysis…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*-se6UiykeUFJnSeKAwB-dA.png" /></figure><p>So, this was all about the Static analysis which we performed on the given sample. Now, it’s time for Dynamic analysis…</p><h3><strong>3. DYNAMIC ANALYSIS:-</strong></h3><p><strong>What is dynamic analysis?</strong></p><p>Dynamic malware analysis is a method used in cybersecurity to analyze the behavior and characteristics of potentially malicious software or malware in a controlled environment. This analysis involves executing the malware in a controlled, isolated environment (like a sandbox) to observe and monitor its actions, behaviors, and effects on a system. The goal is to understand how the malware operates and its potential impact without risking harm to a real system or network.</p><p>Key components and techniques involved in dynamic malware analysis include:</p><p><strong>Sandbox Environment:</strong> Malware is executed in a controlled environment, isolated from the actual operating system or network. This prevents the malware from causing harm to real systems.</p><p><strong>Behavioral Analysis:</strong> Analysts monitor the malware’s behavior, including system calls, file system changes, network activity, process creation, and other interactions with the environment.</p><p><strong>Code Analysis: </strong>Dynamic analysis also involves examining the malware’s code behavior as it executes, such as memory manipulation, injection techniques, or attempts to exploit vulnerabilities.</p><p><strong>Dynamic Monitoring Tools:</strong> Tools and software are used to monitor and log various activities initiated by the malware. These tools might include debuggers, network monitors, process monitors, and system call tracers.</p><p><strong>Traffic and Network Analysis: </strong>Understanding how the malware communicates with external servers or networks is crucial. This involves monitoring network traffic to identify any data exfiltration or communication patterns.</p><p><strong>Report Generation: </strong>After analysis, a report is generated that details the behavior, capabilities, and potential impact of the malware. This information is valuable for creating defenses and understanding the threat landscape.</p><p><strong>Now, let’s perform Dynamic analysis on the actual sample…</strong></p><p><strong>Using Process Monitor:-</strong></p><p>(This tool is designed to provide real-time monitoring of system and process activity on Windows operating systems. Process Monitor enables users to monitor various activities and events occurring on the system, offering detailed information about processes, file system activity, registry changes, and more.)</p><p>⦁ After setting the malware name filter, we obtained all the operations which the malware file is performing.</p><p>⦁ But, when we checked the evolution history of the file in the Process Tree, we can easily see that the main file is Dropping a new file named <strong>‘dapkqoihy.exe’</strong> which we also seen in the virustotal relations…</p><p>⦁ Means, from this proof we can conclude one thing that original malware file which we executed was a <strong>‘DROPPER’ </strong>which dropped the new file <strong>‘dapkqoihy.exe’</strong> for its further operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*n98K05Wjm3qFx2tV0J273g.png" /></figure><p>⦁ When I checked the hashes of both the files using ‘HASHCALC’ we can easily see that hashes of both the files were totallly different. This thing confirms a new conclusion that the original file is not evolving itself by changing its name. But, it is dropping a complete new file in the system for performing certain operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*QmTKlScKqwRFitjdRmPhXQ.png" /><figcaption>Original File</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*HjJx--6YmTitnumclGPQbg.png" /><figcaption>Dropped File</figcaption></figure><p><strong>Process Explorer:-</strong></p><p>(It provides detailed information about processes, DLLs (Dynamic Link Libraries), handles, and more, surpassing the capabilities of the default Windows Task Manager. It provides detailed information about running processes, including their CPU usage, memory usage, parent-child process relationships, and the command lines used to launch those processes.)</p><p><strong>In the process explorer, both the files were seen only for the part of a second after that both quickly got diminished. So, no more analysis can be made using process explorer here…</strong></p><p><strong>Using Regshot:-</strong></p><p>(RegShot is a free and open-source registry compare utility for Microsoft Windows operating systems. It’s a tool used to take snapshots of the Windows Registry at different points in time and compare the differences between these snapshots. RegShot helps users and IT professionals track and analyze changes made to the Windows Registry during software installations, system changes, or after running applications.)</p><p>The process of using RegShot typically involves the following steps:</p><p><strong>Snapshot Creation: </strong>RegShot takes a “snapshot” of the Windows Registry at a specific point in time. This initial snapshot captures the current state of the registry.</p><p><strong>System Changes: </strong>After taking the initial snapshot, users can make changes to the system, such as installing new software, changing settings, or running applications.</p><p><strong>Second Snapshot: </strong>After making the changes, RegShot takes another snapshot of the Windows Registry, capturing its new state.</p><p><strong>Comparison: </strong>RegShot compares the two snapshots and generates a report that details the differences between the two states of the Registry. It highlights any additions, deletions, or modifications made between the two snapshots.</p><p>After performing regshot we can see below changes,</p><p><strong>At first we can see dropped file’s address in the system,</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*HExwbhWDHOQEOQWl6sKjWw.png" /></figure><p><strong>In the registry changes, the below disable operations can be seen easily which can also be the suspicious case.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*TogwDaHMD_2q6KrD0QM3nA.png" /></figure><p>Virustotal results of the dropped<strong>(dapkqoihy.exe)</strong> file:-</p><p>It can be clearly seen that the file is marked as malicious by maximum vendors…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*55IRUUoBwsr75lmVrsbxZQ.png" /></figure><h3><strong>Conclusion:-</strong></h3><p>After performing static and dynamic analysis, we can conclude that the file is malicious (it is a dropper which is dropping one another malicious file.)</p><p>The type of malware file is <strong>‘Trojan’.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d10a8dd35d5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>