<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Faizan Nazir</title>
    <description>The latest articles on DEV Community by Faizan Nazir (@faizan-nazir).</description>
    <link>https://dev.to/faizan-nazir</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3898753%2F7bea112e-9bf7-4a8b-a86d-8148dc0eba97.jpeg</url>
      <title>DEV Community: Faizan Nazir</title>
      <link>https://dev.to/faizan-nazir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/faizan-nazir"/>
    <language>en</language>
    <item>
      <title>Day 17–Day 22: From Compliance to Command SOC — Building the Real Foundation of a Security Operations Center</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Tue, 04 Aug 2026 16:26:33 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-17-day-22-from-compliance-to-command-soc-building-the-real-foundation-of-a-security-4b5p</link>
      <guid>https://dev.to/faizan-nazir/day-17-day-22-from-compliance-to-command-soc-building-the-real-foundation-of-a-security-4b5p</guid>
      <description>&lt;p&gt;Day 17 — Compliance &amp;amp; Regulatory Foundations in SOC&lt;br&gt;
When we talk about cybersecurity in enterprise environments, we are not just talking about stopping hackers. We are talking about protecting legal integrity, customer trust, and business survival. On Day 17 of my SOC Analyst journey, I focused on understanding how compliance regulations shape Security Operations Center operations. Without compliance awareness, a SOC analyst is incomplete because detection and response are deeply tied to legal obligations.&lt;/p&gt;

&lt;p&gt;One of the most powerful global regulations is the General Data Protection Regulation, commonly known as GDPR. GDPR applies to any organization that processes personal data of European Union citizens, even if the organization is not physically located in Europe. This regulation protects personal data such as names, email addresses, IP addresses, financial details, and biometric identifiers. GDPR is built on principles such as transparency, accountability, data minimization, and integrity. What makes GDPR especially critical for SOC teams is the breach notification requirement. If a data breach occurs, the organization must report it within seventy-two hours. Failure to do so can result in penalties reaching up to twenty million euros or four percent of global annual turnover. From a SOC perspective, this means logs must be preserved, alerts must be detected quickly, and investigations must be documented clearly.&lt;/p&gt;

&lt;p&gt;Another major standard is PCI-DSS, the Payment Card Industry Data Security Standard. PCI-DSS applies to organizations that handle credit and debit card information. Whether it is an e-commerce company or a financial institution, any entity that processes cardholder data must follow strict security controls. These include network segmentation, encryption of payment data, access control, anti-virus deployment, regular security testing, and continuous monitoring. SOC teams play a crucial role here by monitoring payment systems, identifying suspicious login attempts, detecting data exfiltration, and maintaining audit logs. If an organization fails to maintain monitoring evidence, it can lose its ability to process card payments entirely, which could be devastating for business operations.&lt;/p&gt;

&lt;p&gt;HIPAA, the Health Insurance Portability and Accountability Act, focuses on protecting healthcare data in the United States. It safeguards Protected Health Information, including patient records, diagnosis details, insurance information, and treatment history. SOC analysts working in healthcare environments must monitor access to sensitive medical records, detect unauthorized access attempts, and ensure proper logging is maintained. A single unauthorized access event can trigger regulatory investigation and heavy penalties. This shows that compliance is not just legal paperwork; it is directly connected to SOC monitoring efficiency.&lt;/p&gt;

&lt;p&gt;Day 18 — SOC Fundamentals: People, Process, and Technology&lt;br&gt;
On Day 18, I moved deeper into understanding the structural foundation of a Security Operations Center. A SOC is not just a room filled with screens; it is a structured ecosystem built on three pillars: people, process, and technology.&lt;/p&gt;

&lt;p&gt;The first pillar is people. Technology can generate alerts, but humans interpret them. In a typical SOC structure, Level 1 analysts are responsible for monitoring alerts and performing initial triage. They determine whether an alert is a false positive or a real threat. Level 2 analysts handle deeper investigation, malware analysis, and containment strategies. Level 3 analysts focus on threat hunting, advanced forensics, and detection engineering. Above them is the SOC manager, who ensures operational efficiency, tracks key performance indicators, and reports to executive leadership. Without skilled analysts, even the best tools fail to protect the organization.&lt;/p&gt;

&lt;p&gt;The second pillar is process. SOC processes ensure consistency and speed. Every alert follows a defined workflow. When an alert is triggered, it is reviewed, validated, escalated if necessary, contained, and documented. Playbooks guide analysts on how to respond to phishing attacks, malware incidents, brute force attempts, and ransomware cases. Documentation is not optional; it becomes legal evidence during audits and post-incident reviews. A structured process reduces confusion and ensures no critical step is missed.&lt;/p&gt;

&lt;p&gt;The third pillar is technology. SOC relies heavily on specialized tools to collect, analyze, and respond to threats. Technology enables scalability, but it must align with people and processes to be effective.&lt;/p&gt;

&lt;p&gt;Day 19 — Core SOC Technologies: SIEM, SOAR, EDR, and TIP&lt;br&gt;
Day 19 was focused on understanding the tools that power modern SOC environments. The most important technology in a SOC is the Security Information and Event Management system, commonly called SIEM. SIEM collects logs from servers, firewalls, endpoints, and applications. It normalizes data from different sources and correlates events to detect suspicious patterns. For example, multiple failed login attempts followed by a successful login from the same IP address may indicate a brute force attack. SIEM not only generates alerts but also stores logs for compliance and forensic purposes.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
Security Orchestration, Automation, and Response, known as SOAR, enhances SIEM capabilities by automating repetitive tasks. When an alert is generated, SOAR can enrich it with threat intelligence, block malicious IP addresses, create incident tickets, and notify analysts automatically. This reduces manual workload and improves response time.&lt;/p&gt;

&lt;p&gt;Endpoint Detection and Response, or EDR, focuses on monitoring activity at the endpoint level. It tracks process execution, file changes, registry modifications, and network connections. If a malicious process chain occurs, such as a document launching PowerShell and then executing suspicious commands, EDR provides detailed visibility into the timeline. This is essential for detecting ransomware and lateral movement.&lt;/p&gt;

&lt;p&gt;Threat Intelligence Platforms, or TIPs, store indicators of compromise such as malicious IP addresses, domains, file hashes, and threat actor information. When integrated with SIEM and SOAR, TIP provides context to alerts, allowing analysts to quickly assess whether an indicator is associated with known threat campaigns.&lt;/p&gt;

&lt;p&gt;Day 20 — Incident Response Lifecycle in Real SOC Operations&lt;br&gt;
On Day 20, I focused on Incident Response, which is the heart of SOC operations. Incident Response follows a structured lifecycle consisting of preparation, detection, analysis, containment, eradication, recovery, and lessons learned. Preparation ensures that tools are configured and teams are trained. Detection occurs when suspicious activity is identified through alerts or user reports. Analysis determines the scope and impact of the incident.&lt;/p&gt;

&lt;p&gt;Containment involves isolating infected systems or disabling compromised accounts to prevent further damage. Eradication removes malware and addresses vulnerabilities that allowed the attack. Recovery restores systems to normal operation using backups and verification procedures. Finally, lessons learned help improve detection strategies and prevent similar incidents in the future. SOC analysts primarily handle detection and initial containment, but understanding the entire lifecycle prepares them for advanced roles.&lt;/p&gt;

&lt;p&gt;Day 21 — Business Continuity and Disaster Recovery in Cybersecurity&lt;br&gt;
Cybersecurity does not end at containment. On Day 21, I explored how organizations maintain operations during and after a cyberattack. Business Continuity Planning ensures that critical operations continue even during a crisis. For example, if a primary data center is compromised, a secondary environment should automatically take over. This prevents financial loss and service disruption.&lt;/p&gt;

&lt;p&gt;Disaster Recovery focuses specifically on restoring IT infrastructure after a disruption. Two critical metrics define Disaster Recovery strategies: Recovery Time Objective and Recovery Point Objective. Recovery Time Objective defines how quickly systems must be restored after an outage. Recovery Point Objective defines how much data loss is acceptable, measured in time. For example, if the RPO is one hour, backups must be performed at least every hour to ensure minimal data loss. SOC plays a supporting role by detecting incidents early, thereby reducing downtime impact.&lt;/p&gt;

&lt;p&gt;Day 22 — Types of SOC Structures in Modern Enterprises&lt;br&gt;
On Day 22, I studied different SOC models used across industries. An in-house SOC is fully operated internally by the organization. It provides complete control but requires significant investment in infrastructure and staffing. A Virtual SOC operates remotely, often cloud-based, providing cost-effective monitoring for small to mid-sized organizations.&lt;/p&gt;

&lt;p&gt;A Co-Managed SOC combines internal teams with external Managed Security Service Providers. This shared model allows organizations to leverage external expertise while maintaining internal oversight. Finally, a Command SOC is a centralized structure that oversees multiple regional SOCs. Large multinational enterprises use this model to maintain global threat visibility and standardized security practices across locations.&lt;/p&gt;

&lt;p&gt;By the end of Day 22, it became clear that becoming a SOC analyst is not about memorizing tools. It is about understanding compliance, structured operations, coordinated response, business resilience, and architectural security design. Compliance protects legal standing. People, process, and technology build operational strength. SIEM, SOAR, EDR, and TIP enable detection and response. Incident Response ensures structured handling. Business Continuity protects revenue. Disaster Recovery restores stability. And different SOC models reflect organizational maturity.&lt;/p&gt;

&lt;p&gt;This is what transforms a beginner into an enterprise-ready SOC professional.&lt;/p&gt;

</description>
      <category>security</category>
      <category>cybersecurity</category>
      <category>networking</category>
      <category>learning</category>
    </item>
    <item>
      <title>Day 11–Day 16: Cybersecurity Fundamentals Every SOC Analyst Must Master</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Tue, 21 Jul 2026 08:52:49 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-11-day-16-cybersecurity-fundamentals-every-soc-analyst-must-master-2ino</link>
      <guid>https://dev.to/faizan-nazir/day-11-day-16-cybersecurity-fundamentals-every-soc-analyst-must-master-2ino</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
Before a SOC analyst can investigate alerts, analyze logs, or respond to incidents, one foundation must be strong:&lt;/p&gt;

&lt;p&gt;Cybersecurity fundamentals.&lt;/p&gt;

&lt;p&gt;Between Day 11 and Day 16, we covered the core knowledge required to defend enterprise networks from real-world cyber threats.&lt;/p&gt;

&lt;p&gt;This phase focused on understanding:&lt;/p&gt;

&lt;p&gt;How enterprise cybersecurity works&lt;br&gt;
Core security concepts (Threat, Vulnerability, Risk)&lt;br&gt;
Major attack types&lt;br&gt;
Ethical hacking fundamentals&lt;br&gt;
Why SOC analysts must understand attacker techniques&lt;br&gt;
These topics form the backbone of professional SOC work.&lt;/p&gt;

&lt;p&gt;1️⃣ Cybersecurity Fundamentals for SOC Analysts&lt;br&gt;
Essential Knowledge for Defending Enterprise Networks&lt;br&gt;
A SOC (Security Operations Center) analyst is responsible for:&lt;/p&gt;

&lt;p&gt;Monitoring security alerts&lt;br&gt;
Investigating suspicious activities&lt;br&gt;
Identifying attack patterns&lt;br&gt;
Escalating incidents&lt;br&gt;
Documenting findings&lt;br&gt;
Reducing risk&lt;br&gt;
In enterprise environments, cybersecurity protects:&lt;/p&gt;

&lt;p&gt;Business operations&lt;br&gt;
Customer data&lt;br&gt;
Financial systems&lt;br&gt;
Intellectual property&lt;br&gt;
Brand reputation&lt;br&gt;
Without strong fundamentals, a SOC analyst cannot:&lt;/p&gt;

&lt;p&gt;Accurately classify incidents&lt;br&gt;
Identify root causes&lt;br&gt;
Detect emerging attack patterns&lt;br&gt;
Create meaningful detection rules&lt;br&gt;
This stage builds your defensive mindset.&lt;/p&gt;

&lt;p&gt;2️⃣ What is Enterprise Cybersecurity? (SOC Perspective)&lt;br&gt;
Enterprise cybersecurity is different from personal cybersecurity.&lt;/p&gt;

&lt;p&gt;In an enterprise environment, you are protecting:&lt;/p&gt;

&lt;p&gt;Hundreds or thousands of endpoints&lt;br&gt;
On-premise servers&lt;br&gt;
Cloud infrastructure&lt;br&gt;
Active Directory&lt;br&gt;
Firewalls and IDS/IPS&lt;br&gt;
SIEM and EDR platforms&lt;br&gt;
From a SOC perspective, enterprise cybersecurity means:&lt;/p&gt;

&lt;p&gt;24/7 monitoring&lt;br&gt;
Alert triage&lt;br&gt;
Log correlation&lt;br&gt;
Incident investigation&lt;br&gt;
Escalation workflows&lt;br&gt;
Compliance awareness&lt;br&gt;
SOC analysts primarily operate in the Detect and Respond phases of security.&lt;/p&gt;

&lt;p&gt;Prevention tools exist, but SOC ensures threats that bypass prevention are caught quickly.&lt;/p&gt;

&lt;p&gt;3️⃣ Understanding Core Concepts&lt;br&gt;
These three concepts are the foundation of all cybersecurity investigations.&lt;/p&gt;

&lt;p&gt;3.1 Threat&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;A Threat is any actor or event capable of causing harm.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;Cybercriminal groups&lt;br&gt;
Nation-state actors&lt;br&gt;
Insider employees&lt;br&gt;
Malware&lt;br&gt;
Hacktivists&lt;br&gt;
Threats can be:&lt;/p&gt;

&lt;p&gt;External (internet-based attackers)&lt;br&gt;
Internal (employees or contractors)&lt;br&gt;
A threat alone does not cause damage. It needs a weakness.&lt;/p&gt;

&lt;p&gt;3.2 Vulnerability&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;A Vulnerability is a weakness in a system.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;Weak passwords&lt;br&gt;
Unpatched software&lt;br&gt;
Open ports&lt;br&gt;
Misconfigured firewalls&lt;br&gt;
Outdated applications&lt;br&gt;
Human error&lt;br&gt;
Vulnerabilities exist in:&lt;/p&gt;

&lt;p&gt;Software&lt;br&gt;
Hardware&lt;br&gt;
Network design&lt;br&gt;
User behavior&lt;br&gt;
If vulnerabilities are not patched, they increase attack success probability.&lt;/p&gt;

&lt;p&gt;3.3 Risk&lt;br&gt;
Risk exists when:&lt;/p&gt;

&lt;p&gt;Threat + Vulnerability + Impact = Risk&lt;/p&gt;

&lt;p&gt;Risk can be simplified as:&lt;/p&gt;

&lt;p&gt;Risk = Probability × Impact&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;Weak password (vulnerability)&lt;br&gt;
Brute force attack (threat)&lt;br&gt;
Account compromise (impact)&lt;br&gt;
SOC analysts aim to detect activity before risk becomes damage.&lt;/p&gt;

&lt;p&gt;4️⃣ Attack Types (SOC Relevant)&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;Understanding attack categories allows SOC analysts to quickly classify incidents.&lt;/p&gt;

&lt;p&gt;4.1 Malware Attacks&lt;br&gt;
Press enter or click to view image in full size&lt;br&gt;
Press enter or click to view image in full size&lt;br&gt;
Malware = malicious software.&lt;/p&gt;

&lt;p&gt;Types include:&lt;/p&gt;

&lt;p&gt;Virus&lt;br&gt;
Worm&lt;br&gt;
Trojan&lt;br&gt;
Ransomware&lt;br&gt;
Spyware&lt;br&gt;
Malware impacts:&lt;/p&gt;

&lt;p&gt;Files&lt;br&gt;
Systems&lt;br&gt;
Credentials&lt;br&gt;
Network traffic&lt;br&gt;
SOC detection methods:&lt;/p&gt;

&lt;p&gt;File hash monitoring&lt;br&gt;
Process analysis&lt;br&gt;
EDR alerts&lt;br&gt;
Network anomaly detection&lt;br&gt;
4.2 Phishing &amp;amp; Social Engineering&lt;br&gt;
Phishing manipulates users into:&lt;/p&gt;

&lt;p&gt;Revealing credentials&lt;br&gt;
Downloading malware&lt;br&gt;
Transferring money&lt;br&gt;
Common tactics:&lt;/p&gt;

&lt;p&gt;Urgent email messages&lt;br&gt;
Fake login pages&lt;br&gt;
Impersonation (CEO fraud)&lt;br&gt;
Malicious attachments&lt;br&gt;
SOC detection:&lt;/p&gt;

&lt;p&gt;Email log analysis&lt;br&gt;
Domain reputation checks&lt;br&gt;
Authentication anomalies after email clicks&lt;br&gt;
4.3 Credential Attacks&lt;br&gt;
Credential attacks target authentication systems.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
Types:&lt;/p&gt;

&lt;p&gt;Brute force&lt;br&gt;
Password spraying&lt;br&gt;
Credential stuffing&lt;br&gt;
Indicators:&lt;/p&gt;

&lt;p&gt;Multiple failed login attempts&lt;br&gt;
Logon attempts from unusual locations&lt;br&gt;
Login outside business hours&lt;br&gt;
Multiple accounts targeted by one IP&lt;br&gt;
SOC analysts monitor authentication logs carefully.&lt;/p&gt;

&lt;p&gt;4.4 Insider Threats&lt;br&gt;
Insider threats originate from trusted users.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;Data theft&lt;br&gt;
Privilege abuse&lt;br&gt;
Unauthorized access&lt;br&gt;
Accidental data exposure&lt;br&gt;
Indicators:&lt;/p&gt;

&lt;p&gt;Access outside job role&lt;br&gt;
Large file transfers&lt;br&gt;
Privilege escalation&lt;br&gt;
Access at unusual times&lt;br&gt;
Insider threats are complex because activity may look legitimate.&lt;/p&gt;

&lt;p&gt;4.5 Web-Based Attacks&lt;br&gt;
Common web attacks include:&lt;/p&gt;

&lt;p&gt;SQL Injection&lt;br&gt;
Cross-Site Scripting (XSS)&lt;br&gt;
File upload exploitation&lt;br&gt;
Command injection&lt;br&gt;
Indicators:&lt;/p&gt;

&lt;p&gt;Suspicious HTTP POST requests&lt;br&gt;
Error log spikes&lt;br&gt;
Abnormal URL patterns&lt;br&gt;
Database anomalies&lt;br&gt;
SOC analysts review:&lt;/p&gt;

&lt;p&gt;Web server logs&lt;br&gt;
WAF logs&lt;br&gt;
Application logs&lt;br&gt;
4.6 DoS / DDoS Attacks&lt;br&gt;
Denial of Service attacks overwhelm systems with traffic.&lt;/p&gt;

&lt;p&gt;DoS = Single source&lt;br&gt;
DDoS = Multiple distributed sources&lt;/p&gt;

&lt;p&gt;Impact:&lt;/p&gt;

&lt;p&gt;Service unavailability&lt;br&gt;
Network congestion&lt;br&gt;
Revenue loss&lt;br&gt;
Indicators:&lt;/p&gt;

&lt;p&gt;Traffic spikes&lt;br&gt;
Bandwidth saturation&lt;br&gt;
Repeated requests&lt;br&gt;
Firewall alert patterns&lt;br&gt;
SOC teams monitor NetFlow and IDS logs for detection.&lt;/p&gt;

&lt;p&gt;5️⃣ Introduction to Ethical Hacking&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;Ethical hacking is authorized security testing.&lt;/p&gt;

&lt;p&gt;Its purpose:&lt;/p&gt;

&lt;p&gt;Identify vulnerabilities&lt;br&gt;
Simulate real-world attacks&lt;br&gt;
Strengthen defenses&lt;br&gt;
Ethical hackers (Red Team) simulate attackers.&lt;br&gt;
SOC analysts (Blue Team) defend against them.&lt;/p&gt;

&lt;p&gt;Understanding red team techniques improves blue team detection.&lt;/p&gt;

&lt;p&gt;5.1 Hacking vs Ethical Hacking&lt;br&gt;
Hacking refers to gaining unauthorized access to systems, networks, or data with malicious intent, such as stealing information, disrupting services, or causing financial damage. It is illegal and often driven by personal gain, revenge, espionage, or criminal activity. Ethical hacking, on the other hand, is the authorized and legal practice of testing systems for vulnerabilities in order to improve security. Ethical hackers, also known as white-hat hackers, work with permission from the organization to identify weaknesses before malicious attackers can exploit them. While both use similar technical skills and techniques, the key difference lies in intent and authorization — malicious hackers exploit systems for harm, whereas ethical hackers help strengthen defenses and protect organizations from cyber threats.&lt;/p&gt;

&lt;p&gt;5.2 Malicious Hacking vs Ethical Hacking&lt;br&gt;
Malicious hacking aims to:&lt;/p&gt;

&lt;p&gt;Steal data&lt;br&gt;
Demand ransom&lt;br&gt;
Disrupt operations&lt;br&gt;
Spy on organizations&lt;br&gt;
Ethical hacking aims to:&lt;/p&gt;

&lt;p&gt;Discover weaknesses&lt;br&gt;
Improve detection&lt;br&gt;
Strengthen incident response&lt;br&gt;
Simulate attack scenarios&lt;br&gt;
SOC analysts must understand both perspectives.&lt;/p&gt;

&lt;p&gt;6️⃣ Why SOC Analysts Learn Attacker Techniques&lt;br&gt;
Understanding attackers improves detection engineering.&lt;/p&gt;

&lt;p&gt;6.1 Recognize Attack Patterns&lt;br&gt;
Most attacks follow a lifecycle:&lt;/p&gt;

&lt;p&gt;Reconnaissance&lt;br&gt;
Initial access&lt;br&gt;
Privilege escalation&lt;br&gt;
Persistence&lt;br&gt;
Command &amp;amp; Control&lt;br&gt;
Data exfiltration&lt;br&gt;
If SOC analysts understand this chain, they can detect earlier stages.&lt;/p&gt;

&lt;p&gt;6.2 Think Like the Adversary&lt;br&gt;
Attackers ask:&lt;/p&gt;

&lt;p&gt;Where is the weakest point?&lt;br&gt;
Which account has admin privileges?&lt;br&gt;
How can I hide activity?&lt;br&gt;
How can I maintain persistence?&lt;br&gt;
SOC analysts must ask:&lt;/p&gt;

&lt;p&gt;What logs show this?&lt;br&gt;
What detection rule can identify it?&lt;br&gt;
What anomaly indicates compromise?&lt;br&gt;
What behavior deviates from baseline?&lt;br&gt;
This mindset shift is critical for professional SOC work.&lt;/p&gt;

&lt;p&gt;6.3 Improve Detection Rules&lt;br&gt;
Example:&lt;/p&gt;

&lt;p&gt;If attackers use encoded PowerShell commands:&lt;/p&gt;

&lt;p&gt;Detection rule:&lt;br&gt;
Alert when PowerShell runs with “-enc” parameter.&lt;/p&gt;

&lt;p&gt;If attackers create scheduled tasks:&lt;/p&gt;

&lt;p&gt;Detection rule:&lt;br&gt;
Alert on scheduled task creation event.&lt;/p&gt;

&lt;p&gt;Better understanding of attacker techniques leads to:&lt;/p&gt;

&lt;p&gt;Fewer false positives&lt;br&gt;
Faster detection&lt;br&gt;
Stronger correlation rules&lt;br&gt;
Better incident response&lt;br&gt;
🎯 Why Day 11–Day 16 Was Important&lt;br&gt;
This phase built:&lt;/p&gt;

&lt;p&gt;Security vocabulary&lt;br&gt;
Defensive mindset&lt;br&gt;
Attack awareness&lt;br&gt;
SOC-level thinking&lt;br&gt;
Enterprise perspective&lt;br&gt;
Without mastering these fundamentals, SIEM and log analysis later would lack context.&lt;/p&gt;

&lt;p&gt;These six days transformed basic cybersecurity knowledge into SOC-ready foundational understanding.&lt;/p&gt;

&lt;p&gt;🏁 Conclusion&lt;br&gt;
Between Day 11 and Day 16, the focus was not tools.&lt;/p&gt;

&lt;p&gt;It was mindset.&lt;/p&gt;

&lt;p&gt;You learned:&lt;/p&gt;

&lt;p&gt;How enterprises defend infrastructure&lt;br&gt;
The relationship between threat, vulnerability, and risk&lt;br&gt;
Major attack categories&lt;br&gt;
The importance of ethical hacking&lt;br&gt;
Why SOC analysts must understand attacker techniques&lt;br&gt;
Strong fundamentals create strong defenders.&lt;/p&gt;

&lt;p&gt;And strong defenders protect enterprises.&lt;/p&gt;

</description>
      <category>learning</category>
      <category>networking</category>
      <category>soc</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>Linux File Permissions &amp; Ownership Explained for SOC Analysts (Day 10— Linux Phase)</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Sun, 19 Jul 2026 12:48:29 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-9-linux-file-system-hierarchy-2ac2</link>
      <guid>https://dev.to/faizan-nazir/day-9-linux-file-system-hierarchy-2ac2</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
Linux is the backbone of modern infrastructure. From cloud servers and firewalls to SIEM platforms and security tools, Linux runs silently behind most enterprise environments. For a Security Operations Center (SOC) analyst, understanding Linux is not optional — it is a core skill.&lt;/p&gt;

&lt;p&gt;One of the most critical security mechanisms in Linux is its file permission and ownership model. Attackers abuse permissions to execute malware, hide persistence, escalate privileges, and erase evidence. SOC analysts rely on permission analysis to detect anomalies, investigate incidents, and build accurate timelines.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
This article covers Linux File Permissions and Ownership in deep detail from a SOC analyst’s perspective. It is designed to take you from absolute beginner to security-aware professional, with real-world examples, attack scenarios, and investigation insights.&lt;/p&gt;

&lt;p&gt;Why Linux File Permissions Matter in SOC&lt;br&gt;
In SOC operations, analysts constantly deal with:&lt;/p&gt;

&lt;p&gt;Authentication logs&lt;br&gt;
System logs&lt;br&gt;
Application logs&lt;br&gt;
Scripts and binaries&lt;br&gt;
Configuration files&lt;br&gt;
Evidence files during incident response&lt;br&gt;
Every one of these objects is protected by Linux permissions.&lt;/p&gt;

&lt;p&gt;From a SOC perspective:&lt;br&gt;
Incorrect permissions = security risk&lt;br&gt;
Permission changes = potential indicator of compromise&lt;br&gt;
Executable permissions = possible malware&lt;br&gt;
Ownership changes = possible log tampering&lt;br&gt;
Understanding permissions allows SOC analysts to:&lt;/p&gt;

&lt;p&gt;Detect unauthorized access&lt;br&gt;
Identify privilege escalation&lt;br&gt;
Spot malware execution&lt;br&gt;
Preserve forensic evidence&lt;br&gt;
Reconstruct attacker activity&lt;br&gt;
Understanding Linux File Permission Basics&lt;br&gt;
Linux follows a Discretionary Access Control (DAC) model. This means:&lt;/p&gt;

&lt;p&gt;The owner of a file controls who can access it&lt;br&gt;
Permissions define what actions are allowed&lt;br&gt;
Every file and directory in Linux has:&lt;/p&gt;

&lt;p&gt;A type&lt;br&gt;
Permissions&lt;br&gt;
An owner (user)&lt;br&gt;
A group&lt;br&gt;
These attributes decide:&lt;/p&gt;

&lt;p&gt;Who can read the file&lt;br&gt;
Who can modify it&lt;br&gt;
Who can execute it&lt;br&gt;
Viewing Permissions Using ls -l&lt;br&gt;
The most common command to inspect permissions is:&lt;/p&gt;

&lt;p&gt;ls -l&lt;br&gt;
Example output:&lt;/p&gt;

&lt;p&gt;-rw-r--r-- 1 root root 23456 Jan 20 10:30 auth.log&lt;br&gt;
This single line contains critical security information.&lt;/p&gt;

&lt;p&gt;Breaking Down ls -l Output&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;File Type Indicator
The first character represents the file type:&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;→ Regular file
d → Directory
l → Symbolic link
c → Character device
b → Block device
SOC Insight
Unexpected symbolic links can indicate privilege abuse
Writable directories can allow attackers to drop payloads
Device files with wrong permissions can expose system resources&lt;/li&gt;
&lt;li&gt;Permission String
The next 9 characters represent permissions:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;rw-r--r--&lt;br&gt;
These are divided into three groups:&lt;/p&gt;

&lt;p&gt;rwx | rwx | rwx&lt;br&gt;
User  Group Other&lt;br&gt;
Each group defines what actions are allowed.&lt;/p&gt;

&lt;p&gt;Understanding r, w, x Permissions&lt;br&gt;
Read (r)&lt;br&gt;
Allows viewing file content&lt;br&gt;
Allows listing directory contents&lt;br&gt;
SOC usage:&lt;/p&gt;

&lt;p&gt;Reading logs&lt;br&gt;
Reviewing configuration files&lt;/p&gt;

&lt;p&gt;Inspecting scripts&lt;br&gt;
Risk:&lt;/p&gt;

&lt;p&gt;Unauthorized read access can leak sensitive data&lt;br&gt;
Write (w)&lt;br&gt;
Allows modifying file content&lt;br&gt;
Allows deleting or renaming files&lt;br&gt;
SOC risk:&lt;/p&gt;

&lt;p&gt;Log tampering&lt;br&gt;
Evidence deletion&lt;br&gt;
Configuration manipulation&lt;br&gt;
Write permission on logs is a major red flag.&lt;/p&gt;

&lt;p&gt;Execute (x)&lt;br&gt;
Allows running a file as a program&lt;br&gt;
Allows entering a directory&lt;br&gt;
SOC risk&lt;/p&gt;

&lt;p&gt;Malware execution&lt;br&gt;
Backdoor activation&lt;br&gt;
Persistence mechanisms&lt;br&gt;
Logs should never be executable.&lt;/p&gt;

&lt;p&gt;User, Group, and Others Explained&lt;br&gt;
Linux permissions apply to three categories:&lt;/p&gt;

&lt;p&gt;User (Owner)&lt;br&gt;
The file creator or assigned owner&lt;br&gt;
Has primary control over the file&lt;br&gt;
Group&lt;br&gt;
A collection of users&lt;br&gt;
Often used for team-based access&lt;br&gt;
Others&lt;br&gt;
All remaining users on the system&lt;br&gt;
SOC Insight&lt;br&gt;
System logs are usually owned by root&lt;br&gt;
Normal users should not have write access to logs&lt;br&gt;
Excessive access to “others” increases attack surface&lt;br&gt;
Numeric Permission System&lt;br&gt;
Linux represents permissions numerically for simplicity.&lt;/p&gt;

&lt;p&gt;Permission Values&lt;br&gt;
Read (r) = 4&lt;br&gt;
Write (w) = 2&lt;br&gt;
Execute (x) = 1&lt;br&gt;
Values are added together.&lt;/p&gt;

&lt;p&gt;Examples&lt;br&gt;
7 = rwx (4+2+1)&lt;br&gt;
6 = rw- (4+2)&lt;br&gt;
5 = r-x (4+1)&lt;br&gt;
4 = r-- (4)&lt;br&gt;
Common Permission Modes (SOC-Relevant)&lt;br&gt;
644 — rw-r--r--&lt;br&gt;
Common for log files&lt;br&gt;
Owner can read/write&lt;br&gt;
Others can only read&lt;br&gt;
755 — rwxr-xr-x&lt;br&gt;
Common for scripts and binaries&lt;br&gt;
Executable by all users&lt;br&gt;
600 — rw-------&lt;br&gt;
Used for sensitive files&lt;br&gt;
SSH keys, credentials, tokens&lt;br&gt;
777 — rwxrwxrwx&lt;br&gt;
Extremely dangerous&lt;br&gt;
Full access to everyone&lt;br&gt;
Strong indicator of misconfiguration or compromise&lt;br&gt;
Changing Permissions with chmod&lt;br&gt;
The chmod command modifies permissions.&lt;/p&gt;

&lt;p&gt;Syntax&lt;br&gt;
chmod  &lt;br&gt;
Examples&lt;br&gt;
chmod 644 auth.log&lt;br&gt;
chmod 600 id_rsa&lt;br&gt;
chmod 755 monitor.sh&lt;br&gt;
SOC Relevance of chmod&lt;br&gt;
Attackers often:&lt;/p&gt;

&lt;p&gt;Add execute permission to malicious files&lt;br&gt;
Remove write permission to logs after tampering&lt;br&gt;
Change permissions to maintain persistence&lt;br&gt;
Red Flags&lt;br&gt;
Sudden execute permission on unknown files&lt;br&gt;
Permission changes on /var/log&lt;br&gt;
World-writable system files&lt;br&gt;
Symbolic Permission Changes&lt;br&gt;
Linux also supports symbolic notation:&lt;/p&gt;

&lt;p&gt;chmod +x file.sh&lt;br&gt;
chmod -w auth.log&lt;br&gt;
SOC usage:&lt;/p&gt;

&lt;p&gt;Detect when malware becomes executable&lt;br&gt;
Identify defensive actions by attackers to lock logs&lt;br&gt;
File Ownership Concepts&lt;br&gt;
Each file has:&lt;/p&gt;

&lt;p&gt;One owner (user)&lt;br&gt;
One group&lt;br&gt;
Ownership determines who can change permissions.&lt;/p&gt;

&lt;p&gt;Typical SOC Observations&lt;br&gt;
Logs owned by root&lt;br&gt;
Configuration files owned by system users&lt;br&gt;
Ownership changes are uncommon in normal operations&lt;br&gt;
Changing Ownership with chown&lt;br&gt;
The chown command changes ownership.&lt;/p&gt;

&lt;p&gt;Syntax&lt;br&gt;
chown user:group file&lt;br&gt;
Example&lt;br&gt;
chown root:root auth.log&lt;br&gt;
chown user:group file&lt;br&gt;
chown root:root auth.log&lt;br&gt;
SOC Importance of Ownership Changes&lt;br&gt;
Ownership changes can indicate:&lt;/p&gt;

&lt;p&gt;Covering attacker activity&lt;br&gt;
Persistence setup&lt;br&gt;
Privilege escalation&lt;br&gt;
SOC analysts should:&lt;/p&gt;

&lt;p&gt;Record ownership changes&lt;br&gt;
Correlate with login events&lt;br&gt;
Include in incident timelines&lt;br&gt;
Real-World SOC Attack Scenarios&lt;br&gt;
Scenario 1: Log Tampering&lt;br&gt;
Attacker gains access&lt;br&gt;
Changes permissions to allow deletion&lt;br&gt;
Deletes authentication logs&lt;br&gt;
Removes write access to hide changes&lt;br&gt;
SOC detection:&lt;/p&gt;

&lt;p&gt;Permission audit&lt;br&gt;
File metadata analysis&lt;br&gt;
Timeline correlation&lt;br&gt;
Scenario 2: Malware Execution&lt;br&gt;
Malicious file uploaded&lt;br&gt;
Execute permission added using chmod&lt;br&gt;
File executed&lt;br&gt;
Persistence established&lt;br&gt;
SOC detection:&lt;/p&gt;

&lt;p&gt;Unexpected executable files&lt;br&gt;
Permission change logs&lt;br&gt;
Process creation events&lt;br&gt;
Scenario 3: Privilege Abuse&lt;br&gt;
Misconfigured permissions allow normal user to modify system files&lt;br&gt;
Attacker escalates privileges&lt;br&gt;
SOC response:&lt;/p&gt;

&lt;p&gt;Identify misconfiguration&lt;br&gt;
Correct permissions&lt;br&gt;
Document exposure&lt;br&gt;
Permissions in Incident Response &amp;amp; Forensics&lt;br&gt;
During incident response:&lt;/p&gt;

&lt;p&gt;Permissions help preserve evidence&lt;br&gt;
Incorrect permissions can contaminate forensic data&lt;br&gt;
Analysts must avoid modifying timestamps&lt;br&gt;
Best practice:&lt;/p&gt;

&lt;p&gt;Always inspect permissions before analysis&lt;br&gt;
Use read-only access when possible&lt;br&gt;
Document original permissions&lt;br&gt;
Why SOC Analysts Must Master Linux Permissions&lt;br&gt;
Linux permissions are:&lt;/p&gt;

&lt;p&gt;A defensive control&lt;br&gt;
An attack vector&lt;br&gt;
A forensic artifact&lt;br&gt;
SOC analysts use permissions to:&lt;/p&gt;

&lt;p&gt;Validate alerts&lt;br&gt;
Detect compromise&lt;br&gt;
Identify attacker behavior&lt;br&gt;
Strengthen system hardening&lt;br&gt;
Mastery of permissions separates a beginner from a job-ready SOC analyst.&lt;/p&gt;

&lt;p&gt;Day 2 — Linux Phase Summary&lt;br&gt;
Linux permissions control access and execution&lt;br&gt;
Permissions are divided into user, group, and others&lt;br&gt;
Numeric permissions simplify management&lt;br&gt;
chmod modifies permissions&lt;br&gt;
chown modifies ownership&lt;br&gt;
Permission misuse is a strong indicator of compromise&lt;br&gt;
SOC analysts must always analyze permissions during investigations&lt;br&gt;
What’s Next?&lt;br&gt;
In Day 10 of the Linux Phase, we move into:&lt;/p&gt;

&lt;p&gt;Linux File System Hierarchy&lt;br&gt;
/var/log deep dive&lt;br&gt;
Log reading commands (cat, less, head, tail)&lt;br&gt;
Real SOC log analysis&lt;br&gt;
🚀 Final Note&lt;br&gt;
If you are serious about becoming a SOC analyst, Linux permissions are not theory — they are daily reality. Every investigation starts and ends with access control. Learn it deeply, practice it daily, and analyze it critically.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>networking</category>
      <category>cybersecurity</category>
      <category>learning</category>
    </item>
    <item>
      <title>Day 9 Linux File System Hierarchy</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Sat, 18 Jul 2026 17:18:56 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-8-linux-file-system-hierarchy-5gj7</link>
      <guid>https://dev.to/faizan-nazir/day-8-linux-file-system-hierarchy-5gj7</guid>
      <description>&lt;p&gt;Linux File System Hierarchy Explained (SOC Analyst Perspective)&lt;br&gt;
When you step into the world of cybersecurity — especially into a Security Operations Center (SOC) — your relationship with an operating system changes completely. You no longer see Linux as “just an OS”. You start seeing it as a crime scene, where every directory can contain evidence, every file can tell a story, and every log can confirm or deny an attack.&lt;/p&gt;

&lt;p&gt;One of the most important foundations for any SOC analyst is a clear and deep understanding of the Linux File System Hierarchy. Without this, log analysis, incident response, threat hunting, and even SIEM investigations become guesswork.&lt;/p&gt;

&lt;p&gt;This article explains the Linux File System Hierarchy from a SOC Analyst’s perspective, not just what directories exist, but why they matter in real-world investigations.&lt;/p&gt;

&lt;p&gt;Understanding the Linux File System Hierarchy&lt;br&gt;
Linux follows a hierarchical, tree-like file system structure.&lt;br&gt;
At the top of this hierarchy is a single directory called the root directory, represented by /.&lt;/p&gt;

&lt;p&gt;Unlike Windows, Linux does not use multiple drive letters such as C: or D:.&lt;br&gt;
Instead:&lt;/p&gt;

&lt;p&gt;Everything exists under /&lt;br&gt;
All files, folders, logs, devices, and configurations are part of one unified structure&lt;br&gt;
This predictability is one of the biggest advantages for security investigations&lt;br&gt;
For a SOC analyst, this means:&lt;/p&gt;

&lt;p&gt;If an attack happens, the evidence is always somewhere inside the Linux file system hierarchy.&lt;/p&gt;

&lt;p&gt;Understanding this hierarchy is equivalent to understanding where attackers operate and where defenders must look first.&lt;/p&gt;

&lt;p&gt;Root Directory / – The Foundation of the System&lt;br&gt;
The root directory / is the top-most directory in Linux.&lt;/p&gt;

&lt;p&gt;Key points:&lt;/p&gt;

&lt;p&gt;Every directory and file is a child of /&lt;br&gt;
Nothing exists outside this directory&lt;br&gt;
It acts as the foundation of the operating system&lt;br&gt;
From a SOC perspective:&lt;/p&gt;

&lt;p&gt;Every investigation logically starts from /&lt;br&gt;
Analysts mentally map the system beginning at root&lt;br&gt;
Incorrect actions at this level can impact the entire system&lt;br&gt;
Root is not just a directory — it is the entry point to understanding the whole system.&lt;/p&gt;

&lt;p&gt;/home – User Activity and Initial Compromise Zone&lt;br&gt;
The /home directory contains home folders for normal (non-root) users.&lt;/p&gt;

&lt;p&gt;What lives here:&lt;/p&gt;

&lt;p&gt;User documents&lt;br&gt;
Downloads&lt;br&gt;
Scripts&lt;br&gt;
Tools&lt;br&gt;
User-specific configuration files&lt;br&gt;
Command history files such as .bash_history&lt;br&gt;
Why /home matters in SOC:&lt;/p&gt;

&lt;p&gt;Most attacks begin with user-level compromise&lt;br&gt;
Phishing attacks, stolen credentials, and malicious downloads all land here&lt;br&gt;
Attackers often operate inside user directories before escalating privileges&lt;br&gt;
SOC analysts examine /home to:&lt;/p&gt;

&lt;p&gt;Identify suspicious scripts and binaries&lt;br&gt;
Check hidden files used to evade detection&lt;br&gt;
Review command history for attacker behavior&lt;br&gt;
Confirm the initial access vector&lt;br&gt;
In many incidents, /home tells you how the attack started.&lt;/p&gt;

&lt;p&gt;/root – Privilege Escalation Evidence&lt;br&gt;
The /root directory is the home directory of the root (administrator) user.&lt;/p&gt;

&lt;p&gt;Important characteristics:&lt;/p&gt;

&lt;p&gt;Only accessible by the root account&lt;br&gt;
Normal users should never interact with this directory&lt;br&gt;
SOC relevance:&lt;/p&gt;

&lt;p&gt;Activity inside /root strongly indicates privilege escalation&lt;br&gt;
Once attackers gain root access, they often operate from here&lt;br&gt;
Tools, scripts, and archives found in /root are high-risk indicators&lt;br&gt;
For SOC analysts:&lt;/p&gt;

&lt;p&gt;Any suspicious activity in /root is treated as high severity&lt;br&gt;
It confirms that the attacker has full control over the system&lt;br&gt;
If /home shows how the attack began, /root often confirms how far it went.&lt;/p&gt;

&lt;p&gt;/etc – Configuration and Persistence Zone&lt;br&gt;
The /etc directory contains system-wide configuration files.&lt;/p&gt;

&lt;p&gt;This directory controls:&lt;/p&gt;

&lt;p&gt;User accounts&lt;br&gt;
Authentication behavior&lt;br&gt;
Service configurations&lt;br&gt;
Network settings&lt;br&gt;
Critical files include:&lt;/p&gt;

&lt;p&gt;/etc/passwd – user account definitions&lt;br&gt;
/etc/shadow – encrypted password hashes&lt;br&gt;
/etc/ssh/sshd_config – SSH access control&lt;br&gt;
/etc/crontab – scheduled tasks&lt;br&gt;
SOC importance of /etc:&lt;/p&gt;

&lt;p&gt;Attackers modify configuration files to maintain persistence&lt;br&gt;
Backdoor users may be added here&lt;br&gt;
SSH settings may be weakened for easier access&lt;br&gt;
Cron jobs are often abused to execute malware repeatedly&lt;br&gt;
SOC analysts carefully inspect /etc to detect:&lt;/p&gt;

&lt;p&gt;Unauthorized user creation&lt;br&gt;
Configuration tampering&lt;br&gt;
Long-term persistence mechanisms&lt;br&gt;
This directory often reveals how attackers plan to stay.&lt;/p&gt;

&lt;p&gt;/var – Variable Data Directory&lt;br&gt;
The /var directory stores data that changes frequently.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
It includes:&lt;/p&gt;

&lt;p&gt;Logs&lt;br&gt;
Cache files&lt;br&gt;
Runtime data&lt;br&gt;
Spool files&lt;br&gt;
While /var itself is important, its most critical subdirectory for SOC analysts is /var/log.&lt;/p&gt;

&lt;p&gt;/var/log – The Heart of SOC Investigations&lt;br&gt;
/var/log contains system and application log files.&lt;/p&gt;

&lt;p&gt;This is the most important directory for any SOC analyst.&lt;/p&gt;

&lt;p&gt;Typical logs include:&lt;/p&gt;

&lt;p&gt;Authentication logs (login attempts)&lt;br&gt;
System logs (errors, warnings, service activity)&lt;br&gt;
Application logs&lt;br&gt;
Web server access and error logs&lt;br&gt;
Why /var/log is critical:&lt;/p&gt;

&lt;p&gt;Logs provide evidence, not assumptions&lt;br&gt;
Brute-force attacks are visible through repeated failed logins&lt;br&gt;
Successful logins confirm account compromise&lt;br&gt;
Attack timelines are built using log timestamps&lt;br&gt;
Incident reconstruction depends on logs&lt;br&gt;
A core SOC rule:&lt;/p&gt;

&lt;p&gt;If logs were not reviewed, the investigation is incomplete.&lt;/p&gt;

&lt;p&gt;Logs transform suspicion into confirmation.&lt;/p&gt;

&lt;p&gt;/tmp – Malware Execution and Staging Area&lt;br&gt;
The /tmp directory is used for temporary files.&lt;/p&gt;

&lt;p&gt;Key characteristics:&lt;/p&gt;

&lt;p&gt;World-writable (any user can write here)&lt;br&gt;
Files are often short-lived&lt;br&gt;
Commonly cleaned automatically&lt;br&gt;
Why attackers love /tmp:&lt;/p&gt;

&lt;p&gt;Easy to write files&lt;br&gt;
Often lightly monitored&lt;br&gt;
Ideal for executing malicious scripts&lt;br&gt;
Used for fileless or in-memory attacks&lt;br&gt;
SOC red flags:&lt;/p&gt;

&lt;p&gt;Executable files inside /tmp&lt;br&gt;
Running processes originating from /tmp&lt;br&gt;
Correlation between /tmp activity and suspicious logs&lt;br&gt;
For SOC analysts, /tmp often indicates active or recent attacks.&lt;/p&gt;

&lt;p&gt;/bin and /sbin – System Binary Integrity&lt;br&gt;
These directories contain essential system commands.&lt;/p&gt;

&lt;p&gt;/bin – commands used by all users&lt;br&gt;
/sbin – administrative and system management commands&lt;br&gt;
SOC relevance:&lt;/p&gt;

&lt;p&gt;Attackers may replace legitimate binaries with malicious ones&lt;br&gt;
Trojanized commands allow stealthy execution&lt;br&gt;
PATH hijacking can redirect execution to malicious binaries&lt;br&gt;
SOC analysts may:&lt;/p&gt;

&lt;p&gt;Verify command integrity&lt;br&gt;
Compare binary hashes with known baselines&lt;br&gt;
Investigate unexpected command behavior&lt;br&gt;
Binary integrity issues can turn trusted tools into attack vectors.&lt;/p&gt;

&lt;p&gt;/proc – Live System and Memory View&lt;br&gt;
The /proc directory is a virtual filesystem created by the kernel.&lt;/p&gt;

&lt;p&gt;Important characteristics:&lt;/p&gt;

&lt;p&gt;Does not store data on disk&lt;br&gt;
Shows real-time system information&lt;br&gt;
Exposes running processes and memory usage&lt;br&gt;
SOC importance:&lt;/p&gt;

&lt;p&gt;Some malware exists only in memory&lt;br&gt;
Hidden or injected processes can be detected here&lt;br&gt;
Useful during live incident response&lt;br&gt;
/proc answers the question:&lt;/p&gt;

&lt;p&gt;What is happening on the system right now?&lt;/p&gt;

&lt;p&gt;Linux File System Hierarchy in a SOC Investigation Flow&lt;br&gt;
In real incidents, SOC analysts often follow this pattern:&lt;/p&gt;

&lt;p&gt;/home – identify initial access and user compromise&lt;br&gt;
/tmp – check for malware execution&lt;br&gt;
/etc – detect persistence mechanisms&lt;br&gt;
/root – confirm privilege escalation&lt;br&gt;
/var/log – build the incident timeline&lt;br&gt;
/proc – observe live attacker activity&lt;br&gt;
This flow is not theoretical — it mirrors real SOC investigations.&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;br&gt;
The Linux File System Hierarchy is not just an operating system concept — it is a map of attacker behavior and defender response.&lt;/p&gt;

&lt;p&gt;For SOC analysts:&lt;/p&gt;

&lt;p&gt;Tools generate alerts&lt;br&gt;
Logs provide evidence&lt;br&gt;
File systems reveal the truth&lt;br&gt;
Mastering the Linux file system hierarchy means knowing where to look before what to search. It transforms you from someone who reacts to alerts into someone who understands incidents.&lt;/p&gt;

&lt;p&gt;This foundation is essential before moving into SIEM, EDR, threat hunting, or incident response.&lt;/p&gt;

&lt;p&gt;🔚 End of Article&lt;br&gt;
(Day 2 — Linux File System Hierarchy)&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>linux</category>
      <category>networking</category>
      <category>ccna</category>
    </item>
    <item>
      <title>Day 8 — Understanding Linux From the Ground Up: The System Every SOC Analyst Must Know</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Thu, 16 Jul 2026 08:01:12 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-8-understanding-linux-from-the-ground-up-the-system-every-soc-analyst-must-know-1b52</link>
      <guid>https://dev.to/faizan-nazir/day-8-understanding-linux-from-the-ground-up-the-system-every-soc-analyst-must-know-1b52</guid>
      <description>&lt;p&gt;Introduction: Why Linux Deserves a Proper Beginning&lt;br&gt;
Learning Linux is often introduced in the worst possible way. Most beginners encounter it through random command lists, copied cheat sheets, or flashy “hacker” tutorials that skip the most important question: what exactly are we interacting with?&lt;/p&gt;

&lt;p&gt;On Day 8 of my SOC journey, I made a deliberate decision to slow everything down and rebuild my understanding from the lowest possible level. Instead of memorizing commands, I focused on understanding the system itself — because in cybersecurity, shallow knowledge always collapses under pressure.&lt;/p&gt;

&lt;p&gt;This article documents that approach.&lt;/p&gt;

&lt;p&gt;Linux is not just another operating system you install. It is the foundation of modern infrastructure. If you want to analyze incidents, understand logs, investigate breaches, or defend systems, Linux is not optional knowledge. It is the environment where real systems live.&lt;/p&gt;

&lt;p&gt;To understand Linux properly, we must start even earlier — with the concept of an operating system itself.&lt;/p&gt;

&lt;p&gt;What an Operating System Really Is (Not the Textbook Definition)&lt;/p&gt;

&lt;p&gt;An operating system is often described as “software that manages hardware.” While technically correct, that definition hides its true importance.&lt;/p&gt;

&lt;p&gt;At a deeper level, an operating system is a decision-maker.&lt;/p&gt;

&lt;p&gt;It decides which process gets CPU time.&lt;br&gt;
It decides how memory is allocated.&lt;br&gt;
It decides who is allowed to read or write files.&lt;br&gt;
It decides how devices communicate with applications.&lt;/p&gt;

&lt;p&gt;Without an operating system, hardware is powerless. A CPU does not know what to execute. Memory does not know who can use it. Storage does not know how data should be organized.&lt;/p&gt;

&lt;p&gt;The operating system acts as an intelligent layer that translates human intent into machine execution.&lt;/p&gt;

&lt;p&gt;Every click, every keystroke, every network packet flows through the operating system.&lt;/p&gt;

&lt;p&gt;This is why operating systems are central to cybersecurity. When an attack occurs, it does not attack “the computer” — it attacks decisions made by the operating system.&lt;/p&gt;

&lt;p&gt;Enter Linux: An Operating System Built for Control&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;Linux is an operating system, but it follows a very different philosophy compared to desktop-focused systems like Windows.&lt;/p&gt;

&lt;p&gt;Linux was designed with the assumption that:&lt;/p&gt;

&lt;p&gt;The user wants control&lt;br&gt;
The system must be stable for long periods&lt;br&gt;
Transparency is more valuable than convenience&lt;br&gt;
Linux is open-source, meaning its internal behavior is not hidden. Anyone can inspect how decisions are made. This is one reason Linux dominates servers, cloud platforms, and security tools.&lt;/p&gt;

&lt;p&gt;Another critical difference is that Linux is not one single product. It is a kernel, combined with different tools, interfaces, and utilities to form distributions. This modular design allows Linux to be adapted to very different use cases — from lightweight servers to full desktop environments.&lt;/p&gt;

&lt;p&gt;For SOC analysts, this flexibility is essential. You may encounter different Linux distributions across environments, but the core principles remain the same.&lt;/p&gt;

&lt;p&gt;Linux vs Windows: A Difference in Philosophy, Not Just Features&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;The Linux vs Windows discussion is often reduced to surface-level comparisons like “Linux is free” or “Windows is user-friendly.” Those points are true, but they miss the real difference.&lt;/p&gt;

&lt;p&gt;Windows is designed primarily for end-user convenience. Its graphical interface is central. Many system decisions are abstracted away to reduce complexity for the user.&lt;/p&gt;

&lt;p&gt;Linux, on the other hand, is designed for explicit control. It expects users to understand what they are doing, or at least to take responsibility for their actions.&lt;/p&gt;

&lt;p&gt;This difference becomes extremely important in security contexts.&lt;/p&gt;

&lt;p&gt;Windows tends to hide system internals behind layers of abstraction. Linux exposes them. In SOC work, visibility matters more than comfort. When something goes wrong, Linux gives you direct access to the system’s state — logs, processes, files, and configurations — without forcing you through multiple UI layers.&lt;/p&gt;

&lt;p&gt;This is one reason Linux dominates servers and security environments despite having a steeper learning curve.&lt;/p&gt;

&lt;p&gt;GUI and Terminal: Two Ways to Interact With a System&lt;br&gt;
Linux can be used in two primary ways: through a graphical user interface (GUI) or through the terminal.&lt;/p&gt;

&lt;p&gt;The GUI is familiar. It uses windows, icons, and mouse interactions. For beginners, this feels comfortable because it resembles other desktop systems.&lt;/p&gt;

&lt;p&gt;The terminal, however, is where Linux reveals its true nature.&lt;/p&gt;

&lt;p&gt;The terminal is a text-based interface that allows direct communication with the operating system. Instead of clicking buttons, you issue instructions. Instead of guessing what the system is doing, you ask it directly.&lt;/p&gt;

&lt;p&gt;In real-world server environments, GUIs are often not installed at all. They consume resources, increase attack surface, and are unnecessary for remote administration. This is why SOC analysts must be comfortable with terminal-based interaction.&lt;/p&gt;

&lt;p&gt;Learning Linux without understanding the terminal is like learning networking without understanding IP addresses — you can get by, but you will always be limited.&lt;/p&gt;

&lt;p&gt;Why Linux Is Used Everywhere (And Why That Matters)&lt;br&gt;
Linux dominates modern infrastructure for practical reasons.&lt;/p&gt;

&lt;p&gt;It is stable enough to run continuously for years.&lt;br&gt;
It handles resources efficiently.&lt;br&gt;
It allows fine-grained permission control.&lt;br&gt;
It integrates easily with automation and scripting.&lt;/p&gt;

&lt;p&gt;From a security perspective, Linux provides transparency. Logs are accessible. Processes are visible. Configurations are readable. This transparency allows defenders to understand system behavior deeply — but it also means attackers target Linux systems heavily.&lt;/p&gt;

&lt;p&gt;Understanding Linux is therefore not about preference. It is about relevance.&lt;/p&gt;

&lt;p&gt;The Terminal: The Core of Linux Interaction&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;The terminal is not just a tool. It is the primary interface philosophy of Linux.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
When you open a terminal, Linux presents you with a prompt that looks simple but carries critical information. It tells you who you are, which system you are interacting with, and where you are located in the filesystem.&lt;/p&gt;

&lt;p&gt;This prompt is not decoration. It is context.&lt;/p&gt;

&lt;p&gt;In SOC work, context prevents mistakes. Acting without context leads to misinterpretation and system damage.&lt;/p&gt;

&lt;p&gt;Learning to read and respect the terminal prompt is the first step toward safe Linux usage.&lt;/p&gt;

&lt;p&gt;Understanding Location in Linux: Why It Comes First&lt;/p&gt;

&lt;p&gt;Linux operates based on your current working directory. Every command you run is executed relative to your location unless you specify otherwise.&lt;/p&gt;

&lt;p&gt;This is why the pwd command exists.&lt;/p&gt;

&lt;p&gt;pwd stands for Present Working Directory. When executed, it tells you exactly where you are in the filesystem hierarchy. The output is a full path starting from the root directory.&lt;/p&gt;

&lt;p&gt;For example, an output like /home/user tells you that you are inside your home directory. This information may seem trivial, but it prevents serious mistakes.&lt;/p&gt;

&lt;p&gt;In security investigations, analysts often work inside sensitive directories. Running commands without confirming location can lead to unintended consequences.&lt;/p&gt;

&lt;p&gt;pwd does not modify the system. It only informs. That makes it one of the safest and most important commands for beginners and professionals alike.&lt;/p&gt;

&lt;p&gt;Observing Before Acting: The Role of ls&lt;br&gt;
Once you know where you are, the next logical step is understanding what exists in that location. This is where the ls command comes in.&lt;/p&gt;

&lt;p&gt;ls lists the contents of a directory. It shows files and folders without opening or modifying them. Like pwd, it is a read-only command.&lt;/p&gt;

&lt;p&gt;This pattern — first check location, then observe contents — reflects a broader security principle: observe before acting.&lt;/p&gt;

&lt;p&gt;In SOC workflows, analysts constantly list directories to confirm file presence, verify logs, or identify anomalies. ls builds awareness without risk.&lt;/p&gt;

&lt;p&gt;Why These “Simple” Commands Matter So Much&lt;br&gt;
It is tempting to dismiss pwd and ls as beginner commands. That mindset is dangerous.&lt;/p&gt;

&lt;p&gt;In real-world environments, most destructive incidents are not caused by advanced exploits — they are caused by small mistakes executed in the wrong context.&lt;/p&gt;

&lt;p&gt;Linux does not protect users from themselves. That is why disciplined habits matter.&lt;/p&gt;

&lt;p&gt;Understanding the ls Command:&lt;br&gt;
Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;In Linux, one of the most important habits a user must develop is the habit of observation before action. The ls command exists precisely for this reason. While it may appear simple on the surface, ls plays a critical role in how users, administrators, and SOC analysts interact safely with a Linux system.&lt;/p&gt;

&lt;p&gt;The ls command stands for list. When executed, it shows the contents of the current directory, including files and folders. Unlike commands that modify the system, ls is a read-only command. It does not open files, change permissions, delete data, or alter system state. It only reveals what already exists. This makes it one of the safest commands in Linux, especially for beginners.&lt;/p&gt;

&lt;p&gt;When a user runs ls, Linux responds with the names of files and directories present in the current working directory. This output helps the user understand the environment they are operating in. Without using ls, a user is effectively working blind, which is risky in any system and especially dangerous in production or security-sensitive environments.&lt;/p&gt;

&lt;p&gt;From a SOC perspective, ls is far from a basic or “beginner-only” command. Analysts frequently use it to verify the presence of log files, inspect suspicious directories, confirm malware artifacts, or check whether expected files exist. During investigations, ls helps establish context before deeper analysis begins.&lt;/p&gt;

&lt;p&gt;In Linux, mistakes are rarely caused by advanced commands. They are usually caused by executing the right command in the wrong place. The ls command reduces that risk by enforcing awareness. It teaches a simple but powerful lesson: always look before you touch.&lt;/p&gt;

&lt;p&gt;This is why ls is not just a command—it is a mindset.&lt;/p&gt;

&lt;p&gt;Linux Learning as a SOC Analyst&lt;br&gt;
From a SOC perspective, Linux is not just a system you use — it is a system you interpret.&lt;/p&gt;

&lt;p&gt;Logs are stored in Linux paths.&lt;br&gt;
Processes run under Linux permissions.&lt;br&gt;
Malware hides in Linux directories.&lt;/p&gt;

&lt;p&gt;Understanding Linux behavior allows analysts to separate normal activity from suspicious behavior.&lt;/p&gt;

&lt;p&gt;That understanding begins with fundamentals, not tools.&lt;/p&gt;

&lt;p&gt;Reflection: What Day 8 Actually Built&lt;br&gt;
Day 8 did not make me proficient in Linux. It made me comfortable with Linux.&lt;/p&gt;

&lt;p&gt;I learned how to:&lt;/p&gt;

&lt;p&gt;Think about operating systems conceptually&lt;br&gt;
Understand Linux’s role in security&lt;br&gt;
Interact safely with the terminal&lt;br&gt;
Build awareness before action&lt;br&gt;
This foundation is far more valuable than memorized commands.&lt;/p&gt;

&lt;p&gt;Conclusion: Why This Phase Matters&lt;br&gt;
Linux is the environment where real security work happens. Treating it casually creates blind spots. Treating it seriously builds competence.&lt;/p&gt;

&lt;p&gt;Day 8 was the start of that seriousness.&lt;/p&gt;

&lt;p&gt;This article is not a tutorial. It is a mindset reset.&lt;/p&gt;

&lt;p&gt;Linux rewards those who understand before they act — and that principle defines good SOC analysts.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>cybersecurity</category>
      <category>networking</category>
      <category>techtalks</category>
    </item>
    <item>
      <title>Day 7 - Revision</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Tue, 14 Jul 2026 18:29:21 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-7-revision-53g3</link>
      <guid>https://dev.to/faizan-nazir/day-7-revision-53g3</guid>
      <description>&lt;p&gt;&lt;strong&gt;Why This Revision Was Important&lt;/strong&gt;&lt;br&gt;
In a SOC environment, networking knowledge is not theoretical.&lt;/p&gt;

&lt;p&gt;Every alert, every log, every incident —&lt;br&gt;
everything flows through the network.&lt;/p&gt;

&lt;p&gt;So before touching Linux, SIEMs, or alerts, I wanted to make sure that:&lt;/p&gt;

&lt;p&gt;Concepts are clear&lt;br&gt;
Connections between topics make sense&lt;br&gt;
I can relate theory to real SOC scenarios&lt;br&gt;
What I Revised (Networking Fundamentals)&lt;br&gt;
&lt;strong&gt;1. Network &amp;amp; Networking&lt;/strong&gt;&lt;br&gt;
Understanding what a network actually is and why networking exists — enabling communication, data transfer, and service access between systems.&lt;/p&gt;

&lt;p&gt;In SOC, this helps answer:&lt;/p&gt;

&lt;p&gt;Where is the traffic coming from?&lt;br&gt;
Where is it going?&lt;br&gt;
Is this communication expected or suspicious?&lt;br&gt;
&lt;strong&gt;2. LAN vs WAN&lt;/strong&gt;&lt;br&gt;
LAN (Local Area Network): Internal communication within an organization&lt;br&gt;
WAN (Wide Area Network): Communication over larger distances (internet, branches)&lt;br&gt;
SOC relevance:&lt;/p&gt;

&lt;p&gt;Internal vs external traffic classification&lt;br&gt;
Identifying lateral movement vs external attacks&lt;br&gt;
&lt;strong&gt;3. Data Flow in Networks&lt;/strong&gt;&lt;br&gt;
Revisited how data travels:&lt;/p&gt;

&lt;p&gt;Source → destination&lt;br&gt;
Through routers, switches, and networks&lt;br&gt;
This is crucial for:&lt;/p&gt;

&lt;p&gt;Understanding packet paths&lt;br&gt;
Interpreting alerts related to unusual traffic flows&lt;br&gt;
&lt;strong&gt;4. Reachability &amp;amp; Identification&lt;/strong&gt;&lt;br&gt;
How systems identify each other&lt;br&gt;
How reachability is tested&lt;br&gt;
SOC relevance:&lt;/p&gt;

&lt;p&gt;Detecting unreachable hosts&lt;br&gt;
Understanding failed connection attempts&lt;br&gt;
Identifying scanning or reconnaissance behavior&lt;br&gt;
&lt;strong&gt;5. IP Addressing (Basics)&lt;/strong&gt;&lt;br&gt;
Purpose of IP addresses&lt;br&gt;
How devices are uniquely identified&lt;br&gt;
SOC use-case:&lt;/p&gt;

&lt;p&gt;Tracking suspicious IPs&lt;br&gt;
Distinguishing internal vs external addresses&lt;br&gt;
Correlating alerts with source and destination IPs&lt;br&gt;
&lt;strong&gt;6. DNS (Domain Name System)&lt;/strong&gt;&lt;br&gt;
Revisited how:&lt;/p&gt;

&lt;p&gt;Domain names are resolved to IP addresses&lt;br&gt;
DNS queries and responses work&lt;br&gt;
SOC relevance:&lt;/p&gt;

&lt;p&gt;Detecting malicious domains&lt;br&gt;
Understanding DNS-based attacks&lt;br&gt;
Investigating unusual DNS activity&lt;br&gt;
&lt;strong&gt;7. Networking Tools Revision&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;ping&lt;/strong&gt;&lt;br&gt;
Tests reachability&lt;br&gt;
Uses ICMP&lt;br&gt;
SOC perspective:&lt;/p&gt;

&lt;p&gt;Connectivity checks&lt;br&gt;
Initial investigation during outages or alerts&lt;br&gt;
&lt;strong&gt;traceroute&lt;/strong&gt;&lt;br&gt;
Shows packet path across networks&lt;br&gt;
SOC perspective:&lt;/p&gt;

&lt;p&gt;Understanding traffic routes&lt;br&gt;
Identifying unusual or unexpected hops&lt;br&gt;
&lt;strong&gt;Nslookup&lt;/strong&gt;&lt;br&gt;
Queries DNS records&lt;br&gt;
SOC perspective:&lt;/p&gt;

&lt;p&gt;Investigating suspicious domains&lt;br&gt;
Validating DNS behavior during incidents&lt;br&gt;
&lt;strong&gt;8. TCP vs UDP&lt;/strong&gt;&lt;br&gt;
Revisited differences with use-case clarity, not rote learning.&lt;/p&gt;

&lt;p&gt;TCP: Reliable, connection-oriented&lt;br&gt;
UDP: Faster, connectionless&lt;br&gt;
SOC relevance:&lt;/p&gt;

&lt;p&gt;Understanding protocol-based attacks&lt;br&gt;
Interpreting alerts based on protocol behavior&lt;br&gt;
Key Takeaway from Day 7&lt;br&gt;
This revision helped me:&lt;/p&gt;

&lt;p&gt;Connect networking concepts instead of memorizing them&lt;br&gt;
Think from a SOC analyst’s perspective&lt;br&gt;
Prepare mentally for Linux, where logs and networking meet&lt;br&gt;
Strong foundations reduce confusion later.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>devto</category>
      <category>beginners</category>
      <category>react</category>
    </item>
    <item>
      <title>SOC Analyst Day 6</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Mon, 13 Jul 2026 17:45:35 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/soc-analyst-day-6-5b88</link>
      <guid>https://dev.to/faizan-nazir/soc-analyst-day-6-5b88</guid>
      <description>&lt;p&gt;Network Devices &amp;amp; Security: Firewalls, Routers, Switches, and Network Segmentation&lt;br&gt;
Introduction&lt;br&gt;
In previous days, we focused on understanding how data moves across a network, how traffic behaves, how ports and services operate, and how attackers exploit weak configurations.&lt;br&gt;
Day 6 marks a critical transition in the SOC learning journey.&lt;/p&gt;

&lt;p&gt;Until now, we were mostly answering the question&lt;/p&gt;

&lt;p&gt;“How does traffic move?”&lt;/p&gt;

&lt;p&gt;From Day 6 onward, we start answering a more important SOC question:&lt;/p&gt;

&lt;p&gt;“Where can traffic be controlled, restricted, monitored, and stopped?”&lt;/p&gt;

&lt;p&gt;This article focuses on network devices and security controls that SOC analysts interact with daily, directly or indirectly:&lt;/p&gt;

&lt;p&gt;Firewalls&lt;br&gt;
Routers&lt;br&gt;
Switches&lt;br&gt;
Network Segmentation&lt;br&gt;
These components form the structural backbone of enterprise security.&lt;br&gt;
If an attacker succeeds, it is often because one of these controls failed, was misconfigured, or was not monitored properly.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Firewalls — The First Line of Defense
Press enter or click to view image in full size&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;What Is a Firewall?&lt;br&gt;
A firewall is a security device or software that controls incoming and outgoing network traffic based on predefined security rules.&lt;/p&gt;

&lt;p&gt;From a SOC perspective, a firewall is not just a blocking device.&lt;br&gt;
It is also a visibility and evidence source.&lt;/p&gt;

&lt;p&gt;In simple terms:&lt;/p&gt;

&lt;p&gt;Firewalls decide what traffic is allowed&lt;br&gt;
Firewalls decide what traffic is blocked&lt;br&gt;
Firewalls generate logs that SOC analysts investigate&lt;br&gt;
Why Firewalls Are Critical in Enterprise Networks&lt;br&gt;
Without a firewall:&lt;/p&gt;

&lt;p&gt;Any external system can attempt to connect to internal services&lt;br&gt;
Open ports become direct entry points&lt;br&gt;
Attack surface increases drastically&lt;br&gt;
With a firewall:&lt;/p&gt;

&lt;p&gt;Only explicitly permitted traffic flows&lt;br&gt;
Unauthorized access attempts are blocked&lt;br&gt;
Every decision can be logged and reviewed&lt;br&gt;
For SOC teams, firewall logs are often:&lt;/p&gt;

&lt;p&gt;The first indicator of reconnaissance&lt;br&gt;
The earliest sign of a breach attempt&lt;br&gt;
How Firewalls Make Decisions&lt;br&gt;
Firewalls operate using rules, which evaluate traffic based on:&lt;/p&gt;

&lt;p&gt;Source IP address&lt;br&gt;
Destination IP address&lt;br&gt;
Port number&lt;br&gt;
Protocol (TCP, UDP, ICMP)&lt;br&gt;
Action (allow, deny, drop, log)&lt;br&gt;
A single firewall rule may look conceptually like:&lt;/p&gt;

&lt;p&gt;Allow internal users to access the internet on HTTPS&lt;br&gt;
Block all inbound traffic to internal databases&lt;/p&gt;

&lt;p&gt;SOC analysts do not usually create these rules, but they analyze the outcomes of these rules through logs and alerts.&lt;/p&gt;

&lt;p&gt;Types of Firewalls (SOC Awareness)&lt;br&gt;
Packet Filtering Firewalls&lt;/p&gt;

&lt;p&gt;Inspect packet headers only&lt;br&gt;
Work at lower OSI layers&lt;br&gt;
Very fast but limited context&lt;br&gt;
Cannot track sessions&lt;br&gt;
Stateful Firewalls&lt;/p&gt;

&lt;p&gt;Maintain a connection state table&lt;br&gt;
Understand whether traffic belongs to an existing session&lt;br&gt;
Block unsolicited packets&lt;br&gt;
Widely used in enterprise environments&lt;br&gt;
Application Layer Firewalls&lt;/p&gt;

&lt;p&gt;Operate at OSI Layer 7&lt;br&gt;
Inspect application data&lt;br&gt;
Understand protocols like HTTP, DNS, SMTP&lt;br&gt;
Detect payload-level attacks&lt;br&gt;
From a SOC viewpoint:&lt;/p&gt;

&lt;p&gt;Stateful and application-layer firewalls provide better detection capability because they generate richer logs.&lt;/p&gt;

&lt;p&gt;Firewall Logs and SOC Operations&lt;br&gt;
Firewall logs typically show:&lt;/p&gt;

&lt;p&gt;Source and destination IPs&lt;br&gt;
Ports and protocols&lt;br&gt;
Action taken (allowed or blocked)&lt;br&gt;
Timestamp&lt;br&gt;
SOC analysts look for:&lt;/p&gt;

&lt;p&gt;Repeated blocked attempts from the same IP&lt;br&gt;
Port scanning patterns&lt;br&gt;
Access attempts at unusual times&lt;br&gt;
Traffic targeting sensitive services&lt;br&gt;
A firewall does not stop all attacks — but it often reveals attacker intent early.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Routers — Traffic Directors Between Networks
Press enter or click to view image in full size&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;What Is a Router?&lt;br&gt;
A router is a network device that connects different networks and forwards data packets based on IP addresses.&lt;/p&gt;

&lt;p&gt;Routers commonly connect:&lt;/p&gt;

&lt;p&gt;Internal networks to the internet&lt;br&gt;
One subnet to another subnet&lt;br&gt;
Different organizational network zones&lt;br&gt;
They operate primarily at OSI Layer 3 (Network Layer).&lt;/p&gt;

&lt;p&gt;How Routers Work&lt;br&gt;
Routers use a routing table that contains:&lt;/p&gt;

&lt;p&gt;Destination networks&lt;br&gt;
Next-hop addresses&lt;br&gt;
Interfaces&lt;br&gt;
Metrics (cost)&lt;br&gt;
When a packet arrives:&lt;/p&gt;

&lt;p&gt;The router checks the destination IP&lt;br&gt;
It finds the best route in the routing table&lt;br&gt;
The packet is forwarded accordingly&lt;br&gt;
If no valid route exists:&lt;/p&gt;

&lt;p&gt;The packet is dropped&lt;br&gt;
Or forwarded to a default gateway&lt;br&gt;
Security Role of Routers&lt;br&gt;
Although routers are not security devices by default, they play a major role in security posture.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
Routers can:&lt;/p&gt;

&lt;p&gt;Restrict traffic using Access Control Lists (ACLs)&lt;br&gt;
Limit which networks can communicate&lt;br&gt;
Reduce exposure of internal segments&lt;br&gt;
Misconfigured routers can:&lt;/p&gt;

&lt;p&gt;Expose internal networks&lt;br&gt;
Allow unauthorized routing paths&lt;br&gt;
Enable data exfiltration&lt;br&gt;
Router Logs from a SOC Perspective&lt;br&gt;
SOC analysts monitor routers for:&lt;/p&gt;

&lt;p&gt;Unexpected outbound connections&lt;br&gt;
Traffic bypassing security devices&lt;br&gt;
Sudden routing changes&lt;br&gt;
Large data transfers leaving the network&lt;br&gt;
In many breaches, routers are not compromised directly — but they reveal the attacker’s movement path.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Switches — The Core of Internal Networks
Press enter or click to view image in full size&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;What Is a Switch?&lt;br&gt;
A switch is a network device used within a Local Area Network (LAN).&lt;/p&gt;

&lt;p&gt;It:&lt;/p&gt;

&lt;p&gt;Connects multiple devices&lt;br&gt;
Operates mainly at OSI Layer 2&lt;br&gt;
Uses MAC addresses to forward data&lt;br&gt;
Unlike hubs, switches are intelligent devices.&lt;/p&gt;

&lt;p&gt;How Switches Handle Traffic&lt;br&gt;
Switches maintain a MAC address table:&lt;/p&gt;

&lt;p&gt;Learn MAC addresses from incoming frames&lt;br&gt;
Associate MAC addresses with switch ports&lt;br&gt;
Forward frames only to the correct destination port&lt;br&gt;
This:&lt;/p&gt;

&lt;p&gt;Reduces unnecessary traffic&lt;br&gt;
Improves performance&lt;br&gt;
Limits collisions&lt;br&gt;
Why Switches Matter for Security&lt;br&gt;
Most internal attacks occur inside the LAN, not from the internet.&lt;/p&gt;

&lt;p&gt;Switch-related risks include:&lt;/p&gt;

&lt;p&gt;ARP spoofing&lt;br&gt;
MAC flooding&lt;br&gt;
Man-in-the-middle attacks&lt;br&gt;
Unauthorized device connections&lt;br&gt;
From a SOC perspective:&lt;/p&gt;

&lt;p&gt;Internal traffic must never be assumed to be trusted.&lt;/p&gt;

&lt;p&gt;Switch Logs and Internal Threat Detection&lt;br&gt;
SOC teams look for:&lt;/p&gt;

&lt;p&gt;MAC address changes&lt;br&gt;
Excessive ARP traffic&lt;br&gt;
Broadcast storms&lt;br&gt;
Lateral movement patterns&lt;br&gt;
Switches are critical for detecting:&lt;/p&gt;

&lt;p&gt;Insider threats&lt;br&gt;
Post-compromise activity&lt;br&gt;
Malware spreading internally&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Network Segmentation — Controlling the Blast Radius
Press enter or click to view image in full size&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;What Is Network Segmentation?&lt;br&gt;
Network segmentation is the practice of dividing a network into multiple isolated segments or zones.&lt;/p&gt;

&lt;p&gt;Each segment:&lt;/p&gt;

&lt;p&gt;Has a specific purpose&lt;br&gt;
Has defined access rules&lt;br&gt;
Communicates with other segments in a controlled way&lt;br&gt;
Why Segmentation Is Essential&lt;br&gt;
Without segmentation:&lt;/p&gt;

&lt;p&gt;One compromised system can reach everything&lt;br&gt;
Malware spreads rapidly&lt;br&gt;
SOC has poor visibility&lt;br&gt;
With segmentation:&lt;/p&gt;

&lt;p&gt;Attacker movement is limited&lt;br&gt;
Damage is contained&lt;br&gt;
Detection becomes easier&lt;br&gt;
Types of Network Segmentation (Overview)&lt;br&gt;
Physical segmentation&lt;br&gt;
Logical segmentation&lt;br&gt;
VLAN-based segmentation&lt;br&gt;
Firewall-based segmentation&lt;br&gt;
Zone-based segmentation&lt;br&gt;
Micro-segmentation&lt;br&gt;
DMZ segmentation&lt;br&gt;
Each type balances security, cost, and complexity.&lt;/p&gt;

&lt;p&gt;Segmentation and Lateral Movement&lt;br&gt;
Lateral movement is when attackers:&lt;/p&gt;

&lt;p&gt;Move from one compromised system to another&lt;br&gt;
Search for higher privileges&lt;br&gt;
Target critical assets&lt;br&gt;
Segmentation:&lt;/p&gt;

&lt;p&gt;Breaks attacker paths&lt;br&gt;
Forces additional authentication&lt;br&gt;
Generates detectable events&lt;br&gt;
SOC analysts focus heavily on inter-segment traffic logs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SOC Analyst’s Big Picture View
By the end of Day 6, a SOC analyst should understand:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Firewalls control and log traffic&lt;br&gt;
Routers define where traffic can go&lt;br&gt;
Switches reveal internal movement&lt;br&gt;
Segmentation limits attack impact&lt;br&gt;
Security is not about one device — it is about how all devices work together.&lt;/p&gt;

&lt;p&gt;Final Takeaways&lt;br&gt;
Network devices are security controls, not just connectivity tools&lt;br&gt;
Misconfiguration is often more dangerous than no security&lt;br&gt;
Logs are as important as blocking&lt;br&gt;
Internal traffic deserves as much attention as external traffic&lt;br&gt;
Segmentation is one of the strongest defenses against breaches&lt;br&gt;
Closing Note&lt;br&gt;
Day 6 builds the structural security mindset required for SOC analysts.&lt;br&gt;
From here onward, every alert, log, and incident will map back to these components.&lt;/p&gt;

&lt;p&gt;Understanding where traffic is controlled is the foundation of understanding how attacks are detected and stopped.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>ccna</category>
      <category>networking</category>
      <category>blueteam</category>
    </item>
    <item>
      <title>Day 5: Understanding NAT, VAT, Traffic Flow, and Ports &amp; Services</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Sun, 12 Jul 2026 05:18:11 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-5-understanding-nat-vat-traffic-flow-and-ports-services-k12</link>
      <guid>https://dev.to/faizan-nazir/day-5-understanding-nat-vat-traffic-flow-and-ports-services-k12</guid>
      <description>&lt;p&gt;Many beginners entering cybersecurity and SOC analysis rush toward tools, dashboards, and alerts. However, experienced analysts know that most SOC mistakes are not tool-related but concept-related. If you do not understand how network traffic behaves, how IP addresses are translated, and how services communicate, alerts will look random and confusing.&lt;/p&gt;

&lt;p&gt;Day 5 is designed to fix that problem.&lt;/p&gt;

&lt;p&gt;This day focuses on four deeply connected networking concepts:&lt;/p&gt;

&lt;p&gt;Network Traffic Flow&lt;br&gt;
NAT (Network Address Translation)&lt;br&gt;
VAT / PAT (Port Address Translation)&lt;br&gt;
Ports and Services&lt;br&gt;
Together, these topics form the mental model every SOC analyst must have before touching SIEMs, IDS, or firewall logs.&lt;/p&gt;

&lt;p&gt;Understanding Network Traffic Behaviour&lt;br&gt;
What Is Network Traffic?&lt;br&gt;
Network traffic refers to the movement of data packets from a source system to a destination system across a network. This movement is not random. Every packet follows a defined path, passes through specific devices, and carries identifiable attributes such as IP addresses, ports, protocols, and timing.&lt;/p&gt;

&lt;p&gt;For a SOC analyst, traffic is not “data moving on the network.”&lt;br&gt;
It is evidence.&lt;/p&gt;

&lt;p&gt;Traffic Flow tells you:&lt;/p&gt;

&lt;p&gt;where the data originated,&lt;br&gt;
where it is going,&lt;br&gt;
how frequently it is communicating,&lt;br&gt;
and whether the communication pattern makes sense.&lt;br&gt;
Security monitoring is essentially traffic interpretation.&lt;/p&gt;

&lt;p&gt;Traffic Direction and Why It Matters&lt;br&gt;
One of the most important ways to understand traffic is by looking at its direction.&lt;/p&gt;

&lt;p&gt;North–South Traffic&lt;br&gt;
North–south traffic is traffic that moves between an internal network and the internet. This includes users browsing websites, servers communicating with cloud platforms, and systems downloading updates.&lt;/p&gt;

&lt;p&gt;This traffic usually passes through perimeter devices such as firewalls, gateways, and NAT systems. Because it crosses the network boundary, it is often well-logged and monitored.&lt;/p&gt;

&lt;p&gt;From a SOC perspective, north–south traffic is commonly associated with:&lt;/p&gt;

&lt;p&gt;external attacks,&lt;br&gt;
malware command-and-control communication,&lt;br&gt;
data exfiltration attempts.&lt;br&gt;
Most beginner analysts focus only on this traffic, assuming that internal traffic is safe. That assumption is dangerous.&lt;/p&gt;

&lt;p&gt;East–West Traffic&lt;br&gt;
East–west traffic is traffic that moves within the internal network itself. Examples include server-to-server communication, database queries, internal scans, and lateral movement.&lt;/p&gt;

&lt;p&gt;Modern attackers prefer east–west traffic because:&lt;/p&gt;

&lt;p&gt;it often bypasses perimeter security,&lt;br&gt;
it is less monitored,&lt;br&gt;
it allows attackers to spread silently.&lt;br&gt;
In real SOC operations, post-compromise activity almost always appears in east–west traffic.&lt;/p&gt;

&lt;p&gt;Ignoring internal traffic is one of the most costly mistakes a SOC analyst can make.&lt;/p&gt;

&lt;p&gt;Inbound and Outbound Traffic&lt;br&gt;
Another important distinction is whether traffic is inbound or outbound.&lt;/p&gt;

&lt;p&gt;Inbound traffic originates from outside the network and enters internal systems. This traffic is usually tightly controlled and represents obvious attack vectors.&lt;/p&gt;

&lt;p&gt;Outbound traffic originates from inside the network and exits to the internet. Many organizations allow outbound traffic by default, which makes it attractive for attackers.&lt;/p&gt;

&lt;p&gt;A critical SOC mindset is understanding that:&lt;/p&gt;

&lt;p&gt;Outbound traffic is not automatically safe.&lt;/p&gt;

&lt;p&gt;Malware frequently communicates outward to command servers, downloads payloads, and exfiltrates data using outbound connections.&lt;/p&gt;

&lt;p&gt;NAT (Network Address Translation)&lt;br&gt;
What Is NAT?&lt;br&gt;
Network Address Translation (NAT) is a process that translates private IP addresses into public IP addresses and vice versa.&lt;/p&gt;

&lt;p&gt;Internal networks use private IP ranges that are not routable on the internet. NAT enables these internal systems to communicate externally without exposing their internal addressing scheme.&lt;/p&gt;

&lt;p&gt;In simple terms, NAT acts as a translator between private networks and the public internet.&lt;/p&gt;

&lt;p&gt;Why NAT Exists&lt;br&gt;
NAT exists primarily because of IPv4 address exhaustion. Public IPv4 addresses are limited, while private IP addresses can be reused indefinitely within organizations.&lt;/p&gt;

&lt;p&gt;NAT allows:&lt;/p&gt;

&lt;p&gt;conservation of public IP addresses,&lt;br&gt;
internal network abstraction,&lt;br&gt;
controlled internet access for private systems.&lt;br&gt;
It is important to clarify that NAT is not a security control. While it hides internal IP addresses, it does not inspect, filter, or block traffic.&lt;/p&gt;

&lt;p&gt;How NAT Works Conceptually&lt;br&gt;
When an internal system initiates communication with the internet, the NAT device replaces the private source IP with a public IP. A mapping entry is stored so that when the response returns, it can be forwarded back to the correct internal host.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
This mapping is stored in a NAT translation table.&lt;/p&gt;

&lt;p&gt;For SOC analysts, NAT logs and translation tables are critical because they enable attribution. Without them, identifying the true source of traffic is extremely difficult.&lt;/p&gt;

&lt;p&gt;Types of NAT&lt;br&gt;
Static NAT&lt;br&gt;
Static NAT creates a permanent one-to-one mapping between a private IP and a public IP. This type of NAT is commonly used for public-facing servers that must always be reachable from the internet.&lt;/p&gt;

&lt;p&gt;From a SOC perspective, static NAT makes attribution easier because the public IP always maps to the same internal system. However, it also increases exposure if the system is misconfigured or vulnerable.&lt;/p&gt;

&lt;p&gt;Dynamic NAT&lt;br&gt;
Dynamic NAT maps private IP addresses to a pool of public IP addresses on a temporary basis. The mapping exists only while the session is active.&lt;/p&gt;

&lt;p&gt;Because public IPs change over time, SOC investigations involving dynamic NAT require precise timestamp correlation. Logs become essential for determining which internal host was using a specific public IP at a given moment.&lt;/p&gt;

&lt;p&gt;VAT / PAT (Port Address Translation)&lt;br&gt;
What Is VAT?&lt;br&gt;
VAT, commonly known as PAT or NAT Overload, allows multiple private IP addresses to share a single public IP address by using port numbers to distinguish sessions.&lt;/p&gt;

&lt;p&gt;This is the most widely used form of NAT in modern networks, including home routers, enterprise environments, ISPs, and cloud infrastructures.&lt;/p&gt;

&lt;p&gt;How VAT Works&lt;br&gt;
With VAT, every internal connection is assigned a unique source port on the public IP. The NAT device tracks these mappings so that return traffic can be correctly delivered.&lt;/p&gt;

&lt;p&gt;Because of VAT:&lt;/p&gt;

&lt;p&gt;one public IP can represent thousands of internal systems,&lt;br&gt;
ports become critical for session identification.&lt;br&gt;
This significantly complicates SOC investigations.&lt;/p&gt;

&lt;p&gt;SOC Impact of VAT&lt;br&gt;
When analysts see logs showing the same public IP generating multiple connections, it does not mean a single system is responsible. It could represent hundreds of users behind a NAT device.&lt;/p&gt;

&lt;p&gt;Without source port and timestamp information:&lt;/p&gt;

&lt;p&gt;Accurate attribution is impossible.&lt;/p&gt;

&lt;p&gt;This is why SOC teams frequently request NAT and VAT logs during investigations.&lt;/p&gt;

&lt;p&gt;Ports and Services&lt;br&gt;
What Is a Port?&lt;br&gt;
A port is a logical number used by an operating system to identify which application or process should receive incoming traffic.&lt;/p&gt;

&lt;p&gt;An IP address identifies the system.&lt;br&gt;
A port identifies the application on that system.&lt;/p&gt;

&lt;p&gt;Without ports, a system could run only one network service at a time.&lt;/p&gt;

&lt;p&gt;What Is a Service?&lt;br&gt;
A service is a software process that listens on a port to provide network functionality. Web servers, email servers, and remote access daemons are all examples of services.&lt;/p&gt;

&lt;p&gt;Ports and services work together:&lt;/p&gt;

&lt;p&gt;the port acts as the entry point,&lt;br&gt;
the service performs the function.&lt;br&gt;
Port and Service Mapping&lt;br&gt;
Ports and services are linked by convention rather than enforcement. While certain ports are commonly associated with specific services, any service can technically run on any port.&lt;/p&gt;

&lt;p&gt;This flexibility is frequently abused by attackers. Malware often uses common ports such as 80 or 443 to blend into normal web traffic.&lt;/p&gt;

&lt;p&gt;Client and Server Port Roles&lt;br&gt;
Servers listen on fixed, well-known ports so that clients know where to connect. Clients use temporary, ephemeral ports that change with each session.&lt;/p&gt;

&lt;p&gt;A common beginner mistake is confusing source ports with destination ports during traffic analysis. SOC analysts must clearly understand which side initiated the connection.&lt;/p&gt;

&lt;p&gt;Why Port Numbers Do Not Equal Safety&lt;br&gt;
Many assume that traffic on common ports is safe. This assumption is incorrect.&lt;/p&gt;

&lt;p&gt;Encrypted traffic can carry malicious payloads. Legitimate ports can be abused. SOC analysis must consider Behavior, frequency, destination, and context rather than relying on port numbers alone.&lt;/p&gt;

&lt;p&gt;How All Concepts Connect in SOC Analysis&lt;br&gt;
These topics are not separate. They form a single chain:&lt;/p&gt;

&lt;p&gt;Traffic Flow explains how data moves.&lt;br&gt;
NAT hides internal IP structure.&lt;br&gt;
VAT makes ports critical for identity.&lt;br&gt;
Ports and services explain what kind of activity is happening.&lt;/p&gt;

&lt;p&gt;SOC analysis is about correlating all of these factors together.&lt;/p&gt;

&lt;p&gt;A realistic SOC identity is determined by:&lt;/p&gt;

&lt;p&gt;IP address + Port + Time + Behavior&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;br&gt;
Day 5 is not about memorizing definitions.&lt;br&gt;
It is about learning to see the network the way attackers and defenders do.&lt;/p&gt;

&lt;p&gt;When an alert appears, a skilled SOC analyst does not panic. Instead, they ask:&lt;/p&gt;

&lt;p&gt;Does this traffic flow make sense?&lt;br&gt;
Is this service expected on this host?&lt;br&gt;
Does the timing and pattern align with normal behavior?&lt;br&gt;
Mastering these fundamentals transforms SOC work from guessing into reasoning.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>networking</category>
      <category>soc</category>
      <category>blueteam</category>
    </item>
    <item>
      <title>Day 4: How Devices Actually Communicate — Networking Explained for SOC Analysts</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Sat, 11 Jul 2026 17:42:53 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-4-how-devices-actually-communicate-networking-explained-for-soc-analysts-56b4</link>
      <guid>https://dev.to/faizan-nazir/day-4-how-devices-actually-communicate-networking-explained-for-soc-analysts-56b4</guid>
      <description>&lt;p&gt;Most people study networking as a set of definitions.&lt;br&gt;
A SOC analyst experiences networking through alerts, logs, packet captures, and incidents.&lt;/p&gt;

&lt;p&gt;Day 4 was about closing that gap. Instead of memorizing terms, the goal was to understand how communication actually happens inside a network, and why attackers love abusing these fundamentals.&lt;/p&gt;

&lt;p&gt;In this article, I explain MAC Address, ARP, ICMP, and Ping in full depth — what they are, how they work, where they are used, where they are not used, and why each of them matters in a real SOC environment.MAC Address — The Physical Identity of a Device&lt;br&gt;
A MAC (Media Access Control) address is the physical identity of a network device. It is assigned to the network interface card (NIC) and uniquely identifies a device within a local network. Unlike IP addresses, which can change depending on the network, a MAC address is designed to remain stable and tied to the hardware.&lt;/p&gt;

&lt;p&gt;Every device that connects to a network — laptops, servers, routers, switches, printers, and even IoT devices — communicates at the local level using MAC addresses. This is why MAC addresses operate at the Data Link Layer (Layer 2) of the OSI model.&lt;/p&gt;

&lt;p&gt;The purpose of a MAC address is simple but critical: it allows devices inside a local network to know exactly which device should receive a frame. Switches do not understand IP addresses in the way routers do. Instead, they read the destination MAC address in a frame and forward it to the correct physical port.&lt;/p&gt;

&lt;p&gt;When a device sends data inside a LAN, it encapsulates that data into a frame that contains both a source MAC and a destination MAC. The switch examines the destination MAC, looks it up in its MAC address table, and forwards the frame only to the appropriate port. This process makes local communication fast and efficient.&lt;/p&gt;

&lt;p&gt;MAC addresses are used for local identification, switching decisions, and asset tracking. However, they are not used for routing across the internet, they do not provide encryption, and they do not authenticate users. This limitation becomes important from a security perspective.&lt;/p&gt;

&lt;p&gt;From a SOC analyst’s point of view, MAC addresses are extremely valuable. They help identify rogue devices, detect unauthorized connections, correlate IP addresses with physical systems, and spot MAC spoofing attempts. If the same MAC address suddenly appears in multiple locations, or if a trusted MAC changes unexpectedly, it often indicates suspicious activity.&lt;/p&gt;

&lt;p&gt;ARP — How an IP Address Becomes a MAC Address&lt;br&gt;
While applications and routing logic rely on IP addresses, actual delivery of data inside a LAN requires MAC addresses. This creates a fundamental problem: a device may know the destination IP address, but without the MAC address, it cannot deliver the frame.&lt;/p&gt;

&lt;p&gt;ARP (Address Resolution Protocol) exists to solve this exact problem. Its role is to map an IP address to its corresponding MAC address within a local network.&lt;/p&gt;

&lt;p&gt;When a device wants to communicate with another device in the same LAN, it first checks its ARP table to see if it already knows the MAC address associated with the destination IP. If the mapping is missing, the device sends an ARP Request. This request is broadcast to all devices in the network, asking which device owns the target IP address.&lt;/p&gt;

&lt;p&gt;The device that owns that IP responds with an ARP Reply, sent as a unicast message, providing its MAC address. The sender then stores this mapping in its ARP cache and uses it for subsequent communication.&lt;/p&gt;

&lt;p&gt;ARP enables seamless local communication, but it comes with a serious weakness: it has no authentication mechanism. Devices blindly trust ARP replies, even if they are malicious. This makes ARP vulnerable to spoofing attacks.&lt;/p&gt;

&lt;p&gt;In ARP spoofing or ARP poisoning, an attacker sends fake ARP replies claiming to be the router or another trusted device. This causes traffic to be redirected through the attacker, enabling man-in-the-middle attacks, credential theft, and session hijacking.&lt;/p&gt;

&lt;p&gt;Become a Medium member&lt;br&gt;
For SOC analysts, ARP is a critical internal threat vector. ARP-based attacks often bypass perimeter defenses because they occur inside the network. Analysts monitor ARP anomalies such as IP-to-MAC mismatches, duplicate MAC addresses, and frequent ARP table changes to detect these attacks.&lt;/p&gt;

&lt;p&gt;ICMP — The Network’s Feedback and Error Reporting System&lt;br&gt;
IP is responsible for delivering packets, but it does not report what happens when something goes wrong. ICMP (Internet Control Message Protocol) fills this gap by acting as the feedback mechanism of the network.&lt;/p&gt;

&lt;p&gt;ICMP is used by routers and hosts to report errors, signal delivery problems, and assist in network diagnostics. It operates at the Network Layer (Layer 3) and is encapsulated inside IP packets.&lt;/p&gt;

&lt;p&gt;When a packet cannot reach its destination, when a route fails, or when a packet’s Time To Live (TTL) expires, ICMP messages are generated and sent back to the source. These messages help systems understand why communication failed.&lt;/p&gt;

&lt;p&gt;ICMP is widely used for troubleshooting and monitoring. Tools like ping and traceroute rely on ICMP to test reachability and discover network paths. Without ICMP, diagnosing network issues would be extremely difficult.&lt;/p&gt;

&lt;p&gt;However, ICMP is not designed to carry application data, establish connections, or guarantee delivery. It exists purely for control and reporting purposes.&lt;/p&gt;

&lt;p&gt;From a security perspective, ICMP is a double-edged sword. While it provides visibility, attackers abuse it for reconnaissance, denial-of-service attacks, and covert data exfiltration through ICMP tunneling. SOC teams often choose to rate-limit ICMP rather than blocking it completely, balancing security with operational visibility.&lt;/p&gt;

&lt;p&gt;Ping — A Simple Tool with Powerful Implications&lt;br&gt;
Ping is often misunderstood as a protocol, but in reality, it is a diagnostic tool that uses ICMP. Its primary purpose is to test whether a host is reachable and how long it takes to respond.&lt;/p&gt;

&lt;p&gt;When a ping command is executed, the system sends an ICMP Echo Request to the destination. If the destination is reachable and allows ICMP, it responds with an ICMP Echo Reply. The time taken for this round trip is measured as latency.&lt;/p&gt;

&lt;p&gt;Ping is used to verify basic connectivity, measure network delay, and detect packet loss. However, it does not test application availability or service health. A system can respond to ping while critical services remain down, and conversely, a system may block ICMP while still serving traffic normally.&lt;/p&gt;

&lt;p&gt;From an attacker’s perspective, ping is a reconnaissance tool. Ping sweeps are commonly used to discover live hosts within a network. From a SOC perspective, unusual ICMP volumes, sequential ping patterns, or unexpected ping activity can indicate scanning or early-stage intrusion attempts.&lt;/p&gt;

&lt;p&gt;Final SOC Takeaway&lt;br&gt;
Day 4 connected the foundational pieces of networking:&lt;/p&gt;

&lt;p&gt;MAC addresses identify devices, ARP connects IPs to those devices, ICMP reports network health, and ping tests reachability. These concepts are not just theoretical — they directly shape how SOC analysts interpret alerts, investigate incidents, and understand attacker behavior.&lt;/p&gt;

&lt;p&gt;Learning networking at this depth transforms logs from noise into signals. This is not shortcut learning — this is SOC-ready understanding.&lt;/p&gt;

&lt;p&gt;SOC Analyst Journey — Day 4 Completed&lt;/p&gt;

</description>
      <category>networking</category>
      <category>ccna</category>
      <category>soc</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>Day 3 Learning How Data Actually Moves (TCP/IP, TCP vs UDP, DHCP)</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Fri, 01 May 2026 03:58:07 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/day-3-learning-how-data-actually-moves-tcpip-tcp-vs-udp-dhcp-339d</link>
      <guid>https://dev.to/faizan-nazir/day-3-learning-how-data-actually-moves-tcpip-tcp-vs-udp-dhcp-339d</guid>
      <description>&lt;p&gt;Day 3 of my SOC journey — and things are getting real.&lt;/p&gt;

&lt;p&gt;Today I focused on how communication actually happens inside networks:&lt;/p&gt;

&lt;p&gt;TCP/IP basics&lt;br&gt;
4-layer model&lt;br&gt;
TCP vs UDP&lt;br&gt;
TCP handshake&lt;br&gt;
DHCP + DORA&lt;/p&gt;

&lt;p&gt;💡 Biggest insight:&lt;/p&gt;

&lt;p&gt;Everything in SOC — alerts, logs, attacks —&lt;br&gt;
depends on how data flows.&lt;/p&gt;

&lt;p&gt;If you don’t understand this, you’re just guessing.&lt;/p&gt;

&lt;p&gt;⚡ TCP = reliable&lt;br&gt;
⚡ UDP = fast&lt;/p&gt;

&lt;p&gt;Both matter.&lt;/p&gt;

&lt;p&gt;What’s next?&lt;br&gt;
MAC Address, ARP, ICMP, and Ping&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>networking</category>
      <category>learning</category>
      <category>infosec</category>
    </item>
    <item>
      <title>🚀 SOC Analyst Journey – Day 2: IP, DNS &amp; Basic Network Commands</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Mon, 27 Apr 2026 10:28:07 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/soc-analyst-journey-day-2-ip-dns-basic-network-commands-4him</link>
      <guid>https://dev.to/faizan-nazir/soc-analyst-journey-day-2-ip-dns-basic-network-commands-4him</guid>
      <description>&lt;p&gt;Day 2 of my SOC Analyst journey — and now I’m starting to see how the internet actually works behind the scenes.&lt;/p&gt;

&lt;p&gt;Today’s focus was on the core networking concepts and commands that SOC analysts rely on during investigations and alert triage.&lt;/p&gt;

&lt;p&gt;🧠 What I Covered&lt;br&gt;
🌐 IP Addressing&lt;/p&gt;

&lt;p&gt;Understanding how every device in a network is uniquely identified.&lt;/p&gt;

&lt;p&gt;IPv4 &amp;amp; IPv6 basics&lt;br&gt;
Source and Destination identification&lt;br&gt;
Foundation of all network communication&lt;br&gt;
🌍 DNS (Domain Name System)&lt;/p&gt;

&lt;p&gt;Learning how domain names are converted into IP addresses.&lt;/p&gt;

&lt;p&gt;Domain → IP resolution&lt;br&gt;
Role of DNS in browsing and communication&lt;br&gt;
How DNS can expose suspicious or malicious domains&lt;br&gt;
🛠️ nslookup&lt;/p&gt;

&lt;p&gt;A simple but powerful tool to query DNS records.&lt;/p&gt;

&lt;p&gt;Used to check domain resolution&lt;br&gt;
Helps analyze suspicious domains during investigations&lt;br&gt;
Useful for quick DNS verification&lt;br&gt;
📡 ping&lt;/p&gt;

&lt;p&gt;One of the most basic yet essential network tools.&lt;/p&gt;

&lt;p&gt;Checks if a host is reachable&lt;br&gt;
Measures response time (latency)&lt;br&gt;
Helps identify connectivity issues&lt;br&gt;
🧭 traceroute&lt;/p&gt;

&lt;p&gt;Understanding how data travels across networks.&lt;/p&gt;

&lt;p&gt;Shows the path (hops) packets take&lt;br&gt;
Helps identify where delays or failures occur&lt;br&gt;
Useful for deeper network troubleshooting&lt;br&gt;
🎯 Key Takeaways&lt;br&gt;
IP addresses are the identity of devices in a network&lt;br&gt;
DNS acts as the translator between domains and IPs&lt;br&gt;
nslookup is useful for domain investigation&lt;br&gt;
ping helps verify host availability&lt;br&gt;
traceroute reveals the full journey of packets&lt;br&gt;
🔍 Why This Matters in SOC&lt;/p&gt;

&lt;p&gt;In a real SOC environment:&lt;/p&gt;

&lt;p&gt;Alerts are often tied to IP addresses and domains&lt;br&gt;
Analysts investigate suspicious DNS queries&lt;br&gt;
Network commands help validate and trace activity&lt;/p&gt;

&lt;p&gt;Without understanding these basics, it’s difficult to analyze logs or respond to incidents effectively.&lt;/p&gt;

&lt;p&gt;📌 Progress Mindset&lt;/p&gt;

&lt;p&gt;No tools yet. No dashboards yet.&lt;/p&gt;

&lt;p&gt;Just building the foundation — step by step.&lt;/p&gt;

&lt;p&gt;Because strong fundamentals make everything easier later.&lt;/p&gt;

&lt;p&gt;💬 Let’s discuss:&lt;br&gt;
Have you ever used nslookup to investigate a suspicious domain? What did you find?&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>networking</category>
      <category>infosec</category>
      <category>learning</category>
    </item>
    <item>
      <title># Day 1 – The Biggest Beginner Mistake in SOC: Ignoring Networking 🚀</title>
      <dc:creator>Faizan Nazir</dc:creator>
      <pubDate>Sun, 26 Apr 2026 13:01:18 +0000</pubDate>
      <link>https://dev.to/faizan-nazir/-day-1-the-biggest-beginner-mistake-in-soc-ignoring-networking-3mb8</link>
      <guid>https://dev.to/faizan-nazir/-day-1-the-biggest-beginner-mistake-in-soc-ignoring-networking-3mb8</guid>
      <description>&lt;p&gt;When I first thought about becoming a SOC Analyst, I imagined dashboards, alerts, and powerful security tools.&lt;/p&gt;

&lt;p&gt;But Day 1 of my journey changed that completely.&lt;/p&gt;

&lt;p&gt;Instead of jumping into tools, I started with the real foundation: &lt;strong&gt;networking&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Networking Matters More Than Tools
&lt;/h2&gt;

&lt;p&gt;At its core, networking is just communication between devices.&lt;/p&gt;

&lt;p&gt;Every time we:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open a website&lt;/li&gt;
&lt;li&gt;Send an email&lt;/li&gt;
&lt;li&gt;Use an app&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Data moves across a network.&lt;/p&gt;

&lt;p&gt;Here’s what most beginners miss:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Every cyber attack uses the same path.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If there’s no network, there’s no attack.&lt;/p&gt;

&lt;p&gt;That’s why networking isn’t optional — it’s essential.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;Networking basics&lt;/li&gt;
&lt;li&gt;Data communication&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Communication components&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sender&lt;/li&gt;
&lt;li&gt;Receiver&lt;/li&gt;
&lt;li&gt;Message&lt;/li&gt;
&lt;li&gt;Medium&lt;/li&gt;
&lt;li&gt;Protocol&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Simple concepts, but they explain how systems interact — and how attackers exploit them.&lt;/p&gt;




&lt;h2&gt;
  
  
  Client–Server Model (Game Changer)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Client → sends request&lt;/li&gt;
&lt;li&gt;Server → sends response&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We use this every day while browsing.&lt;/p&gt;

&lt;p&gt;But attackers use it too.&lt;/p&gt;

&lt;p&gt;Malware can act as a client and communicate with a malicious server.&lt;/p&gt;

&lt;p&gt;That’s where detection starts.&lt;/p&gt;




&lt;h2&gt;
  
  
  LAN vs WAN (Important for SOC)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LAN&lt;/strong&gt; → Private, trusted&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WAN&lt;/strong&gt; → Public, untrusted&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most attacks come from WAN and try to enter LAN.&lt;/p&gt;

&lt;p&gt;Understanding this helps in prioritizing threats.&lt;/p&gt;




&lt;h2&gt;
  
  
  SOC Reality
&lt;/h2&gt;

&lt;p&gt;SOC is not about chasing hackers.&lt;/p&gt;

&lt;p&gt;It’s about understanding behavior.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Logs = records&lt;/li&gt;
&lt;li&gt;Alerts = warnings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 Tools show data&lt;br&gt;
👉 Networking helps you understand it&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Takeaway
&lt;/h2&gt;

&lt;p&gt;👉 &lt;strong&gt;SOC work starts with understanding behavior, not tools.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Networking is the language of SOC.&lt;/p&gt;

&lt;p&gt;Without it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Logs = confusing&lt;/li&gt;
&lt;li&gt;Alerts = overwhelming&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Everything connects&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;This is just Day 1, but it already changed my mindset.&lt;/p&gt;

&lt;p&gt;I’m focusing on fundamentals first — tools later.&lt;/p&gt;

&lt;p&gt;Let’s see where this journey goes 🚀&lt;/p&gt;




&lt;h2&gt;
  
  
  Discussion
&lt;/h2&gt;

&lt;p&gt;Are you also starting in cybersecurity or SOC?&lt;/p&gt;

&lt;p&gt;What did you focus on in your early days?&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>infosec</category>
      <category>learning</category>
      <category>networking</category>
    </item>
  </channel>
</rss>
