<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by HusnaAnjum on Medium]]></title>
        <description><![CDATA[Stories by HusnaAnjum on Medium]]></description>
        <link>https://medium.com/@husnaanjum615?source=rss-ecd8d2a2ebdb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HjYitfGfku7tdWFniTppqw.jpeg</url>
            <title>Stories by HusnaAnjum on Medium</title>
            <link>https://medium.com/@husnaanjum615?source=rss-ecd8d2a2ebdb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:19:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@husnaanjum615/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Day 6: How the Internet Actually Works — OSI Model, TCP/IP & Ports]]></title>
            <link>https://osintteam.blog/day-6-how-the-internet-actually-works-osi-model-tcp-ip-ports-d5dbab49b704?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5dbab49b704</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[enumeration]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Thu, 23 Jul 2026 23:48:44 GMT</pubDate>
            <atom:updated>2026-07-23T23:48:44.214Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong><em>Series:</em></strong><em> Ethical Hacking for Beginners | Day 6 <br> </em><strong><em>Tags:</em></strong><em> </em><em>#OSIModel </em><em>#TCPIP </em><em>#EthicalHacking </em><em>#NetworkSecurity</em></blockquote><p><em>Before you can hack a network — or defend one — you need to understand how it breathes. Today we cover the two frameworks every hacker lives by: the OSI Model and TCP/IP Suite.</em></p><h3>Table of Contents</h3><ol><li><strong>Why Networking = Foundation of Hacking</strong></li><li><strong>The OSI Model — What Is It Really?</strong></li><li><strong>All 7 OSI Layers Explained</strong></li><li><strong>Protocols at Each Layer</strong></li><li><strong>TCP/IP Suite — How the Internet Actually Works</strong></li><li><strong>Protocols &amp; Ports — Doors Hackers Knock On</strong></li><li><strong>Cheat Sheets</strong></li><li><strong>Summary + What’s Next</strong></li></ol><h3>Why Networking Is the Foundation of Ethical Hacking</h3><p>Imagine trying to break into a house without knowing what a door is. That’s what pentesting looks like without networking knowledge. Every attack — <strong>SQL injection, man-in-the-middle, port scanning, DDoS</strong> etc— happens across a network.</p><ul><li>Run <strong>Nmap</strong>? You’re talking to ports at Layer 4</li><li>Use <strong>Wireshark</strong>? You’re reading packets across all OSI layers</li><li>Crack <strong>Wi-Fi</strong>? You’re attacking Layer 2</li></ul><p>Networking isn’t theory. It’s the map of the battlefield.</p><p><strong>By end of Day 6, you will:</strong></p><ul><li>Know all 7 OSI layers + their functions</li><li>Know which protocols live at each layer</li><li>Understand TCP/IP and how it maps to OSI</li><li>Know the most critical ports attackers target</li><li>Use Nmap and Wireshark for basic recon</li></ul><h3>The OSI Model</h3><p><strong>OSI = Open Systems Interconnection</strong><br>Developed by ISO in the late 1970s, published 1984 as ISO 7498. It’s a <strong>blueprint</strong> that explains how data travels from one computer to another — broken into <strong>7 layers</strong>, each with its own job. Data travels <strong>DOWN</strong> the layers on the sender, across the network, then <strong>UP</strong> the layers on the receiver.</p><h4>Why Hackers Care About OSI</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*4fV0bq6-MI3vY2z5IiveWQ.png" /></figure><h3>All 7 OSI Layers Explained</h3><h4>Layer 7 — Application Layer</h4><p>The layer users actually interact with<strong>. </strong>Your browser, email client, WhatsApp — they use Application Layer protocols. The apps themselves are NOT part of this layer; it provides the <strong>protocols</strong> apps use.</p><p><strong>Key functions:</strong></p><ul><li>Identifies communication partners</li><li>Checks resource availability</li><li>Provides user-facing network services</li></ul><p><strong>Example:</strong> You type https://google.com → browser uses <strong>HTTPS</strong> (an L7 protocol) to request the page.</p><p><strong>Hacker’s View:</strong> Most common attack surface. XSS, CSRF, SQL injection, broken auth all live here. Layer 7 DDoS floods servers with fake-legitimate HTTP requests — hardest to block.</p><h4>Layer 6 — Presentation Layer</h4><p>The translator, encryptor, and compressor. It makes sure data from Layer 7 on one device can be understood by Layer 7 on another device — even if they use different formats.</p><p><strong>Key functions:</strong></p><ul><li><strong>Translation</strong> — Converts formats (ASCII(<strong>American Standard Code for Information Interchange</strong>) ↔ EBCDIC(<strong>Extended Binary Coded Decimal Interchange Code</strong>), UTF-8(<strong>Unicode Transformation Format — 8-bit)</strong>)</li><li><strong>Encryption/Decryption</strong> — TLS/SSL happens here</li><li><strong>Compression</strong> — Reduces data size before sending</li></ul><p><strong>Example:</strong> HTTPS visit → TLS handshake negotiates encryption at this layer.</p><p><strong>Hacker’s View:</strong> SSL stripping attacks target this layer — downgrade HTTPS to HTTP so traffic is readable in plaintext. Weak cipher suites = common pentest finding.</p><h4>Layer 5 — Session Layer</h4><p>The manager of conversations. It establishes, manages, and terminates sessions between devices.</p><p><strong>Key functions:</strong></p><ul><li>Opens, closes, and manages sessions</li><li>Adds checkpoints (sync points) so transfers resume after failure</li><li>Controls half-duplex / full-duplex modes</li></ul><p><strong>Example:</strong> Logging into a website — the Session Layer manages that ongoing conversation between your browser and server.</p><p><strong>Hacker’s View:</strong> Session hijacking (stealing a valid session token) exploits this layer. Burp Suite captures and replays session cookies here.</p><h4>Layer 4 — Transport Layer</h4><p>The delivery manager — reliable or fast, your choice. It is the heart of the OSI model. This is where <strong>TCP</strong> and <strong>UDP</strong> live.</p><p><strong>Key functions:</strong></p><ul><li><strong>Segmentation &amp; Reassembly</strong> — Breaks data into numbered segments</li><li><strong>Flow Control</strong> — Prevents fast sender from overwhelming slow receiver</li><li><strong>Error Control</strong> — Retransmits lost/corrupt segments</li><li><strong>Port Addressing</strong> — Port numbers let multiple apps share one connection</li></ul><h4>TCP vs UDP</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6r5D4rvf1iOeECzxwFEaIQ.png" /><figcaption>Tcp Vs Udp (AI-Generated Illustration)</figcaption></figure><h4>TCP 3-Way Handshake (Memorize This!)</h4><pre>Client → Server:  SYN      (I want to connect)<br>Server → Client:  SYN-ACK  (OK, I acknowledge)<br>Client → Server:  ACK      (Let&#39;s go!)</pre><p><strong>Hacker’s View:</strong> SYN flood attacks send thousands of SYN packets without completing the handshake — exhausts server resources. Nmap port scanning works at this layer.</p><h4>Layer 3 — Network Layer</h4><p>The GPS of networking — routing and addressing. It handles logical addressing (IP) and determines the best path for data across multiple networks. Routers operate here.</p><p><strong>Key functions:</strong></p><ul><li><strong>Logical Addressing</strong> — Assigns/reads IP addresses (IPv4/IPv6)</li><li><strong>Routing</strong> — Best path from source to destination</li><li><strong>Packet Forwarding</strong> — Moves packets router to router</li><li><strong>Fragmentation</strong> — Breaks large packets into smaller ones</li></ul><p><strong>Example:</strong> You’re in Islamabad, server is in New York. Layer 3 routes your IP packet hop-by-hop through dozens of routers worldwide.</p><p><strong>Hacker’s View:</strong> IP spoofing, ICMP ping floods, BGP hijacking, traceroute-based recon all happen here.</p><h4>Layer 2 — Data Link Layer</h4><p>Node-to-node delivery on the same network segment. It uses <strong>MAC addresses</strong> (physical hardware addresses) instead of IP addresses. Only handles delivery within a single network segment.</p><p><strong>Two Sublayers:</strong></p><blockquote><strong>LLC (Logical Link Control)</strong> — Error detection, flow control, interfaces with Layer 3</blockquote><blockquote><strong>MAC (Media Access Control)</strong> — Physical addressing, controls who can transmit</blockquote><p><strong>Key functions:</strong></p><ul><li><strong>Framing</strong> — Wraps packets into frames with MAC headers</li><li><strong>Physical Addressing</strong> — MAC addresses (e.g., AA:BB:CC:DD:EE:FF)</li><li><strong>Error Detection</strong> — CRC (Cyclic Redundancy Check)</li><li><strong>Access Control</strong> — Who can transmit on shared media (CSMA/CD(<strong>Carrier Sense Multiple Access / Collision Detection)</strong>)</li></ul><p><strong>Hacker’s View: </strong>ARP spoofing/poisoning, MAC flooding, and Wi-Fi deauthentication attacks all happen at Layer 2 — operating against 802.11 management frames. This is where MITM attacks begin.</p><h4>Layer 1 — Physical Layer</h4><p>The actual 0s and 1s traveling through wire, fiber, or air. It contains raw bits over physical media. Defines hardware: cables, connectors, voltages, frequencies, and signal timing.</p><p><strong>Key functions:</strong></p><ul><li>Transmits raw binary bits over physical medium</li><li>Defines electrical, optical, and radio characteristics</li><li>Bit synchronization and encoding</li></ul><p><strong>Physical media:</strong></p><ul><li>Ethernet cable (Cat5/Cat6) — wired LAN</li><li>Fiber optic — high speed, long distance</li><li>Wi-Fi (2.4GHz / 5GHz) — wireless</li><li>Coaxial cable — legacy/cable TV</li></ul><p><strong>Hacker’s View:</strong> Wiretapping, rogue access points, hardware keyloggers, optical fiber tapping, Bluetooth sniffing. Physical access = game over.</p><h4>OSI Memory Trick</h4><p><strong>Top to Bottom (Layer 7 → 1):</strong></p><blockquote><strong><em>A</em></strong><em>ll </em><strong><em>P</em></strong><em>eople </em><strong><em>S</em></strong><em>eem </em><strong><em>T</em></strong><em>o </em><strong><em>N</em></strong><em>eed </em><strong><em>D</em></strong><em>ata </em><strong><em>P</em></strong><em>rocessing</em></blockquote><h3>Protocols at Each OSI Layer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wUlXtRwxdF_8yc53z62ZQ.png" /><figcaption>AI-Generated Illustration</figcaption></figure><h4>Key Protocols to Know</h4><p><strong>DNS (Port 53)</strong> — Translates domain names to IPs. Every internet action starts with DNS. DNS poisoning = critical attack vector.</p><p><strong>HTTP/HTTPS (80/443)</strong> — Foundation of the web. HTTPS encrypted via TLS (Layer 6). Most web app attacks target HTTP.</p><p><strong>SSH (Port 22)</strong> — Encrypted remote shell. Replaced Telnet. Top brute-force target on exposed servers.</p><p><strong>FTP (Port 20/21)</strong> — File transfer. Port 21 = control, Port 20 = data. Often misconfigured with anonymous login.</p><p><strong>SMTP (Port 25)</strong> — Sends email. Classic vector for phishing and open relay attacks.</p><p><strong>SNMP (Port 161/162)</strong> — Network device management. Default community strings (“public”, “private”) often exposed.</p><p><strong>Telnet (Port 23)</strong> — Cleartext remote access. Completely insecure — still found on legacy systems and IoT.</p><h3>5️⃣ TCP/IP Suite — How the Internet Actually Works</h3><p>The real internet runs on <strong>TCP/IP</strong> — a simpler 4-layer model developed by the US DoD that predates OSI.</p><h4>OSI vs TCP/IP Mapping</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j60vpbk3iHMwW3hzZKav4Q.png" /><figcaption><a href="https://www.networkacademy.io/ccna/network-fundamentals/understanding-the-osi-model"><em>OSI vs. TCP/IP models — </em>networkacademy.io</a></figcaption></figure><h3>The 4 Layers of TCP/IP</h3><p>TCP/IP is the real-world model the internet runs on. Unlike OSI’s 7 layers, TCP/IP keeps it simple with just <strong>4 layers</strong> — each handling a specific job in getting your data from Point A to Point B.</p><p><strong>Layer 4 — Application Layer</strong></p><p>This is the layer you actually interact with. Every protocol that powers your daily internet activity lives here — whether you’re browsing a website, sending an email, or connecting to a remote server.</p><p><strong>Protocols:</strong> HTTP, HTTPS, FTP, SSH, SMTP, DNS, Telnet, SNMP, RDP</p><p><strong>Layer 3 — Transport Layer</strong></p><p>This layer is responsible for how data is delivered. It breaks large data into smaller chunks, makes sure everything arrives correctly, and uses port numbers to direct traffic to the right application.</p><p><strong>Protocols:</strong> TCP (reliable) and UDP (fast)</p><p><strong>Layer 2 — Internet Layer</strong></p><p>Think of this as the GPS of your data. It assigns IP addresses and figures out the best route for your data to travel across multiple networks — from your device all the way to the destination server.</p><p><strong>Protocols:</strong> IPv4, IPv6, ICMP, ARP, OSPF, BGP</p><p><strong>Layer 1 — Network Access Layer</strong></p><p>This is the foundation — the actual physical transmission of data. It handles how bits travel over your network cable, Wi-Fi signal, or any other physical medium, and manages delivery within your local network using MAC addresses.</p><p><strong>Protocols:</strong> Ethernet, Wi-Fi (802.11), PPP, MAC Addressing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2lV7dwQ2VX5Mgw2gDtd0wg.png" /><figcaption>TCP/IP Model— AI-Generated Illustration</figcaption></figure><h4><em>Working of TCP/IP Model</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*Tkn9gfer_JT1VQg3PpvxaA.png" /><figcaption><a href="https://www.geeksforgeeks.org/computer-networks/tcp-ip-model/"><em>Working of TCP/IP Model — GeeksforGeeks</em></a></figcaption></figure><p><strong>Why Hackers Care:</strong> Wireshark lets you see every layer’s header. Crafting malicious packets = manipulating these headers deliberately.</p><h3>Protocols &amp; Ports — Doors Hackers Knock On</h3><p><strong>A port is like a door in a building.</strong><br> IP address = building address. Port = specific door number.</p><p>When hackers port scan, they’re knocking on every door to see which ones are open.</p><h4>Port Number Ranges</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C-SRiW59sVua5bMJhfq4OA.png" /><figcaption>Port Number Ranges — AI-Generated Illustration</figcaption></figure><h4>Top 30 Critical Ports Every Hacker Must Know</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KL028s-I02fDeXdEYDgaYw.png" /><figcaption>Critical Ports — AI-Generated Illustration</figcaption></figure><blockquote><strong>Note:</strong> Port 389 (LDAP) supports both TCP and UDP, though TCP is primary. Port 138 within the NetBIOS range (137–139) is UDP only — the full range is listed as TCP/UDP for simplicity.</blockquote><h4>Ports — Hacker’s Favorites</h4><p><strong>Port 445 (SMB)</strong> — Brought hospitals down worldwide via WannaCry ransomware (2017). The EternalBlue exploit (leaked NSA tool) targeted this port. Always block 445 at firewall if SMB isn’t needed.</p><p><strong>Port 3389 (RDP)</strong> — Remote Desktop exposed on the internet = attacker’s dream. BlueKeep (CVE-2019–0708) allowed unauthenticated RCE. Millions of systems still expose RDP publicly.</p><p><strong>Port 23 (Telnet)</strong> — Still found on routers, IoT devices, legacy systems. Everything is cleartext. If you find it open during a pentest, it’s a critical finding every time.</p><p><strong>Port 22 (SSH)</strong> — Secure by design, but weak passwords and default creds make it a top brute-force target. Always enforce key-based authentication.</p><p><strong>Port 53 (DNS)</strong> — Zone transfers on misconfigured servers expose the entire network topology. DNS tunneling exfiltrates data right through firewalls.</p><h3>Quick-Reference Cheat Sheets</h3><h4>OSI One-Liner Summary</h4><pre>L7 Application  → User protocols: HTTP, FTP, SMTP, DNS, SSH<br>L6 Presentation → Encrypt/Decrypt/Compress: TLS/SSL<br>L5 Session      → Manage connections: NetBIOS, RPC<br>L4 Transport    → TCP/UDP, Ports, Segmentation<br>L3 Network      → IP Addresses, Routing: IP, ICMP, OSPF<br>L2 Data Link    → MAC Addresses, Frames: Ethernet, Wi-Fi<br>L1 Physical     → Raw bits over wire/fiber/air</pre><h4>TCP vs UDP — One-Liner</h4><pre>TCP → Reliable, ordered, handshake<br>      Uses: HTTP, HTTPS, SSH, FTP, SMTP, RDP, MySQL</pre><pre>UDP → Fast, no guarantee, no handshake<br>      Uses: DNS, DHCP, SNMP, VoIP, Streaming, Gaming, NTP</pre><h4>Critical Ports — 60-Second Cheat Sheet</h4><pre>21    FTP       cleartext file transfer<br>22    SSH       secure remote access<br>23    Telnet    cleartext remote (INSECURE ⚠️)<br>25    SMTP      email sending<br>53    DNS       domain resolution<br>80    HTTP      cleartext web<br>110   POP3      email retrieval<br>143   IMAP      email access<br>443   HTTPS     encrypted web<br>445   SMB       Windows file sharing (HIGH RISK ⚠️)<br>3306  MySQL     database<br>3389  RDP       remote desktop (HIGH RISK ⚠️)<br>5900  VNC       remote desktop (often no auth ⚠️)<br>8080  HTTP-ALT  proxy / dev servers</pre><h3>Day 6 Summary + What’s Next</h3><p><strong>OSI Model — Key Takeaways:</strong></p><ul><li>7 layers, each with a specific job</li><li>Data travels DOWN on sender, UP on receiver</li><li>Different attacks target different layers</li><li>Mnemonic: <em>“All People Seem To Need Data Processing”</em> (L7→L1)</li></ul><p><strong>TCP/IP — Key Takeaways:</strong></p><ul><li>Real internet = 4-layer TCP/IP, not 7-layer OSI</li><li>TCP = reliable, connection-oriented (3-way handshake)</li><li>UDP = fast, connectionless, no handshake</li><li>Data is encapsulated at each layer, de-encapsulated on receipt</li></ul><p><strong>Ports — Key Takeaways:</strong></p><ul><li>65,535 total ports: 0–1023 (well-known), 1024–49151 (registered), 49152–65535 (dynamic)</li><li>Open ports = attack surface — always scan early in a pentest</li><li>Most critical: 22 (SSH), 80/443 (Web), 445 (SMB), 3389 (RDP)</li><li>Tools: Nmap (scanning), Wireshark (analysis), Netcat (connections)</li></ul><h4>Coming Up on Day 7 — Network Scanning &amp; Enumeration</h4><p>In Day 7, we kick off our <strong>first real hacking phase</strong>. Here’s what we’ll cover:</p><p><strong>Reconnaissance:</strong></p><ul><li>Passive vs Active Reconnaissance — what’s the difference and when to use each</li></ul><p><strong>Scanning &amp; Enumeration Tools:</strong></p><ul><li>Advanced Nmap techniques — scripts, evasion, and output formats</li><li>Banner grabbing — extracting information from running services</li><li>Service enumeration with <strong>Enum4linux</strong>, <strong>Gobuster</strong>, and <strong>Nikto</strong></li></ul><p><strong>Practical Labs (Continuing from Day 6 — apply these in your lab):</strong></p><pre>Lab 1 → Visualize OSI layers in live traffic using Wireshark<br>Lab 2 → Port scanning with Nmap (10 commands — basic to aggressive)<br>Lab 3 → Manually build a TCP handshake using Netcat<br>Lab 4 → DNS enumeration — dig, nslookup, and zone transfer<br>Lab 5 → Protocol capture challenge — DNS, HTTP, ICMP, ARP</pre><p><strong>Goal:</strong></p><blockquote><em>Build a </em><strong><em>complete network map</em></strong><em> of your target — open ports, running services, and operating system fingerprint.</em></blockquote><p><em>Found this useful? Give it up to 50 claps 👏 and drop a comment — let’s build this community together!</em></p><p><strong>Medium Tags:</strong> ethical hacking cybersecurity OSI model TCP/IP networking pentesting Nmap Wireshark infosec hacking for beginners network security protocols and ports</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5dbab49b704" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/day-6-how-the-internet-actually-works-osi-model-tcp-ip-ports-d5dbab49b704">Day 6: How the Internet Actually Works — OSI Model, TCP/IP &amp; Ports</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethical Hacking for Beginners — Day 5: Kali Linux Commands Every Hacker Must Know (Part 2) —…]]></title>
            <link>https://osintteam.blog/ethical-hacking-for-beginners-day-5-kali-linux-commands-every-hacker-must-know-part-2-2d33f61ce44e?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d33f61ce44e</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Thu, 25 Jun 2026 19:10:53 GMT</pubDate>
            <atom:updated>2026-09-02T12:40:18.568Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Ethical Hacking for Beginners — Day 5: Kali Linux Commands Every Hacker Must Know (Part 2) — Permissions, Processes, Packages &amp; Search</strong></h3><p><strong>Ethical Hacking Series</strong></p><p><em>In Blog 4, we covered the first three command sections — Navigation, File Reading, and Network Commands. You learned how to move around a Linux system, read files, and interact with networks.</em></p><p><em>Now it’s time to go deeper.</em></p><p><em>This blog covers the remaining four sections — the commands that separate a casual Linux user from someone who actually understands what’s happening under the hood. Let’s get into it.</em></p><h3>What You’ll Learn in Blog 5</h3><p>User &amp; Permission Commands — who you are and what you can access</p><p>System &amp; Process Commands — what’s running and how to control it</p><p>Package Management — how to install and manage hacking tools</p><p>Search &amp; Filter Commands — finding exactly what you need, fast</p><p>Full hands-on practice exercise — run everything yourself</p><p>Complete cheat sheet for all 7 sections</p><h3>Section 4: User &amp; Permission Commands</h3><p>In ethical hacking, identity and access control is everything. These commands tell you who you are, what you can do, and how to escalate your privileges<strong>.</strong></p><h3>whoami — Who Are You?</h3><pre>whoami</pre><p>This single command tells you the <strong>currently logged-in user.</strong> Simple — but critically important.</p><p>In a penetration test, the very first thing you do after gaining access to a system is run whoami. Because your username determines everything — what files you can read, what commands you can run, and whether you need to escalate privileges further.</p><p>If it returns root — you have <strong>full unrestricted control</strong> of the system.</p><p>If it returns a regular username like kali— you have user-level privilege.</p><p><strong>Test it:</strong></p><pre># Run this and note your current user<br>whoami<br># Run this and note your current user now<br>sudo su  # for switching to root mode<br>whoami<br>exit<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*OtuyGLU18daXpglpnGDmiw.png" /></figure><h3>id — More Than Just a Name</h3><pre>id</pre><p>id goes deeper than whoami. It shows your:</p><ul><li><strong>UID</strong> (User ID) — a number identifying your user account</li><li><strong>GID</strong> (Group ID) — your primary group</li><li><strong>All group memberships</strong> — every group your user belongs to</li></ul><p>This matters because <strong>groups control access.</strong> If a user belongs to the sudo group, they can run commands as root. If they&#39;re in the docker group, they can abuse Docker for privilege escalation. If they&#39;re in adm, they can read system logs.</p><p><strong>Test it:</strong></p><pre>id</pre><pre>sudo nmap -sS 192.168.1.0/24 #Your Network Range<br>sudo su<br>sudo -l</pre><p>sudo stands for <strong>&quot;superuser do&quot;</strong> — it lets you run a single command with root privileges without fully switching to the root account.</p><p>Here’s what each variation does:</p><p><strong>sudo command</strong> — Runs that specific command as root. Some tools like Nmap require root to function properly.</p><p><strong>sudo su</strong> — Drops you into a <strong>persistent root shell.</strong> Every command you run after this has full root privileges until you type exit.</p><p><strong>sudo -l</strong> — This one is gold for privilege escalation. It lists exactly what the current user is allowed to run with sudo. Sometimes misconfigurations here allow a user to run specific commands as root — and that becomes an exploitation path.</p><pre># Check what you can run with sudo<br>sudo -l<br># Switch to root shell<br>sudo su</pre><h3>chmod — Control File Permissions</h3><pre>chmod +x script.sh<br>chmod 755 exploit.sh<br>chmod 600 id_rsa</pre><p>Every file in Linux has three permission types — <strong>read (r), write (w), execute (x)</strong> — for three categories of users — <strong>owner, group, others.</strong></p><p>chmod changes these permissions.</p><p><strong>Understanding the numbers:</strong></p><p>Number Permission Meaning 7 rwx Read + Write + Execute 6 rw- Read + Write only 5 r-x Read + Execute only 4 r — Read only 0 — — No permissions</p><p>So chmod 755 means:</p><ul><li>Owner → rwx (full access)</li><li>Group → r-x (read and execute)</li><li>Others → r-x (read and execute)</li></ul><p>And chmod 600 means:</p><ul><li>Owner → rw- (read and write)</li><li>Group → none</li><li>Others → none</li></ul><p><strong>Why </strong><strong>chmod 600 on </strong><strong>id_rsa?</strong> SSH private keys must be readable only by the owner. If the permissions are too open, SSH will refuse to use the key and throw a warning.</p><p><strong>Test it:</strong></p><pre># Create these files<br>touch testscript.sh<br>touch exploit.sh<br>touch id_rsa</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*o9JMWyDlZ9GChY7AgUdW4g.png" /></figure><pre># Try to run these — these would fail<br>./testscript.sh <br>./exploit.sh <br>./id_rsa<br># Permission denied</pre><pre># Give these permission<br>chmod +x testscript.sh<br>chmod 755 exploit.sh<br>chmod 600 id_rsa</pre><pre># Check the permission change<br>ls -la testscript.sh<br>ls -la exploit.sh<br>ls -la id_rsa</pre><pre># Clean up<br>rm testscript.sh<br>rm exploit.sh<br>rm id_rsa</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*RK9LB8Y879T4sLEpFwCaTQ.png" /></figure><h3>chown — Change File Ownership</h3><pre>chown root:root file.sh<br>chown kali:kali /home/kali/file.txt</pre><p>chown changes <strong>who owns a file.</strong> The format is chown owner:group filename.</p><p>When you create a file as a regular user, you own it. But sometimes tools or scripts need to be owned by root to function properly — or during post-exploitation, you may need to change ownership to maintain access.</p><p><strong>Test it:</strong></p><pre># Create a file<br>touch owned.txt</pre><pre># Check current ownership<br>ls -la owned.txt<br># Output: -rw-r--r-- 1 kali kali</pre><pre># Change owner to root<br>sudo chown root:root owned.txt</pre><pre># Check again<br>ls -la owned.txt<br># Output: -rw-r--r-- 1 root root</pre><pre># Change it back<br>sudo chown kali:kali owned.txt</pre><pre># Clean up<br>rm owned.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*ujWQRPF6V0_kmdkV18oaHw.png" /></figure><h3>Section 5: System &amp; Process Commands</h3><p>Understanding what’s running on a system is a core skill — both for managing your own machine and for analyzing a target during post-exploitation.</p><h3>uname -a — System Information</h3><pre>uname -a</pre><p>This gives you the complete system profile in one line:</p><ul><li><strong>Kernel name</strong> (Linux)</li><li><strong>Hostname</strong> (machine name)</li><li><strong>Kernel version</strong> (e.g., 6.1.0-kali)</li><li><strong>Build date</strong></li><li><strong>Architecture</strong> (x86_64, ARM, etc.)</li></ul><p><strong>Why it matters for hackers:</strong> The kernel version is the first thing you check when looking for <strong>local privilege escalation exploits.</strong> An outdated kernel may be vulnerable to a public exploit that grants root access.</p><p><strong>Test it:</strong></p><pre>uname -a</pre><h3>ps aux — What&#39;s Running Right Now?</h3><pre>ps aux<br>ps aux | grep apache</pre><p>ps aux lists every single process currently running on the system with full details:</p><ul><li><strong>USER</strong> — who owns the process</li><li><strong>PID</strong> — Process ID (unique number for each process)</li><li><strong>%CPU / %MEM</strong> — resource usage</li><li><strong>COMMAND</strong> — what’s actually running</li></ul><p>Pipe it with grep to filter for a specific service. This is essential during post-exploitation — you want to know what web servers, databases, or services are running on a compromised machine.</p><p><strong>Test it:</strong></p><pre># See all processes<br>ps aux</pre><pre><br># Filter for your terminal session<br>ps aux | grep bash</pre><pre># Check if any web server is running<br>ps aux | grep apache<br>ps aux | grep nginx</pre><h3>top and htop — Live System Monitor</h3><pre>top<br>htop</pre><p>Both show a <strong>real-time dashboard</strong> of running processes, CPU usage, and RAM consumption.</p><p>top comes pre-installed. htop is the upgraded version — color-coded, easier to read, and you can scroll through processes interactively.</p><p><strong>Controls inside top/htop:</strong></p><ul><li>q — quit</li><li>k — kill a process (enter its PID)</li><li>F6 in htop — sort by column</li></ul><p><strong>Install htop if not present:</strong></p><pre>sudo apt install htop -y</pre><p><strong>Test it:</strong></p><pre># Run top<br>top<br># Press Q to exit</pre><pre># Run htop<br>htop<br># Press Q to exit</pre><h3>kill and killall — Terminate Processes</h3><pre>kill 1234<br>killall firefox</pre><p>Every running process has a <strong>PID (Process ID).</strong> The kill command sends a termination signal to a specific PID.</p><p>killall lets you kill by <strong>process name</strong> instead of hunting for a PID.</p><p><strong>Common kill signals:</strong></p><ul><li>kill PID — graceful termination (signal 15)</li><li>kill -9 PID — <strong>force kill</strong> — cannot be ignored by the process</li></ul><p><strong>Test it:</strong></p><pre># Start a background process<br>sleep 500 &amp;</pre><pre># Find its PID<br>ps aux | grep sleep</pre><pre># Kill it using the PID (replace 1234 with actual PID)<br>kill 1234</pre><pre># Or kill by name<br>killall sleep</pre><pre># Verify it&#39;s gone<br>ps aux | grep sleep</pre><p>When you run ps aux | grep sleep, the grep command itself becomes an active process on the system while it searches — so it naturally appears in its own search results. This is completely normal Linux behavior and not an error — simply ignore that extra line, as it&#39;s just grep doing its job, not the process you&#39;re looking for.</p><h3>history — Your Command Log</h3><pre>history<br>history | grep nmap</pre><p>history displays every command you&#39;ve run in the terminal — numbered, in order.</p><p>Pipe it with grep to instantly find a specific command you ran earlier without scrolling through hundreds of entries.</p><p><strong>Post-exploitation use:</strong> A target’s bash history is one of the most valuable files you can read. It may contain:</p><ul><li>Passwords typed directly into commands</li><li>Database connection strings</li><li>SSH commands revealing other machines on the network</li><li>Tool configurations exposing sensitive data</li></ul><p><strong>The history file lives at:</strong> ~/.bash_history</p><p><strong>Test it:</strong></p><pre># View full history<br>history</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vuOQoJrRNMsXTo9sPaJq4Q.png" /></figure><pre># Find all txt file commands you&#39;ve run<br>history | grep txt</pre><pre># Find all sudo commands<br>history | grep sudo</pre><pre># Read the actual history file<br>cat ~/.zsh_history</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*qQjpB_o6gFr1zc-QFy8kvw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*iuwq123AgfcxisuHahehpg.png" /></figure><h3>Section 6: Package Management</h3><p>In Kali Linux, you install, update, and manage tools using apt — the Advanced Package Tool. These commands are ones you&#39;ll run every single session.</p><h3>The Core Package Commands</h3><pre>sudo apt update</pre><p><strong>Always run this first.</strong> It syncs your local package list with Kali’s online repositories. Without this, you’re working with outdated package information and may install old versions of tools.</p><pre>sudo apt upgrade -y</pre><p>Downloads and installs the latest versions of everything already on your system. The -y flag auto-confirms all prompts so you don&#39;t have to keep pressing Y.</p><pre>sudo apt install nmap wireshark gobuster -y</pre><p>Installs new tools. You can install multiple tools in one command by listing them with spaces. Always run apt update before this.</p><pre>sudo apt remove packagename</pre><p>Uninstalls a tool but keeps its configuration files.</p><pre>sudo apt purge packagename</pre><p>Uninstalls a tool <strong>and</strong> deletes its configuration files completely.</p><pre>sudo apt search toolname</pre><p>Search for a tool in the repositories before installing — useful when you’re not sure of the exact package name.</p><p><strong>Test it:</strong></p><pre># Step 1: Update package list<br>sudo apt update</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*njaV53pfVSEorAdt4B4jgA.png" /></figure><pre># Step 2: Search for a tool<br>sudo apt search gobuster</pre><pre># Step 3: Install it if not installed<br>sudo apt install gobuster -y</pre><pre># Step 4: Verify installation<br>gobuster --help</pre><pre># Step 5: Remove it according to your choice <br>sudo apt remove gobuster -y<br>#You can reinstall it by again running the above command<br>sudo apt install gobuster -y</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*bW-quIKsdb7l7g_DbEenlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTr-0VvI-AynUPvofGmQow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*b3qD7vytZbhN6pLdXdDFpA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k2-uPrwy6xysMQCf1vqP4A.png" /></figure><h3>Section 7: Search &amp; Filter Commands</h3><p>These commands let you find exactly what you need inside files, directories, and command outputs. In CTFs and real engagements, these save hours.</p><h3>grep — Search Inside Files</h3><pre>grep &quot;password&quot; config.txt<br>grep -r &quot;admin&quot; /var/www/<br>grep -i &quot;error&quot; logfile.txt</pre><p>grep searches for a pattern inside a file and returns every matching line.</p><p><strong>Key flags:</strong></p><p>Flag What it does -r Search recursively through all files in a directory -i Case-insensitive search -n Show line numbers with results -v Show lines that do NOT match -l Show only filenames that contain the match</p><p><strong>Real-world use:</strong> During a web application pentest, you might run grep -r &quot;password&quot; /var/www/ to search an entire web server&#39;s codebase for hardcoded credentials.</p><p><strong>Test it:</strong></p><pre># Create a test file<br>echo &quot;username: admin&quot; &gt; config.txt<br>echo &quot;password: secret123&quot; &gt;&gt; config.txt<br>echo &quot;host: localhost&quot; &gt;&gt; config.txt<br>echo &quot;PORT: 3306&quot; &gt;&gt; config.txt</pre><pre># Search for password<br>grep &quot;password&quot; config.txt</pre><pre># Case-insensitive search<br>grep -i &quot;port&quot; config.txt</pre><pre># Show line numbers<br>grep -n &quot;admin&quot; config.txt</pre><pre># Clean up<br>rm config.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*pwr2Z39qFaWBEQ2Z36VvGQ.png" /></figure><h3>The Pipe Operator | — Chaining Commands</h3><pre>ps aux | grep apache<br>cat /etc/passwd | grep &quot;/bin/bash&quot;<br>nmap 192.168.1.1 | grep &quot;open&quot;</pre><p>The pipe | is one of the most powerful concepts in Linux. It takes the <strong>output of one command</strong> and feeds it directly as <strong>input to another.</strong></p><p>Without the pipe, you’d have to save outputs to files and then search them manually. With the pipe, you chain commands together in real time.</p><p><strong>Test it:</strong></p><pre># See only users with a login shell<br>cat /etc/passwd | grep &quot;/bin/bash&quot;</pre><pre><br># Find only open ports from an nmap scan<br>nmap 127.0.0.1 | grep &quot;open&quot;</pre><pre># Filter running processes for your username<br>ps aux | grep kali</pre><pre># Count how many processes are running<br>ps aux | wc -l</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*pthNjrB0S39yNdJRnNw_0w.png" /></figure><h3>sort, uniq, wc — Process and Count Data</h3><pre>sort userlist.txt<br>sort -u emails.txt<br>cat file.txt | sort | uniq<br>wc -l wordlist.txt</pre><p>These three commands work together constantly — especially when processing wordlists, scan outputs, and log files.</p><p><strong>sort</strong> — Sorts lines alphabetically or numerically. -u removes duplicates while sorting.</p><p><strong>uniq</strong> — Removes consecutive duplicate lines. Always pipe through sort first since uniq only removes adjacent duplicates.</p><p><strong>wc -l</strong> — Counts the number of lines in a file. Essential for checking wordlist sizes before running brute force attacks.</p><p><strong>Test it:</strong></p><pre># Create a test file with duplicates<br>echo -e &quot;apple\nbanana\napple\ncherry\nbanana\ndate&quot; &gt; fruits.txt</pre><pre># View raw file<br>cat fruits.txt</pre><pre># Sort it<br>sort fruits.txt</pre><pre># Remove duplicates<br>sort fruits.txt | uniq</pre><pre># Count unique entries<br>sort fruits.txt | uniq | wc -l</pre><pre># Clean up<br>rm fruits.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*m2g323UXzTIVeGsqo7RYOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*y0ECQTDoIlL8TYz7Ju2Qiw.png" /></figure><h3>Full Hands-On Practice Exercise</h3><pre># ── SECTION 4: USER &amp; PERMISSIONS ────────────────── <br>#Check who you are<br>whoami<br>id</pre><pre># Check sudo privileges<br>sudo -l</pre><pre># Create a test script and fix permissions<br>touch myscript.sh<br>ls -la myscript.sh<br>chmod +x myscript.sh<br>ls -la myscript.sh</pre><pre># Create a file and change ownership<br>touch owned.txt<br>sudo chown root:root owned.txt<br>ls -la owned.txt<br>sudo chown kali:kali owned.txt<br>rm owned.txt</pre><pre># ── SECTION 5: SYSTEM &amp; PROCESS ────────────────────</pre><pre># Get system info<br>uname -a</pre><pre># View all running processes<br>ps aux | grep bash</pre><pre># Live monitor (press Q to quit)<br>top</pre><pre># Test kill commands<br>sleep 300 &amp;<br>ps aux | grep sleep<br>killall sleep<br>ps aux | grep sleep</pre><pre># View command history<br>history | tail -20 show commands lasts 20</pre><pre># ── SECTION 6: PACKAGE MANAGEMENT ──────────────────</pre><pre># Update package list<br>sudo apt update</pre><pre># Search for a tool<br>sudo apt search tree </pre><pre># Install it if not installed<br>sudo apt install tree -y</pre><pre># Test it<br>tree ~</pre><pre># Remove it if you want to remove it (your choice)<br>sudo apt remove tree -y</pre><pre># ── SECTION 7: SEARCH &amp; FILTER ─────────────────────</pre><pre># Create test data<br>echo -e &quot;admin:password123\nroot:toor\nuser:qwerty\nadmin:letmein&quot; &gt; creds.txt</pre><pre># Search for admin entries<br>grep &quot;admin&quot; creds.txt</pre><pre># Count total entries<br>wc -l creds.txt</pre><pre># Sort and remove duplicates<br>sort creds.txt | uniq</pre><pre># Check users with login shells<br>cat /etc/passwd | grep &quot;/bin/bash&quot;</pre><pre># Count running processes<br>ps aux | wc -l</pre><pre># Cleanup<br>rm creds.txt<br>rm myscript.sh</pre><h3>Common Beginner Mistakes to Avoid</h3><p><strong>1. Skipping </strong><strong>sudo apt update before installing tools</strong> Always update first. Installing without updating pulls outdated versions from an unsynced package list.</p><p><strong>2. Running </strong><strong>rm -rf without double-checking the path</strong> Linux has no recycle bin. One wrong path and critical files are gone permanently. Always ls the directory first.</p><p><strong>3. Ignoring permission errors</strong> If a command returns “Permission denied,” don’t panic. Check if you need sudo. Run sudo !! to instantly re-run your last command as root.</p><p><strong>4. Not saving command output</strong> Scan results and tool outputs disappear when you close the terminal. Use command &gt; output.txt to save, or command | tee output.txt to save and still see the output simultaneously.</p><p><strong>5. Killing the wrong process</strong> Always double-check the PID before running kill. Run ps aux | grep processname first to confirm you have the right one.</p><p><strong>6. Practicing on unauthorized systems</strong> This cannot be overstated. Even scanning a network you don’t own is illegal in most countries. Build a home lab. Use intentionally vulnerable VMs. Everything stays legal and controlled.</p><h3>Complete Cheat Sheet — All 7 Sections</h3><pre>╔══════════════════╦═══════════════════╦══════════════════╗<br>║   NAVIGATION     ║   FILE READING    ║    NETWORK       ║<br>╠══════════════════╬═══════════════════╬══════════════════╣<br>║ pwd              ║ cat file          ║ ifconfig / ip a  ║<br>║ ls -la           ║ less file         ║ ping -c 4 host   ║<br>║ cd /path         ║ more file         ║ nmap target      ║<br>║ cd .. / cd ~     ║ head -20 file     ║ nmap -sV target  ║<br>║ mkdir folder     ║ tail -f file      ║ netstat -tulnp   ║<br>║ rm -rf folder    ║ nano file         ║ wget [url]       ║<br>║ rmdir folder     ║ touch file        ║ curl -I [url]    ║<br>║ cp file /path    ║ find / -name *.cf ║ traceroute host  ║<br>║ mv old new       ║ find / -perm 4000 ║ ss -tulnp        ║<br>╠══════════════════╬═══════════════════╬══════════════════╣<br>║   USER &amp; PERMS   ║ SYSTEM &amp; PROCESS  ║  PACKAGES        ║<br>╠══════════════════╬═══════════════════╬══════════════════╣<br>║ whoami           ║ uname -a          ║ apt update       ║<br>║ id               ║ ps aux            ║ apt upgrade -y   ║<br>║ sudo command     ║ ps aux | grep X   ║ apt install name ║<br>║ sudo su          ║ top / htop        ║ apt remove name  ║<br>║ sudo -l          ║ kill PID          ║ apt purge name   ║<br>║ chmod +x file    ║ kill -9 PID       ║ apt search name  ║<br>║ chmod 755 file   ║ killall name      ║                  ║<br>║ chown user file  ║ history           ║  SEARCH          ║<br>║ passwd           ║ history | grep X  ║ grep &quot;x&quot; file    ║<br>║ adduser name     ║ df -h / free -h   ║ grep -r &quot;x&quot; /dir ║<br>║                  ║ sudo !!           ║ cmd | grep x     ║<br>║                  ║                   ║ sort / uniq      ║<br>║                  ║                   ║ wc -l file       ║<br>╚══════════════════╩═══════════════════╩══════════════════╝</pre><h3>Key Takeaways</h3><p><strong>whoami and </strong><strong>id</strong> are the first commands you run on any system — they define what you can and cannot do</p><p><strong>sudo -l</strong> reveals privilege escalation paths — always check what a user can run as root</p><p><strong>chmod and </strong><strong>chown</strong> control who can access what — understanding permissions is fundamental to Linux security</p><p><strong>ps aux and </strong><strong>kill</strong> give you full control over running processes — essential for both system management and post-exploitation</p><p><strong>uname -a</strong> reveals the kernel version — a critical data point when researching local privilege escalation exploits</p><p><strong>apt update before every install</strong> — non-negotiable habit</p><p><strong>grep and pipes</strong> are your best friends — they let you filter and process any output in real time</p><p><strong>sort | uniq | wc -l</strong> is a classic combo — you&#39;ll use it constantly when handling wordlists and data</p><h3>Final Thoughts</h3><p>You’ve now covered all seven Linux command sections across Blog 4 and Blog 5. That’s not a small thing. Most people who say they want to learn ethical hacking quit before they ever get comfortable in a terminal. You didn’t.</p><p>Here’s the truth — <strong>you don’t need to have every command memorized.</strong> What you need is to know that they exist, understand what they do, and know where to look when you need them. That knowledge is now in your head.</p><p>From here, everything gets more hands-on. The foundation is built. The tools are ready.</p><p><strong>Blog 6 is where we begin the actual hacking methodology.</strong></p><p><strong><em>Did this blog add value to your learning?</em></strong></p><p>👏 <strong>Clap up to 50 times</strong> — it helps this reach more beginners who need it</p><p>💬 <strong>Comment:</strong> Which section was most useful to you — Permissions, Processes, or Search?</p><p>📤 <strong>Share</strong> — Tag someone who’s trying to break into cybersecurity</p><p><em>Happy Hacking — Ethically!</em> 🛡️</p><p>📌 <em>Just joining? Start from Blog 1: What is Ethical Hacking &amp; Where to Begin</em></p><p><strong>Tags:</strong> Kali Linux Ethical Hacking Linux Commands Cybersecurity Penetration Testing InfoSec Linux Tutorial Beginners Guide Learn Hacking Privilege Escalation</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d33f61ce44e" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/ethical-hacking-for-beginners-day-5-kali-linux-commands-every-hacker-must-know-part-2-2d33f61ce44e">Ethical Hacking for Beginners — Day 5: Kali Linux Commands Every Hacker Must Know (Part 2) —…</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 4: Kali Linux for Beginners: 40 Linux Commands Hackers Use Daily PART (A)]]></title>
            <link>https://osintteam.blog/day-4-kali-linux-for-beginners-40-linux-commands-hackers-use-daily-part-a-473e2695ec67?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/473e2695ec67</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[linux-commands]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[kali-linux]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Tue, 28 Apr 2026 00:54:16 GMT</pubDate>
            <atom:updated>2026-09-02T12:44:25.566Z</atom:updated>
            <content:encoded><![CDATA[<h3>Kali Linux</h3><p><strong>Kali Linux is a purpose-built penetration testing platform</strong> — developed by Offensive Security, the same organization behind the most respected hacking certification in the world: OSCP.</p><p>Here’s what makes it different from regular Linux distros:</p><ul><li><strong>600+ pre-installed security tools</strong> — Nmap, Metasploit, Wireshark, Burp Suite, and hundreds more are ready out of the box</li><li><strong>Built for offensive security</strong> — The entire OS is optimized for vulnerability assessment, digital forensics, and ethical hacking</li><li><strong>Rolling release model</strong> — The latest versions of all tools are always available in the repository, so whenever you manually run sudo apt update &amp;&amp; sudo apt upgrade, you get the most current versions instantly</li><li><strong>Active security community</strong> — Millions of professionals and researchers use it globally</li></ul><blockquote><strong><em>Important Disclaimer:</em></strong><em> Kali Linux is a professional tool built for authorized security testing only. Using these tools on systems you don’t own or don’t have written permission to test is illegal and unethical. Everything in this series is strictly for learning and authorized use. ⚠</em></blockquote><h3>Understanding the Kali Linux Interface</h3><p>When you boot into Kali, here’s what you’re looking at:</p><p><strong>Desktop Environment: </strong>Kali uses <strong>XFCE</strong> (X Forms Common Environment) — a minimal desktop environment that is lightweight, fast, and gives you more RAM for the tools that actually matter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YO50h43tTSQrk5kf8-oemQ.png" /></figure><p><strong>Terminal:</strong> This is your real workplace. Forget the mouse. Professional hackers live in the terminal, and that’s exactly where you need to be comfortable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5tVXWr5bRC5G00jbB7xxug.png" /><figcaption>Kali Linux Terminal icon</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9wLSek3GcmVr3l6I-9muRw.png" /><figcaption>Kali Linux Terminal</figcaption></figure><p><strong>Applications Menu: </strong>All your pre-installed tools are organized by category — Information Gathering, Vulnerability Analysis, Web Application Analysis, Exploitation Tools, Forensics, and more. Spend 5 minutes just browsing through it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9GI5lYpDRiogLvh9JawScg.png" /><figcaption>Application menus</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BZy5vY430O0g7nYHQizW2w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*M6i-t73VvVKMlk-8yCo63A.png" /></figure><p><strong>The Key Mindset Shift:</strong> Windows and macOS trained you to click. Kali will train you to <em>type</em>. The faster you get comfortable with the terminal, the faster you grow as a security professional.</p><h3>The 40 Essential Linux Commands Every Ethical Hacker Must Know</h3><p>These aren’t random commands — these are the exact commands you will use during reconnaissance, exploitation, post-exploitation, and everyday system management. Learn them cold.</p><h4>Section 1: Navigation &amp; File System Commands</h4><p>Understanding your environment is the first thing you do on any system — your own or a target’s.</p><p><strong>pwd — Print Working Directory</strong></p><pre>pwd</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*qwHRteeng0TVHuxYkJAdYg.png" /></figure><p>Shows you exactly where you are in the file system. Always run this when you’re lost or disoriented in a terminal session.</p><p><strong>ls — List Directory Contents</strong></p><pre>ls<br>ls -la<br>ls -lah</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*QwI5Wchk4lBbl2-LrnRNrQ.png" /></figure><p>Lists files and folders in your current directory.</p><p>-l gives detailed view. -a shows hidden files (files starting with .). -h makes file sizes human-readable.</p><p><em>Hidden files in Linux often contain configuration data, credentials, and sensitive information. Always use </em><em>ls -la.</em></p><p><strong>cd — Change Directory</strong></p><pre>cd /var/www/html<br>cd ..<br>cd ~<br>cd -</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbb3apmo3TV9APc9EqsPtA.png" /></figure><p>Navigate between folders. .. goes one level up. ~ takes you to your home directory. - takes you back to the previous directory.</p><p><strong>mkdir — Make Directory</strong></p><pre>mkdir recon_results<br>mkdir -p projects/target1/scans</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*ii-qEgnHTE9NtPOIla40mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*64gWA5b_z90MXjYqMDvboQ.png" /></figure><p>Create new folders. -p creates nested folders in one command.</p><p><strong>touch — Create a File</strong></p><p>bash</p><pre>touch file.txt<br>touch /home/kali/Desktop/testfile.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*YAZ3_U1-stgvJJ23jKNp5g.png" /></figure><p>Creates an empty file instantly. Verify it was created by running ls -la right after.</p><p><strong>rm — Remove Files and Folders</strong></p><pre>rm file.txt<br>rm -rf /home/kali/Desktop/projects/<br>rmdir foldername</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*zTnEThOy5g6SelVF-bjBeA.png" /></figure><p>Delete files or folders. -r means recursive (everything inside), -f forces deletion without confirmation, rmdir deletes a folder <strong>only if it is completely empty.</strong> If the folder has even one file inside it, rmdir will <strong>refuse to delete it</strong> and throw an error.</p><p>⚠ <strong>rm -rf is permanent and irreversible. Double-check before you run it.</strong></p><p><strong>Test Yourself:</strong></p><pre># Step 1: Create the file<br>touch file.txt<br><br># Step 2: Verify it exists<br>ls -la<br><br># Step 3: Delete the file<br>rm file.txt<br><br># Step 4: Verify it&#39;s gone<br>ls -la<br><br># Step 5: Create a folder with a file inside<br>mkdir oldfiles<br>touch oldfiles/test.txt<br><br># Step 6: Delete the entire folder<br>rm -rf oldfiles/<br><br># Step 7: Confirm it&#39;s gone<br>ls -la</pre><pre># Test 1: rmdir on EMPTY folder — works<br>mkdir emptyfolder<br>rmdir emptyfolder<br>ls -la<br><br># Test 2: rmdir on folder WITH files — fails<br>mkdir fullyfolder<br>touch fullyfolder/test.txt<br>rmdir fullyfolder<br># ERROR: rmdir: failed to remove &#39;fullyfolder&#39;: Directory not empty<br><br># Test 3: rm -rf works on folder with files<br>rm -rf fullyfolder<br>ls -la</pre><p><strong>cp and </strong><strong>mv — Copy and Move</strong></p><pre>cp scan_results.txt /home/user/backup/<br>mv old_name.txt new_name.txt</pre><p>Copy files to a new location, or move/rename them.</p><p><strong>Key difference to remember:</strong></p><p>cp — Original <strong>stays</strong>, copy is created</p><p>mv — Original <strong>disappears</strong>, moves to new location</p><p>mv (same folder) — Just <strong>renames</strong> the file</p><p>Test Yourself:</p><pre># Step 1: Create test files first<br>touch scan_results.txt<br>touch old_name.txt<br><br># Step 2: Create the backup folder<br>mkdir backup<br><br># Step 3: Copy file into backup folder<br>cp scan_results.txt backup/<br><br># Step 4: Verify both exist (original + copy)<br>ls -la<br>ls -la backup/<br><br># Step 5: Rename a file using mv<br>mv old_name.txt new_name.txt<br><br># Step 6: Verify old name is gone, new name exists<br>ls -la<br><br># Step 7: Move a file to backup folder<br>mv new_name.txt backup/<br><br># Step 8: Verify it moved (gone from current, inside backup)<br>ls -la<br>ls -la backup/<br><br># Step 9: Clean up after testing<br>rm scan_results.txt<br>rm -rf backup/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q7QYHE8PJdDL-UUICj86_g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*RGYjUlvc6Mo-tjb1WG6mng.png" /></figure><p><strong>find — Search the Entire File System</strong></p><pre>find / -name &quot;*.conf&quot; 2&gt;/dev/null<br>find /home -name &quot;passwords*&quot;<br>find / -perm -4000 2&gt;/dev/null</pre><p><strong>find / -name &quot;*.conf&quot; 2&gt;/dev/null</strong> Finds all configuration files on the system — often contain passwords and sensitive settings.</p><p><strong>find /home -name &quot;passwords*&quot;</strong> Directly searches for any file named &quot;passwords&quot; saved by users.</p><p><strong>find / -perm -4000 2&gt;/dev/null</strong> Finds SUID files — can be abused to gain root access. Classic privilege escalation trick.</p><p>One of the most powerful commands in post-exploitation. Find any file by name, extension, or permission.</p><p>The last example finds <strong>SUID files</strong> — a common privilege escalation vector. You’ll use this constantly.</p><h4>Section 2: File Reading &amp; Editing Commands</h4><p><strong>cat — Read File Contents</strong></p><pre>cat /etc/passwd</pre><p>cat /etc/passwd Shows all user accounts on the system — usernames, user IDs, home directories, and shell types. Hackers check this to identify valid users on a target machine.</p><p><strong>cat</strong> stands for <strong>concatenate. </strong>Originally designed to <strong>join multiple files together</strong> and display them — but in practice everyone uses it simply to <strong>read and print file contents</strong> directly in the terminal without opening any editor.</p><p><strong>less and </strong><strong>more — Read Large Files</strong></p><pre>less /var/log/auth.log<br>more bigfile.txt</pre><p>For large files, cat floods your screen. less lets you scroll through page by page.</p><pre># Step 1: Create a big test file with lots of lines<br>for i in {1..100}; do echo &quot;This is line number $i&quot;; done &gt; bigfile.txt<br><br># Step 2: Verify file is created<br>ls -la bigfile.txt<br><br># Step 3: Test more command<br>more bigfile.txt<br># Press SPACE to scroll page by page<br># Press ENTER to scroll line by line<br># Press Q to quit<br><br># Step 4: Test less command<br>less bigfile.txt<br># Press SPACE to scroll page by page<br># Press ENTER to scroll line by line<br># Press UP/DOWN arrows to go back and forward<br># Press Q to quit<br><br># Step 5: Clean up<br>rm bigfile.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*d48Q8UQ0wzl3WahRZuL0mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*q6BWGyljCPTq72Rz3BiPyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*tl9RDDCyovs6sDhqZgzrag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*I6_Kx71GbCrEjymWf6y3lA.png" /></figure><p><strong>less /var/log/auth.log</strong><br>This shows real login activity on your system</p><p><strong>head and </strong><strong>tail</strong></p><pre>#Show first 20 lines of the file.<br>head -20 logfile.txt<br>#Show last 50 lines of system log.<br>tail -50 /var/log/syslog<br>#Show live updates as new lines are added.<br>tail -f /var/log/apache2/access.log</pre><ul><li>head → Shows first lines of a file (default: 10)</li><li>tail → Shows last lines of a file (default: 10)</li><li>tail -f → Live monitoring (real-time updates)</li></ul><pre>#Step 1: Create a test file<br>for i in {1..30}; do echo &quot;Line $i&quot;; done &gt; test.txt<br>#Step 2: Test head<br>head test.txt         # First 10 lines<br>head -5 test.txt      # First 5 lines<br>#Step 3: Test tail<br>tail test.txt         # Last 10 lines<br>tail -5 test.txt      # Last 5 lines<br>#Step 4: Test tail -f (Live)<br>#Terminal 1:<br>tail -f test.txt<br>#Terminal 2:<br>echo &quot;Live update test&quot; &gt;&gt; test.txt<br>#Watch Terminal 1 update instantly! 🎉</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wUwXl5ojeFW-K8HHc7C77w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xResLCpAmV7PqHGxu4I00Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g8YjkYhODYWHFPG6SW_GSA.png" /></figure><p><strong>nano — Terminal Text Editor</strong></p><pre>nano note.txt<br>nano /etc/hosts</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*_KVTUR0ai64dcaJMILh8zw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*dkCtEbLHW-mrw8YsJ3YwAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*CmP54jKpD0K4TxD8NVKXhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*FZhVDBlwz5LUa_cUzKiwYQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*e0ZH09udjeMVbF1aCIdy3w.png" /></figure><p>nano is a simple and beginner-friendly command-line text editor used to create and edit files directly in the terminal (e.g., nano notes.txt, nano /etc/hosts). It’s widely used for quick edits like notes, scripts, or configuration files, with easy shortcuts like <strong>Ctrl+X to exit</strong> and <strong>Y to save changes</strong>.</p><p><strong>touch — Create Empty Files</strong></p><pre>touch output.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*cFi-BVxfDI964_74d-lb3Q.png" /></figure><p>Creates a new empty file instantly.</p><h4>Section 3: Network Commands (Critical for Hackers)</h4><p>This section is non-negotiable. Network commands are the backbone of reconnaissance, scanning, and exploitation.</p><p><strong>ifconfig / </strong><strong>ip a — Check Your IP Address</strong></p><pre>ifconfig<br>ip a<br>ip addr show</pre><ul><li><strong>ifconfig</strong> — Displays network interfaces and their IP addresses (legacy but still commonly used).</li><li><strong>ip a</strong> — Shows all network interfaces with detailed IP and status information (modern command).</li><li><strong>ip addr show</strong> — Provides a full view of IP addresses and interface details (same as ip a, just more explicit).</li></ul><p><strong>ping — Test Connectivity</strong></p><pre>ping google.com<br>ping 192.168.1.1 -c 4</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*T_jF9QWNWHHaVNjQal-8kQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*DHdZCJagv0lDiUBC1xj4ug.png" /></figure><ul><li>ping google.com is used to check if your system can reach the internet by sending small data packets to a website and measuring the response.</li><li>ping 192.168.1.1 -c 4 tests connectivity to a local network device (like a router) and sends only 4 packets to limit the check.</li></ul><p>Test if a host is reachable. -c 4 sends exactly 4 packets then stops.</p><p><strong>nmap — Network Scanner</strong></p><pre>nmap &lt;ip&gt;<br>nmap -sV -O &lt;ip&gt;<br>nmap -sC -sV -p- &lt;ip&gt;</pre><p>To scan your own system, you can use either the localhost address (127.0.0.1) or your local IP address (found using ip a in Linux or ipconfig in Windows).</p><ul><li>nmap &lt;ip&gt; is used to quickly scan a device on the network and find which ports are open.</li><li>nmap -sV -O &lt;ip&gt; checks what services are running on those ports and tries to detect the operating system.</li><li>nmap -sC -sV -p- &lt;ip&gt; performs a deep scan of all 65,535 ports, runs default scripts, and gathers detailed service information.</li></ul><p>The king of reconnaissance tools. Discover open ports, running services, OS versions, and more.</p><p>-sV detects service versions. -O detects OS. -p- scans all 65,535 ports. -sC runs default scripts.</p><p>In short, <strong>Nmap</strong> is a powerful reconnaissance tool used to discover devices, open ports, services, and system details on a network before security testing or penetration analysis.</p><p><strong>netstat — Network Connections &amp; Open Ports</strong></p><pre>netstat -tulnp<br>ss -tulnp</pre><ul><li>netstat -tulnp shows all active TCP/UDP connections, listening ports, and the processes using them on your system.</li><li>ss -tulnp is the modern, faster alternative that provides the same information about open ports and network services in real time.</li></ul><p>Shows all active network connections and listening ports on the system. Essential for understanding what’s running on a machine.</p><p><strong>wget and </strong><strong>curl — Download Files &amp; Send HTTP Requests</strong></p><pre>wget https://example.com/tool.sh<br>curl -I https://target.com<br>curl -X POST -d &quot;username=admin&amp;password=test&quot; https://httpbin.org/post</pre><ul><li>wget https://example.com/tool.sh is used to download files directly from the internet to your system.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*eqie2USNdLN3aIKTzWJ6YA.png" /></figure><ul><li>curl -I https://target.com sends a request and returns only the HTTP headers (useful for checking server response).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gGCpCGeeP6gY-Dy04fWX9w.png" /></figure><p>When using curl with -I, it shows HTTP headers returned by a website.<br> Here, Google returns a 301 redirect, meaning it automatically forwards requests from google.com to <a href="http://www.google.com./">www.google.com.</a></p><ul><li>curl -X POST -d “username=admin&amp;password=test” <a href="https://httpbin.org/post">https://httpbin.org/post</a></li></ul><p>This command sends a POST request using <strong>curl</strong> with fake login data to a test server. httpbin.org simply reflects the data back so you can see how POST requests work. It is used for safe practice of HTTP and API testing.</p><p>In simple terms, wget is used for downloading files, while curl is a powerful tool for interacting with websites and APIs by sending custom HTTP requests (GET, POST, headers, etc.).</p><p><strong>traceroute</strong></p><pre>traceroute google.com</pre><p>Shows every hop between you and a target — useful for network mapping and understanding routing paths.</p><h3>Quick Reference Cheat Sheet — Sections 1, 2 &amp; 3</h3><pre>NAVIGATION           FILES                NETWORK<br>───────────────      ───────────────      ───────────────<br>pwd                  cat                  ifconfig / ip a<br>ls / ls -la          less / more          ping<br>cd / cd .. / cd ~    head / tail -f       nmap<br>mkdir                nano                 netstat -tulnp<br>rm / rm -rf          touch                wget / curl<br>cp / mv                      <br>rmdir</pre><h3>Practical Exercise — Test Everything You Learned</h3><p>Run these commands one by one right now:</p><pre># Navigation<br>pwd<br>ls -la<br>cd ~/Desktop<br>mkdir hacking_practice<br>cd hacking_practice<br># Files<br>touch notes.txt<br>nano notes.txt<br># Type anything, Ctrl+X, Y, Enter<br>cat notes.txt<br># Create big file and read it<br>for i in {1..50}; do echo &quot;Line number $i&quot;; done &gt; bigfile.txt<br>less bigfile.txt<br># Press Q to quit<br># Network<br>ip a<br>ping google.com -c 4<br>nmap 127.0.0.1<br>netstat -tulnp<br># Cleanup<br>cd ..<br>rm -rf hacking_practice</pre><p>If everything ran without errors — <strong>you just completed your first real Linux session as an ethical hacker.</strong></p><p>Every professional ethical hacker you admire started exactly where you are right now — confused by the terminal, Googling basic commands, making mistakes. The difference between those who made it and those who quit?</p><p><strong>They showed up every single day and practiced.</strong></p><p>You don’t need to memorize everything in one sitting. Run the commands. Break things. Fix them. Run them again. That’s how you&#39;ll start to learn more.</p><p><strong>Day 5: Kali Linux for Beginners: 40 Linux Commands Hackers Use Daily PART (B) </strong>will include our remainig Linux foundation — covering User &amp; Permissions, System &amp; Process, Package Management, and Search &amp; Filter commands every hacker must know. Real target mapping.</p><p><strong><em>Was this blog helpful? Here’s how you can support the series:</em></strong></p><p><strong>Clap up to 50 times</strong> — it helps this reach more beginners 💬 <strong>Comment below</strong> — Blog 5 drops soon and you don’t want to miss it 📤 <strong>Share</strong> — Tag someone who wants to break into cybersecurity</p><p><strong>Tags:</strong> Kali Linux Ethical Hacking Linux Commands Cybersecurity Penetration Testing InfoSec Beginners Guide Linux Tutorial</p><p><strong><em>Happy Hacking — Ethically! </em></strong><em>🛡️</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=473e2695ec67" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/day-4-kali-linux-for-beginners-40-linux-commands-hackers-use-daily-part-a-473e2695ec67">Day 4: Kali Linux for Beginners: 40 Linux Commands Hackers Use Daily PART (A)</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethical Hacking for Beginners — Day 3:Build Your Hacking Lab-Kali Linux Setup on VirtualBox &…]]></title>
            <link>https://osintteam.blog/day-3-build-your-hacking-lab-kali-linux-setup-on-virtualbox-vmware-step-by-step-543a70a2cef0?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/543a70a2cef0</guid>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[setup]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 00:46:08 GMT</pubDate>
            <atom:updated>2026-04-21T10:22:05.184Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ethical Hacking for Beginners — Day 3: Build Your Hacking Lab-Kali Linux Setup on VirtualBox &amp; VMware (Step-by-Step)</h3><h3>Part 1: Virtual Lab Setup</h3><h4>Install Steps</h4><ol><li>Google → Download latest <strong>VirtualBox</strong></li><li>Download <strong>Extension Pack</strong> (same version)</li><li>Run installer → Next → Next → Install</li><li>After install → open VirtualBox</li><li>Double click Extension Pack → install</li></ol><h4>Recommended Settings</h4><ul><li>RAM: <strong>4GB minimum (8GB best)</strong></li><li>CPU: <strong>2 cores minimum</strong></li><li>Disk: <strong>40GB</strong></li></ul><p><strong>Virtual Box Website Link:</strong> <a href="https://www.virtualbox.org/">https://www.virtualbox.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QeBCDestcuC_60jTJfdRkw.png" /><figcaption>Virtual Box</figcaption></figure><p>You can also watch the following video on how to install Virtual Box</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhomRENM8KVY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhomRENM8KVY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhomRENM8KVY%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d5487184db5e0d3769c88b7ad69f2561/href">https://medium.com/media/d5487184db5e0d3769c88b7ad69f2561/href</a></iframe><h3>Option 2: VMware Workstation Pro (Better Performance)</h3><h4>Install Steps</h4><ol><li>Download latest VMware Workstation Pro</li><li>Run installer → Next → Accept → Install</li><li>Launch software</li></ol><h4>Recommended Settings</h4><ul><li>RAM: <strong>8GB recommended</strong></li><li>CPU: <strong>2–4 cores</strong></li><li>Disk: <strong>40GB+</strong></li></ul><p><strong>Vmware Workstation Pro Website Link:</strong> <a href="https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion">https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R9BhpAmUv11iJd0oT-RX6A.png" /><figcaption>Vmware Workstation Pro</figcaption></figure><p>You can also watch the following video on how to install Vmware Workstation Pro</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlNGXSrZB_2A%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlNGXSrZB_2A&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlNGXSrZB_2A%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/38483f8c834dbabacd636838cb3501c2/href">https://medium.com/media/38483f8c834dbabacd636838cb3501c2/href</a></iframe><h3>Part 2: Kali Linux Installation (NO COMMANDS)</h3><h4>Method 1: Pre-built VM (Easiest)</h4><p><strong>Download</strong>: From Offensive Security official site</p><p><strong>Kali Linux Website Link:</strong> <a href="https://www.kali.org/">https://www.kali.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cF69zefKJlu6SZxWB0uQnQ.png" /><figcaption>Kali Linux</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_q_u8TAC1QesF3bT7Wmsg.png" /><figcaption>Kali Linux Virtual Machine Image</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GmrMcoWEO00W9Q33B3llJA.png" /><figcaption>Pre-built Vm for Vmware and VirtualBox</figcaption></figure><h4>Steps:</h4><ol><li>Download Kali Linux Virtual Machine (VMware/VirtualBox image)</li><li>Extract ZIP file</li><li>Open VMware / VirtualBox</li><li><strong>Import / Open existing VM</strong></li><li>.vmx (VMware) ya .vbox file select</li><li>Start VM</li></ol><h4>Default Login:</h4><ul><li>Username: kali</li><li>Password: kali</li></ul><p>BEST for beginners (no installation headache)</p><p>Watch this video for Kali Linux Pre-Built Image Installation on Vmware:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FrfNEXG9DHRU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrfNEXG9DHRU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrfNEXG9DHRU%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b79305e6a7e36eef36ac73a2f2684d64/href">https://medium.com/media/b79305e6a7e36eef36ac73a2f2684d64/href</a></iframe><p>Watch this video for Kali Linux Pre-Built Image Installation on Virtual Box:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fiu-puVuUuzU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Diu-puVuUuzU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fiu-puVuUuzU%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/70c9ab32617bd55aafa6a435ec9b1be9/href">https://medium.com/media/70c9ab32617bd55aafa6a435ec9b1be9/href</a></iframe><p><strong>Download: </strong>Kali Linux ISO file (official website)</p><p><strong>Installation Steps</strong></p><ul><li>Open VMware/VirtualBox</li><li>Click <strong>New VM</strong></li><li>Select <strong>ISO file</strong></li></ul><p><strong>Step 2: Choose OS</strong></p><ul><li>Type: Linux</li><li>Version: Debian (Kali Debian based)</li></ul><p><strong>Step 3: Hardware Allocation</strong></p><ul><li>RAM: 4–8GB</li><li>CPU: 2 cores</li><li>Disk: 40GB (Recommended)</li></ul><p><strong>Step 4: Start Installation</strong></p><ul><li>Start VM</li><li>Kali boot menu</li></ul><p>Select:</p><ul><li><strong>Graphical Install</strong> (recommended)</li></ul><p><strong>Step 5: Basic Setup</strong></p><ul><li>Language select</li><li>Location select</li><li>Keyboard layout select</li></ul><p><strong>Step 6: Network Setup</strong></p><ul><li>Automatic DHCP (default)</li></ul><p><strong>Step 7: User Setup</strong></p><ul><li>Set username</li><li>Set password</li></ul><p><strong>Step 8: Disk Partitioning</strong></p><p>Select:</p><ul><li><strong>Guided — use entire disk</strong></li><li>Then:</li><li>All files in one partition</li></ul><p><strong>Step 9: Install System</strong></p><ul><li>Files will start to copy</li><li>Wait it will take sometime</li></ul><p><strong>Step 10: GRUB Bootloader</strong></p><ul><li>Select YES</li><li>Select Default disk</li></ul><p><strong>Step 11: Finish</strong></p><ul><li>Installation complete</li><li>VM restart</li></ul><p><strong>Step 12: Login</strong></p><ul><li>Enter username/password</li></ul><p>Watch this video for Kali Linux ISO Image Installation on Virtual Box:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FZJFu0AoAY_g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZJFu0AoAY_g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FZJFu0AoAY_g%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c67475dc8f966628fd47ab010f254f9/href">https://medium.com/media/1c67475dc8f966628fd47ab010f254f9/href</a></iframe><p>Watch this video for Kali Linux ISO Image Installation on Vmware:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4huDEcXFVQc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4huDEcXFVQc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4huDEcXFVQc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/23944f63b6a2dda3620946f5698a388f/href">https://medium.com/media/23944f63b6a2dda3620946f5698a388f/href</a></iframe><h3>Important Tips (Real Hacker Setup)</h3><ul><li>Always use <strong>NAT + Host-only network</strong> (safe lab)</li><li>Take Snapshot (before experiments)</li><li>Minimum 8GB RAM agar smooth experience chahiye</li></ul><p>After complete setup and instatllation of Kali Linux, it’s time to actually think like a hacker.<br>In <strong>Day 4</strong>, <strong>we dive into Kali Linux basics, essential commands, and real workflow.</strong> Stay engaged… things are about to get interesting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=543a70a2cef0" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/day-3-build-your-hacking-lab-kali-linux-setup-on-virtualbox-vmware-step-by-step-543a70a2cef0">Ethical Hacking for Beginners — Day 3:Build Your Hacking Lab-Kali Linux Setup on VirtualBox &amp;…</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethical Hacking for Beginners — Day 2: Viruses, Malware, Cyber Attacks & Security Testing]]></title>
            <link>https://osintteam.blog/ethical-hacking-for-beginners-day-2-viruses-malware-cyber-attacks-security-testing-3371f3d5ec32?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/3371f3d5ec32</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[virus]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[malware]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Fri, 20 Mar 2026 04:03:32 GMT</pubDate>
            <atom:updated>2026-03-20T04:03:32.272Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Imagine turning on your computer one day and finding all your files locked, your data stolen, or your system completely unusable.</p><p>This is not science fiction — it happens every day due to viruses, malware, and cyber attacks. But here’s the good news:</p><p>If you understand how these attacks work, you can protect yourself and even stop them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dw6QNF8pPhniOx2WCZE7GQ.png" /><figcaption>Defence against attacks (AI generated illustration)</figcaption></figure><p>In Day 2 of this Ethical Hacking series, we’ll explore:</p><p>• <strong>What a virus is<br>• Types of malware<br>• Common cyber attacks<br>• Security testing methods<br>• Cybersecurity teams and how they work</strong></p><p>Let’s dive in.</p><h3>What is a Virus?</h3><p>A <strong>computer virus</strong> is a type of malicious software (malware) that spreads from one system to another and harms data or system performance.</p><p>Just like a biological virus spreads between humans, a computer virus spreads through:</p><ul><li>Infected files</li><li>Email attachments</li><li>Downloads from untrusted sources</li><li>USB devices</li></ul><p>Once inside a system, a virus can:</p><ul><li>Corrupt files</li><li>Steal data</li><li>Slow down systems</li><li>Give attackers control over your device</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L9g4tnmLbHSNzKGd_KQt5g.jpeg" /><figcaption>Virus (AI generated illustration)</figcaption></figure><h3>Types of Viruses</h3><h3>1. File Infector Virus</h3><p>Attaches itself to files and spreads when the file is opened.</p><h3>2. Boot Sector Virus</h3><p>Infects the system startup and runs when the computer turns on.</p><h3>3. Macro Virus</h3><p>Spreads through documents like Word or Excel files.</p><h3>4. Polymorphic Virus</h3><p>Changes its code again and again to avoid detection.</p><h3>5. Resident Virus</h3><p>Stays in memory and keeps infecting files over time.</p><h3>What is Malware?</h3><p>Malware means <strong>“malicious software”</strong> — any software designed to harm, damage, or misuse systems.</p><blockquote><strong>All viruses are malware, but not all malware are viruses.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*slEouD_EnR4N3w73.png" /><figcaption><a href="https://www.fortinet.com/resources/cyberglossary/malware">Malware (fortinet)</a></figcaption></figure><p>Here are the most common types:</p><h3>Worm</h3><p>Spreads automatically without user action, often through networks.</p><h3>Trojan Horse</h3><p>Looks like normal software but secretly performs harmful actions.</p><h3>Ransomware</h3><p>Locks your files and asks for money to unlock them.</p><h3>Spyware</h3><p>Secretly collects your personal data (like passwords or activity).</p><h3>Adware</h3><p>Shows unwanted ads and may track your behavior.</p><p>Malware is one of the <strong>main tools attackers use</strong> to break into systems.</p><h3>Common Types of Cyber Attacks</h3><p>Understanding attacks helps you think like an ethical hacker.</p><h3>1. Phishing Attack</h3><p>Fake emails or messages trick users into giving passwords or personal data.</p><h3>2. DDoS Attack</h3><p>Attackers send huge traffic to crash a website or server.</p><h3>3. Man-in-the-Middle (MITM)</h3><p>Attacker secretly listens or changes communication between two users.</p><h3>4. SQL Injection</h3><p>Attackers insert malicious code into database queries to access data.</p><h3>5. Password Attack</h3><p>Trying to guess or crack passwords using tools or techniques.</p><h3>Types of Security Testing</h3><p>Ethical hackers use testing to <strong>find weaknesses before attackers do</strong>.</p><h3>1. Black Box Testing</h3><p>Tester has <strong>no information</strong> about the system.<br>✔ Acts like a real hacker<br>✔ Tests external security</p><p><strong>Example:</strong> Trying to hack a website without knowing its code.</p><h3>2. White Box Testing</h3><p>Tester has <strong>full knowledge</strong> of the system.<br>✔ Access to code, structure, and data<br>✔ Finds deep vulnerabilities</p><p><strong>Example:</strong> Reviewing source code to find security flaws.</p><h3>3. Grey Box Testing</h3><p>Tester has <strong>partial knowledge</strong>.<br>✔ Mix of both black and white box<br>✔ More realistic testing</p><p><strong>Example:</strong> Logged-in user trying to exploit a system.</p><p>These testing types help organizations <strong>identify and fix security weaknesses effectively</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*iTmyr_sUuUMtW8Ec.jpg" /><figcaption><a href="https://www.educba.com/gray-box-testing/">Types of Testing (educba)</a></figcaption></figure><h3>Cybersecurity Teams</h3><p>Cybersecurity is teamwork. Different teams handle different responsibilities.</p><h3>Red Team (Attackers)</h3><p>• Simulate real-world attacks<br>• Try to break into systems<br>• Think like hackers</p><p><strong>Goal:</strong> Find weaknesses</p><h3>Blue Team (Defenders)</h3><p>• Monitor systems<br>• Detect and stop attacks<br>• Respond to incidents</p><p><strong>Goal:</strong> Protect systems</p><h3>Purple Team (Collaboration)</h3><p>• Combines red and blue teams<br>• Improves communication<br>• Helps fix weaknesses faster</p><p><strong>Goal</strong>: Improve overall security</p><ul><li><strong>Red Team → Attack</strong></li><li><strong>Blue Team → Defend</strong></li><li><strong>Purple Team → Improve both</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/0*eS5SomOCnyDi6Ocn.png" /><figcaption><a href="https://www.esecurityplanet.com/networks/red-team-vs-blue-team-vs-purple-team/">Types of Cybersecurity Teams (eSecurityPlanet)</a></figcaption></figure><h3>Conclusion</h3><p>Cyber threats are everywhere, but understanding them is the first step to defending against them.</p><p>In Day 2, you learned:</p><p>• What a virus is and how it spreads<br>• What malware is and its types<br>• Common cyber attacks<br>• Different types of security testing<br>• Roles of cybersecurity teams</p><p>This knowledge helps you start thinking like an <strong>ethical hacker</strong>.</p><h3>What’s Next?</h3><p>In <strong>Day 3</strong>, we will explore:</p><p><strong>Linux for Ethical Hackers (Commands, Setup &amp; Practice)</strong></p><p>Stay tuned and keep learning🚀</p><p><strong>Like, subscribe and share if You love content</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3371f3d5ec32" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/ethical-hacking-for-beginners-day-2-viruses-malware-cyber-attacks-security-testing-3371f3d5ec32">Ethical Hacking for Beginners — Day 2: Viruses, Malware, Cyber Attacks &amp; Security Testing</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethical Hacking for Beginners —Ethical Hacking Learning Series Day 1: Understanding Hackers…]]></title>
            <link>https://osintteam.blog/ethical-hacking-for-beginners-ethical-hacking-learning-series-day-1-understanding-hackers-fc8fb8713d6a?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc8fb8713d6a</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 07:25:37 GMT</pubDate>
            <atom:updated>2026-03-25T12:10:26.796Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ethical Hacking for Beginners —<strong>Ethical Hacking Learning Series</strong> Day 1: Understanding Hackers, Cyberspace &amp; Cybersecurity</h3><h3>Introduction</h3><p>Every day, millions of cyber attacks happen across the internet.</p><p>Hackers attempt to break into banks, social media platforms, hospitals, and even personal devices. Data breaches, ransomware attacks, and identity theft have become common news headlines.</p><p>But here’s something many people don’t realize:</p><blockquote><strong><em>“</em>Not all hackers are criminals.”</strong></blockquote><p>Some hackers are actually hired by companies to break into their systems legally<strong> </strong>to identify weaknesses before real attackers exploit them. These professionals are called <strong>Ethical Hackers</strong>, and they play a crucial role in protecting the digital world.</p><p>This article marks <strong>Day 1 of the Ethical Hacking Learning Series</strong>, designed especially for beginners who want to understand cybersecurity in a simple and practical way.</p><h3>Course Introduction</h3><p>Welcome to this <strong>Ethical Hacking Beginner Series Day 1</strong>. In this series, we will explore the foundations of cybersecurity and gradually move toward practical security concepts used by professionals. Throughout this journey, you will learn:</p><p>• How hackers think and operate<br>• How cyber attacks happen<br>• How security experts defend systems<br>• The tools and techniques used in ethical hacking</p><p>This course is designed for:</p><ul><li>Students curious about cybersecurity</li><li>Beginners interested in ethical hacking</li><li>IT learners exploring security careers</li><li>Anyone who wants to understand how digital systems get hacked and protected</li></ul><p>No advanced technical knowledge is required to start.</p><h3>Real Cybersecurity Success Stories</h3><p>Cybersecurity is not just an interesting field — it has created successful careers for thousands of professionals around the world.</p><p>Many ethical hackers participate in <strong>bug bounty programs</strong>, where companies reward researchers for discovering security vulnerabilities in their systems. For example, <strong>Santiago López</strong> from Argentina, <strong>Mark Litchfield</strong> from the UK, and <strong>Sam Curry</strong> from the US have earned <strong>over a million dollars</strong> through platforms like HackerOne by responsibly reporting high-impact bugs.</p><p>Instead of exploiting the weaknesses, they report them responsibly to the company. The organization fixes the issue, and the researcher receives recognition and financial rewards. These programs encourage ethical hackers to help make the internet safer.</p><h3>The Growing Cybersecurity Job Market</h3><p>Cybersecurity is one of the fastest-growing industries in the world. As organizations rely more on digital technology, the number of cyber threats continues to increase. This has created a massive demand for skilled cybersecurity professionals. Industries that actively hire cybersecurity experts include:</p><ul><li>Financial institutions and banks</li><li>Technology companies</li><li>Healthcare organizations</li><li>Government agencies</li><li>E-commerce platforms</li><li>Cloud service providers</li></ul><p>Common entry-level cybersecurity roles include:</p><blockquote><strong>Security Analyst</strong></blockquote><p>Security analysts monitor networks and systems for suspicious activities and investigate potential threats.</p><blockquote><strong>SOC Analyst (Security Operations Center)</strong></blockquote><p>SOC analysts analyze alerts, detect attacks, and respond to security incidents in real time.</p><blockquote><strong>Penetration Tester</strong></blockquote><p>Penetration testers simulate cyber attacks to discover vulnerabilities before malicious hackers exploit them.</p><blockquote><strong>Vulnerability Analyst</strong></blockquote><p>These professionals scan systems to identify security weaknesses and recommend fixes.</p><p>The demand for cybersecurity experts continues to grow globally, making it a promising and stable career path.</p><h3>What is Ethical Hacking?</h3><p>Ethical hacking is the process of <strong>t</strong>esting computer systems, networks, or applications to identify security vulnerabilities before attackers can exploit them.</p><p>Ethical hackers use many of the <strong>same tools and techniques used by malicious hackers</strong>, but they operate with permission and follow strict legal and ethical guidelines. Their primary goal is simple:</p><blockquote><strong>Find security weaknesses before cybercriminals do.</strong></blockquote><p>Organizations hire ethical hackers to:</p><ul><li>Identify vulnerabilities in systems</li><li>Improve security defenses</li><li>Protect sensitive data</li><li>Prevent cyber attacks</li></ul><p>Ethical hacking plays a vital role in strengthening modern cybersecurity.</p><h3>Roles of a Cybersecurity Expert</h3><p>Cybersecurity professionals specialize in different areas depending on their skills and interests.</p><p>Here are some key roles within the field.</p><blockquote><strong>Security Analyst</strong></blockquote><p>Security analysts monitor networks and investigate suspicious activities to detect potential attacks.</p><blockquote><strong>Penetration Tester (Ethical Hacker)</strong></blockquote><p>Penetration testers simulate attacks on systems to uncover vulnerabilities and improve security defenses.</p><blockquote><strong>Incident Responder</strong></blockquote><p>Incident responders investigate security breaches, contain attacks, and help organizations recover from incidents.</p><blockquote><strong>Security Engineer</strong></blockquote><p>Security engineers design and implement security systems such as firewalls, encryption mechanisms, and monitoring tools.</p><blockquote><strong>Threat Intelligence Analyst</strong></blockquote><p>These experts study cyber attack patterns and hacker techniques to predict future threats.</p><p>Each role contributes to protecting organizations in the digital world.</p><h3>What is Cyberspace?</h3><p>Cyberspace refers to the virtual environment created by interconnected digital networks and computer systems.</p><p>It includes everything connected through the internet, such as:</p><ul><li>Websites and web applications</li><li>Cloud platforms</li><li>Mobile devices</li><li>Social media networks</li><li>Computer systems and servers</li><li>Communication networks</li></ul><p>Essentially, cyberspace is the digital world where information is created, stored, and exchanged. Just like the physical world has risks such as theft or fraud, cyberspace also faces threats like:</p><ul><li>Data breaches</li><li>Malware attacks</li><li>Phishing scams</li><li>Ransomware attacks</li><li>Identity theft</li></ul><p>Cybersecurity exists to protect users and organizations operating within this digital space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jpew39VQBE4BFt-0eybbMQ.png" /><figcaption>Figure 1: AI-generated illustration</figcaption></figure><h3>What is a Hacker?</h3><p>A hacker is someone who uses their technical skills to study, explore, and<strong> </strong>interact with computer systems and networks. Depending on their intent, they might do this to improve security, identify vulnerabilities, or, in the case of malicious hackers, exploit weaknesses for personal gain.</p><p>The term <strong>“hacker”</strong> is often misunderstood. In reality, hackers can be categorized into different types depending on their intentions.</p><h3>1. White Hat Hackers (Ethical Hackers)</h3><p>White hat hackers are cybersecurity professionals who legally test systems to find security vulnerabilities. They work for organizations, security companies, or as independent researchers. Their goal is to improve system security and prevent cyber attacks.</p><h3>2. Black Hat Hackers</h3><p>Black hat hackers are malicious attackers who exploit systems for illegal purposes. Their motivations often include:</p><ul><li>Financial theft</li><li>Data breaches</li><li>Ransomware attacks</li><li>Identity theft</li></ul><p>These activities are illegal and harmful.</p><h3>3. Grey Hat Hackers</h3><p>Grey hat hackers operate between white hats and black hats. They may discover vulnerabilities without permission but later report them to organizations instead of exploiting them. Although their intentions might not always be malicious, their actions can still raise legal and ethical concerns.</p><p>Other types of hackers include:</p><blockquote><strong>Script Kiddies</strong><br> They are beginners who don’t have much skill. They use ready-made tools or scripts made by other hackers. They often hack just to show off or impress friends. Most of them are young people learning to hack.</blockquote><blockquote><strong>Green Hat Hackers</strong><br> These are new hackers who really want to learn. They ask questions to experienced hackers and try to improve their skills to become real hackers in the future.</blockquote><blockquote><strong>Blue Hat Hackers</strong><br> They work for companies to test their software before it is released. Unlike white hat hackers, they are usually hired just for a short time to check for problems.</blockquote><blockquote><strong>Red Hat Hackers</strong><br> They try to stop bad hackers (black hats). But instead of just fixing problems, they fight back and attack the bad hackers to stop them.</blockquote><blockquote><strong>State or Nation-Sponsored Hackers</strong><br> These hackers are hired by governments. They protect the country’s systems and sometimes collect secret information from other countries.</blockquote><blockquote><strong>Hacktivists</strong><br> Hackers who want to make a statement. They hack websites or systems to support a cause or show a political or social message.</blockquote><blockquote><strong>Malicious Insiders / Whistleblowers</strong><br> These are employees who work inside a company or organization. They may misuse their access to steal information or cause problems, sometimes for money or revenge.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2zGY8n_5c-BK4Zha.png" /><figcaption>Figure 2: types of hackers (GeeksforgGeeks)</figcaption></figure><h3>Conclusion</h3><p>Cybersecurity has become one of the most critical fields in the digital age. As cyber attacks grow more sophisticated, organizations rely heavily on security professionals to protect their systems and sensitive data. Ethical hacking plays a crucial role in this defense by identifying vulnerabilities before attackers can exploit them.</p><p>In <strong>Day 1 of this series</strong>, we explored:</p><p>• The importance of cybersecurity<br>• Career opportunities in the field<br>• The concept of ethical hacking<br>• The roles of cybersecurity professionals<br>• The meaning of cyberspace<br>• The different types of hackers</p><p>This foundational knowledge will help you better understand the advanced concepts we will explore in upcoming lessons.</p><h3>What’s Next?</h3><p>In <a href="https://medium.com/the-first-digit/ethical-hacking-for-beginners-day-2-viruses-malware-cyber-attacks-security-testing-3371f3d5ec32"><strong>Day 2</strong></a><strong> and Day 3</strong>, we will explore:</p><p><strong>Virues, Testing types, Linux Basics for Ethical Hackers and Setting Up Your Hacking Lab Environment.</strong></p><p>If you’re interested in learning ethical hacking step-by-step, stay tuned for the next article in this series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc8fb8713d6a" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/ethical-hacking-for-beginners-ethical-hacking-learning-series-day-1-understanding-hackers-fc8fb8713d6a">Ethical Hacking for Beginners —Ethical Hacking Learning Series Day 1: Understanding Hackers…</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fiverr Freelancers Scam Alert ❗ — How I Almost Fell for a Phishing Attack]]></title>
            <link>https://osintteam.blog/fiverr-freelancers-scam-alert-how-i-almost-fell-for-a-phishing-attack-8e5943c34a5e?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e5943c34a5e</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cybercrime]]></category>
            <category><![CDATA[scam]]></category>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[awareness]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Thu, 12 Mar 2026 20:47:03 GMT</pubDate>
            <atom:updated>2026-03-12T20:47:03.122Z</atom:updated>
            <content:encoded><![CDATA[<p>Fiverr Freelancers Scam Alert ❗ — How I Almost Fell for a Phishing Attack</p><p>At first, you feel that familiar excitement…<br>“<strong>Wow! I got my first Fiverr order</strong>!” 🎉</p><p>But sometimes, that excitement can be exploited. Recently, I encountered a phishing attempt targeting Fiverr freelancers, and it’s an experience every freelancer should be aware of.</p><p><strong>How the Scam Works</strong></p><p>It starts innocently: a “client” sends a message:</p><p>&gt;<em> “</em><strong><em>I added details related to the project with the link. Please tell me if you need further information</em></strong><em>.”</em></p><p>Another similar message followed with a link. When I opened the page, it displayed:</p><p>“<strong><em>Customer has placed an order and paid for your service – Get Funds</em></strong>.”</p><p>For a moment, it felt real. But when I clicked “Get Funds”, the page asked me to enter my payment or card details. That’s a classic red flag ⚠️</p><p><strong>Important Lesson</strong></p><p>Legitimate Fiverr clients never send orders through chat links.<br>All real orders are:</p><ul><li>Placed directly through your gig. Visible in the Orders section on Fiverr.</li><li>This scam relies on social engineering, exploiting excitement and trust. Scammers create urgency by making it seem like the payment is already made.</li></ul><p><strong>Appreciation for Fiverr</strong></p><p>Thankfully, Fiverr banned the suspicious accounts.<br>I want to appreciate Fiverr for actively protecting freelancers and taking swift action to ensure platform safety</p><p><strong>Remediation Steps</strong></p><p>If you ever enter details on a phishing page, here’s what to do immediately:</p><p>1. Freeze or block your card<br>2. Disable online/e-commerce transactions.<br>3. Contact your bank and request a card replacement<br>4. Change your Fiverr password<br>5. Enable two-factor authentication (2FA)<br>6. Monitor your bank account for suspicious activity<br>7. Report the scammer directly to Fiverr</p><p>These steps prevent fraud and protect your funds even if your card information was compromised.</p><p><strong>Cybersecurity Insight</strong></p><p>This scam is a combination of phishing and social engineering:</p><p>Phishing: Fake payment page asking for sensitive card details</p><p>Social Engineering: Exploiting excitement and trust to trick freelancers<br>Such scams are increasingly sophisticated. Awareness and caution are your best defenses.</p><p><strong>Sharing for Awareness</strong></p><p>I couldn’t take a screenshot at the time, but here’s an example from the Fiverr community showing a similar phishing attempt: <a href="https://share.google/asS8wH25KCWVzL6rQ">https://share.google/asS8wH25KCWVzL6rQ</a></p><p>This post is shared purely for awareness and educational purposes, so fellow freelancers can recognize such scams and avoid falling victim.</p><p><strong>Have you ever received a suspicious Fiverr order?</strong><br>Share your experience in the comments — let’s help each other stay safe online.</p><p>Key Takeaways</p><ul><li>Verify all orders directly on Fiverr’s platform</li><li>Never click on payment links sent via chat</li><li>Keep your accounts and cards secure</li></ul><p>Share awareness with your freelancer network</p><p>Stay alert. Stay secure. 🔐</p><p>#CyberSecurity #Freelancers #Phishing #ScamAlert #SocialEngineering #SecurityAwareness #InfoSec #OnlineSafety #FreelanceLife #WorkFromHome #BlueTeam</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e5943c34a5e" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/fiverr-freelancers-scam-alert-how-i-almost-fell-for-a-phishing-attack-8e5943c34a5e">Fiverr Freelancers Scam Alert ❗ — How I Almost Fell for a Phishing Attack</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mounting disk Image of MacOs]]></title>
            <link>https://infosecwriteups.com/mounting-disk-image-of-macos-f934b1015c3d?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f934b1015c3d</guid>
            <category><![CDATA[os]]></category>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Tue, 27 May 2025 06:15:44 GMT</pubDate>
            <atom:updated>2025-05-27T17:39:41.905Z</atom:updated>
            <content:encoded><![CDATA[<h3>Accessing APFS Drives on Linux Using apfs-fuse</h3><p>If you’ve ever tried to mount a Mac-formatted drive on a Linux system, you probably ran into some roadblocks — especially if the drive uses Apple’s proprietary APFS (Apple File System). Thankfully, there’s a solution: <strong>apfs-fuse</strong>, an open-source tool that allows Linux users to read APFS-formatted volumes.</p><h3>What is apfs-fuse?</h3><p><strong>apfs-fuse</strong> is a tool that lets you <strong>open and read Mac hard drives</strong> on a <strong>Linux</strong> computer.Macs use a special format called <strong>APFS</strong> (Apple File System) to store data.</p><ul><li><strong>“FUSE”</strong> stands for <em>Filesystem in Userspace</em>.</li><li><strong>Read-only</strong>: You can <strong>view and copy files</strong> from a Mac drive, but you <strong>can’t change or delete</strong> anything using apfs-fuse.</li><li>It’s useful for things like recovering files from a Mac drive.</li></ul><h3>Inspecting a macOS Disk Image</h3><p>In our scenario, a macOS disk image file named mac.dmg is already placed in the home directory of the VM. To list the volumes inside the disk image, we’ll use the apfsutil command-line tool, which is included alongside apfs-fuse. This utility helps to navigate and inspect the structure of APFS containers. Here is solved- Basic lab of Tryhackme on MacOs Forensics:</p><pre>ubuntu@tryhackme:~$ apfsutil mac-disk.img<br>Found partitions:<br>69646961-6700-11AA-11AA-00306543ECAC 68CB0FFE-F676-47D6-D1A2-5707D06D3E49 0000000000000028 00000000000FA027 0000000000000000 iBootSystemContainer<br>7C3457EF-0000-11AA-11AA-00306543ECAC 449DFC0C-7E1F-44D5-6A9F-7EA2C2AF0ADC 00000000000FA028 0000000002800027 0000000000000000 Container<br>52637672-7900-11AA-11AA-00306543ECAC A9432466-4751-47B7-1BBC-45B7B70465DE 0000000002800028 00000000031FFFD7 0000000000000000 RecoveryOSContainer<br>First APFS partition is 1<br><br>Volume 0 3B2E79F0-E4D4-4017-8443-597659F89844<br>---------------------------------------------<br>Role:               System<br>Name:               Macintosh HD (Case-insensitive)<br>Capacity Consumed:  10741764096 Bytes<br>FileVault:          No<br>Snapshots:<br>    40 : &#39;com.apple.os.update-151731D20D0972F39B434E2361ADB6B6BDD545C4F7D1DA7F6A031731952B6956&#39;<br><br>Volume 1 01B18AFB-06F7-488D-AD2D-7BBA4F662516<br>---------------------------------------------<br>Role:               Preboot<br>Name:               Preboot (Case-insensitive)<br>Capacity Consumed:  5790040064 Bytes<br>FileVault:          No<br>Snapshots:<br><br>Volume 2 EB33FEA7-EE13-4296-AC6E-7B52B24C9A55<br>---------------------------------------------<br>Role:               Recovery<br>Name:               Recovery (Case-insensitive)<br>Capacity Consumed:  935395328 Bytes<br>FileVault:          No<br>Snapshots:<br><br>Volume 3 37074D60-A2AC-441E-B273-E6C504C58618<br>---------------------------------------------<br>Role:               Update<br>Name:               Update (Case-insensitive)<br>Capacity Consumed:  229376 Bytes<br>FileVault:          No<br>Snapshots:<br><br>Volume 4 84E5F2BD-503F-4E3A-8105-EEBEBC1925B4<br>---------------------------------------------<br>Role:               Data<br>Name:               Data (Case-insensitive)<br>Capacity Consumed:  2114285568 Bytes<br>FileVault:          No<br>Snapshots:<br><br>Volume 5 93123E81-F23A-48C5-91BF-0E227E15EE6B<br>---------------------------------------------<br>Role:               VM<br>Name:               VM (Case-insensitive)<br>Capacity Consumed:  20480 Bytes<br>FileVault:          No<br>Snapshots:<br><br>ubuntu@tryhackme:~$</pre><p>Now that we’ve listed the contents of the APFS container, we can see several volumes inside — each one with details like its <strong>name</strong>, <strong>used space</strong>, <strong>UUID</strong>, and whether <strong>FileVault encryption</strong> is enabled. This gives us a good overview of what’s stored in the macOS disk image.</p><h3>Mounting the APFS Volume with apfs-fuse</h3><p>To mount an APFS volume using <strong>apfs-fuse</strong>, we need to run the command with <strong>root (administrator) permissions</strong>.</p><pre>ubuntu@tryhackme:~$ sudo su<br>root@tryhackme:/home/ubuntu# apfs-fuse<br>apfs-fuse [options] &lt;device&gt; &lt;dir&gt;<br><br>Options:<br>-d level      : Enable debug output in the console.<br>-f device     : Specify secondary device for fusion drives.<br>-o options    : Additional mount options (see below).<br>-v volume-id  : Specify number of volume to be mounted.<br>-r passphrase : Specify volume passphrase. The driver will ask for it if it is<br>                needed and hasn&#39;t been specified here.<br>-s offset     : Specify offset to the beginning of the container.<br>-p partition  : Specify partition id containing the container.<br>-l            : Allow driver to return potentially corrupt data instead of<br>                failing, if it can&#39;t handle something.<br><br>Additional mount options (using -o):<br>uid=N         : Pretend that all files have UID N.<br>gid=N         : Pretend that all files have GID N.<br>vol=N         : Same as -v, select volume id to mount.<br>blksize=N     : Set physical block size. Only needed if a partition table needs<br>                to be parsed and the sector size is not 512 bytes.<br>pass=...      : Specify volume passphrase (same as -r).<br>xid=N         : Mount specific xid.<br>snap=N        : Mount snapshot with given id. Use apfsutil for getting the ids.<br><br>root@tryhackme:/home/ubuntu#</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*CfN9Cw8Bb920-fObs_J80g.png" /></figure><p>Ok, the image has been mounted, and we can see that it has two directories, <strong>root</strong> and <strong>private-dir</strong>. The data is supposed to be present in the root directory. Let’s check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*I6L71UIa20Aho0NKRZKEDQ.png" /></figure><p>Looks like a full macOS file system! Everything seems in place. Let’s dig deeper and see what’s inside the Users directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*hiKUMPkGBbJhq5wnFmi0XA.png" /></figure><ul><li>oh — nothing there? That’s unexpected. There should be at least one user directory. So, what’s going on?</li></ul><h3>Did We Mount the Wrong Volume?</h3><p>If you remember from earlier, when we used the apfsutil tool, we saw several volumes listed in the APFS container. What we mounted earlier was likely the <strong>System volume</strong>, which contains the OS but not user data.</p><p>The user files are usually stored in the <strong>Data volume</strong>. According to our apfsutil output, that’s <strong>volume 4</strong> in the image.</p><p>Let’s mount it using the -v option to specify the volume number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*sfPFxEDyh2W9qHctNCxBhg.png" /></figure><p>Now we can see actual user data, including a home directory for the user thm.</p><h3>Digging into the User Directory</h3><p>Now that we’ve successfully mounted the <strong>Data volume</strong> and can see the user directory (thm), it’s time to dig a little deeper and see what files we can find.</p><p>Let’s navigate into the thm home directory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*eOCtiVqxNgSnYwneiyyguQ.png" /></figure><p>There it is — <strong>creds.txt</strong></p><h3>Found It! Reading creds.txt</h3><p>Let’s take a look at what’s inside the file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*zt2DXDulqqXSYUx41zb-Ug.png" /></figure><h3>Task Completed</h3><p>By using <strong>apfs-fuse</strong>, we were able to:</p><ul><li>Mount a macOS APFS disk image on Linux</li><li>Identify the correct volume containing user data</li><li>Navigate the file system and locate hidden files</li><li>Extract sensitive information from a .txt file</li></ul><p>Stay curious and keep exploring — who knows what else you’ll uncover in the next directory!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f934b1015c3d" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/mounting-disk-image-of-macos-f934b1015c3d">Mounting disk Image of MacOs</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I learn in Google Professional Cybersecurity Program?]]></title>
            <link>https://osintteam.blog/what-i-learn-in-google-professional-cybersecurity-program-aad2eba0e2b2?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/aad2eba0e2b2</guid>
            <category><![CDATA[cyber]]></category>
            <category><![CDATA[osint-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[career-development]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Sat, 22 Mar 2025 15:28:20 GMT</pubDate>
            <atom:updated>2025-03-22T15:28:20.913Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Cybersecurity Journey: A University-Sponsored Adventure into the Digital Battlefield</h3><p>Cybersecurity has fascinated me since I first started university. I’ve always been drawn to the challenge of protecting digital systems and outsmarting cyber threats. So when my university sent me a <strong>link to enroll in the Google Cybersecurity Professional Certificate</strong>, I knew it was an opportunity I couldn’t pass up. This program became a gateway to an eye-opening journey, where I refined my ability to think like a hacker, secure networks, and respond to cyber threats in real-world scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*EVDDSD69_fyuHqmf-W4RSQ.png" /><figcaption>Google Cybersecurity Program</figcaption></figure><h3>Course 1: Foundations of Cybersecurity — The Awakening</h3><p>It all began with a simple question: <strong>“What is cybersecurity, and why does it matter?”</strong></p><p>Before this course, I saw cybersecurity as a world reserved for elite hackers and secret agents. But as I dived in, I realized that cybersecurity is everywhere — protecting online banking, securing personal data, and even preventing cyber warfare.</p><h3>Course 2: Play It Safe — The Art of Risk Management</h3><p>Imagine you’re the head of security for a massive corporation. Your job? <strong>Protect sensitive data from cybercriminals.</strong></p><p>But threats aren’t always obvious. Sometimes, the biggest weakness isn’t a hacker — it’s <strong>human error.</strong> In this course, I learned how companies assess risks and defend against both external and internal threats.</p><p>I was introduced to <strong>security frameworks</strong> like NIST and ISO 27001, which help organizations stay ahead of cyber dangers.</p><h3>Course 3: Connect and Protect — Mastering Networks</h3><p>“<strong>To defend the castle, you must first understand its walls</strong>.”</p><p>This course took me deep into the <strong>world of networks</strong> — the backbone of every digital system. I finally understood how data flows across the internet and, more importantly, how attackers exploit network weaknesses.</p><p>I explored <strong>firewalls, VPNs, and encryption techniques</strong>, learning how to keep data safe while it travels.</p><h3>Course 4: Tools of the Trade — Linux and SQL, The Cybersecurity Toolkit</h3><p>No warrior enters battle unarmed. In cybersecurity, your weapons are <strong>command-line tools and databases.</strong></p><p>I stepped into the world of <strong>Linux</strong>, a powerful operating system used by cybersecurity professionals worldwide. I learned how to navigate its command line, analyze system logs, and track suspicious activities and I enjoyed the practical labs of this course.</p><p>Then came <strong>SQL databases</strong>, where massive amounts of sensitive data are stored. I practiced running queries, searching for anomalies — almost like a detective sifting through clues in a cybercrime case.</p><h3>Course 5: Assets, Threats, and Vulnerabilities — Playing Defense</h3><p>Now that I had my tools, it was time to <strong>learn the battlefield</strong> — understanding what needs protection and what’s at risk.</p><p>I learned to <strong>identify digital assets</strong>, classify vulnerabilities, and analyze potential attack vectors. It was fascinating to see how a single overlooked weakness — like a weak password or an unpatched system — could bring down an entire organization.</p><h3>Course 6: Sound the Alarm — The Incident Responder’s Mindset</h3><p>The first time I detected a simulated cyberattack in this course — I was playing the role of a real <strong>Security Operations Center (SOC) analyst</strong>.</p><p>Using <strong>SIEM tools</strong> (Security Information and Event Management), I analyzed logs, searched for red flags, and investigated alerts. It felt like I was in a digital war room, monitoring real-time threats and deciding how to respond before damage was done.</p><h3>Course 7: Automate Cybersecurity Tasks with Python — The Rise of Automation</h3><p>The world of cybersecurity moves fast. Too fast for humans alone to handle. That’s where <strong>automation</strong> comes in.</p><p>This course introduced me to <strong>Python scripting</strong>, a skill that allows security professionals to automate routine tasks like scanning for vulnerabilities, analyzing security logs, and detecting unusual behavior.</p><h3>Course 8: Put It to Work — Stepping into the Cybersecurity Job Market</h3><p>With all these skills in my arsenal, I was ready for the <strong>next big step — breaking into the cybersecurity industry.</strong></p><p>This course focused on <strong>career preparation</strong>, covering:<br>Resume-building strategies tailored for cybersecurity roles.<br>How to ace cybersecurity job interviews.<br>The different career paths: SOC analyst, security engineer, ethical hacker, and more.</p><p>Thanks to this course, I now had <strong>a clear roadmap for entering the field</strong>, along with industry-recognized skills that companies are actively looking for.</p><h3>Final Thoughts: A University-Backed Path to a Future-Proof Career</h3><p>Looking back, I never expected a <strong>university-sponsored program</strong> to provide such a hands-on, practical experience. The <strong>Google Cybersecurity Professional Certificate</strong> didn’t just teach me theory — it gave me <strong>real-world skills, real tools, and real confidence</strong> to step into the industry.</p><p>Cybersecurity is more than just a field; it’s a <strong>responsibility</strong> — to protect people, businesses, and even entire nations from cyber threats. And thanks to this program, I’m ready to take on that challenge.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aad2eba0e2b2" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/what-i-learn-in-google-professional-cybersecurity-program-aad2eba0e2b2">What I learn in Google Professional Cybersecurity Program?</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pico CTF: “Format string 0" Binary Exploitation Category]]></title>
            <link>https://osintteam.blog/pico-ctf-format-string-0-binary-exploitation-category-0fe8084178e3?source=rss-ecd8d2a2ebdb------2</link>
            <guid isPermaLink="false">https://medium.com/p/0fe8084178e3</guid>
            <category><![CDATA[books]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[HusnaAnjum]]></dc:creator>
            <pubDate>Wed, 12 Mar 2025 02:54:52 GMT</pubDate>
            <atom:updated>2025-03-19T21:47:39.660Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*sku0wVF0W0e94R5yHNekxQ.png" /><figcaption>Picoctf binary exploit format 0</figcaption></figure><p>This CTF challenge is about <strong>format string vulnerabilities</strong>, which occur when user-controlled input is used improperly in functions like printf, fprintf, or sprintf. These vulnerabilities can allow an attacker to read memory and to leak sensitive data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*YEBAXgRja_TDxW9ndUWusQ.png" /><figcaption>hint 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/1*3QweoOwHy0N0S0cwwPX-RQ.png" /><figcaption>Hint 2</figcaption></figure><p>Look at these hints, which would be help out in solving this ctf.</p><p><strong>Kickstart Your Webshell on the PicoCTF Platform!</strong></p><p>Before diving into the challenge, <strong>launch a webshell on the PicoCTF platform</strong> to set up your hacking environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*bMUlmdEnAo7DagWgU-xnGA.png" /></figure><p>Now right click on this blue text and copy link address and paste in webshell with <strong>wget </strong>command before the link address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*Kec3l7uABrqzsF88WR1A7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*9Depr-rEe2aC5hMz5AUM2g.png" /></figure><p>Repeat the same steps for second link.</p><p>now use <strong>cat format-string-0.c</strong> to view the code of file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*JxHZbeV-e9iiE1AwrM9UWw.png" /></figure><h3>Understanding the Vulnerability in format-string-0.c</h3><p>This C program simulates a burger shop with two customers, <strong>Patrick</strong> and <strong>SpongeBob</strong>. The program has a <strong>format string vulnerability</strong>, which allows us to <strong>leak memory content (like the flag) or even overwrite values</strong>.</p><p>Now go back to your Ctf challenge and click on <strong>Launch Instance</strong>.</p><p>paste this into your webshell to connect</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/368/1*AzKZS3I2BoipWScgIC1LCQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*ci2xG4kKjDetCTEuHcw-zQ.png" /></figure><p>After connecting , the program asks us to <strong>recommend a burger</strong> from a predefined list. Instead of entering a valid burger name, we experiment with a <strong>malformed input</strong>: <strong>Gr%114d_Cheese</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*3-RZu5Zac0dCmJKFNq2_sg.png" /></figure><p>After serving Patrick, we moved on to <strong>SpongeBob</strong>, who wanted something that would “break the shop.” The program <strong>printed our input twice</strong>, meaning our injected format strings were processed twice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*ozPKG48-qj9ZrKU2Axy-YA.png" /></figure><p><strong>Awesome! You cracked it!</strong></p><p>You successfully exploited a <strong>format string vulnerability</strong> and retrieved the flag — <strong>great job</strong></p><p>Now copy the flag and paste here</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*rt04_PbfWhI5OzADMfW69w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*AyhkxFH3kCqq3JbIOWFKNQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0fe8084178e3" width="1" height="1" alt=""><hr><p><a href="https://osintteam.blog/pico-ctf-format-string-0-binary-exploitation-category-0fe8084178e3">Pico CTF: “Format string 0&quot; Binary Exploitation Category</a> was originally published in <a href="https://osintteam.blog/">OSINT Team</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>