Security Engineer · Casablanca, Morocco

I build SIEM platforms that turn raw logs into signals, take malware apart, and reverse the devices people use every day.

Portrait of Ayman Wadi

About

Engineer by training. Reverser by curiosity.

I work on the whole life of security data: collecting it, normalizing it, enriching it and turning it into detections a SOC can trust. I came in through malware analysis and reverse engineering, and that attacker's-eye view shapes everything I build.

Today I design and evolve SIEM platforms at Mercure in Casablanca. The direction is security architecture: complete systems that are coherent, technically rigorous and built for how operations really run.

What I do

SIEM Engineer

I turn noise into signal.

Infrastructure never stops talking. I build the pipelines that collect its logs, normalize them into clean events and flag the few that matter.

  • Splunk
  • Wazuh
  • Sysmon
  • CEF / LEEF
  • PCRE2

Malware Analyst

I take it apart before it runs.

Static and dynamic analysis, sandbox detonation and IOC extraction, mapped to MITRE ATT&CK so that every finding becomes a detection.

  • Ghidra
  • Cuckoo
  • Any.Run
  • PE internals
  • ATT&CK

Reverse Engineer

I open the devices people trust.

I started with malware, then moved to hardware: routers, cameras, switches. I read firmware to find weak defaults and vulnerable code, then propose the fix.

  • Firmware
  • Routers
  • Cameras
  • Switches
  • Patch proposals

Threat Analyst

I hunt it until it goes dark.

One phishing mail is a thread to pull. I trace the campaign behind it and report its domains and hosting to providers and registrars, until it is shut down.

  • Threat hunting
  • Phishing campaigns
  • Takedowns
  • CTI

SOC Analyst

I find the story in the events.

Correlating signals across sources until scattered events become one incident, then automating the response with playbooks.

  • Correlation
  • Threat hunting
  • SOAR playbooks
  • EDR

Security Architect

Where all of it is heading.

Every role before this one is a layer. The goal is to design the whole thing: infrastructure, data and security as one coherent system.

  • Architecture design
  • Detection strategy
  • Automation
Casablanca, Morocco The story-so-far edition Free to read

The Story of Ayman Wadi

Est. 2016 “All the logs that are fit to parse” Twelve stories, one page
2016Origins

A first computer, and a Wi-Fi network he wanted to understand

A kid gets his first PC and becomes fascinated by how a password can fall.

A router, a little pixie dust, an open lock.

It starts the way it starts for many: curiosity, and tools written by someone else. Watching a Wi-Fi password give way is enough to hook him on networks and security. He will later call this his script-kiddie phase, without embarrassment. It is where the passion began.

2018Underground

He finds the forums, and sees the whole picture

Underground boards show what really happens to stolen data.

Underground forums on the dark web, where stolen data has a price.

Reading the forums, he sees how attackers abuse systems to collect logs and personal data. Two things stay with him: how much user data is worth, and how victims are lured. He starts learning how an attacker thinks, in order to understand it.

2019Training

Curiosity gets a curriculum

Hack The Box and TryHackMe turn scattered tricks into structured study.

He begins studying security properly: labs, rooms and write-ups, one after another. What he saw on the forums now has a counterpart, and he enters the world of defence with a structured mind.

2021Education

Admitted to ENSA Tangier, to learn networks properly

He joins the Telecommunications and Network Systems track with one clear aim.

The choice is deliberate. Security rests on networks, so he goes to learn how packets move and how systems talk to each other, from the ground up. The engineering degree begins.

2022Community

The shy freshman becomes an active member of the student community

Volunteering with two student clubs, and sharing what he has learned so far.

With fellow students at an ENSA Tangier event.

At the Computer Science Club he helps run introductory sessions on network security and ethical hacking. At TelNet Club he explains the OSI model, IP addressing and routing to newcomers. He also designs the posters, and helps with sponsoring for the eighth edition of IT Day.

2023Leadership

Wadi takes the presidency of TelNet Club

Twenty months leading the school's telecom, networking and cybersecurity club.

On stage at Netcom Day 2023.

Workshops, conferences and joint events with industry professionals, plus the unglamorous part: planning, partnerships and coordination with other student associations. Two Cisco CCNA certifications land along the way.

2024Offence

Paid to break in: a summer as a pentester

An internship at OGSBC, testing real web applications.

Authorized tests against real web applications, by hand and with the standard tools of the trade. Every weakness goes into a report with its risk level, a proof of concept and a fix.

2025Malware desk

Seven months inside a SOC, taking malware apart

Malware analyst at CBI, and a final-year project that earns the state engineer's degree.

Static and dynamic analysis in sandboxes, findings mapped to MITRE ATT&CK, then wired into Splunk SIEM and SOAR playbooks that enrich alerts and contain threats automatically.

2025Graduation

State engineer in networks and telecoms

ENSA Tangier awards him the diplôme d'ingénieur d'État, after a final-year project on incident analysis.

Graduation day at ENSA Tangier, 2025.

Four and a half years after walking in to learn networks, he leaves with the state engineering degree in telecommunications and network systems. The final-year project, carried out at CBI, covered techniques and tools for analysing security incidents. One chapter closes; the next one starts a month later.

2025Career

Mercure hires a new recruit

From SOC and CTI analyst to security engineer in Casablanca.

At Mercure, a cybersecurity pure player, he works on SIEM platforms: collection, normalization, enrichment and detection, with automation wherever a human should not be repeating themselves. Security architecture design becomes part of the job.

2026Research

A router's default Wi-Fi key turns out to be predictable

A public write-up of CVE-2025-63353, in a router common in Moroccan homes.

Ten years after that first Wi-Fi network, he documents a published flaw in a home router: a technical analysis, educational code and a remediation guide, with the original discovery credited to researcher Hani Anis Bouzid.

2026Recognition

Named a Wazuh Ambassador

Recognition from an open-source security community, and two tools of his own.

The Wazuh Ambassador certificate.

The same year he releases Decoder Studio, which builds and verifies SIEM decoders from sample logs, and Pharos, which watches software releases for self-hosters. The next headline is still being written: security architect.

    Work

    Things I've built and published.

    01 / 03 · Decoder Studio

    Detection tooling · JavaScript

    Decoder Studio

    Build and test SIEM decoders from sample logs, right in your browser.

    Paste a few events, review the proposed fields, and download a Wazuh decoder already tested against every sample line by an emulation of the analysis engine. No server, no build step, nothing uploaded.

    • CEF
    • LEEF
    • JSON
    • key=value
    • CSV
    • XML
    • RFC 5424
    View on GitHub
    02 / 03 · CVE-2025-63353

    Security research · C, Go, Python, JS

    CVE-2025-63353

    A critical predictable default Wi-Fi key in FiberHome GPON devices, documented and reproduced.

    Independent proof-of-concept implementations in four languages, with technical analysis, a disclosure timeline and mitigation guidance. Built on the original research and disclosure by Hani Anis Bouzid.

    • IoT security
    • WPA2
    • GPON
    • CWE-284
    View on GitHub
    03 / 03 · Pharos

    Self-hosting · Python · early alpha

    Pharos

    Stable release alerts for self-hosted software, without the rebuild noise.

    Watches official releases, compares them with what you actually run, groups notifications and remembers what it already announced. Containers and native packages, no runtime dependencies, no account required.

    • Docker
    • ntfy
    • Homelab
    • Release monitoring
    View on GitHub

    Arsenal

    Whatever the job needs.

    Defence, offence and everything that connects them. This is what I reach for.

    Systems I use

    • Splunk
    • Wazuh
    • Elastic Stack
    • OpenSearch
    • Grafana
    • Shuffle
    • n8n
    • GitLab
    • Microsoft 365
    • Sophos
    • FortiGate
    • pfSense

    SIEM & detection

    • Splunk
    • Wazuh
    • ELK Stack
    • Sysmon
    • Log pipelines
    • Normalization
    • Decoders & parsers
    • Correlation rules
    • Detection engineering
    • CEF
    • LEEF
    • Syslog RFC 5424
    • PCRE2
    • MITRE ATT&CK
    • Dashboards

    Malware & reverse engineering

    • Ghidra
    • Static analysis
    • Dynamic analysis
    • Cuckoo Sandbox
    • Any.Run
    • PE internals
    • Packers & obfuscation
    • IOC extraction
    • Firmware analysis
    • Router & IoT research
    • Disassembly
    • C

    SOC & threat intelligence

    • Threat hunting
    • CTI
    • Incident analysis
    • Phishing analysis
    • Leak & dark-web analysis
    • VirusTotal
    • Hybrid Analysis
    • WHOIS & OSINT
    • EDR triage
    • Event correlation

    SOAR & automation

    • Splunk SOAR
    • Shuffle
    • n8n
    • Investigation playbooks
    • Remediation playbooks
    • Python
    • REST APIs
    • CI/CD
    • GitHub Actions
    • AI agents
    • MCP servers
    • Docker

    Offensive security

    • Web pentesting
    • OWASP Top 10
    • Burp Suite
    • OWASP ZAP
    • Nmap
    • Nikto
    • SQL injection
    • XSS
    • Auth & session flaws
    • PoC writing
    • Reporting

    Foundations

    • Linux
    • Bash
    • Networking
    • Routing & switching
    • Active Directory
    • Firewalls
    • Go
    • JavaScript
    • Git
    • Self-hosting
    • Machine learning & NLP

    Principles

    Sharp tools, clean hands.

    The skills on this page can be used to break things. These are the rules I use them by.

    Credit goes to whoever earned it

    When I published my work on CVE-2025-63353, the first thing in the repository was the name of the researcher who found it.

    Wrong in public, corrected in public

    When one of my leak analyses turned out to be wrong, I edited the post to say so in its first line.

    Report it, don't exploit it

    I test what I'm authorized to test. Phishing pages and abuse go straight to hosting providers and registrars.

    Teach what I learn

    From student clubs to awareness sessions in Morocco, I help less technical people protect themselves against scams and modern attacks.

    Build in the open

    Open-source tools on GitHub, and a Wazuh Ambassador badge for helping an open security platform reach more people.

    Own your infrastructure

    I self-host what I can, to stay close to my systems and away from platforms that monetize user data. This site loads nothing from third parties.

    Contact

    Let's connect.

    Reach out for collaboration, research conversations or cybersecurity opportunities.

    [email protected]