From an 8-host Raspberry Pi SOC lab to AWS: mapping our hybrid SIEM onto managed security services A student startup in Istanbul has mapped its hybrid SIEM — an 8-host Raspberry Pi lab combining Sigma rules with 4 ML classifiers (Logistic Regression, SGD, SVM and LightGBM) and gateway IP blocking — onto AWS managed services, starting with Amazon Security Lake for OCSF-normalized storage, Amazon OpenSearch Service Security Analytics for over 2,200 prepackaged Sigma rules, Amazon GuardDuty for managed threat detection, Amazon SageMaker AI for the models, and EventBridge plus Lambda for response. The team said GuardDuty severity is "an input, not the verdict," keeping its own hybrid risk score as the tunable per-site component, and it plans to block via an AWS WAF IP set before moving to AWS Network Firewall, which bills per endpoint-hour. The mapping matters because the 8-host lab can generate and label traffic but cannot serve customers with many endpoints and cloud workloads. From an 8-host Raspberry Pi SOC lab to AWS: mapping our hybrid SIEM onto managed security services We built a hybrid SIEM that combines Sigma rules with 4 ML classifiers and blocks attackers at the gateway. This article maps each layer to an AWS managed service, lists what stays custom, and gives a test plan that fits inside the AWS free trials. Student Context We are building a hybrid SIEM as a student startup in Istanbul. It combines rule-based detection with machine learning and responds by blocking IP addresses at the network gateway. The testbed is an 8-host lab on Raspberry Pis, a 10G switch and a gateway router. The lab is enough to generate and label traffic. It is not enough for customers with many endpoints and cloud workloads. Before we move any part of the system, we mapped each layer to an AWS managed service and marked what we still build ourselves. This article is that map, plus the test plan we use to check it. The system today | Layer | Lab implementation | |---|---| | Collection | Host and network logs from 8 lab hosts, stored on 1 central server | | Rule detection | Rule engine with Sigma rules mapped to MITRE ATT&CK | | ML detection | 4 classifiers Logistic Regression, SGD, SVM, LightGBM trained under 1 protocol | | Scoring | Hybrid risk score that combines rule hits and model output | | Response | IP blocking at the gateway | | Interface | Flask dashboard | The AWS mapping | Layer | AWS service | What it gives us | |---|---|---| | Collection and storage | Amazon Security Lake | Normalizes AWS logs and findings to OCSF and stores them as Parquet in our own S3 bucket. Lab hosts join as a custom source. | | Rule detection | Amazon OpenSearch Service, Security Analytics | Over 2,200 prepackaged Sigma rules, custom rule import, MITRE ATT&CK mapping. Needs OpenSearch 2.5 or later. | | Managed threat detection | Amazon GuardDuty | A new layer with no lab equivalent. Extended Threat Detection correlates weak signals into attack sequence findings at no extra cost. | | ML detection | Amazon SageMaker AI | Built-in Linear Learner covers our 2 linear models, built-in LightGBM covers the third. SVM runs as a script in the scikit-learn container. | | Response | Amazon EventBridge and AWS Lambda | GuardDuty emits 1 event per finding. Lambda updates an AWS WAF IP set, a network ACL or an AWS Network Firewall rule group. | | Interface | OpenSearch Dashboards | Findings, alerts and rules in one view. Replaces the Flask dashboard for analysts. | Three decisions from the mapping 1. OCSF comes first. Every later layer reads normalized events. Security Lake accepts custom sources only as OCSF 1.3 or earlier, in Parquet, with its partitioning rules. We write and validate the converter for our lab logs before anything else. 1. GuardDuty severity is an input, not the verdict. We feed GuardDuty findings into our hybrid risk score next to Sigma hits and model output. The score stays our own code, because it is the part we tune per site. 1. The block path stays small. The lab blocks at 1 gateway. On AWS the equivalent is 1 Lambda function behind 1 EventBridge rule. We start with a WAF IP set for web-facing targets and move to Network Firewall only when we need stateful inspection, since Network Firewall bills per endpoint-hour. The block path EventBridge rule for High and Critical GuardDuty findings: { "source": "aws.guardduty" , "detail-type": "GuardDuty Finding" , "detail": { "severity": { "numeric": " =", 7 } } } Lambda function that adds the remote IPs from a finding to a WAF IP set: python import boto3 waf = boto3.client "wafv2" IP SET = {"Name": "blocked-ips", "Scope": "REGIONAL", "Id": "