<?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: Khalif AL Mahmud</title>
    <description>The latest articles on DEV Community by Khalif AL Mahmud (@almahmudkhalif).</description>
    <link>https://dev.to/almahmudkhalif</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%2F2248836%2F3df06cb4-bca9-419a-a92f-40933dcd6ac6.png</url>
      <title>DEV Community: Khalif AL Mahmud</title>
      <link>https://dev.to/almahmudkhalif</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/almahmudkhalif"/>
    <language>en</language>
    <item>
      <title>Building My First LAN in Cisco Packet Tracer: Connecting 4 PCs Through a Switch</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Sun, 26 Jul 2026 19:13:42 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/building-my-first-lan-in-cisco-packet-tracer-connecting-4-pcs-through-a-switch-11hn</link>
      <guid>https://dev.to/almahmudkhalif/building-my-first-lan-in-cisco-packet-tracer-connecting-4-pcs-through-a-switch-11hn</guid>
      <description>&lt;p&gt;Networking always felt like one of those "black box" topics to me — you know your laptop connects to Wi-Fi and somehow reaches the internet, but the actual mechanics of how devices talk to each other on a local network stay invisible. I decided to fix that by getting hands-on with Cisco Packet Tracer and building the simplest possible network from scratch: a handful of PCs, one switch, and enough IP addresses to make them all understand each other.&lt;/p&gt;

&lt;p&gt;This post walks through exactly what I did, why each step matters, and how I verified the whole thing actually worked — not just looked right on screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Problem Statement
&lt;/h2&gt;

&lt;p&gt;The goal was straightforward on paper: connect four computers to a single switch, give each one its own IP address, and confirm they can all reach each other over the network. Simple as that sounds, it forces you to actually understand a few core networking concepts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why you need a specific cable type to connect a PC to a switch&lt;/li&gt;
&lt;li&gt;How IP addresses and subnet masks decide which devices can "see" each other&lt;/li&gt;
&lt;li&gt;How to prove connectivity actually works, instead of just assuming it does&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tools Used
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Cisco Packet Tracer&lt;/li&gt;
&lt;li&gt;1x Switch (2960 series)&lt;/li&gt;
&lt;li&gt;4x PCs&lt;/li&gt;
&lt;li&gt;Copper Straight-Through cables&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step-by-Step Walkthrough
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step 1: Set Up the Devices
&lt;/h3&gt;

&lt;p&gt;I opened Packet Tracer and dragged a 2960 switch into the middle of the workspace, then placed four PCs around it. Nothing connected yet — just laying out the topology first so I could see the shape of the network before wiring anything up.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjhav3vnuyw808ozqghsl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjhav3vnuyw808ozqghsl.jpg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Cable Everything Together
&lt;/h3&gt;

&lt;p&gt;This is where the "which cable do I use" question comes in. There are two main copper cable types in Packet Tracer: Straight-Through and Crossover. The rule of thumb is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Different device types&lt;/strong&gt; (PC ↔ Switch, PC ↔ Router) → Straight-Through cable&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Same device types&lt;/strong&gt; (Switch ↔ Switch, PC ↔ PC) → Crossover cable&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Since I was connecting PCs to a switch — two different device types — a Straight-Through cable was the correct choice. I connected each PC's FastEthernet0 port to its own port on the switch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PC0 → Switch Fa0/1
PC1 → Switch Fa0/2
PC2 → Switch Fa0/3
PC3 → Switch Fa0/4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After a few seconds, every link light turned green, which confirmed the physical layer connection was solid on all four links.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F74ocxtjxizn1ing2h19q.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F74ocxtjxizn1ing2h19q.jpg" alt=" " width="800" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Assign IP Addresses
&lt;/h3&gt;

&lt;p&gt;With cabling done, the next job was making each PC addressable on the network. I went into each PC's &lt;strong&gt;Desktop → IP Configuration&lt;/strong&gt;, switched to &lt;strong&gt;Static&lt;/strong&gt;, and assigned the following:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;PC&lt;/th&gt;
&lt;th&gt;IP Address&lt;/th&gt;
&lt;th&gt;Subnet Mask&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;PC0&lt;/td&gt;
&lt;td&gt;192.168.1.1&lt;/td&gt;
&lt;td&gt;255.255.255.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PC1&lt;/td&gt;
&lt;td&gt;192.168.1.2&lt;/td&gt;
&lt;td&gt;255.255.255.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PC2&lt;/td&gt;
&lt;td&gt;192.168.1.3&lt;/td&gt;
&lt;td&gt;255.255.255.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PC3&lt;/td&gt;
&lt;td&gt;192.168.1.4&lt;/td&gt;
&lt;td&gt;255.255.255.0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The subnet mask is the important detail here. Using &lt;strong&gt;255.255.255.0&lt;/strong&gt; on every PC keeps them all in the same &lt;code&gt;192.168.1.0&lt;/code&gt; network, which is what allows them to talk to each other directly without needing a router. If the subnet masks didn't match, or the IPs landed in different subnets, the PCs would technically be cabled together but logically isolated — a good reminder that physical connection and network connection are two very different things.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsxsoqjk2m3nh0e1293ds.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsxsoqjk2m3nh0e1293ds.jpg" alt=" " width="800" height="713"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjgd0tuelxfuuxoobykbx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjgd0tuelxfuuxoobykbx.jpg" alt=" " width="800" height="645"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkwb35sdrmts5ul0j6s8x.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkwb35sdrmts5ul0j6s8x.jpg" alt=" " width="800" height="783"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3jpnzz8ww2unu0pw710t.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3jpnzz8ww2unu0pw710t.jpg" alt=" " width="800" height="668"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Verify
&lt;/h2&gt;

&lt;p&gt;Configuring IPs is one thing — proving they actually work is another. I opened PC0's Command Prompt and ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ping 192.168.1.2
ping 192.168.1.3
ping 192.168.1.4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every single ping came back with a &lt;code&gt;Reply from...&lt;/code&gt; response and 0% packet loss, which confirmed PC0 could reach PC1, PC2, and PC3 without any issues.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time&amp;lt;1ms TTL=128
Reply from 192.168.1.2: bytes=32 time&amp;lt;1ms TTL=128
Reply from 192.168.1.2: bytes=32 time&amp;lt;1ms TTL=128
Reply from 192.168.1.2: bytes=32 time&amp;lt;1ms TTL=128

Ping statistics for 192.168.1.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa6ocy1oytxyictvf0xvt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa6ocy1oytxyictvf0xvt.jpg" alt=" " width="800" height="521"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6pmqehssvsb3f2eq4h6d.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6pmqehssvsb3f2eq4h6d.jpg" alt=" " width="800" height="448"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2tn4bm6fudidfqagwpv1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2tn4bm6fudidfqagwpv1.jpg" alt=" " width="800" height="537"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If a ping had failed, the next things I'd check are: cable type, whether the link light is actually green, whether the subnet masks match across devices, and whether I typo'd an IP address (it happens more often than you'd think).&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;This was a small setup, but it packed in a surprising number of fundamentals:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Switches operate at Layer 2&lt;/strong&gt; — they don't care about IP addresses to forward traffic within the same network, but the PCs still need valid IPs to communicate meaningfully above that layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cable type matters more than I expected.&lt;/strong&gt; Straight-Through vs. Crossover isn't just trivia — plugging in the wrong one (in real hardware, anyway) can mean no link light at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subnet masks define the "neighborhood."&lt;/strong&gt; Two devices can be cabled together perfectly and still fail to talk if their masks put them in different logical networks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ping is your best friend for verification.&lt;/strong&gt; It's a simple command, but it's the fastest way to confirm connectivity actually exists rather than just looking correct visually.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Common Mistakes Table
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mistake&lt;/th&gt;
&lt;th&gt;Why It Happens&lt;/th&gt;
&lt;th&gt;Fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Using a Crossover cable instead of Straight-Through&lt;/td&gt;
&lt;td&gt;Mixing up when each cable type applies&lt;/td&gt;
&lt;td&gt;Remember: different device types = Straight-Through&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mismatched subnet masks&lt;/td&gt;
&lt;td&gt;Copy-pasting config without double-checking&lt;/td&gt;
&lt;td&gt;Verify every PC uses the same mask if they should be on one network&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Typo in IP address&lt;/td&gt;
&lt;td&gt;Manual entry across multiple PCs&lt;/td&gt;
&lt;td&gt;Double-check each octet before moving to the next PC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Assuming green link light = full connectivity&lt;/td&gt;
&lt;td&gt;Confusing physical layer with network layer&lt;/td&gt;
&lt;td&gt;Always confirm with &lt;code&gt;ping&lt;/code&gt;, not just visual cues&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Forgetting to set Static mode before entering an IP&lt;/td&gt;
&lt;td&gt;DHCP is selected by default&lt;/td&gt;
&lt;td&gt;Switch to Static first, then fill in the address fields&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Building this tiny four-PC network was a great reminder that networking fundamentals aren't complicated once you actually build them out yourself instead of just reading about them. Cabling, addressing, and verifying — that's really the whole loop, and once it clicks, scaling up to routers, VLANs, and larger topologies feels a lot less intimidating.&lt;/p&gt;

</description>
      <category>networking</category>
      <category>cisco</category>
    </item>
    <item>
      <title>Linux, Networking, Scripting, and AI: What Every Beginner Pentester Should Know</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Fri, 17 Jul 2026 17:42:50 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/linux-networking-scripting-and-ai-what-every-beginner-pentester-should-know-51jo</link>
      <guid>https://dev.to/almahmudkhalif/linux-networking-scripting-and-ai-what-every-beginner-pentester-should-know-51jo</guid>
      <description>&lt;p&gt;When I started digging deeper into cybersecurity, I quickly realized that almost everything in this field circles back to one operating system: &lt;strong&gt;Linux&lt;/strong&gt;. Whether you're running a vulnerability scan, writing a quick automation script, or asking an AI tool to explain a weird output, Linux is the environment where it all happens.&lt;/p&gt;

&lt;p&gt;I wanted to write down what I've learned so far in a way that's actually useful for someone just getting started — no fluff, just the stuff that matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Linux Dominates Cybersecurity
&lt;/h2&gt;

&lt;p&gt;Linux is open-source, free, and highly customizable. Unlike Windows or macOS, it gives you full control over the system — down to the smallest configuration file. That level of control is exactly why almost every serious security tool is built for Linux first.&lt;/p&gt;

&lt;p&gt;And within the Linux world, there's one distribution that stands out for security work: &lt;strong&gt;Kali Linux&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Makes Kali Linux Special
&lt;/h3&gt;

&lt;p&gt;Kali is a Linux distribution built specifically for penetration testing, maintained by Offensive Security. It comes preloaded with hundreds of tools covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Network scanning&lt;/li&gt;
&lt;li&gt;Vulnerability assessment&lt;/li&gt;
&lt;li&gt;Password testing&lt;/li&gt;
&lt;li&gt;Digital forensics&lt;/li&gt;
&lt;li&gt;Web application testing&lt;/li&gt;
&lt;li&gt;Wireless security testing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Basically, if you're doing ethical hacking, Kali saves you the trouble of hunting down and installing every tool yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Comfortable With the Linux Filesystem
&lt;/h2&gt;

&lt;p&gt;One of the first mental shifts coming from Windows is realizing there's no "C: drive." Everything starts from a single root directory: &lt;code&gt;/&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A few directories you'll bump into constantly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/home&lt;/code&gt; — where regular users keep their personal files&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/etc&lt;/code&gt; — system and application configuration files&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/var&lt;/code&gt; — logs, caches, and other data that changes often&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/root&lt;/code&gt; — the home directory of the root (admin) user&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once that structure clicks, navigating any Linux system starts to feel natural.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Commands You'll Actually Use Every Day
&lt;/h2&gt;

&lt;p&gt;You don't need to memorize hundreds of commands to get productive. A small core set covers most of your daily work:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;                     &lt;span class="c"&gt;# show current directory&lt;/span&gt;
&lt;span class="nb"&gt;ls&lt;/span&gt;                      &lt;span class="c"&gt;# list files and folders&lt;/span&gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;folder_name          &lt;span class="c"&gt;# change directory&lt;/span&gt;
&lt;span class="nb"&gt;mkdir &lt;/span&gt;new_folder        &lt;span class="c"&gt;# create a directory&lt;/span&gt;
&lt;span class="nb"&gt;touch &lt;/span&gt;file.txt          &lt;span class="c"&gt;# create an empty file&lt;/span&gt;
&lt;span class="nb"&gt;cp source &lt;/span&gt;destination   &lt;span class="c"&gt;# copy files&lt;/span&gt;
&lt;span class="nb"&gt;mv source &lt;/span&gt;destination   &lt;span class="c"&gt;# move or rename files&lt;/span&gt;
&lt;span class="nb"&gt;rm &lt;/span&gt;file.txt             &lt;span class="c"&gt;# delete a file&lt;/span&gt;
&lt;span class="nb"&gt;cat &lt;/span&gt;file.txt            &lt;span class="c"&gt;# print file content&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These feel small individually, but combined they let you move around, inspect, and manipulate a system faster than any GUI ever could.&lt;/p&gt;

&lt;h2&gt;
  
  
  Permissions: Read, Write, Execute
&lt;/h2&gt;

&lt;p&gt;Linux controls access through three roles — &lt;strong&gt;owner&lt;/strong&gt;, &lt;strong&gt;group&lt;/strong&gt;, and &lt;strong&gt;others&lt;/strong&gt; — and three permission types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Read (4)&lt;/strong&gt; — view or open a file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write (2)&lt;/strong&gt; — modify a file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execute (1)&lt;/strong&gt; — run it as a program or script&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You change permissions with &lt;code&gt;chmod&lt;/code&gt;, and most professionals prefer the numeric shorthand over the &lt;code&gt;+x&lt;/code&gt; / &lt;code&gt;+w&lt;/code&gt; style because it's faster and sets everything in one shot:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;chmod &lt;/span&gt;755 script.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That single command says: full control for the owner, read-and-execute for everyone else. Clean and quick.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Software: apt and dpkg
&lt;/h2&gt;

&lt;p&gt;Two commands handle almost all your software needs on Kali:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;nmap
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;apt&lt;/code&gt; pulls packages (and their dependencies) straight from repositories. When you already have a &lt;code&gt;.deb&lt;/code&gt; file downloaded locally, &lt;code&gt;dpkg&lt;/code&gt; installs it directly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dpkg &lt;span class="nt"&gt;-i&lt;/span&gt; package.deb
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  PATH and Environment Variables
&lt;/h2&gt;

&lt;p&gt;Ever wonder how Linux knows where to find a program when you just type its name? That's the &lt;code&gt;PATH&lt;/code&gt; variable at work — it's a list of directories the shell automatically searches.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$PATH&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Environment variables in general are how the system and applications share small but important pieces of information, like usernames or language settings, without hardcoding them anywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  Networking Basics You Can't Skip
&lt;/h2&gt;

&lt;p&gt;A few networking concepts show up constantly in security work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;IP address&lt;/strong&gt; — the unique identifier of a device on a network&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DNS&lt;/strong&gt; — translates domain names like &lt;code&gt;google.com&lt;/code&gt; into IP addresses&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gateway&lt;/strong&gt; — the device (usually your router) that connects your local network to the internet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the commands to actually see this in action:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ip a            &lt;span class="c"&gt;# view IP address, interfaces, MAC address&lt;/span&gt;
ip route        &lt;span class="c"&gt;# view gateway and routing info&lt;/span&gt;
ping google.com &lt;span class="c"&gt;# test connectivity&lt;/span&gt;
traceroute facebook.com  &lt;span class="c"&gt;# trace the path packets take&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;ping&lt;/code&gt; tells you if a host is reachable. &lt;code&gt;traceroute&lt;/code&gt; shows you the hops your traffic takes to get there — genuinely useful when you're debugging connectivity or mapping out a network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scripting: Where Automation Begins
&lt;/h2&gt;

&lt;p&gt;Once you're comfortable with commands, the next natural step is stringing them together. That's where &lt;strong&gt;Bash scripting&lt;/strong&gt; comes in:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Hello From Khalif"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Save it, make it executable, and run it — congratulations, you've automated your first task.&lt;/p&gt;

&lt;p&gt;Beyond Bash, &lt;strong&gt;Python&lt;/strong&gt; is the real workhorse in cybersecurity. It's used for building network scanners, analyzing logs, automating repetitive tasks, and even developing full security tools. If you're serious about this field, learning Python isn't optional — it's foundational.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where AI Fits Into All of This
&lt;/h2&gt;

&lt;p&gt;This is the part that genuinely excites me. AI tools are starting to show up as real assistants in the pentesting workflow — not replacements for skill, but accelerators for it.&lt;/p&gt;

&lt;p&gt;Tools like &lt;strong&gt;PentestGPT&lt;/strong&gt; can help with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understanding vulnerabilities&lt;/li&gt;
&lt;li&gt;Explaining confusing tool output&lt;/li&gt;
&lt;li&gt;Suggesting the next step in an assessment&lt;/li&gt;
&lt;li&gt;Writing commands and scripts&lt;/li&gt;
&lt;li&gt;Drafting reports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI is also increasingly used for threat detection, malware analysis, log analysis, intrusion detection, and phishing detection — anywhere there's a large volume of data that needs fast pattern-matching.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Catch
&lt;/h3&gt;

&lt;p&gt;AI isn't magic, and it definitely isn't infallible. It can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Suggest incorrect commands&lt;/li&gt;
&lt;li&gt;Miss context a human would catch instantly&lt;/li&gt;
&lt;li&gt;Expose sensitive data if used carelessly&lt;/li&gt;
&lt;li&gt;Lack the judgment and intuition a real analyst brings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's why the right mental model is: &lt;strong&gt;AI is an assistant, not a replacement.&lt;/strong&gt; It speeds up the boring parts and helps you learn faster, but the judgment calls — and the ethics — stay with the human.&lt;/p&gt;

&lt;h3&gt;
  
  
  Using AI Responsibly
&lt;/h3&gt;

&lt;p&gt;A few ground rules I try to keep in mind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Respect privacy, always&lt;/li&gt;
&lt;li&gt;Never run unauthorized tests or attacks&lt;/li&gt;
&lt;li&gt;Double-check AI-generated output before trusting it&lt;/li&gt;
&lt;li&gt;Stay within legal and ethical boundaries&lt;/li&gt;
&lt;li&gt;Treat AI as a co-pilot, not the pilot&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;None of this is groundbreaking on its own — Linux fundamentals, basic networking, a bit of scripting, and an intro to AI tools. But together, they form the backbone of how modern security work actually gets done. If you're starting out in cybersecurity, getting genuinely comfortable with these basics will take you further than jumping straight into flashy tools.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>networking</category>
      <category>scripting</category>
    </item>
    <item>
      <title>How Stuxnet Broke Into an "Offline" Nuclear Facility — Without Ever Touching the Internet</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Fri, 17 Jul 2026 17:39:20 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/how-stuxnet-broke-into-an-offline-nuclear-facility-without-ever-touching-the-internet-4mm</link>
      <guid>https://dev.to/almahmudkhalif/how-stuxnet-broke-into-an-offline-nuclear-facility-without-ever-touching-the-internet-4mm</guid>
      <description>&lt;p&gt;If you've spent any time in cybersecurity, you've probably heard the Stuxnet story thrown around as some kind of legendary tale. But here's the part that still trips people up: Iran's nuclear facility wasn't even connected to the internet. So how exactly did malware get in?&lt;/p&gt;

&lt;p&gt;Turns out, "air-gapped" doesn't mean "unreachable." It just means attackers have to get a little more creative.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Human Element Nobody Talks About Enough
&lt;/h2&gt;

&lt;p&gt;Stuxnet didn't come in through some flashy remote exploit or a phishing email. It came in through a USB drive.&lt;/p&gt;

&lt;p&gt;Somewhere along the line, an employee or contractor plugged in an infected USB drive into a computer at the facility. That's it. That was the entry point. No firewall to bypass, no network to breach — just a small piece of hardware crossing a physical boundary that no software defense could stop.&lt;/p&gt;

&lt;p&gt;It's a good reminder that "air-gapped" systems are only as secure as the humans and removable media that interact with them. You can isolate a network from the internet, but you can't fully isolate it from people.&lt;/p&gt;

&lt;h2&gt;
  
  
  From One Machine to Industrial Sabotage
&lt;/h2&gt;

&lt;p&gt;Once Stuxnet infected that first local machine, it didn't just sit there. It started spreading laterally through the internal network — the same kind of network segment that was supposed to be "safe" because it wasn't internet-facing.&lt;/p&gt;

&lt;p&gt;Eventually, it found what it was looking for: the centrifuges' operating frequency. Stuxnet was specifically engineered to manipulate that frequency, causing physical damage to the equipment while feeding false readings back to operators so everything &lt;em&gt;looked&lt;/em&gt; normal on the monitoring systems.&lt;/p&gt;

&lt;p&gt;This is what made Stuxnet genuinely different from typical malware at the time. It wasn't just stealing data or crashing systems — it was reaching through code into the physical world and causing real, mechanical destruction. That crossover from digital to physical is a big reason Stuxnet is still studied as a landmark case in industrial control system (ICS) security.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Quick Detour: What About Bloatware?
&lt;/h2&gt;

&lt;p&gt;Slightly different topic, but worth a mention since it's related to system security hygiene: bloatware.&lt;/p&gt;

&lt;p&gt;Bloatware refers to unnecessary pre-installed software that ships with a device — stuff you never asked for and rarely use. Beyond just eating up storage and system resources, bloatware quietly increases your attack surface. Every extra piece of software running on a machine is one more potential entry point for something to go wrong, whether that's a vulnerability, a misconfiguration, or just unnecessary background access to system resources.&lt;/p&gt;

&lt;p&gt;It's a small thing, but it ties back to the same core lesson as Stuxnet: security isn't just about what's connected to the internet. It's about everything that has physical or logical access to a system — from USB drives to pre-loaded software nobody asked for.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Takeaway
&lt;/h2&gt;

&lt;p&gt;Stuxnet is a masterclass in why "isolated" systems still need serious security discipline. Air-gapping raises the bar, but it doesn't eliminate risk — it just shifts the attack vector from the network to the physical world. USB policies, endpoint monitoring, and controlling what touches your machines matter just as much as firewalls and network segmentation.&lt;/p&gt;

&lt;p&gt;Over a decade later, it's still one of the best real-world examples of why defense-in-depth isn't optional.&lt;/p&gt;

</description>
      <category>stuxnet</category>
      <category>malware</category>
    </item>
    <item>
      <title>Dark Web vs Dark Net vs TOR — Untangling Three Terms People Use Interchangeably</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:39:15 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/dark-web-vs-dark-net-vs-tor-untangling-three-terms-people-use-interchangeably-383i</link>
      <guid>https://dev.to/almahmudkhalif/dark-web-vs-dark-net-vs-tor-untangling-three-terms-people-use-interchangeably-383i</guid>
      <description>&lt;p&gt;"Dark web," "dark net," and "TOR" get thrown around like they're all the same thing — usually in the same breath, usually with a slightly ominous tone. When I actually looked into it for this assignment, I realized they're related but distinct concepts, each describing a different layer of the same overall picture. Here's how I'd break it down.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dark Web
&lt;/h2&gt;

&lt;p&gt;The dark web is a hidden part of the internet that isn't indexed by search engines and is usually accessed through the TOR network. So when you Google something, you're searching the "surface web" or "deep web" (like your email inbox or a private database) — none of that touches the dark web at all.&lt;/p&gt;

&lt;p&gt;The dark web exists to provide privacy, anonymity, and secure communication. It's mainly accessed through the TOR browser, and — this part surprised me — it was originally created to protect sensitive government and military communications, not for the reasons it's often associated with today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dark Net
&lt;/h2&gt;

&lt;p&gt;The dark net is a private and anonymous network that hosts hidden websites and services. If the dark web is the &lt;em&gt;content&lt;/em&gt; — the actual hidden sites and pages — the dark net is closer to the &lt;em&gt;infrastructure&lt;/em&gt; underneath it, the network layer that makes accessing that hidden content possible in the first place.&lt;/p&gt;

&lt;p&gt;Like the dark web, the dark net exists to provide anonymity, privacy, and secure communication, and it's accessed using special software such as TOR. It was also created originally to protect sensitive communications and support anonymous communication more broadly.&lt;/p&gt;

&lt;h2&gt;
  
  
  TOR
&lt;/h2&gt;

&lt;p&gt;TOR (&lt;strong&gt;The Onion Router&lt;/strong&gt;) is a network and browser used to hide a user's identity and location online. It's the actual tool that makes accessing the dark web and dark net possible for a regular person.&lt;/p&gt;

&lt;p&gt;TOR exists to provide privacy, anonymity, and secure communication, and is accessed using the TOR browser. Same origin story as the other two: it was originally created to protect sensitive government and military communications, and was later released more broadly.&lt;/p&gt;

&lt;p&gt;The name "onion router" isn't random, either — TOR works by routing your traffic through multiple layers of encrypted relays (like layers of an onion), so no single point in the chain knows both who you are &lt;em&gt;and&lt;/em&gt; what you're accessing at the same time.&lt;/p&gt;

&lt;h2&gt;
  
  
  So how do these three fit together?
&lt;/h2&gt;

&lt;p&gt;Here's the way I'd summarize the relationship:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;TOR&lt;/strong&gt; is the &lt;em&gt;tool&lt;/em&gt; — the browser and network protocol that provides anonymity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dark net&lt;/strong&gt; is the &lt;em&gt;underlying network&lt;/em&gt; that hidden services run on, typically accessed via tools like TOR.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dark web&lt;/strong&gt; is the &lt;em&gt;content layer&lt;/em&gt; — the actual hidden websites and pages that live on the dark net, reachable through TOR.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They all share the same core purpose (privacy, anonymity, secure communication) and largely overlap in practice, which is exactly why people use the terms so loosely. But technically, each one describes a slightly different piece of the same puzzle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Worth remembering
&lt;/h2&gt;

&lt;p&gt;None of these three technologies are inherently good or bad — they're neutral tools. The same anonymity that gets misused for illegal activity is also what protects journalists, whistleblowers, activists, and people living under oppressive surveillance regimes. Context is everything. Understanding what these terms actually mean (instead of just associating them with vague "scary internet" vibes) is a much more useful starting point than the popular narrative usually gives credit for.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>infosec</category>
      <category>tor</category>
    </item>
    <item>
      <title>What Is a Watering Hole Attack? (And Why It's Sneakier Than Most Cyber Attacks)</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:34:59 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/what-is-a-watering-hole-attack-and-why-its-sneakier-than-most-cyber-attacks-35f</link>
      <guid>https://dev.to/almahmudkhalif/what-is-a-watering-hole-attack-and-why-its-sneakier-than-most-cyber-attacks-35f</guid>
      <description>&lt;p&gt;Most cyber attacks you hear about follow a fairly direct pattern — someone sends a phishing email, or someone tries to brute-force a password. Watering hole attacks are different, and honestly a bit unsettling once you understand the logic behind them, because the attacker doesn't come after you directly at all. They come after somewhere you already trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a watering hole attack?
&lt;/h2&gt;

&lt;p&gt;A watering hole attack is a cyber attack where attackers compromise a trusted website that's frequently visited by their target users. Instead of attacking the victims head-on, the attacker infects a website the victims already visit regularly and waits. When the victims visit that website, their devices may become infected, or their information may get stolen.&lt;/p&gt;

&lt;p&gt;The name itself comes from a pretty vivid analogy: in the wild, a predator doesn't chase every animal across the entire savanna. It just waits near the watering hole, because it knows the prey will eventually come to it on their own. Same idea here — instead of chasing individual targets, the attacker poisons the place the targets already go to voluntarily.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it actually works
&lt;/h2&gt;

&lt;p&gt;The attack generally plays out in three steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Identify the target's habits.&lt;/strong&gt; The attacker figures out which website the target users visit regularly — this could be an industry forum, a niche news site, a vendor portal, anything the specific target group trusts and frequents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compromise that website.&lt;/strong&gt; The attacker infects or compromises the website with malicious code, without necessarily touching the victims yet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wait for the victims to show up.&lt;/strong&gt; When the victims visit the now-compromised website, malware gets downloaded onto their devices, or sensitive information gets stolen — all without the victim doing anything unusual or suspicious on their end.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why it's particularly dangerous
&lt;/h2&gt;

&lt;p&gt;What makes watering hole attacks especially effective is that they exploit trust rather than trying to break through it. A user visiting a site they've safely used for years has no reason to be suspicious. There's no obviously sketchy link to click, no urgent email demanding action — just a normal visit to a normal site that happens to have been quietly compromised.&lt;/p&gt;

&lt;p&gt;This also makes watering hole attacks a favorite technique in targeted, sophisticated campaigns — often used against specific industries, organizations, or even government sectors, since the attacker only needs to compromise one commonly-visited site to potentially catch an entire group of targets at once.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;Watering hole attacks are a good reminder that security isn't just about being cautious with suspicious-looking links or emails — even websites you've trusted for years can become a delivery mechanism for malware if attackers manage to compromise them first. It's part of why things like regular software updates, endpoint protection, and network monitoring matter even when you feel like you're "just browsing normal sites."&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>infosec</category>
    </item>
    <item>
      <title>Non-Repudiation — Why You Can't Just Say "I Didn't Do That" Anymore</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:29:47 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/non-repudiation-why-you-cant-just-say-i-didnt-do-that-anymore-bck</link>
      <guid>https://dev.to/almahmudkhalif/non-repudiation-why-you-cant-just-say-i-didnt-do-that-anymore-bck</guid>
      <description>&lt;p&gt;Of all the terms I covered in this assignment, non-repudiation is probably the one with the most satisfying "aha" moment once it clicks. It sounds intimidating, but the actual idea behind it is pretty intuitive once you break down the word itself: "repudiate" basically means to deny or reject something. So non-repudiation is, quite literally, about making denial impossible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What non-repudiation actually means
&lt;/h2&gt;

&lt;p&gt;Non-repudiation is a security concept that ensures a person cannot deny performing a particular action after it has already happened. It's about creating undeniable proof.&lt;/p&gt;

&lt;p&gt;A simple example: if a user sends a digitally signed email or approves an online transaction using a digital signature, they cannot later claim they didn't do it. The signature itself becomes evidence tying that specific action to that specific person.&lt;/p&gt;

&lt;h2&gt;
  
  
  How is it actually achieved?
&lt;/h2&gt;

&lt;p&gt;Non-repudiation isn't just a policy or a promise — it's backed by real technical mechanisms, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Digital signatures&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Digital certificates&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Secure logging&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These technologies work together to create a verifiable, tamper-resistant trail connecting an action to the person who performed it, in a way that's mathematically difficult (practically impossible) to fake or deny after the fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does this matter?
&lt;/h2&gt;

&lt;p&gt;Think about how much of daily life now runs through digital approvals — online banking transfers, contract signings, e-commerce purchases, official government submissions. If there were no way to prove who actually approved a transaction, the entire system of trust behind digital transactions would fall apart. Anyone could authorize something and later claim "that wasn't me," with no way to prove otherwise.&lt;/p&gt;

&lt;p&gt;Non-repudiation closes that gap. It's what allows digital transactions to carry real legal and business weight, the same way a handwritten signature on a physical contract does — arguably with even stronger proof behind it, since digital signatures are backed by cryptography rather than just visual comparison.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bigger picture
&lt;/h2&gt;

&lt;p&gt;The main purpose of non-repudiation is to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create trust between parties in a digital transaction&lt;/li&gt;
&lt;li&gt;Prove ownership of actions&lt;/li&gt;
&lt;li&gt;Support legal or business processes whenever evidence is needed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's one of those security principles that quietly underpins a huge amount of modern digital infrastructure — most people never think about it until there's a dispute, and suddenly it becomes the single most important thing in the room.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>nonrepudiation</category>
    </item>
    <item>
      <title>Accountability vs Audit — Knowing Who Did What, and Proving It</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:24:26 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/accountability-vs-audit-knowing-who-did-what-and-proving-it-4605</link>
      <guid>https://dev.to/almahmudkhalif/accountability-vs-audit-knowing-who-did-what-and-proving-it-4605</guid>
      <description>&lt;p&gt;Out of all the term-pairs I went through for this assignment, Accountability and Audit felt the most closely tied together — almost like two halves of the same process. They work hand in hand, but they're not the same thing, and understanding the difference actually clarifies how organizations investigate security incidents.&lt;/p&gt;

&lt;h2&gt;
  
  
  Accountability: tying actions back to individuals
&lt;/h2&gt;

&lt;p&gt;Accountability means making sure every user is responsible for their actions within a system. Since user activity is linked to individual accounts, it becomes possible to identify exactly who performed a specific action.&lt;/p&gt;

&lt;p&gt;This is why shared logins are such a bad security practice — the moment multiple people use the same account, accountability collapses. You lose the ability to tie any specific action back to a specific person.&lt;/p&gt;

&lt;h2&gt;
  
  
  Audit: recording and reviewing what actually happened
&lt;/h2&gt;

&lt;p&gt;Audit is the process of recording, reviewing, and analyzing system activities and logs to monitor security events and detect suspicious behavior. Where accountability is about &lt;em&gt;structure&lt;/em&gt; (making sure actions are traceable to individuals), audit is about &lt;em&gt;process&lt;/em&gt; — actually going through the logs, reviewing what happened, and looking for anything unusual.&lt;/p&gt;

&lt;h2&gt;
  
  
  Putting them together with an example
&lt;/h2&gt;

&lt;p&gt;Say an employee deletes some important files. Here's how these two concepts play their separate roles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Accountability&lt;/strong&gt; is what makes it possible to identify &lt;em&gt;which user&lt;/em&gt; performed that deletion in the first place — because their actions are tied to their individual account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auditing&lt;/strong&gt; is what lets investigators actually &lt;em&gt;review the logs&lt;/em&gt; afterward, reconstruct the sequence of events, and understand what happened and when it happened.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without accountability, you might have logs, but they'd be meaningless — you wouldn't be able to tell whose actions they represent. Without auditing, you might have perfectly traceable accounts, but no process for actually reviewing what any of them did.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why both matter together
&lt;/h2&gt;

&lt;p&gt;Both accountability and auditing are essential for maintaining security and enabling proper investigation after incidents. They're not really competing concepts — one sets up the traceability, and the other actively uses that traceability to investigate. Security teams rely on both constantly, whether they're doing routine compliance checks or investigating an actual breach.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>audit</category>
      <category>accountability</category>
    </item>
    <item>
      <title>Authentication vs Authorization — "Who Are You?" vs "What Can You Do?"</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:21:33 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/authentication-vs-authorization-who-are-you-vs-what-can-you-do-2689</link>
      <guid>https://dev.to/almahmudkhalif/authentication-vs-authorization-who-are-you-vs-what-can-you-do-2689</guid>
      <description>&lt;p&gt;If you've ever built a login system, or even just used one as a regular internet user, you've interacted with authentication and authorization dozens of times without necessarily separating the two in your head. They usually happen back to back, which is probably why people mix them up so often. But they're solving two completely different problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Authentication: confirming who you are
&lt;/h2&gt;

&lt;p&gt;Authentication is the process of confirming who a user actually is. It verifies the identity of the person trying to access a system, before anything else happens.&lt;/p&gt;

&lt;p&gt;Common examples of authentication:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Usernames and passwords&lt;/li&gt;
&lt;li&gt;Fingerprints&lt;/li&gt;
&lt;li&gt;Face recognition&lt;/li&gt;
&lt;li&gt;One-Time Passwords (OTP)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whenever you type in a password or scan your face to unlock an app, that's authentication doing its job — proving that you are, in fact, who you claim to be.&lt;/p&gt;

&lt;h2&gt;
  
  
  Authorization: deciding what you're allowed to do
&lt;/h2&gt;

&lt;p&gt;Authorization happens &lt;em&gt;after&lt;/em&gt; authentication. Once the system knows who you are, authorization determines what resources or actions you're actually allowed to access.&lt;/p&gt;

&lt;p&gt;A good example: after logging into a university portal, a student can view their grades but cannot modify them. An administrator, on the other hand, can manage student records entirely. Both the student and the administrator went through the same authentication process — logging in — but what they're allowed to do afterward is governed entirely by authorization.&lt;/p&gt;

&lt;h2&gt;
  
  
  The order matters
&lt;/h2&gt;

&lt;p&gt;This is the part that trips people up: authentication always comes first, and authorization comes second. A system needs to know &lt;em&gt;who&lt;/em&gt; you are before it can decide &lt;em&gt;what&lt;/em&gt; you're permitted to do. You can't authorize an unknown identity.&lt;/p&gt;

&lt;h2&gt;
  
  
  A simple way to remember it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Authentication&lt;/strong&gt; answers: &lt;em&gt;"Who are you?"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Authorization&lt;/strong&gt; answers: &lt;em&gt;"What are you allowed to do?"&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why this distinction matters in real security work
&lt;/h2&gt;

&lt;p&gt;A lot of real-world security incidents happen because these two get conflated or implemented sloppily. A system might correctly verify who someone is (strong authentication) but fail to properly restrict what they can do afterward (weak authorization) — which is how a regular logged-in user sometimes ends up able to access admin-level functions just by guessing a URL or manipulating a request.&lt;/p&gt;

&lt;p&gt;Strong security needs both pieces working correctly, and independently. Nailing authentication but neglecting authorization (or vice versa) leaves a gap that attackers actively look for.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>authentication</category>
      <category>authorization</category>
      <category>infosec</category>
    </item>
    <item>
      <title>Verification vs Validation — Two Questions Every Secure System Needs to Answer</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:17:39 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/verification-vs-validation-two-questions-every-secure-system-needs-to-answer-1g5b</link>
      <guid>https://dev.to/almahmudkhalif/verification-vs-validation-two-questions-every-secure-system-needs-to-answer-1g5b</guid>
      <description>&lt;p&gt;Early on, these two terms — &lt;strong&gt;verification&lt;/strong&gt; and &lt;strong&gt;validation&lt;/strong&gt; — sound almost identical. Same starting letter, both feel like "checking if something works," and it's easy to just use them interchangeably. But in the cybersecurity (and software) world, they actually answer two very different questions. Once you see the distinction, it becomes obvious why both are necessary.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verification: "Are we building the system correctly?"
&lt;/h2&gt;

&lt;p&gt;Verification is about checking whether a system has been built according to the specified requirements and security policies. It's a process-focused check — you're comparing what's been built against a documented spec.&lt;/p&gt;

&lt;p&gt;Common examples of verification include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code reviews&lt;/li&gt;
&lt;li&gt;Document reviews&lt;/li&gt;
&lt;li&gt;Security configuration checks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Basically, verification asks: &lt;em&gt;Did we follow the blueprint we agreed on?&lt;/em&gt; It doesn't necessarily ask whether that blueprint was any good — just whether you actually built what was on paper.&lt;/p&gt;

&lt;h2&gt;
  
  
  Validation: "Are we building the right system?"
&lt;/h2&gt;

&lt;p&gt;Validation, on the other hand, checks whether the final system actually meets the real needs of the users and delivers the expected level of security. This is an outcome-focused check.&lt;/p&gt;

&lt;p&gt;Examples of validation include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Penetration testing&lt;/li&gt;
&lt;li&gt;Vulnerability assessments&lt;/li&gt;
&lt;li&gt;User acceptance testing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Validation asks a very different question: &lt;em&gt;Does this thing actually work the way it's supposed to, in the real world, for real users?&lt;/em&gt; You could pass every verification check on paper and still end up with a system that fails validation because it doesn't hold up against actual attacks or actual user needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where each one fits in the lifecycle
&lt;/h2&gt;

&lt;p&gt;In the cybersecurity development lifecycle, these two checks happen at different stages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Verification&lt;/strong&gt; typically happens &lt;em&gt;during development&lt;/em&gt; — you're continuously checking your work against the spec as you build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Validation&lt;/strong&gt; mostly happens &lt;em&gt;before deployment and during testing&lt;/em&gt; — once there's a working system, you throw real-world conditions at it to see if it actually holds up.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why the distinction actually matters
&lt;/h2&gt;

&lt;p&gt;Imagine a team builds a login system exactly according to the security requirements document — every checkbox ticked, every review passed. That's solid verification. But then a penetration test reveals the system is still vulnerable to a specific type of attack the requirements document never accounted for. That's a validation failure, even though verification passed cleanly.&lt;/p&gt;

&lt;p&gt;This is exactly why relying on only one of the two is dangerous. Verification without validation can give you a system that's technically "correct" but practically broken. Validation without verification can leave you fixing symptoms without ever tightening the underlying process.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick way to remember it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Verification → &lt;em&gt;Are we building the system right?&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Validation → &lt;em&gt;Are we building the right system?&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Simple phrasing, but it's saved me more than once when these two terms started blurring together in my notes.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>verification</category>
      <category>infosec</category>
      <category>validation</category>
    </item>
    <item>
      <title>FIPS vs NIST — Two Acronyms You'll Keep Running Into in Cybersecurity</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:12:17 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/fips-vs-nist-two-acronyms-youll-keep-running-into-in-cybersecurity-4oef</link>
      <guid>https://dev.to/almahmudkhalif/fips-vs-nist-two-acronyms-youll-keep-running-into-in-cybersecurity-4oef</guid>
      <description>&lt;p&gt;If you spend any real time reading about cybersecurity standards, two acronyms show up over and over: &lt;strong&gt;FIPS&lt;/strong&gt; and &lt;strong&gt;NIST&lt;/strong&gt;. For a while I genuinely thought they were the same thing, just used interchangeably. They're not — but they &lt;em&gt;are&lt;/em&gt; closely related, and understanding how they connect actually makes a lot of security documentation easier to read.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is NIST?
&lt;/h2&gt;

&lt;p&gt;NIST stands for &lt;strong&gt;National Institute of Standards and Technology&lt;/strong&gt;. It's a United States government organization, and its job is to develop security frameworks, guidelines, and best practices that both government and private organizations around the world actually use.&lt;/p&gt;

&lt;p&gt;NIST is behind a lot of the cybersecurity guidance you'll bump into if you work in this field — the most well-known one being the &lt;strong&gt;NIST Cybersecurity Framework&lt;/strong&gt;, which organizations use as a reference point for how to structure their entire security program: identify risks, protect systems, detect threats, respond to incidents, and recover afterward.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is FIPS?
&lt;/h2&gt;

&lt;p&gt;FIPS stands for &lt;strong&gt;Federal Information Processing Standards&lt;/strong&gt;. These are security standards specifically developed for use by U.S. government organizations. FIPS defines rules and requirements around things like encryption, data protection, and information security — basically, the technical bar that systems need to meet if they're going to be trusted with government data.&lt;/p&gt;

&lt;h2&gt;
  
  
  So how do they connect?
&lt;/h2&gt;

&lt;p&gt;Here's the part that used to confuse me: FIPS standards are actually &lt;strong&gt;published and maintained by NIST&lt;/strong&gt;. So NIST is the organization, and FIPS is one category of standards that comes out of it — specifically the ones that are mandatory for federal systems.&lt;/p&gt;

&lt;p&gt;You can think of NIST as the broader authority producing all kinds of guidelines, frameworks, and recommendations, while FIPS is a more specific, formal, and often mandatory subset of those — particularly around cryptography and data security requirements.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why should you care?
&lt;/h2&gt;

&lt;p&gt;If you've ever seen a product description say something like "FIPS 140-2 validated encryption," that's not just marketing fluff. It means the encryption module has been tested and certified against a specific FIPS standard, which is often a requirement for software or hardware being used in government or highly regulated industries.&lt;/p&gt;

&lt;p&gt;Even outside of government work, a lot of private companies adopt NIST frameworks and FIPS-compliant encryption voluntarily, simply because they represent a solid, well-tested baseline for security.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bottom line
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;NIST&lt;/strong&gt; = the organization that creates broad cybersecurity guidelines and frameworks&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FIPS&lt;/strong&gt; = specific, often mandatory security standards (published by NIST) mainly used by U.S. government systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both exist for the same underlying goal: improving information security and helping organizations actually protect their systems and data instead of guessing at what "secure enough" looks like.&lt;/p&gt;

&lt;p&gt;Small distinction, but once it clicks, a lot of compliance documentation stops feeling like alphabet soup.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>nist</category>
      <category>fips</category>
      <category>compliance</category>
    </item>
    <item>
      <title>What Exactly Is a DMZ, and Why Does Every Serious Network Have One?</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Thu, 16 Jul 2026 15:03:53 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/what-exactly-is-a-dmz-and-why-does-every-serious-network-have-one-4hfh</link>
      <guid>https://dev.to/almahmudkhalif/what-exactly-is-a-dmz-and-why-does-every-serious-network-have-one-4hfh</guid>
      <description>&lt;p&gt;If you're new to networking or cybersecurity, chances are you've bumped into the term &lt;strong&gt;DMZ&lt;/strong&gt; and quietly nodded along without really knowing what it means. I did the same thing until I actually sat down and worked through it for an assignment. Turns out, once you get the idea, it's one of those concepts that just &lt;em&gt;clicks&lt;/em&gt; and suddenly a lot of network diagrams make a lot more sense.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, what is a DMZ?
&lt;/h2&gt;

&lt;p&gt;DMZ stands for &lt;strong&gt;Demilitarized Zone&lt;/strong&gt; — yes, borrowed straight from military terminology, and honestly the analogy fits pretty well. In networking, a DMZ is a separate network segment that sits between your organization's internal (private) network and the public internet.&lt;/p&gt;

&lt;p&gt;Think of it as a buffer zone. It's not fully "inside" your trusted network, and it's not fully "outside" exposed to the raw internet either. It's a controlled middle ground.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why would you even need this buffer zone?
&lt;/h2&gt;

&lt;p&gt;Here's the thing — every organization has some services that &lt;em&gt;need&lt;/em&gt; to be reachable from the internet. Your website has to load for random visitors. Your mail server has to receive emails from anyone, anywhere. Your DNS server has to answer lookups from the outside world.&lt;/p&gt;

&lt;p&gt;But you obviously don't want those internet-facing servers sitting on the same network as your internal file servers, employee databases, or HR systems. If a hacker breaks into your public web server, you don't want that to be a free pass straight into your company's private data.&lt;/p&gt;

&lt;p&gt;That's exactly the problem a DMZ solves. Public-facing services like web servers, mail servers, and DNS servers get placed inside the DMZ, physically and logically separated from the sensitive internal network.&lt;/p&gt;

&lt;h2&gt;
  
  
  How is it actually implemented?
&lt;/h2&gt;

&lt;p&gt;A DMZ is usually built using one or more &lt;strong&gt;firewalls&lt;/strong&gt;. The typical setup looks something like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One side of the firewall connects to the internet&lt;/li&gt;
&lt;li&gt;The other side connects to the internal network&lt;/li&gt;
&lt;li&gt;The DMZ sits in between, isolated from both&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some setups use a single firewall with three network interfaces (internet, DMZ, internal network), while more security-conscious organizations use two firewalls — one guarding the DMZ from the internet, and a second, stricter one guarding the internal network from the DMZ itself. That second firewall is really the last line of defense.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why go through all this trouble?
&lt;/h2&gt;

&lt;p&gt;The core reason is damage control. If an attacker manages to compromise a server sitting in the DMZ, they still don't get direct access to your internal network. There's another security layer standing in the way. Worst case, you lose a public-facing server temporarily — not your entire internal infrastructure.&lt;/p&gt;

&lt;p&gt;It's the same logic as not letting a delivery guy walk straight into your house. You let them into the porch (DMZ), hand them what they need, and the front door (internal network) stays locked regardless of what happens on the porch.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;A DMZ isn't some fancy advanced concept reserved for huge enterprises — it's a basic, foundational piece of network security architecture. Anywhere you're exposing services to the public internet, a DMZ is worth having. It won't stop every attack, but it drastically limits what an attacker can reach even if they do get in.&lt;/p&gt;

&lt;p&gt;If you're studying for a networking or security course like I am, this is genuinely one of those topics worth understanding properly rather than memorizing — it comes up constantly once you start looking at real network diagrams.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>networking</category>
    </item>
    <item>
      <title>AI in Cybersecurity: Why Artificial Intelligence Is Both Our Strongest Defense and a Growing Threat</title>
      <dc:creator>Khalif AL Mahmud</dc:creator>
      <pubDate>Sat, 04 Jul 2026 20:57:44 +0000</pubDate>
      <link>https://dev.to/almahmudkhalif/ai-in-cybersecurity-the-double-edged-sword-we-all-need-to-understand-291f</link>
      <guid>https://dev.to/almahmudkhalif/ai-in-cybersecurity-the-double-edged-sword-we-all-need-to-understand-291f</guid>
      <description>&lt;p&gt;AI is everywhere now. It can recognize images, understand language, and even write code on its own by learning patterns from massive amounts of data. Naturally, this same technology has found its way deep into cybersecurity — because let's be honest, the volume of threats and data generated every single day is way too much for humans to handle alone.&lt;/p&gt;

&lt;p&gt;But here's the catch: AI in cybersecurity isn't a one-sided story. It's being used for defense &lt;em&gt;and&lt;/em&gt; offense, by the good guys and the bad guys, at the same time. Let's break it down.&lt;/p&gt;

&lt;h2&gt;
  
  
  How AI Is Actually Used in Cybersecurity
&lt;/h2&gt;

&lt;p&gt;On the &lt;strong&gt;defense side&lt;/strong&gt;, AI shows up in a few key ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Behavioral Analytics&lt;/strong&gt; — AI learns what "normal" looks like for a user or network, so it can flag anomalies almost instantly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SIEM (Security Information and Event Management)&lt;/strong&gt; — AI helps sift through huge volumes of log data, cutting down false positives and surfacing real threats.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SOAR (Security Orchestration, Automation and Response)&lt;/strong&gt; — systems can automatically respond to attacks, like blocking a malicious IP or isolating a compromised device, without waiting for a human to click a button.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Security researchers and pentesters also lean on AI for automated vulnerability scanning, source code analysis, and simulating real-world attacks through red teaming.&lt;/p&gt;

&lt;p&gt;On the &lt;strong&gt;offense side&lt;/strong&gt;, though, the exact same intelligence is being weaponized. Attackers use AI to build &lt;strong&gt;polymorphic malware&lt;/strong&gt; — malicious code that rewrites itself every time it runs, making it nearly invisible to signature-based antivirus tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Tools Changing Pentesting Right Now
&lt;/h2&gt;

&lt;p&gt;A few AI-driven tools are quietly reshaping how penetration testing works:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PentestGPT&lt;/strong&gt; — an LLM-powered assistant that walks through pentest methodology step by step, suggesting what technique to try next on a given target.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Burp AI&lt;/strong&gt; — an AI feature built into Burp Suite that analyzes HTTP requests and explains potential vulnerabilities in plain language.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;XBOW&lt;/strong&gt; — a more autonomous platform that can find &lt;em&gt;and&lt;/em&gt; exploit vulnerabilities on its own, then generate the report.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These tools point toward a future where AI-assisted workflows shrink the amount of manual grunt work in pentesting — but as we'll get to, they don't remove the human from the loop entirely.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Real Advantages
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speed and scale&lt;/strong&gt; — analyzing thousands of logs instantly is trivial for AI, brutal for humans.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Catching unknown threats&lt;/strong&gt; — pattern recognition can flag zero-days even without a known signature.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fewer false positives&lt;/strong&gt; — context-aware alerts mean analysts stop drowning in noise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated response&lt;/strong&gt; — SOAR systems act the moment an attack is detected.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Doing more with less&lt;/strong&gt; — even small security teams can now monitor large infrastructure.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Limitations Nobody Should Ignore
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dual-use risk&lt;/strong&gt; — anything built for defense can be repurposed for attack (AI-written phishing emails, polymorphic malware).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The black box problem&lt;/strong&gt; — it's often impossible to explain &lt;em&gt;why&lt;/em&gt; an AI model made a decision, which becomes a real headache when that decision needs to hold up as evidence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;False negatives&lt;/strong&gt; — a poorly trained model can simply miss a real threat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Garbage in, garbage out&lt;/strong&gt; — AI is only as good as the data it was trained on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human verification is non-negotiable&lt;/strong&gt; — trusting an AI-generated report or payload blindly is a mistake waiting to happen.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What an AI-Assisted Pentest Workflow Actually Looks Like
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Recon&lt;/strong&gt; — gathering target information using tools like Shodan, Censys, plus AI-assisted OSINT.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Analysis&lt;/strong&gt; — an LLM reviews the collected data and flags potential vulnerabilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payload/Exploit Suggestions&lt;/strong&gt; — tools like PentestGPT propose exploit ideas, which are &lt;em&gt;never&lt;/em&gt; used blindly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human Validation&lt;/strong&gt; — a real pentester checks everything before it ever reaches a client report.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Speed and efficiency come from the AI. The final call still belongs to a human.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where This Is All Heading
&lt;/h2&gt;

&lt;p&gt;The numbers here are genuinely wild: a cyberattack happens roughly every 39 seconds, and global cyber damage is projected to hit around $10.5 trillion by 2026. At the same time, there are over 3.5 million unfilled cybersecurity jobs worldwide. Put those two facts together and it's obvious why AI-augmented defense isn't optional anymore — it's how the industry keeps up.&lt;/p&gt;

&lt;p&gt;Expect &lt;strong&gt;Agentic AI&lt;/strong&gt; — systems that can run an entire pentest or threat-hunting operation with minimal human input — to keep advancing. But the threat side is evolving just as fast: AI-generated malware, deepfake-based fraud, and hyper-convincing AI phishing are only going to get more sophisticated. Understanding how these tools work, and where they fall short, is becoming a baseline skill for anyone in security — not a nice-to-have.&lt;/p&gt;




&lt;h1&gt;
  
  
  Cyber Law and Ethics in the Age of AI
&lt;/h1&gt;

&lt;p&gt;Technology moves fast. Law, by nature, moves slower. That gap is exactly where most of today's problems live.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Cyber Law Actually Covers
&lt;/h2&gt;

&lt;p&gt;At its core, cyber law exists to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Protect data&lt;/strong&gt; — safeguarding sensitive user information and privacy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prevent crime&lt;/strong&gt; — defining and punishing things like unauthorized access and data breaches.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Protect intellectual property&lt;/strong&gt; — covering copyrights on digital content and software.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legitimize e-commerce&lt;/strong&gt; — making online transactions safe and enforceable.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In short, cyber law defines who's allowed to do what in the digital world — and what happens when they don't.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Cyber Ethics Actually Means
&lt;/h2&gt;

&lt;p&gt;Ethics is the part that isn't always written into law but absolutely should guide how a security professional behaves. It rests on three pillars:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Integrity&lt;/strong&gt; — never making harmful changes to a client's system, and never exploiting a found vulnerability for personal gain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy&lt;/strong&gt; — never leaking sensitive data, source code, or credentials discovered during testing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accountability&lt;/strong&gt; — staying within scope and delivering complete, honest reports.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Technical skill makes someone a hacker. Ethics and legal compliance are what make someone a &lt;em&gt;security professional&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cybercrime Has Changed Shape
&lt;/h2&gt;

&lt;p&gt;The old advice — "check for spelling mistakes in phishing emails" — barely applies anymore. AI tools (including malicious variants of language models) can now scrape someone's LinkedIn or social profile and generate a perfectly personalized, grammatically flawless spear-phishing email.&lt;/p&gt;

&lt;p&gt;Deepfake-driven &lt;strong&gt;executive impersonation&lt;/strong&gt; is another major shift — fake audio or video of a company executive used to authorize fraudulent transfers. One well-documented case involved a multinational company losing roughly $25 million this way.&lt;/p&gt;

&lt;p&gt;Malware itself has evolved too: &lt;strong&gt;polymorphic and metamorphic&lt;/strong&gt; code rewrites its own structure on every execution, defeating traditional signature-based detection.&lt;/p&gt;

&lt;p&gt;All of this creates brand-new legal headaches:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Attribution problem&lt;/strong&gt; — proving &lt;em&gt;who&lt;/em&gt; actually launched an attack.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-border jurisdiction&lt;/strong&gt; — whose laws apply when the attacker and victim are in different countries?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Algorithmic black box&lt;/strong&gt; — how do you prove intent or fault in court when an AI system acted semi-autonomously?&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What "Legal Use" of AI in Security Actually Requires
&lt;/h2&gt;

&lt;p&gt;The one condition that separates legal from illegal use of AI in security work is simple: &lt;strong&gt;written consent&lt;/strong&gt;. Testing a system you have explicit permission to test, participating in an official bug bounty program, or running malware analysis in your own isolated lab — all fine. Accessing a system without authorization, sniffing traffic on public networks, or using AI-generated exploits to steal and sell data — all firmly illegal, regardless of how the AI was used.&lt;/p&gt;

&lt;p&gt;Internationally, frameworks like the &lt;strong&gt;EU AI Act&lt;/strong&gt; and the &lt;strong&gt;NIST AI Risk Management Framework&lt;/strong&gt; are starting to formalize this. The EU AI Act, for instance, requires strict audits for high-risk AI systems and mandates watermarking for deepfake content.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using AI Tools Ethically
&lt;/h2&gt;

&lt;p&gt;A few ground rules that matter regardless of jurisdiction:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Responsible disclosure&lt;/strong&gt; — if you find a vulnerability, report it to the vendor privately (commonly with a 90-day window to patch) instead of dropping it publicly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Know the model's limits&lt;/strong&gt; — AI suggestions are not automatically correct. Treat them as a starting point, not gospel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't break production&lt;/strong&gt; — intentionally crashing a client's live system to "prove a point" is unethical, full stop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Respect scope&lt;/strong&gt; — testing anything outside the agreed boundaries is off-limits, even if you stumble onto a real bug there.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And here's the line that matters most: &lt;strong&gt;"the AI made a mistake" is not a legal defense.&lt;/strong&gt; Responsibility always sits with the human operating the tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rules of Engagement (ROE) and Scope
&lt;/h2&gt;

&lt;p&gt;Before any penetration test begins, a signed &lt;strong&gt;Rules of Engagement&lt;/strong&gt; agreement should be in place. It typically covers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What the tester is and isn't allowed to do.&lt;/li&gt;
&lt;li&gt;A defined testing window (often off-peak hours).&lt;/li&gt;
&lt;li&gt;Which tools/techniques are permitted (e.g., is automated AI-driven exploitation allowed? Social engineering?).&lt;/li&gt;
&lt;li&gt;An emergency contact in case something breaks mid-test.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Scope&lt;/strong&gt; then draws the exact boundary — which domains, IPs, or applications are in-scope, and which (like third-party payment gateways or cloud infrastructure you don't own) are strictly off-limits. Skipping the ROE step isn't just risky — it can turn a legitimate test into an actual crime.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Responsible Practice Matters More Than Ever
&lt;/h2&gt;

&lt;p&gt;Because AI-driven threats evolve faster than legislation can keep up, professionals need to hold themselves to a higher bar than the law strictly requires. That means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keeping meticulous documentation and command logs.&lt;/li&gt;
&lt;li&gt;Maintaining proper chain of custody for sensitive data.&lt;/li&gt;
&lt;li&gt;Securely wiping any collected data per agreed policy once the engagement ends.&lt;/li&gt;
&lt;li&gt;Following established frameworks like OWASP and NIST.&lt;/li&gt;
&lt;li&gt;Testing new tools or exploits in an isolated lab before anywhere near production.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The real goal is avoiding two traps: being &lt;strong&gt;legal but unethical&lt;/strong&gt;, or &lt;strong&gt;ethical but illegal&lt;/strong&gt;. A serious security professional has to satisfy both — because technical skill alone won't protect your career or credibility if either one slips.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Takeaway
&lt;/h2&gt;

&lt;p&gt;AI is now a genuine dual-use technology in cybersecurity — a force multiplier for defenders and attackers alike. Tools like PentestGPT, Burp AI, and XBOW make the work faster, but the final judgment call still has to be human, because when AI gets something wrong, the AI doesn't carry the consequences — the person using it does.&lt;/p&gt;

&lt;p&gt;Technical skill can make someone a hacker. Ethics, scope discipline, and legal compliance are what make someone a security &lt;em&gt;professional&lt;/em&gt;. And since AI keeps outpacing the law, new problems like attribution and jurisdiction are only going to get messier. Building ethics and responsibility alongside technical ability isn't optional anymore — it's the actual job.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>ai</category>
      <category>roe</category>
      <category>hacktoberfest</category>
    </item>
  </channel>
</rss>
