all-soc-level-12026.04.19
haadi@portfolio: ~

haadi@portfolio:~$ cat web-security-essentials.md

Room notes · SOC Level 1 · Web security

Web SecurityEssentials

The web is the largest attack surface most organizations have. Every public-facing web application is reachable by anyone on the internet.

What This Room Covers

How the web works at a security level: HTTP, web application architecture, common vulnerability categories, and the protective controls that defend against them.


Key Concepts Learned

The web is the largest attack surface most organizations have. Every public-facing web application is reachable by anyone on the internet. Understanding how web applications work: at the HTTP level, not just as something you browse: is foundational for detecting web-based attacks in SIEM and network logs.

HTTP Request/Response Cycle Every web interaction is a request and a response:

Client sends:                    Server responds:
GET /login.php HTTP/1.1          HTTP/1.1 200 OK
Host: example.com                Content-Type: text/html
Cookie: session=abc123           Set-Cookie: session=xyz789
User-Agent: Mozilla/5.0          <html>...page content...</html>

Every field in these exchanges is visible in web server logs and proxy logs, and every field can be manipulated by an attacker. This is what makes web log analysis rich with forensic evidence.

OWASP Top 10: The Standard Vulnerability Catalog

VulnerabilityWhat It IsSOC Detection Approach
Injection (SQLi, CMDi)Unsanitized input executed as codeSQL keywords in URL params, HTTP 500 errors
Broken AuthenticationWeak session management, credential flawsBrute force patterns, session token reuse
XSSJavaScript injected into pages<script> tags in URL params or POST bodies
IDORAccessing other users' resources by changing IDsSequential ID enumeration in access logs
Security MisconfigurationDefault credentials, unnecessary features exposedAccess to admin panels, default page requests
Vulnerable ComponentsOutdated libraries with known CVEsRequests targeting known vulnerable endpoints
SSRFServer making requests to internal resourcesRequests with internal IP addresses in parameters

Web server logs: what a SOC analyst reads

A typical Apache/Nginx access log line:

192.168.1.5 - - [19/Apr/2026:14:23:01] "GET /admin.php HTTP/1.1" 403 512 "-" "sqlmap/1.7"

This single line tells me: source IP, timestamp, what was requested, HTTP status (403 = forbidden), response size, and the User-Agent (sqlmap: automated SQL injection tool). That User-Agent alone confirms this is an automated attack.

HTTP Status Codes for SOC Analysis

CodeMeaningAttack Context
200SuccessAttacker request succeeded: investigate further
301/302RedirectMay indicate URL manipulation
400Bad RequestMalformed requests: fuzzing or testing
401/403Unauthorized/ForbiddenAccess attempts to protected resources
404Not FoundEnumeration of paths/files
500Internal Server ErrorPossible injection: server-side code error

A burst of 404s from one IP followed by a 200 is a classic pattern: directory enumeration finding a valid path.


Hands-On Tasks

Explored web application architecture, examined HTTP requests and responses, reviewed common vulnerability categories, and analyzed web server log samples for attack indicators.


How This Applies to Real SOC Work

Web application attacks are among the most common alerts in any SOC queue. SQLmap, Nikto, directory brute forcing, and credential stuffing all leave distinctive signatures in web server logs. Understanding the HTTP layer means recognizing these signatures immediately rather than needing to look them up.


What I Want to Learn Next Based on This

Detecting Web Attacks builds directly on this foundation: applying the vulnerability knowledge to real log analysis scenarios.

Originally published on GitHub

view-source
haadi@portfolio: ~

haadi@portfolio:~$ cat meta

  1. category: room notes
  2. path: SOC Level 1
  3. module: Web security
  4. topic: Web Security
  5. difficulty: Easy
  6. published: 2026.04.19
  7. read: 3 min

Next writeup

Keepreading