<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>network scanning Archives - Tech Chronicles</title>
	<atom:link href="http://kostacipo.stream/tag/network-scanning/feed/" rel="self" type="application/rss+xml" />
	<link>https://kostacipo.stream/tag/network-scanning/</link>
	<description>Ramblings of a Tech Dude</description>
	<lastBuildDate>Sat, 02 Mar 2024 23:22:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://kostacipo.stream/wp-content/uploads/2019/12/cropped-profile-32x32.jpg</url>
	<title>network scanning Archives - Tech Chronicles</title>
	<link>https://kostacipo.stream/tag/network-scanning/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Nmap Analysis Tool – Enhancing Network Security Through Advanced Analysis And Reporting</title>
		<link>http://kostacipo.stream/nmap-analysis-tool-enhancing-network-security-through-advanced-analysis-and-reporting/</link>
					<comments>http://kostacipo.stream/nmap-analysis-tool-enhancing-network-security-through-advanced-analysis-and-reporting/#respond</comments>
		
		<dc:creator><![CDATA[Majordomo]]></dc:creator>
		<pubDate>Sat, 02 Mar 2024 23:20:51 +0000</pubDate>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Pentesting]]></category>
		<category><![CDATA[Vulnerability Analysis]]></category>
		<category><![CDATA[network scanning]]></category>
		<category><![CDATA[nmap]]></category>
		<guid isPermaLink="false">https://kostacipo.stream/?p=2199</guid>

					<description><![CDATA[<p>This CLI python script is designed to be used by security consultants, IT admins and network engineers to do two things, compare two Nmap XML files to create a spreadsheet that compares IPs, ports and services between the files, and create a markdown report using GPT. Screenshots Features Comprehensive Nmap XML Parsing Multiple File Support: [&#8230;]</p>
<p>The post <a href="http://kostacipo.stream/nmap-analysis-tool-enhancing-network-security-through-advanced-analysis-and-reporting/">Nmap Analysis Tool – Enhancing Network Security Through Advanced Analysis And Reporting</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This CLI python script is designed to be used by security consultants, IT admins and network engineers to do two things, compare two Nmap XML files to create a spreadsheet that compares IPs, ports and services between the files, and create a markdown report using GPT.</p>
<h2 class="wp-block-heading"><strong>Screenshots</strong></h2>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" class="td-animation-stack-type0-2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii1617EgqwB2SASox3fLQJDoakjvbCcOefh_DIYSeCoflLm0bksvrBM-JHq7BP-bYb0H7q3YUksyNwGwRtaSuWvVOsCxTKlTwyj2pq9eUt0zPsBligrQFTK9KZQUS88cKSEzi9U3q2Ko7b9KYYQytpa8lpUO_xn85MT5TE6F2D095i5bAeNSFTVGAAZxXA/s16000/spreadsheet.webp" alt="" /></figure>
</div>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" class="td-animation-stack-type0-2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBpEqzLvVb3-s7FA3sEkKn4SV84ocKoAadE9xBAzsWpgWic2lb-rRPB7dmgr4cbFP2E0mB4oFR2wdGOLYZ_xZtUzPaCjNCx4vq1mbYnzO7A_pUxsQCHbv4F_1s14UJISxgYoOQbYcXJ84UbeXNF97CVlR4nd7puNigFUNgW4jNTEtfqwfvEhkTiVEbTBTs/s16000/spreadsheet-pie.webp" alt="" /></figure>
</div>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" class="td-animation-stack-type0-2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnEKSKqDEN-YewRZALmeBMhFkLNiHcn5PRC5yFlgdlLiihsNZBV7D7AURn-ErjVHqH-_Of2Hu4T4abP9kEHblP-9dE0sNneb0Xv9G6h2qDIT7pQuLgkVf8OSWC6-lJPJ2PhMXuFpvcjj183_yaCZwK37-fmmCKRMqS8S8gD6mEovUpz9mZX_TagWxDhKRL/s16000/gpt-report.webp" alt="" /></figure>
</div>
<h2 class="wp-block-heading"><strong>Features</strong></h2>
<h3 class="wp-block-heading"><strong>Comprehensive Nmap XML Parsing</strong></h3>
<ul>
<li><strong>Multiple File Support</strong>: Parse and analyze two Nmap XML output files.</li>
<li><strong>Structured Data</strong>: Converts Nmap’s XML output into a structured format for further processing.</li>
</ul>
<h3 class="wp-block-heading"><strong>Comparative Analysis</strong></h3>
<ul>
<li><strong>Change Detection</strong>: Compare results from two Nmap scans to identify new, altered, or removed services and ports. Useful for when you scan the same IPs from different source IPs or over time.</li>
<li><strong>Excel Reporting</strong>: Automatically generates detailed Excel spreadsheets with the comparison results and some stats.</li>
</ul>
<h3 class="wp-block-heading"><strong>Statistical Overview And Visualization</strong></h3>
<ul>
<li><strong>Network Exposure Statistics</strong>: Offers statistical analysis on detected services and open ports.</li>
<li><strong>Excel Visualizations</strong>: Includes pie charts in Excel reports for a graphical representation of the network’s security posture.</li>
</ul>
<h3 class="wp-block-heading"><strong>AI-Powered Insights With GPT</strong></h3>
<ul>
<li><strong>GPT Report Generation</strong>: Uses OpenAI’s GPT to generate insightful analysis reports based on Nmap result stats. The tool uses a hardcoded prompt that sets the tone and requirements, then the script inserts the stats (no identifying information is provided) and if -c –context has been provided, it’ll add the context to the bottom of the prompt.</li>
<li><strong>Customizable Context</strong>: Enhance GPT analysis by providing additional context, tailoring the report to specific needs.</li>
</ul>
<h2 class="wp-block-heading"><strong>Usage</strong></h2>
<p>The script prints the help page if no args are passed, or you can access with <code>python nmap-analysis.py -h</code></p>
<ul>
<li><strong>Comparing Nmap Scans</strong>:</li>
</ul>
<pre class="wp-block-code"><code>python nmap-analysis.py compare -ff (--first-nmap-file) path/to/first.xml -lf (--last-nmap-file) path/to/second.xml</code></pre>
<ul>
<li><strong>Generating a GPT Report</strong>:</li>
</ul>
<pre class="wp-block-code"><code>python nmap-analysis.py gpt-report -gf (--gpt-nmap-file) path/to/nmap.xml -c (--context) "Your optional context here"</code></pre>
<h2 class="wp-block-heading"><strong>Installation and Setup</strong></h2>
<h3 class="wp-block-heading"><strong>Prerequisites</strong></h3>
<ul>
<li>3.10+ probably (created using 3.12)</li>
<li>An OpenAI API key for GPT report generation that is set in local env</li>
</ul>
<h3 class="wp-block-heading"><strong>Secure Installation with <code>venv</code></strong></h3>
<ol>
<li><strong>Clone the Repository</strong>:</li>
</ol>
<pre class="wp-block-code"><code>git clone <a href="https://github.com/FlyingPhish/Nmap-Analysis.git">https://github.com/FlyingPhish/Nmap-Analysis</a>
cd nmap-analysis-tool</code></pre>
<p>2. <strong>Create a Virtual Environment</strong>:</p>
<pre class="wp-block-code"><code>python3 -m venv venv</code></pre>
<ol start="3">
<li><strong>Activate the Virtual Environment</strong>:</li>
</ol>
<ul>
<li>On Windows:</li>
</ul>
<pre class="wp-block-code"><code>.\venv\Scripts\activate</code></pre>
<p>The post <a href="http://kostacipo.stream/nmap-analysis-tool-enhancing-network-security-through-advanced-analysis-and-reporting/">Nmap Analysis Tool – Enhancing Network Security Through Advanced Analysis And Reporting</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://kostacipo.stream/nmap-analysis-tool-enhancing-network-security-through-advanced-analysis-and-reporting/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Astsu: Network Scanning Tool</title>
		<link>http://kostacipo.stream/astsu-network-scanning-tool/</link>
					<comments>http://kostacipo.stream/astsu-network-scanning-tool/#respond</comments>
		
		<dc:creator><![CDATA[Majordomo]]></dc:creator>
		<pubDate>Sun, 21 Feb 2021 15:24:58 +0000</pubDate>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[network scanning]]></category>
		<guid isPermaLink="false">http://kostacipo.stream/?p=2049</guid>

					<description><![CDATA[<p>Astsu is a network scanning tool which can be used to perform basic network reconnaissance tasks. It has been developed in Python 3 using the Scapy packet manipulation tool. Astsu: Network Scanning Tool Astsu performs three major tasks. The first function is the ability to scan common ports and check whether they are open or not. If [&#8230;]</p>
<p>The post <a href="http://kostacipo.stream/astsu-network-scanning-tool/">Astsu: Network Scanning Tool</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Astsu is a network scanning tool which can be used to perform basic network reconnaissance tasks. It has been developed in Python 3 using the <a href="https://www.cyberpunk.rs/scapy-interactive-packet-manipulation-tool">Scapy</a> packet manipulation tool.</p>
<h2>Astsu: Network Scanning Tool</h2>
<p>Astsu performs three major tasks. The first function is the ability to scan common ports and check whether they are open or not. If a port is open, the tool will then use nmap to check the service being run on the port. The second ability of Astsu is to discover hosts operating on the network. It does this by using the routers IP to map all possible IP’s and then send packets to each IP and wait for a response. The last objective which Astsu achieves is the ability to determine the Operating System of a host on a network. It does this by analyzing a packet received from the target for the OS details.</p>
<p>A great option of this tool is that the user can choose the network protocol to use in the scan. In addition to this, the user can also define how long the tool should wait before it timeouts.</p>
<h3 class="accent-green">Features:</h3>
<ul>
<li>Perform basic network reconnaissance with this tool</li>
<li>Scan the ports of a target IP address and check which ports are open or closed and what services are running on them</li>
<li>Discover the hosts in a network</li>
<li>Scan a host for the Operating System</li>
<li>Can be used in the reconnaissance phase of a penetration test</li>
<li>Option to use a stealth scan method to hide the user’s identity</li>
<li>Option to scan a range of ports or scan all the ports</li>
</ul>
<h2>
How it works</h2>
<ul>
<li>
<h4>Scan common ports</h4>
</li>
</ul>
<p>Send a TCP Syn packet to the destination on the defined port, if the port is open, use an nmap scan to check the service running on the port and prints all the ports found.</p>
<ul>
<li>
<h4>Discover hosts in network</h4>
</li>
</ul>
<p>Uses as a base the router&#8217;s ip to map all possible ips. It then sends an ICMP packet to each IP, and waits for a response, if it receives any response saved in an array the IP of the online host, and when it finishes checking all hosts, prints all hosts online.</p>
<ul>
<li>
<h4>OS Scan</h4>
</li>
</ul>
<p>Sends an ICMP packet to the destination and waits for a response. Then, extracts the TTL from the destination response and checks the possible OS in a list, if have founded, prints it.</p>
<h2>OS Support</h2>
<ul>
<li><strong>Windows</strong> <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2714.png" alt="✔" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li><strong>Linux</strong> <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2714.png" alt="✔" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li><strong>Mac</strong> <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2753.png" alt="❓" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
</ul>
<h2></h2>
<h2>How to install</h2>
<p>Clone this repository <code>git clone https://github.com/ReddyyZ/astsu.git</code></p>
<ul>
<li>Install python 3.
<ul>
<li>Linux
<ul>
<li><code>apt-get install python3</code></li>
<li><code>chmod +x *</code></li>
<li><code>python3 -m pip install -r requirements.txt</code></li>
<li><code>python3 install.py</code></li>
<li>Done!</li>
</ul>
</li>
<li>Windows
<ul>
<li><a href="https://www.python.org/downloads/" rel="nofollow">Python 3, download and install</a></li>
<li><code>python3 -m pip install -r requirements.txt</code></li>
<li><code>python3 install.py</code></li>
<li>Done!</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2></h2>
<h2>Arguments</h2>
<ul>
<li><strong>-sC</strong> | Scan common ports
<ul>
<li><strong>-p</strong> | Protocol to use in the scan</li>
<li><strong>-i</strong> | Interface to use</li>
<li><strong>-t</strong> | Timeout to each request</li>
<li><strong>-st</strong> | Use stealth scan method (TCP)</li>
</ul>
</li>
<li><strong>-sA</strong> | Scan all ports
<ul>
<li><strong>-p</strong> | Protocol to use in the scan</li>
<li><strong>-i</strong> | Interface to use</li>
<li><strong>-t</strong> | Timeout to each request</li>
<li><strong>-st</strong> | Use stealth scan method (TCP)</li>
</ul>
</li>
<li><strong>-sP</strong> | Scan a range ports
<ul>
<li><strong>-p</strong> | Protocol to use in the scan</li>
<li><strong>-i</strong> | Interface to use</li>
<li><strong>-t</strong> | Timeout to each request</li>
<li><strong>-st</strong> | Use stealth scan method (TCP)</li>
</ul>
</li>
<li><strong>-sO</strong> | Scan OS of a target</li>
<li><strong>-d</strong> | Discover hosts in the network
<ul>
<li><strong>-p</strong> | Protocol to use in the scan</li>
<li><strong>-i</strong> | Interface to use</li>
</ul>
</li>
</ul>
<h2></h2>
<h2>Examples</h2>
<ul>
<li>Discover hosts</li>
</ul>
<div class="highlight highlight-source-shell">
<pre>astsu -d</pre>
</div>
<ul>
<li>Scan common ports using SYN Scan</li>
</ul>
<div class="highlight highlight-source-shell">
<pre>astsu -sC -st 192.168.1.1</pre>
</div>
<ul>
<li>Scan a range of ports</li>
</ul>
<div class="highlight highlight-source-shell">
<pre>astsu 192.168.1.1 -sP 1 443</pre>
</div>
<ul>
<li>Scan OS</li>
</ul>
<div class="highlight highlight-source-shell">
<pre>astsu -sO 192.168.1.1</pre>
</div>
<h2>License</h2>
<p>This project is under the <a href="https://github.com/ReddyyZ/astsu/blob/master/LICENSE">MIT License</a>.</p>
<p>The post <a href="http://kostacipo.stream/astsu-network-scanning-tool/">Astsu: Network Scanning Tool</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://kostacipo.stream/astsu-network-scanning-tool/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
