<?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 Bibek Subedi on Medium]]></title>
        <description><![CDATA[Stories by Bibek Subedi on Medium]]></description>
        <link>https://medium.com/@iambibeksubedi.com?source=rss-9a7678efc00------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MULJ985SJBWYWRs0wGENpQ.jpeg</url>
            <title>Stories by Bibek Subedi on Medium</title>
            <link>https://medium.com/@iambibeksubedi.com?source=rss-9a7678efc00------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:36:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iambibeksubedi.com/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[Dirty pipe vulnerability walkthrough]]></title>
            <link>https://medium.com/@iambibeksubedi.com/dirty-pipe-vulnerability-walkthrough-c453b470d46d?source=rss-9a7678efc00------2</link>
            <guid isPermaLink="false">https://medium.com/p/c453b470d46d</guid>
            <dc:creator><![CDATA[Bibek Subedi]]></dc:creator>
            <pubDate>Fri, 11 Mar 2022 15:38:57 GMT</pubDate>
            <atom:updated>2022-03-11T15:59:03.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/728/0*IxobgbKM0EsQ0els" /></figure><h3>Executive Summary</h3><p>Pipes or pipelines are Linux operating system functionality to deliver information between processes. Many Linux users use pipers to chain processes so, the output of the first process is an input of the second process. <em>CVE-2022–0847</em> vulnerability was founded by <em>Max Kellerman</em>. In this vulnerability, user can gain root privileges by injection and overwriting code into read-only files without write privileges. This vulnerability exploits flaws in new pipe structure in the way Linux kernel handles pipe buffer flags.</p><p>First, Write some text on permission.txt file and this file has by default write privilege on the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*a3K4z4CGwSYTwIz8hgGUBA.png" /><figcaption><strong>Figure 1: Trying to write on some text with permission.txt file</strong></figcaption></figure><p>Now, trying to change file permission as read for all users, groups, and others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*z_xUGtZB09g5xzuGItpd5Q.png" /><figcaption><strong><em>Figure 2: Changing file permission</em></strong></figcaption></figure><p>File permission is changed or not on system so, ls command shows the file permission as read for all.</p><p>Here, certain contents are used to write on this permission.txt file. In this method file privilege checks on system. This shows permission denied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*VWCIU-r11KA7lXAeS2X1ig.png" /><figcaption><strong>Figure 3: Trying to execute text on file</strong></figcaption></figure><p>The dirtypipe binary is used to overwrite contents on a readable file. The dirtypipe exploit successfully worked to write on permission.txt file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*MUG6KmhptmvdiuiJFWEr-g.png" /><figcaption><strong>Figure 4: Exploit successful</strong></figcaption></figure><p>Finally, the exploitation is successfully completed. At the last stage, also check the file permission but still permission.txt file permission is not changed.</p><h3>Impacts</h3><ol><li>This vulnerability can escalate the privileges of super users.</li><li>Unauthorized permission on a file system</li><li>This vulnerability brings RCE to various Linux systems.</li></ol><h3>Remediation and Mitigation strategies</h3><p>If your system is susceptible to Dirty Pipe, the best course of action to take is to update your systems with the latest security updates. All Linux systems, including Android devices, from Linux kernel version 5.8 are vulnerable. To remediate CVE-2022–0847 an update is needed, as Linux versions 5.16.11, 5.15.25, and 5.10.102 are patched for this vulnerability, and in the latest Android kernel. The vulnerability was first reported by Max Kellerman of CM4all around February 20, 2022, and a patch mitigating the threat on kernel versions <strong>5.10.102, 5.15.25, and 5.16.11 </strong>was released by the Linux kernel security team on February 23, 2022.</p><h3>References</h3><blockquote><a href="https://www.zdnet.com/article/dirty-pipe-linux-vulnerability-discovered-fixed/">https://www.zdnet.com/article/dirty-pipe-linux-vulnerability-discovered-fixed/</a></blockquote><blockquote><a href="https://dirtypipe.cm4all.com/">https://dirtypipe.cm4all.com/</a></blockquote><blockquote><a href="https://www.cisa.gov/uscert/ncas/current-activity/2022/03/10/dirty-pipe-privilege-escalation-vulnerability-linux">https://www.cisa.gov/uscert/ncas/current-activity/2022/03/10/dirty-pipe-privilege-escalation-vulnerability-linux</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c453b470d46d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[D3FEND Walkthrough]]></title>
            <link>https://medium.com/@iambibeksubedi.com/d3fend-walkthrough-a11429b81823?source=rss-9a7678efc00------2</link>
            <guid isPermaLink="false">https://medium.com/p/a11429b81823</guid>
            <dc:creator><![CDATA[Bibek Subedi]]></dc:creator>
            <pubDate>Mon, 21 Feb 2022 07:31:41 GMT</pubDate>
            <atom:updated>2022-02-21T07:33:05.124Z</atom:updated>
            <content:encoded><![CDATA[<h4>D3FEND</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*PzZ-6Tg6NOf2Fb__KK8zoQ.png" /></figure><p><em>1) What is the corresponding name for the ID ‘D3-SDM’?</em></p><p>Ans: System Daemon Monitoring</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*TeBtfDOZzuGR30ub4WBY3w.png" /></figure><blockquote>Let’s begin to search on google and get this d3fend mitre framework and d3f technique is system daemon monitoring.</blockquote><p><em>2) What are the five general tactics used to classify each defensive method?</em></p><p>Ans: Harden, Detect, Isolate, Deceive, Evict</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*ZJGFOx-SUG4mI_tcC36L-w.png" /></figure><p>In this mitre d3fend site helps to find these answers. In this mitre d3fend framework, on top 5 tactics are present.</p><p><em>3) What open-source project retrieves Azure Sentinel rules that are mapped to MITRE ATT&amp;CK Framework and generates the related MITRE D3FEND defenses?</em></p><p>Ans: Sential2D3FEND</p><p>Let’s see on google and find the GitHub repository and get this solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*O-AGqQtCiWFfUyNO41nK0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*TPo17j3ppBJWrzfuIZPRCA.png" /></figure><p>Let’s search and acquisition on d3fend framework silently.</p><p><em>4) What does ‘File Access Pattern Analysis’ mean?</em></p><p>Ans: Analyzing the files accessed by a process to identify unauthorized activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*r132UDaYleJijloZLFpD4Q.png" /></figure><p><em>5) What does ‘Local Resource Access’ artifact mean?</em></p><p>Ans: Ephemeral digital artifact comprising a request of local resource and any response from that resource.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*7PWkzgnmr6LQmrZFGuaWCA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a11429b81823" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meta Walkthrough]]></title>
            <link>https://medium.com/@iambibeksubedi.com/meta-walkthrough-45db14f3e6b?source=rss-9a7678efc00------2</link>
            <guid isPermaLink="false">https://medium.com/p/45db14f3e6b</guid>
            <dc:creator><![CDATA[Bibek Subedi]]></dc:creator>
            <pubDate>Wed, 09 Feb 2022 08:06:48 GMT</pubDate>
            <atom:updated>2022-02-09T08:06:48.329Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello there, This is my first write up on medium about BTLO Labs meta.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*VDb17_KJLnlOjqg6ghgWDw.png" /><figcaption>Extracting zip file</figcaption></figure><p>First, unzipping file from 7z tool because zip file format latest version is used. “btlo” is zip password.</p><p><strong>Extracting information from exiftool,</strong></p><p>Let’s extract metadata of the upload1 image file.</p><ol><li>What is the camera model?</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*i8CkWh771eASEgvOaTlgdg.png" /><figcaption>Metadata of Image</figcaption></figure><p>Here, Finding camera model information on metadata of this first image. Camera model name is “Cannon EOS 550D”.</p><p>2) When was the picture taken?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*XsOhat7xV8DjRwTD8FxatQ.png" /><figcaption>Camera Information</figcaption></figure><p>The picture created date is “2021:11:02 13:20:23”.</p><p>3) What does the comment on the first image says?</p><p>Solution:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*u9YtWcGnBEhoDFLRY3J2aQ.png" /><figcaption>Image Creation Date</figcaption></figure><p>The comment on the first image says as “relying on altered metadata to catch me?”</p><p>4) Where could the criminal be?</p><p>Solution:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*ozXD3wxq-_2h_RSMKqPVJQ.png" /></figure><p>Now, searching geolocation coordinates on google but it does not show any correct information of this image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*SE4zijCaUYlNS6sh0Oh1iQ.png" /></figure><p>So, opened both images and those are temple image look like Bhaktapur Darbar Square or Pashupatinath.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45db14f3e6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>