<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pentesting on Amit Agarwal Linux Blog</title>
    <link>/tags/pentesting/</link>
    <description>Recent content in Pentesting on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Tue, 30 Dec 2025 00:00:00 +0530</lastBuildDate>
    
	<atom:link href="/tags/pentesting/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Abusing Active Directory Certificate Services with Certipy: From Initial Access to Beyond Root</title>
      <link>/2025/12/30/2025-12-30-hacklab-ad_certificate/</link>
      <pubDate>Tue, 30 Dec 2025 00:00:00 +0530</pubDate>
      
      <guid>/2025/12/30/2025-12-30-hacklab-ad_certificate/</guid>
      <description>This post covers an alternative attack path in an Active Directory lab using AD CS misconfigurations. It walks through Certipy-based enumeration, certificate abuse, domain escalation, and advanced post-compromise recon beyond Domain Admin.</description>
    </item>
    
    <item>
      <title>Building and Breaking a Vulnerable Active Directory Lab: Full Exploitation Walkthrough</title>
      <link>/2025/12/29/2025-12-29-hacklab-ad/</link>
      <pubDate>Mon, 29 Dec 2025 00:00:00 +0530</pubDate>
      
      <guid>/2025/12/29/2025-12-29-hacklab-ad/</guid>
      <description>This post shows how to build a vulnerable Active Directory lab and then exploit it step by step, with real commands, real attack paths, and real lessons.</description>
    </item>
    
    <item>
      <title>Mobile_App_Mindmap</title>
      <link>/2025/08/28/2025-08-28-Mobile_App_Mindmap/</link>
      <pubDate>Thu, 28 Aug 2025 00:00:00 +0530</pubDate>
      
      <guid>/2025/08/28/2025-08-28-Mobile_App_Mindmap/</guid>
      <description>&lt;iframe src=&#34;/mobilehacking.html&#34; style=&#34;width:100%;height:600px;border:none;&#34;&gt;&lt;/iframe&gt;</description>
    </item>
    
    <item>
      <title>How Vim Can Make a Hacker’s Life Easier with Macros and Registers</title>
      <link>/2025/03/09/2025-03-09-vim_macros_registers/</link>
      <pubDate>Sun, 09 Mar 2025 00:00:00 +0530</pubDate>
      
      <guid>/2025/03/09/2025-03-09-vim_macros_registers/</guid>
      <description>&lt;h1 id=&#34;how-vim-can-make-a-hackers-life-easier-with-macros-and-registers&#34;&gt;How Vim Can Make a Hacker’s Life Easier with Macros and Registers&lt;/h1&gt;
&lt;h2 id=&#34;why-every-hacker-should-master-vim-macros-and-registers&#34;&gt;Why Every Hacker Should Master Vim Macros and Registers&lt;/h2&gt;
&lt;p&gt;If you&amp;rsquo;re deep into &lt;strong&gt;hacking, pentesting, or security research&lt;/strong&gt;, you know that &lt;strong&gt;automation&lt;/strong&gt; is key. Repetitive tasks like manipulating payloads, encoding/decoding strings, or tweaking shell scripts can become tedious. &lt;strong&gt;Enter Vim macros and registers!&lt;/strong&gt; These powerful features let you record and replay keystrokes, making your workflow insanely efficient.&lt;/p&gt;
&lt;p&gt;No that I dont use IDE&amp;rsquo;s the likes of Visual Studio code (sometimes I do).
However they can never match the raw power of vi/vim/nvim or any of the vim
family of editors. To reap the maximum benefit, you have to learn the basics of
using the editor in normal mode ( which is by the not the editing mode).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using Burp with Containers In Docker</title>
      <link>/2025/02/08/2025-02-08-UsingBurpwithContainersInDocker/</link>
      <pubDate>Sat, 08 Feb 2025 00:00:00 +0530</pubDate>
      
      <guid>/2025/02/08/2025-02-08-UsingBurpwithContainersInDocker/</guid>
      <description>&lt;h1 id=&#34;making-docker-containers-trust-burp-suites-ca-for-testing&#34;&gt;Making Docker Containers Trust Burp Suite&amp;rsquo;s CA for Testing&lt;/h1&gt;
&lt;p&gt;When testing applications running inside Docker containers, intercepting traffic with Burp Suite can be challenging because containers don’t automatically trust Burp’s CA certificate. Without trust, HTTPS requests from inside the container will fail with certificate errors.&lt;/p&gt;
&lt;p&gt;In this post, I’ll show you how to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add Burp Suite’s CA to your host system&lt;/li&gt;
&lt;li&gt;Pass the trusted CA to Docker containers&lt;/li&gt;
&lt;li&gt;Ensure seamless HTTPS traffic interception for testing&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Let’s get started!&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Cyborg Room Walkthrough</title>
      <link>/2024/11/17/2024-11-17-TryHackMe-Cyborg/</link>
      <pubDate>Sun, 17 Nov 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/11/17/2024-11-17-TryHackMe-Cyborg/</guid>
      <description>&lt;h1 id=&#34;room-overview&#34;&gt;Room Overview&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Room URL:&lt;/strong&gt; &lt;a href=&#34;https://tryhackme.com/r/room/cyborgt8&#34;&gt;Cyborg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Room IP:&lt;/strong&gt; &lt;code&gt;10.10.79.217&lt;/code&gt; - This will be different for you.&lt;/p&gt;
&lt;h2 id=&#34;recon&#34;&gt;Recon&lt;/h2&gt;
&lt;p&gt;We begin our reconnaissance phase by scanning the target using Nmap. This helps us identify the open ports and services running on the machine.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Starting Nmap 7.60 &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt; https://nmap.org &lt;span class=&#34;o&#34;&gt;)&lt;/span&gt; at 2024-10-28 16:28 GMT
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Nmap scan report &lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; ip-10-10-79-217.eu-west-1.compute.internal &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;10.10.79.217&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Host is up &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;0.018s latency&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Not shown: &lt;span class=&#34;m&#34;&gt;998&lt;/span&gt; closed ports
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;PORT   STATE SERVICE VERSION
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;22/tcp open  ssh     OpenSSH 7.2p2 Ubuntu 4ubuntu2.10 &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;Ubuntu Linux&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; protocol 2.0&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; ssh-hostkey: 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;   &lt;span class=&#34;m&#34;&gt;2048&lt;/span&gt; db:b2:70:f3:07:ac:32:00:3f:81:b8:d0:3a:89:f3:65 &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;RSA&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;   &lt;span class=&#34;m&#34;&gt;256&lt;/span&gt; 68:e6:85:2f:69:65:5b:e7:c6:31:2c:8e:41:67:d7:ba &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;ECDSA&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;_  &lt;span class=&#34;m&#34;&gt;256&lt;/span&gt; 56:2c:79:92:ca:23:c3:91:49:35:fa:dd:69:7c:ca:ab &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;EdDSA&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;80/tcp open  http    Apache httpd 2.4.18 &lt;span class=&#34;o&#34;&gt;((&lt;/span&gt;Ubuntu&lt;span class=&#34;o&#34;&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;_http-server-header: Apache/2.4.18 &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;Ubuntu&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;_http-title: Apache2 Ubuntu Default Page: It works
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;MAC Address: 02:1F:A9:A5:69:89 &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;Unknown&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Service Info: OS: Linux&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; CPE: cpe:/o:linux:linux_kernel
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Nmap &lt;span class=&#34;k&#34;&gt;done&lt;/span&gt;: &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; IP address &lt;span class=&#34;o&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; host up&lt;span class=&#34;o&#34;&gt;)&lt;/span&gt; scanned in 8.96 seconds
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id=&#34;web-enumeration&#34;&gt;Web Enumeration&lt;/h2&gt;
&lt;p&gt;Next, we perform directory enumeration using Gobuster to find hidden directories on the web server.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Preparation and Review of eMAPT (INE security FKA eLearnSecurity Mobile Application Penetration Tester</title>
      <link>/2024/04/05/2024-04-05-eMAPT/</link>
      <pubDate>Fri, 05 Apr 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/04/05/2024-04-05-eMAPT/</guid>
      <description>&lt;p&gt;I started thinking about Mobile pentesting sometime back. Finally in Feb/2024, I paid for the yearly subscription for &lt;a href=&#34;https://ine.com/&#34;&gt;INE&lt;/a&gt; and added &lt;strong&gt;eMAPT&lt;/strong&gt; to my cart. If you dont know about eMAPT cert, then head over to &lt;a href=&#34;https://security.ine.com/certifications/emapt-certification/&#34;&gt;eMAPT certification&lt;/a&gt;. And as per their home page&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The Mobile Application Penetration Tester (eMAPT) certification is issued to cyber security experts that display advanced mobile application security knowledge through a scenario-based exam.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And on Apr/05/2024, I got My Certificate.
&lt;img src=&#34;https://api.accredible.com/v1/frontend/credential_website_embed_image/certificate/100329258&#34; alt=&#34;My Certificate&#34;&gt;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
