Skip to content
View mahialjaber's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report mahialjaber

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mahialjaber/README.md
Mahi Al Jaber — SOC Analyst Alert triage, investigation, escalation

I work the alerts, and I write the detections that raise them.

Email LinkedIn Location


Blue team. Most of my hours go where a SOC actually lives: Sysmon and Windows event logs, AD authentication, PowerShell activity, Splunk searches that start as a hunch and end as a rule.

Cloud isn't a separate track for me — it's another log source on the same console. A role session hitting CloudTrail from an address that has no business holding those credentials is the same investigation I'd run on a workstation, with different field names. Being able to follow the attacker across both is the part that stopped me being a beginner.

The loop I enjoy: run the technique in my lab, find it in the logs, write it in Sigma or SPL, then break my own rule until it survives contact with normal traffic. Half of detection engineering turns out to be deleting rules that were never going to fire cleanly. Everything below is the working record of that.


Things I've built

enterprise-threat-detection-soc-lab — My SOC lab, end to end: endpoint and cloud telemetry ingestion, custom Splunk SPL detections, attack emulation mapped to ATT&CK. The whole pipeline, not a rule in isolation.

SOC-Log-Analysis-Datasets — Windows, web, firewall, and cloud logs with attack vectors embedded, MIT licensed. Made it because practice data with known ground truth is annoyingly hard to find.

CLI-Threat-Analyzer — Python terminal tool that parses logs, digests threat-intel reports, and inspects suspicious files. Built to delete the copy-paste half of triage.

mitre-attack-study-guide — Offline single-page ATT&CK v19 reference and study tool. Writing it was how I actually learned the matrix.

soc-analyst-writeups — Investigations from alert to verdict, including the ones I called wrong on the first pass.

In progress: a hybrid purple-team SOAR that closes the loop — emulate, detect, respond automatically, measure what the response missed.


In the lab

Techniques I've run end to end: executed the behaviour, pulled the telemetry, wrote the rule, tuned out the noise.

Technique ATT&CK Telemetry Detection logic
Password spraying against AD T1110.003 Windows 4625, 4771 Failed auth spread wide across accounts from one source, not repeats on one
Credential dumping from LSASS T1003.001 Sysmon EID 10 Non-allowlisted process opening lsass.exe with read access
PowerShell download cradle T1059.001 Sysmon, EID 4104 Encoded commands with Office or script-host parents
Service installed for persistence T1543.003 Windows 7045 New service whose binary path sits in a user-writable directory
Scheduled task persistence T1053.005 Sysmon EID 1, 4698 Task created by a non-admin identity outside patch windows
IAM key created, then used from new infrastructure T1552.001 CloudTrail CreateAccessKey → first-seen source ASN for that principal
EC2 metadata credential theft T1552.005 CloudTrail, VPC Flow Role session used from an IP that isn't the instance's own
CloudTrail logging disabled T1562.008 CloudTrail StopLogging / DeleteTrail — first event, no threshold

Last row, roughly as it ships:

title: CloudTrail Logging Disabled
status: experimental
logsource:
  product: aws
  service: cloudtrail
detection:
  selection:
    eventSource: cloudtrail.amazonaws.com
    eventName:
      - StopLogging
      - DeleteTrail
  condition: selection
level: high
falsepositives:
  - Trail rebuilt by IaC — correlate against the deploy pipeline identity before escalating

No threshold on that one. If someone turns off the recorder, the first event is the incident.


Stack

SIEM & Detection

Splunk Sigma MITRE ATT&CK Sentinel

Endpoint & Identity

Sysmon Windows Event Logs Active Directory PowerShell

Triage & Analysis

Alert Triage Log Analysis Phishing Analysis Threat Hunting IOC Enrichment

Network & Traffic

Wireshark TCP/IP DNS PCAP

Cloud Telemetry

AWS CloudTrail IAM GuardDuty VPC Flow Logs

Automation & Tooling

Python Bash Linux Kali Docker Git

Frameworks & Process

NIST 800-61 Kill Chain Atomic Red Team


How I work an alert

Scope before anything else. One host or many, one identity or many. That answers whether this is a ticket or an incident.

Look for what disproves me. Writing down the benign explanation first stops me from building a story around the first suspicious field I see.

Enrich, then escalate. Identity, owner, change history, reputation. An escalation with no context is a forwarded email.

Verdict with a confidence level. "Likely benign, medium confidence, here's what would change my mind" hands off cleanly. "Suspicious" doesn't.

Every false positive is a tuning ticket. A rule nobody trusts is worse than no rule.


Now

  • Growing the lab's detection library and writing each case up as I close it
  • Splunk Core Certified Power User, in progress
  • Rebuilding public detection rules in my own environment to find where mine are weaker

Open to SOC analyst and detection engineering work — remote or relocating. Happy to walk through any case file in soc-analyst-writeups.

Popular repositories Loading

  1. SOC-Log-Analysis-Datasets SOC-Log-Analysis-Datasets Public

    Curated, simulated dataset of security logs (Windows, Web, Firewall, Cloud) with embedded attack vectors for SOC analysts to practice SIEM ingestion, threat hunting, and log analysis.

    4

  2. enterprise-threat-detection-soc-lab enterprise-threat-detection-soc-lab Public

    Cloud SOC lab featuring end-to-end telemetry ingestion, custom Splunk SPL detection engineering, and attack emulation mapped directly to the MITRE ATT&CK framework.

    PowerShell 1

  3. mahialjaber mahialjaber Public

    My personal GitHub profile. Showcasing my practical projects in defensive security, SOC operations, and threat detection.

  4. CLI-Threat-Analyzer CLI-Threat-Analyzer Public

    Python command-line security copilot leveraging AI. Instantly parse system logs, analyze threat intelligence reports, and perform automated security file inspection directly from the terminal.

    Python

  5. soc-analyst-writeups soc-analyst-writeups Public

  6. mitre-attack-study-guide mitre-attack-study-guide Public

    A single-page, offline MITRE ATT&CK v19 reference and interactive study guide designed for SOC analysts.

    HTML