Cloud SIEM for AWS Fundamentals Certification / 07 / 07

Optimization and Best Practices

What this domain covers

The last domain covers how to refine Cloud SIEM while operating it once it is up and running. You learn how aligning the shape of logs with OCSF makes detections easier to write, how to use threat intelligence correctly and bring in your own indicators, how to reduce noise with suppression rules, and how to track rule changes by version and manage them as code. The differences in what similarly named features work on (signals or findings) and operational limits such as the reference table limit are also within the scope of the exam.

Topics listed in the official guide

  • Data normalization with OCSF
  • Threat intelligence and security investigation
  • Automation and operational improvement
  • Team development and training
  • Platform management and continuous optimization

Key points

  • OCSF values are added to the dedicated ocsf attribute, and the original attributes remain
  • When OCSF aligns the attributes, a detection condition written once can be applied to multiple sources
  • The only threat intelligence keys to use in detection rules are @threat_intel.results.category and @threat_intel.results.intention
  • IP addresses are the most volatile element of threat intelligence, and blocking on IP and domain alone is not recommended
  • Bring-your-own threat intelligence uses a reference table for each indicator type, with primary keys such as ip_address and sha256
  • Reference tables loaded from cloud storage are replaced in full on each refresh. It can take 10 to 30 minutes before enrichment starts
  • Writing suppressions with log or event attributes is recommended. Suppressions on signal attributes are evaluated only at creation
  • Suppression rules can have an expiration date
  • Check who made changes and the differences in a rule's Version History, and export it to JSON or Terraform with Export
  • Findings Automation Pipelines works on findings, not signals. Reference tables with over 1 million rows cannot be used to filter events

Terms and concepts

OCSF (Open Cybersecurity Schema Framework)

A vendor-neutral open standard for organizing and classifying security event data. In Cloud SIEM, OCSF attributes are added by the out-of-the-box pipelines at ingestion.

Benefits of OCSF

A detection condition written once can be applied to multiple sources, and investigations can search across sources with a single query. Events can be correlated across sources, and when you add a new source, the expected shape stays the same.

Threat intelligence matching

Datadog compares ingested logs with threat intelligence indicators and adds threat_intel attributes when they match. In rules, use only the category and intention keys. Datadog does not send customer data to threat intelligence providers.

How volatile indicators are

File hashes do not change, domains come next, and IP addresses are the most volatile element. Because an IP address's reputation can change within 24 hours, judge it together with other evidence.

Bring-your-own threat intelligence

A way to bring in your own indicators with reference tables. You create a table for each indicator type and include the category, intention, and source columns. You either upload it by hand or load it periodically from Amazon S3 or similar.

Reference table refreshes and limits

Tables created from cloud storage are refreshed periodically, and each refresh replaces the whole table. Rows with a duplicated primary key are skipped. Tables with over 1 million rows cannot be used to filter events.

Suppression rules

Rules that prevent signals with set conditions from being generated, and they can be used across multiple detection rules. Conditions are written with signal attributes or with log or event attributes, and the latter is recommended. You can also add an expiration date.

Rule version management and edit restrictions

With Rule Version History you can check past versions, who made changes, and the differences between versions. With Restrict Access you can limit the roles, teams, and users who can edit a rule.

Exporting rules

Open a rule and choose Export to export it in JSON or Terraform format. You use this when keeping the same rules in multiple organizations or when managing settings as code.

Findings Automation Pipelines and Workflow Automation

Findings Automation Pipelines is a feature that automates, with rules, how newly discovered findings are handled. To automate the response to signals, use Workflow Automation, starting from blueprints and combining over 2000 actions.

Check your understanding

Check what you have learned with 5 questions