<?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 Bhumiputra on Medium]]></title>
        <description><![CDATA[Stories by Bhumiputra on Medium]]></description>
        <link>https://medium.com/@bhumiputra0011?source=rss-5e34c5e2dcae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*i_m0NaNcmyk57pgH</url>
            <title>Stories by Bhumiputra on Medium</title>
            <link>https://medium.com/@bhumiputra0011?source=rss-5e34c5e2dcae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:26:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhumiputra0011/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[CORS the new CSRF]]></title>
            <link>https://medium.com/@bhumiputra0011/cors-the-new-csrf-3779e78cbf15?source=rss-5e34c5e2dcae------2</link>
            <guid isPermaLink="false">https://medium.com/p/3779e78cbf15</guid>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[web-app-pentesting]]></category>
            <category><![CDATA[owasp-api-security-top-10]]></category>
            <dc:creator><![CDATA[Bhumiputra]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 20:50:38 GMT</pubDate>
            <atom:updated>2026-08-15T20:50:38.972Z</atom:updated>
            <content:encoded><![CDATA[<p>While reading pentest reports for CORS(Cross Origin Resource sharing) misconfiguration issues I have observed a very common phenomenon where the “<em>pentester</em>” would test for the CORS misconfigration and report instances of such issues under the Title like “Potential CORS Misconfiguration” and paste the generic Burp Scanners description and remediation. Since I have been part of multiple pentest teams and participated in numerous pentest campaigns, I can say for sure that most of the young and few “experienced pentester” still lack the basic understanding of how CORS even works? The common answer is its a relaxation of SOP(Same Origin Policy) but as soon as you follow up with What ,Who and How…? You’ll see them getting anxious. I wont go in the basics of CORS but I would like to share what a good CORS miscofiguration PoC should contain.</p><p>The strongest CORS PoC is end to end Browser demonstration and the Business Impact of the issue. You must show the READ access of the Victims data and not the mere origin reflection, NULL, or wildcard in the Access-Control-Allow-Origin header.</p><p>You need:</p><ol><li>A Victim API endpoint that fetches any kind of sensitive data.</li><li>A authenticated victim session in your Browser.</li><li>An Origin that <strong>YOU</strong> control ie. the attacker controlled domain</li><li>The Application’s CORS configuration must allow the attacker origin and the browser must be willing to send victim’s authenticated data.</li></ol><p>But wait, you must determine how does that victim’s application API endpoint handles authenticated session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eDp75pxwBlTALIJ5DN8PqA.png" /><figcaption>Determination of Authentication/Authorization.</figcaption></figure><ol><li>Cookie Based Authentication: The application must use cookie and the application response must contain the attacker controlled Origin or wildcard and Access-Control-Allow-Credentials: true</li><li>Authorization Header: The preflight request(OPTIONS) would contain the following response Access-Control-Allow-Headers: authorization,content-type.</li></ol><p>CORS attack is easier in Option 1 cause when the victim visits the attacker controlled domain, the malicious JavaScript hosted on domain performs a fetch() to the API endpoint of the application that returns sensitive information and since the user has authenticated session on a different tab the cookies are attached in that request. The attacker JavaScript can read the response.</p><p>Whereas, the authorization header is explicitly added by the application JavaScript and if CORS policy is misconfigured the best you can do is report under <strong>configuration weakness without demonstrated data theft</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jKJht1m-BNFZen-eh4SS6w.png" /><figcaption>Request Construction via JavaScript</figcaption></figure><p>The API uses an Entra ID Bearer token supplied explicitly through the Authorization header. Although the server permits the attacker’s origin via CORS, the browser does not automatically expose or attach the victim’s Bearer token to the attacker’s request. Therefore, the tested CORS weakness alone could not be demonstrated as authenticated data theft.<br>The malicious script cannot read the JWS stored in localStorage (Steal via XSS) or if the request is built by the application’s JavaScript as mentioned above.<br>The key takeaway here is :</p><p><em>Cookies are automatically managed by the browser; Bearer tokens in </em><em>Authorization are normally explicitly supplied by application code.</em></p><p>so to sum it up….if you discover that <strong>some endpoint uses an automatically supplied credential</strong> (for example a cookie) and your cross-origin fetch() returns sensitive authenticated data, <strong>that is the point where you have the real-world CORS data-exfiltration PoC you&#39;re looking for.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3779e78cbf15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Backup Vbox Machines[Linux]]]></title>
            <link>https://medium.com/@bhumiputra0011/backup-vbox-machines-linux-d120c921dc04?source=rss-5e34c5e2dcae------2</link>
            <guid isPermaLink="false">https://medium.com/p/d120c921dc04</guid>
            <category><![CDATA[virtual-machine]]></category>
            <dc:creator><![CDATA[Bhumiputra]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 08:08:59 GMT</pubDate>
            <atom:updated>2025-11-02T08:08:59.843Z</atom:updated>
            <content:encoded><![CDATA[<p>When you want to take a backup of VirtualBox OS instances follow the steps below:<br>1.┌──(<strong>nonroot㉿Vajraang</strong>)-[<strong>~/VirtualBox VMs</strong>] <br>└─<strong>$</strong> VBoxManage list systemproperties <strong>|</strong> grep “Default machine folder” <br> <br><strong>Default machine folder</strong>: /home/nonroot/VirtualBox VMs</p><p>2. List all the VM.<br>┌──(<strong>nonroot㉿Vajraang</strong>)-[<strong>~/VirtualBox VMs</strong>] <br>└─<strong>$</strong> VBoxManage list vms <br>“windows 10 Malware “ {3861f684–59b6–43ac-ac65–5efb8b6efc8d} <br>“PMAT-REMnux” {036c4346–49f3–49ea-9c58–8e969aa2b464} <br>“xp” {b4b918ab-fb67–4a1f-a85d-a61663fdf606} <br>“Mobexler” {9f60e6e3–9084–45f8–8123–5e0e74cf4b38}</p><p>3. Turn off the instance.<br>┌──(<strong>nonroot㉿Vajraang</strong>)-[<strong>~/VirtualBox VMs</strong>] <br>└─<strong>$</strong> VBoxManage controlvm “xp” poweroff <br>VBoxManage: error: Machine ‘xp’ is not currently running.</p><p>4. ┌──(<strong>nonroot㉿Vajraang</strong>)-[<strong>~/VirtualBox VMs</strong>] <br>└─<strong>$</strong> VBoxManage export “xp” — output ~/xp_backup.ova <br>0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100% <br>Successfully exported 1 machine(s).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d120c921dc04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New Way of Packaging Malware]]></title>
            <link>https://medium.com/@bhumiputra0011/new-way-of-packaging-malware-388f10e47b99?source=rss-5e34c5e2dcae------2</link>
            <guid isPermaLink="false">https://medium.com/p/388f10e47b99</guid>
            <category><![CDATA[malware-analysis]]></category>
            <dc:creator><![CDATA[Bhumiputra]]></dc:creator>
            <pubDate>Thu, 06 Feb 2025 09:09:38 GMT</pubDate>
            <atom:updated>2025-02-06T09:09:38.624Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>New Way of Packaging Malware</strong></p><p>The malware is packaged in a legitimate installer package that is being distributed from the usual sources. The installer package is supposed to be for Jupe app, but it actually contains malware. The malware is hidden in a dll file that is loaded by the installer package. The dll file is a modified version of the lib CF library, which is used by the Nvidia GeForce Experience app. The modified lib CF library contains malicious code that is executed when the installer package is run. The malicious code downloads and installs a Luma Stealer, which is a malware that steals information from the victim’s computer.</p><p><strong>Key Concepts</strong></p><ul><li>Malware Packaging: a new and unusual way of packaging malware, where legitimate software is used to hide malicious code.</li><li>Electron Apps: how Electron apps, like Nvidia GeForce Experience, can be exploited by malware due to their reliance on external libraries.</li><li>DLL Hijacking: how malware can hijack the loading process of legitimate DLLs to execute malicious code.</li><li>Malware Analysis Techniques: Various techniques used to analyze malware, including network traffic analysis, dynamic analysis using debuggers, and static analysis of executable files.</li><li>Security Best Practices: the importance of using virtual machines for malware analysis and the limitations of relying solely on antivirus software for malware detection.</li></ul><p><strong>Challenges</strong></p><p>The challenges of using this technology are as follows:</p><ul><li>Detection: The malware is hidden within a legitimate software package, making it difficult for traditional antivirus software to detect. This is because the malware is not directly executed by the user, but rather by the legitimate software itself.</li><li>Analysis: The malware is encrypted and packed, making it difficult for analysts to understand how it works. This is because the malware is not directly executed by the user, but rather by the legitimate software itself.</li><li>Remediation: Once the malware is installed, it is difficult to remove. This is because the malware is hidden within a legitimate software package, making it difficult to identify and remove.</li></ul><p><strong>Future Directions</strong></p><p>The ways to mitigate these challenges, such as using a good antivirus software and being careful about what software you install.</p><p>New way of packaging malware that uses a legitimate software executable to load a malicious DLL. This technique is difficult to detect because the malicious DLL is not directly executed by the user. Instead, it is loaded by the legitimate software, which can make it appear harmless.</p><p>One future direction for this technology is to make it more difficult to detect. This could be done by making the malicious DLL more difficult to identify, or by making the legitimate software more difficult to analyze. For example, the attackers could use more sophisticated obfuscation techniques to make the malicious DLL more difficult to reverse engineer. They could also make the legitimate software more complex, making it more difficult for security researchers to analyze.</p><p>Another future direction for this technology is to make it more effective. This could be done by making the malicious DLL more powerful, or by making it more difficult to remove. For example, the attackers could make the malicious DLL capable of stealing more sensitive information, or they could make it more difficult to uninstall.</p><p>Overall, the technology discussed in the video is a concerning development for security researchers. It is a new and innovative way of packaging malware that is difficult to detect and remove. As a result, it is likely to become more prevalent in the future.</p><p><strong>Protecting Yourself</strong></p><p>It is important to note that this is just one possible future direction for this technology. It is also possible that security researchers will develop new techniques to detect and remove this type of malware. However, it is important to be aware of this threat and to take steps to protect yourself from it.</p><p>Here are some tips for protecting yourself from this type of malware:</p><ul><li>Be careful about what software you install. Only install software from trusted sources.</li><li>Keep your software up to date. This will help to patch any security vulnerabilities that could be exploited by malware.</li><li>Use a good antivirus program. This can help to detect and remove malware.</li><li>Be careful about what you click on. Do not click on links or attachments from unknown sources.</li></ul><p>By following these tips, you can help to protect yourself from this type of malware.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=388f10e47b99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VirtualBox Error Solution]]></title>
            <link>https://medium.com/@bhumiputra0011/virtualbox-error-solution-5468704ef9d4?source=rss-5e34c5e2dcae------2</link>
            <guid isPermaLink="false">https://medium.com/p/5468704ef9d4</guid>
            <category><![CDATA[virtualbox]]></category>
            <dc:creator><![CDATA[Bhumiputra]]></dc:creator>
            <pubDate>Sat, 21 Dec 2024 11:13:24 GMT</pubDate>
            <atom:updated>2024-12-21T11:13:24.997Z</atom:updated>
            <content:encoded><![CDATA[<p>OS: Kali Linux<br>Error while starting a GuestVM:<br>Result Code:<br>NS_ERROR_FAILURE (0X80004005)<br>Component:<br>MachineWrap<br>Interface:<br>IMachine {300763af-5d6b-46e6-aa96–273eac15538a}</p><p>Step 1: <strong>Trying to run Virtal box as Root</strong></p><p>└─$ sudo virtualbox <br>[sudo] password for nonroot: <br>WARNING: The vboxdrv kernel module is not loaded. Either there is no module<br> available for the current kernel (6.11.2-amd64) or it failed to<br> load. Please recompile the kernel module and install it by</p><p>sudo /sbin/vboxconfig</p><p>You will not be able to start VMs until this problem is fixed.<br>Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’</p><p>Step: 2 Make sure that virtualbox-dkms was installed by running this command here No response for the following command<br>─$ dpkg -l | grep virtualbox-dkms</p><p>Step 3: command to rebuild the kernel</p><p>└─$ sudo /sbin/vboxconfig<br>vboxdrv.sh: Stopping VirtualBox services.<br>vboxdrv.sh: Starting VirtualBox services.<br>vboxdrv.sh: Building VirtualBox kernel modules.<br>This system is currently not set up to build kernel modules.<br>Please install the Linux kernel “header” files matching the current kernel<br>for adding new hardware support to the system.<br>The distribution packages containing the headers are probably:<br> linux-headers-amd64 linux-headers-6.11.2-amd64<br>This system is currently not set up to build kernel modules.<br>Please install the Linux kernel “header” files matching the current kernel<br>for adding new hardware support to the system.<br>The distribution packages containing the headers are probably:<br> linux-headers-amd64 linux-headers-6.11.2-amd64</p><p>There were problems setting up VirtualBox. To re-start the set-up process, run<br> /sbin/vboxconfig<br>as root. If your system is using EFI Secure Boot you may need to sign the<br>kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load<br>them. Please see your Linux system’s documentation for more information.</p><p>Step 4: The first step in the installation of VirtualBox guest additions is the installation of kernel headers. This includes the installation of the dkms package (Dynamic Kernel Module Support) alongside other build tools as shown.</p><p>└─$ sudo apt install build-essential linux-kernel-headers 1 ⨯<br>Error: Unable to locate package linux-kernel-headers</p><p>└─$ sudo apt-get install linux-headers-$(uname -r) 100 ⨯<br>Reading package lists… Done<br>Building dependency tree… Done<br>Reading state information… Done<br>Use ‘sudo apt autoremove’ to remove them.<br>The following additional packages will be installed:<br> linux-headers-6.11.2-common linux-kbuild-6.11.2<br>The following NEW packages will be installed:<br> linux-headers-6.11.2-amd64 linux-headers-6.11.2-common linux-kbuild-6.11.2<br>0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.<br>Need to get 13.3 MB of archives.<br>After this operation, 68.1 MB of additional disk space will be used.<br>Do you want to continue? [Y/n] y<br>Get:1 <a href="http://kali.download/kali">http://kali.download/kali</a> kali-last-snapshot/main amd64 linux-headers-6.11.2-common all 6.11.2–1kali1 [10.6 MB]<br>Get:2 <a href="http://kali.download/kali">http://kali.download/kali</a> kali-last-snapshot/main amd64 linux-kbuild-6.11.2 amd64 6.11.2–1kali1 [1,165 kB]<br>Get:3 <a href="http://kali.download/kali">http://kali.download/kali</a> kali-last-snapshot/main amd64 linux-headers-6.11.2-amd64 amd64 6.11.2–1kali1 [1,452 kB]<br>Fetched 13.3 MB in 22s (597 kB/s) <br>Selecting previously unselected package linux-headers-6.11.2-common.<br>(Reading database … 530290 files and directories currently installed.)<br>Preparing to unpack …/linux-headers-6.11.2-common_6.11.2–1kali1_all.deb …<br>Unpacking linux-headers-6.11.2-common (6.11.2–1kali1) …<br>Selecting previously unselected package linux-kbuild-6.11.2.<br>Preparing to unpack …/linux-kbuild-6.11.2_6.11.2–1kali1_amd64.deb …<br>Unpacking linux-kbuild-6.11.2 (6.11.2–1kali1) …<br>Selecting previously unselected package linux-headers-6.11.2-amd64.<br>Preparing to unpack …/linux-headers-6.11.2-amd64_6.11.2–1kali1_amd64.deb …<br>Unpacking linux-headers-6.11.2-amd64 (6.11.2–1kali1) …<br>Setting up linux-headers-6.11.2-common (6.11.2–1kali1) …<br>Setting up linux-kbuild-6.11.2 (6.11.2–1kali1) …<br>Setting up linux-headers-6.11.2-amd64 (6.11.2–1kali1) …</p><p>Step 5: <br>└─$ sudo /sbin/vboxconfig <br>vboxdrv.sh: Stopping VirtualBox services.<br>vboxdrv.sh: Starting VirtualBox services.<br>vboxdrv.sh: Building VirtualBox kernel modules.</p><p>Step 6: VM starts with no issues.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5468704ef9d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Interview Experience]]></title>
            <link>https://medium.com/@bhumiputra0011/my-interview-experience-899ed0aa1ba4?source=rss-5e34c5e2dcae------2</link>
            <guid isPermaLink="false">https://medium.com/p/899ed0aa1ba4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Bhumiputra]]></dc:creator>
            <pubDate>Thu, 13 Jun 2024 20:22:07 GMT</pubDate>
            <atom:updated>2024-06-13T20:22:07.787Z</atom:updated>
            <content:encoded><![CDATA[<p>I had the scheduled interview for Aujas Cyber Security(Applied at: Naukri)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4ZjVEMnywpaNgV4B1PcHA.png" /><figcaption>Email for the scheduled interview</figcaption></figure><p>The interview started with a brief introduction.<br>Q1. What domains have you conducted penetration testing in, and how many applications have you tested so far?<br>Q2. What are the most critical vulnerabilities you have identified while testing those applications?<br>Q3. Could you please explain those vulnerabilities and how you discovered them? What techniques did you use to increase the criticality of the vulnerabilities?<br>Q4. What is Business Logic flaw? Can you explain which functionalities have higher probability of having a Business logic flaw?<br>Q5. Suppose the application has an id=1 paramater in the URL. What are the different attacks that you would test in this scenario?</p><p>Q6. If the environment that your testing from does not have SQLmap, how would you test SQLi vulnerability in the id=1 parameter?<br>Q7. How would you manually test for SQLi?<br>Q8. If reflection is observed in the `id=1` parameter and the XSS payload is URL-encoded, will XSS occur?<br>Q9. If you are given 2 accounts of an application. How would you test for CSRF attack?<br>Q10. What are the different ways CSRF Tokens are tested?<br>Q11. If the web application has implemented CSRF securely , would an XSS in that application be dangerous? If yes how?<br> Q12. You have found an XSS vulnerability in an application that is going to be pushed to prod in 4 hrs, what mitigation can you suggest to the clients that would fix the issues? What if the client does not allow major code changes to the application! What would be your approach in remediating this issue?<br>Q13. How would you remediate a CSRF vulnerability without implementing synchronizer tokens?<br>Q14. What is Mass Assignment Attack and how could it be exploited?<br>Q15. What are cookie attributes and explain the important ones?<br>Q16. You have found that the cookie is scoped to the root domain. Why would you report this as a vulnerability?<br>Q17. Explain the testing methodology that you follow when you are given a URL and credential(greybox test)?<br>Q18. Have you pentested Android applications? Explain the testing methodology that you follow when you are given an Android application.<br>Q19. What are the most common issues that you have identified in android applications?<br>Q20. If the JWT Token for the android application is stored on phone storage but the expiry of that token is 2 min , would that be considered as an issue? <br>Q21. Which Android emulator you prefer while testing APK’s ? Have you pentested APK on a physical device?<br>Q22. How does frida work? How does it hooks Js functions when the application runs in sandboxed environment?</p><p>Q23. What is SSRF and what is the most damage that an attacker can inflict ?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=899ed0aa1ba4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cybersecurity: Navigating the Complex Landscape of Defense and Offense Against Attack Vectors]]></title>
            <link>https://medium.com/@bhumiputra0011/title-cybersecurity-navigating-the-complex-landscape-of-defense-and-offense-against-attack-15a47ad22671?source=rss-5e34c5e2dcae------2</link>
            <guid isPermaLink="false">https://medium.com/p/15a47ad22671</guid>
            <dc:creator><![CDATA[Bhumiputra]]></dc:creator>
            <pubDate>Thu, 18 Jan 2024 11:32:30 GMT</pubDate>
            <atom:updated>2024-01-18T11:32:49.580Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction</p><p>In the rapidly evolving digital age, where technology permeates every facet of our lives, cybersecurity has become a critical concern for individuals, businesses, and governments alike. As organizations harness the power of interconnected systems, the threat landscape has also expanded, giving rise to a multitude of attack vectors that can compromise the security and integrity of data. This article explores the intricate balance between cybersecurity defense and offense, shedding light on the various attack vectors that necessitate a proactive and comprehensive approach to safeguarding digital assets.</p><p>Understanding Attack Vectors</p><p>Attack vectors are the pathways through which cyber threats gain unauthorized access to computer systems or networks. These vectors are diverse and constantly evolving, challenging cybersecurity professionals to stay one step ahead of malicious actors. Common attack vectors include phishing attacks, malware, ransomware, social engineering, and exploiting software vulnerabilities.</p><p>1. Phishing Attacks</p><p>Phishing attacks remain one of the most prevalent and effective attack vectors. Cybercriminals use deceptive emails, messages, or websites to trick individuals into divulging sensitive information such as passwords or financial details. Recognizing and educating users about phishing techniques is crucial for building a robust defense against this vector.</p><p>2. Malware and Ransomware</p><p>Malicious software, or malware, is designed to infiltrate systems and execute harmful actions without the user’s consent. Ransomware, a specific type of malware, encrypts data and demands payment for its release. Cybersecurity defenses must employ advanced antivirus tools, intrusion detection systems, and regular system updates to mitigate the risk of malware and ransomware attacks.</p><p>3. Social Engineering</p><p>Social engineering involves manipulating individuals into divulging confidential information or performing actions that compromise security. This attack vector exploits human psychology rather than technical vulnerabilities. Employee training programs and robust access controls are essential components of a defense strategy against social engineering.</p><p>4. Software Vulnerabilities</p><p>As software and applications become more complex, vulnerabilities inevitably arise. Attackers exploit these weaknesses to gain unauthorized access to systems. Regular software updates, vulnerability assessments, and penetration testing are crucial for identifying and patching vulnerabilities, forming a critical component of a comprehensive defense strategy.</p><p>The Offense: Active Cyber Defense</p><p>In addition to fortifying defenses against attack vectors, organizations are increasingly adopting an active cyber defense approach. This involves proactively identifying and neutralizing threats before they can cause harm. Offensive cybersecurity measures may include threat intelligence gathering, penetration testing, and ethical hacking.</p><p>1. Threat Intelligence</p><p>Threat intelligence involves collecting and analyzing information about potential cyber threats. By staying informed about the tactics, techniques, and procedures employed by threat actors, organizations can enhance their ability to preemptively defend against emerging attack vectors. This proactive stance allows cybersecurity professionals to anticipate and counteract potential threats before they materialize.</p><p>2. Penetration Testing</p><p>Penetration testing, or ethical hacking, involves simulating cyberattacks to identify vulnerabilities within a system. By understanding how a system could be exploited, organizations can implement targeted defenses and fortify weak points in their cybersecurity posture. Regular penetration testing is a proactive measure that helps organizations stay ahead of potential threats.</p><p>Conclusion</p><p>As the cyber threat landscape continues to evolve, a holistic cybersecurity strategy that combines robust defense measures with proactive offensive capabilities is essential. Organizations must remain vigilant, continually updating and adapting their cybersecurity practices to counter emerging attack vectors. By understanding and addressing both defense and offense, the digital world can be made safer for individuals, businesses, and governments alike.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15a47ad22671" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Malware analysis Technical Guide]]></title>
            <link>https://medium.com/@bhumiputra0011/malware-analysis-technical-guide-cda7900b15ac?source=rss-5e34c5e2dcae------2</link>
            <guid isPermaLink="false">https://medium.com/p/cda7900b15ac</guid>
            <category><![CDATA[malware-analysis]]></category>
            <dc:creator><![CDATA[Bhumiputra]]></dc:creator>
            <pubDate>Sun, 22 Jan 2023 16:23:43 GMT</pubDate>
            <atom:updated>2023-01-22T17:46:53.925Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zYZFDCoiHKUPHEVUjBP33A.png" /></figure><p>Malware analysis is the process of determining the functionality, origin and potential impact of a given malware sample. Malware analysis is a critical process in understanding and mitigating cyber threats, and it can be used to determine the impact of a malware attack, identify potential indicators of compromise (IOCs), and develop countermeasures and mitigations.<br>Before starting the analysis the malware analyst must know the following:<br>What is a Computer? Registries on Windows, Basic Assembly and Internet.<br> <br>In order to examine a malware the following stages are elaborated below:</p><p>1. <strong>Preparation</strong> :Before performing any analysis, it is important to prepare the environment. This includes ensuring that the system used for analysis is properly configured, and that all necessary tools and resources are available. Some malware have features such as <strong>Sandbox Evasion Techniques </strong>ie terminating immediately without performing any malicious operationson the sandbox.<br>Prerequsits: Windows with Flare VM &amp; Remnux on same network, wireshark , Ghidra and IDA Free/pro.</p><p>2. <strong>Obtaining the Sample</strong> : The next step is to obtain the sample. This can be done by downloading it from a website like vx-underground, or by capturing it in an isolated environment. It is important to ensure that the sample is not corrupted or modified in any way during the process. <br>Samples for analysis can be <strong>downloaded</strong> from the following places:<br>1. VX Underground: <a href="https://www.vx-underground.org/">https://www.vx-underground.org/</a><br>2. VirusTotal : virustotal.com<br>3. MalwareBazaar: <a href="https://bazaar.abuse.ch/">https://bazaar.abuse.ch/</a></p><p>3. <strong>Static Analysis: </strong>Once the sample has been obtained, the next step is to perform static analysis, which involves examining the code without executing it. This includes accessing file hashes, the import/export table, function calls or strings present in the binary. This can be done using a variety of tools, such as disassemblers, debuggers, and hex editors. During this process, the analyst can look for strings, API calls, and other indicators of malicious behavior. Analyzing the <em>strings</em> included in the malware sample can give you more information about what the sample may be doing or what it interacts with. Sometimes strings can help you get URLs or IP addresses on which to conduct further research(Nowadays most of the binarys are packed [UPX etc.] and Obfuscated with junk code/strings to confuse the malware analyst). For static analysis, tools such as Laikaboss and Strelka can be used.<br>Free Tools: PE studio, Adlice PEviewer etc.</p><p>4. <strong>Dynamic Analysis</strong> : Dynamic analysis involves executing the sample on an isolated system and monitoring its behavior. This can be done using virtual machines or specialized tools, such as sandboxes or honeypots. Malware may read/write files, it may also modify the registry or even use built-in system features such as scheduling for persistence. <a href="https://github.com/Seabreg/Regshot"><strong>Regshot</strong></a><strong> and </strong><a href="https://learn.microsoft.com/en-us/sysinternals/downloads/procmon"><strong>Procmon</strong></a> are two tools for monitoring registry changes.The analyst can then study the behavior of the code, including its network connections, system changes, and other indicators of malicious activity.<br>Some sandbox option are<a href="https://cuckoosandbox.org/"> Cuckoo’s Sandbox</a>, <a href="http://any.run/">AnyRun</a>, <a href="https://www.joesandbox.com/">Joe Sandbox</a> &amp; Virustotal.<br> Tools: IDA pro(<em>some say its costly but I think </em><a href="https://img.freepik.com/free-vector/vintage-monochrome-skull-pirate-hat_225004-2011.jpg?w=2000"><em>why not?</em></a>, Ghidra, Binary Ninja &amp; Windows Sysinternal tools<br>After we finish our static and dynamic malware analysis we need to indicate if the sample has malicious intent or not. If we do determine it has malicious intent to identify its TTP’s we might escalate to Reverse Engineering if needed.</p><p>5. <strong>Reporting</strong> :Once the analysis is complete, the analyst should create a report that summarizes the findings. This should include an overview of the sample and its capabilities, as well as a list of any IOCs that were identified. The report should also include recommendations for mitigating the threat.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cda7900b15ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>