<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sol Acunzos</title>
    <description>The latest articles on DEV Community by Sol Acunzos (@soolaczz).</description>
    <link>https://dev.to/soolaczz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4179539%2F2b7b3aa3-7662-4ed9-85f1-d13f1f6c1f85.jpg</url>
      <title>DEV Community: Sol Acunzos</title>
      <link>https://dev.to/soolaczz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/soolaczz"/>
    <language>en</language>
    <item>
      <title>How Does a Nmap Scan Look in System and Network Logs?</title>
      <dc:creator>Sol Acunzos</dc:creator>
      <pubDate>Mon, 12 Oct 2026 22:06:54 +0000</pubDate>
      <link>https://dev.to/soolaczz/how-does-a-nmap-scan-look-in-system-and-network-logs-157p</link>
      <guid>https://dev.to/soolaczz/how-does-a-nmap-scan-look-in-system-and-network-logs-157p</guid>
      <description>&lt;p&gt;Hey everyone! 👋 As a cybersecurity student diving into Blue Team operations, one of the &lt;strong&gt;first concepts&lt;/strong&gt; you learn is the &lt;strong&gt;Cyber Kill Chain.&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Before an adversary can &lt;strong&gt;exploit a system&lt;/strong&gt;, they need to &lt;strong&gt;perform reconnaissance.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;¿What is one of the most classic techniques? &lt;strong&gt;A port scan.&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Think of it as a digital burglar walking down a street, rattling every single doorknob to see which house left a door unlocked.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🧪 1. The Lab Setup: Simulating the Scan
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;To &lt;strong&gt;understand the telemetry&lt;/strong&gt;, we need &lt;strong&gt;real data&lt;/strong&gt;. In a controlled home lab environment:&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Attacker:&lt;/strong&gt; 🐉 A machine running Kali Linux.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Target:&lt;/strong&gt; 💻 A local test virtual machine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Action:&lt;/strong&gt; ⚡ Executing a basic SYN stealth scan using Nmap: &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;nmap -sS -p 1-100 &amp;lt;TARGET_IP&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🌐 2. The Network View: Wireshark &amp;amp; The Handshake Trick
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;If you &lt;strong&gt;capture the traffic&lt;/strong&gt; passing through your network interface, regular traffic l*&lt;em&gt;ooks peaceful.&lt;/em&gt;*&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;During a port scan, however, the TCP Three-Way Handshake gets weird:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Normal Flow:&lt;/strong&gt; Client sends SYN ➡️ Server replies with SYN-ACK ➡️ Client replies with ACK&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Port Scan Flow:&lt;/strong&gt; The scanner sends a SYN packet. If the port is open, the target replies with SYN-ACK. But instead of completing the handshake with an ACK, the scanner instantly slams the brakes with a RST.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;💡 &lt;strong&gt;¿Why do this?&lt;/strong&gt; &lt;strong&gt;Attackers use this trick&lt;/strong&gt; to avoid leaving &lt;strong&gt;full connection logs&lt;/strong&gt; in the application layer. But network monitors spot this rapid-fire burst of SYN -&amp;gt; RST.&lt;/p&gt;

&lt;h2&gt;
  
  
  🖥️ 3. The Operating System View: ¿What Do the Logs Say?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Depending on the &lt;strong&gt;operating system target&lt;/strong&gt;, the system logs will catch the sudden spike in connection attempts:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🖥 In Windows (Event Viewer):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If &lt;strong&gt;Windows Defender Firewall&lt;/strong&gt; with Advanced Security is logging dropped/allowed packets, you'll spot a flood of security events.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🐧 In Linux (Syslog / Kernel Logs):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you &lt;strong&gt;inspect kernel logs or packet filtering logs&lt;/strong&gt; (iptables / nftables), you'll notice a massive wave of incoming packets targeting closed ports, triggering kernel warnings about unhandled connection drops.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🚨 4. How SOCs Detect This Automatically&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In a &lt;strong&gt;real-world Security Operations Center&lt;/strong&gt; (SOC), analysts don't manually sift through thousands of event viewer lines. Instead, &lt;strong&gt;SIEM tools process these logs&lt;/strong&gt; and trigger automated alerts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🎯 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Understanding how &lt;strong&gt;offensive tools leave footprints&lt;/strong&gt; in defensive logs is the core of becoming a solid &lt;strong&gt;Blue Team analyst&lt;/strong&gt; 🛡️. Bridging the gap between how an attack is executed and how it is logged is the ultimate superpower for &lt;strong&gt;threat detection&lt;/strong&gt;! 🌟&lt;/p&gt;

</description>
      <category>python</category>
      <category>security</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
