Blog
/
Email
/
November 4, 2025

Why API + Journaling Delivers Faster, SLA-Backed Email Security for Microsoft 365

Discover how Darktrace’s API + Journaling cuts email threat detection latency by up to 30x vs API-only, boosting speed, reliability, and resilience for Microsoft 365.
Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Carlos Gray
Senior Product Marketing Manager, Email
Woman typing at laptopDefault blog imageDefault blog imageDefault blog imageDefault blog imageDefault blog imageDefault blog image
04
Nov 2025

Darktrace / EMAIL offers flexible deployment options, seamlessly integrating with Microsoft 365 and other native providers to protect against advanced threats across email and collaboration channels. Gartner analysts recommend API-based integrations for modern email security and customers consistently rate these approaches highly on Gartner Peer Insights.

But not all API integrations are equal. This blog explores an option uniquely offered by Darktrace: API + Journaling, and why it matters for speed, reliability, and resilience.

API + Journaling: What it is and why it’s different

Most Integrated Cloud Email Security (ICES) solutions rely on API-only ingestion, which:

  • Subscribes to Microsoft Graph change notifications
  • Fetches and analyzes messages after delivery
  • Quarantines or retracts malicious messages post-inbox

This works, but introduces notification latency. Microsoft Graph aims for near-real-time delivery, but practical delays can range from seconds to minutes, especially under load or retry conditions. Even a one-second delay matters when email is your most critical communication channel.

API + Journaling solves this.

By adding journaling in Microsoft 365, Darktrace receives a copy of the raw email while it’s still in the transport pipeline – before it hits the inbox. That means:

  • Analysis runs in parallel with Microsoft’s native defenses
  • Detection decisions happen pre-delivery, not after
  • Latency is dramatically reduced, and long-tail delays are eliminated

A modern, security-relevant approach

While journaling was originally introduced in Microsoft Exchange for compliance and archiving, it has evolved into a mature, well-documented feature that is widely used for both compliance and security monitoring. Microsoft’s own documentation recognizes journaling as a supported, secure, and configurable mechanism for message capture. In modern ICES deployments, journaling is leveraged not just for archiving, but for real-time, pre-delivery analysis, enabling faster detection and response to threats.

What I appreciate most is the simplicity of setting it up and configuring it."

Latency advantage: Measured in real environments

Our measurements across real customer deployments confirm the performance gap between API-only and API + Journaling deployments when evaluating the time taken to receive a single email:

Metric API-only API + Journaling Improvement
Median 1.31 s 0.53 s ~2.5×
Mean (trimmed) 1.98 s 0.57 s ~3.5×
Mean (raw) 21.88 s 0.75 s ~30×

The bottom line?

API + Journaling consistently cuts detection latency by 2–3x in typical scenarios and mitigates long-tail delays by up to ~30x – a critical advantage when every second counts. That could be the difference between actioning an email before a user sees it within their inbox or after, avoiding user confusion and erroneous email notifications that disappear by the time they go into Outlook.

Their Proof of Life, learning your environment and user behaviour and the things it has automatically noted were amazing. There has not been a single case of phishing in our organization since its deployment."

And speed isn’t the only benefit

API + Journaling doesn’t only benefit email users in terms of delivery speed. It also offers:

  • Robustness backed by SLAs: Journaling leverages Microsoft 365’s Exchange Online transport pipeline, which operates under Microsoft’s financially backed 99.9% availability SLA. API notifications, by contrast, are best-effort and carry no latency guarantee
  • Resilience against API throttling: Journaling avoids variability from Graph webhook delivery and retries
  • Defense in depth: Parallel analysis with native security reduces exposure windows and strengthens posture

Flexible deployment, clear recommendation

Darktrace / EMAIL supports multiple integration patterns, including API-only for environments where journaling isn’t feasible. API-only deployments remain a flexible option for organizations with specific requirements or constraints. However, for those prioritizing speed, reliability, and SLA-backed assurance, API + Journaling is our recommended approach.

All integration styles have trade-offs, and the right choice depends on your organization’s needs and constraints. Darktrace’s integration with Microsoft 365 is fully supported and aligns with Microsoft’s best practices for ICES vendors. Our approach delivers both operational efficiency and enhanced detection, as validated by customer results and independent analyst recognition. We recommend API + journaling for organizations seeking the best balance of speed, clarity, and resilience.

Ready to accelerate your email threat detection? Contact us to get a demo and we’ll walk you through our deployment options.

Journaling Myths & Facts: FAQ

Q: Is journaling slow, outdated, or risky compared to API-only approaches?
A: No. Journaling is a mature, well-documented Microsoft feature, widely used for compliance and security monitoring. When implemented with proper controls, journaling is secure and compliant. Data is isolated, access-controlled, and never shared across customers. Importantly, journaling does not “move” the original email out of Microsoft 365; it simply creates a copy for analysis, leaving the original message flow intact. Pre-delivery journaling enables parallel analysis with native security, reducing risk, not increasing it.

Q: Is it true that Microsoft does not recommend using Journaling and/or post-delivery actions?  
A: No, Microsoft clearly states that they do not recommend these methods for security benchmarking specifically. However, as a deployment method, it is a perfectly valid approach with more consistent delivery times than relying on APIs exclusively.  

Q: Does API + Journaling create fragmented visibility or complicate investigations?
A: Other solutions may create duplicated visibility but Darktrace’s deployment ensures message IDs are preserved, maintaining operational clarity and traceability for SOC teams. Our integration is designed to avoid message duplication and supports unified investigation workflows. API + journaling is unique in providing both speed and clarity, with proven customer outcomes such as reducing malicious messages to zero in large enterprise environments.

Q: Is journaling secure and compliant?
A: Yes. Journaling data is isolated, access-controlled, and never shared across customers. Microsoft provides clear guidance on secure journaling configurations and compliance best practices.

Q: Does journaling mean there is no internal or lateral email monitoring?
A: Darktrace can be configured to capture internal, external, or all messages, ensuring full visibility for compliance and threat detection.

Q: What if my organization can’t use journaling?
A: Darktrace / EMAIL still supports API-only deployments, providing flexibility for organizations with unique requirements.

References

Microsoft Online Services SLA (Exchange Online)

Configure Journaling in Exchange Online

Journaling in Exchange Online

Microsoft Graph API Change Notifications

Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Carlos Gray
Senior Product Marketing Manager, Email

More in this series

No items found.

Blog

/

Cloud

/

March 5, 2026

Inside Cloud Compromise: Investigating Attacker Activity with Darktrace / Forensic Acquisition & Investigation

Forensic Acquisition and investigationDefault blog imageDefault blog image

Investigating cloud attacks with Darktrace/ Forensic Acquisition & Investigation

Darktrace / Forensic Acquisition & Investigation™ is the industry’s first truly automated forensic solution purpose-built for the cloud. This blog will demonstrate how an investigation can be carried out against a compromised cloud server in minutes, rather than hours or days.

The compromised server investigated in this case originates from Darktrace’s Cloudypots system, a global honeypot network designed to observe adversary activity in real time across a wide range of cloud services. Whenever an attacker successfully compromises one of these honeypots, a forensic copy of the virtual server's disk is preserved for later analysis. Using Forensic Acquisition & Investigation, analysts can then investigate further and obtain detailed insights into the compromise including complete attacker timelines and root cause analysis.

Forensic Acquisition & Investigation supports importing artifacts from a variety of sources, including EC2 instances, ECS, S3 buckets, and more. The Cloudypots system produces a raw disk image whenever an attack is detected and stores it in an S3 bucket. This allows the image to be directly imported into Forensic Acquisition & Investigation using the S3 bucket import option.

As Forensic Acquisition & Investigation runs cloud-natively, no additional configuration is required to add a specific S3 bucket. Analysts can browse and acquire forensic assets from any bucket that the configured IAM role is permitted to access. Operators can also add additional IAM credentials, including those from other cloud providers, to extend access across multiple cloud accounts and environments.

Figure 1: Forensic Acquisition & Investigation import screen.

Forensic Acquisition & Investigation then retrieves a copy of the file and automatically begins running the analysis pipeline on the artifact. This pipeline performs a full forensic analysis of the disk and builds a timeline of the activity that took place on the compromised asset. By leveraging Forensic Acquisition & Investigation’s cloud-native analysis system, this process condenses hour of manual work into just minutes.

Successful import of a forensic artifact and initiation of the analysis pipeline.
Figure 2: Successful import of a forensic artifact and initiation of the analysis pipeline.

Once processing is complete, the preserved artifact is visible in the Evidence tab, along with a summary of key information obtained during analysis, such as the compromised asset’s hostname, operating system, cloud provider, and key event count.

The Evidence overview showing the acquired disk image.
Figure 3: The Evidence overview showing the acquired disk image.

Clicking on the “Key events” field in the listing opens the timeline view, automatically filtered to show system- generated alarms.

The timeline provides a chronological record of every event that occurred on the system, derived from multiple sources, including:

  • Parsed log files such as the systemd journal, audit logs, application specific logs, and others.
  • Parsed history files such as .bash_history, allowing executed commands to be shown on the timeline.
  • File-specific events, such as files being created, accessed, modified, or executables being run, etc.

This approach allows timestamped information and events from multiple sources to be aggregated and parsed into a single, concise view, greatly simplifying the data review process.

Alarms are created for specific timeline events that match either a built-in system rule, curated by Darktrace’s Threat Research team or an operator-defined rule  created at the project level. These alarms help quickly filter out noise and highlight on events of interest, such as the creation of a file containing known malware, access to sensitive files like Amazon Web Service (AWS) credentials, suspicious arguments or commands, and more.

 The timeline view filtered to alarm_severity: “1” OR alarm_severity: “3”, showing only events that matched an alarm rule.
Figure 4: The timeline view filtered to alarm_severity: “1” OR alarm_severity: “3”, showing only events that matched an alarm rule.

In this case, several alarms were generated for suspicious Base64 arguments being passed to Selenium. Examining the event data, it appears the attacker spawned a Selenium Grid session with the following payload:

"request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [-cimport base64;exec(base64...], binary: /usr/bin/python3, extensions: []}, pageLoadStrategy: normal}]"

This is a common attack vector for Selenium Grid. The chromeOptions object is intended to specify arguments for how Google Chrome should be launched; however, in this case the attacker has abused the binary field to execute the Python3 binary instead of Chrome. Combined with the option to specify command-line arguments, the attacker can use Python3’s -c option to execute arbitrary Python code, in this instance, decoding and executing a Base64 payload.

Selenium’s logs truncate the Arguments field automatically, so an alternate method is required to retrieve the full payload. To do this, the search bar can be used to find all events that occurred around the same time as this flagged event.

Pivoting off the previous event by filtering the timeline to events within the same window using timestamp: [“2026-02-18T09:09:00Z” TO “2026-02-18T09:12:00Z”].
Figure 5: Pivoting off the previous event by filtering the timeline to events within the same window using timestamp: [“2026-02-18T09:09:00Z” TO “2026-02-18T09:12:00Z”].

Scrolling through the search results, an entry from Java’s systemd journal can be identified. This log contains the full, unaltered payload. GCHQ’s CyberChef can then be used to decode the Base64 data into the attacker’s script, which will ultimately be executed.

Decoding the attacker’s payload in CyberChef.
Figure 6: Decoding the attacker’s payload in CyberChef.

In this instance, the malware was identified as a variant of a campaign that has been previously documented in depth by Darktrace.

Investigating Perfctl Malware

This campaign deploys a malware sample known as ‘perfctl to the compromised host. The script executed by the attacker downloads a Go binary named “promocioni.php” from 200[.]4.115.1. Its functionality is consistent with previously documented perfctl samples, with only minor changes such as updated filenames and a new command-and-control (C2) domain.

Perfctl is a stealthy malware that has several systems designed  to evade detection. The main binary is packed with UPX, with the header intentionally tampered with to prevent unpacking using regular tools. The binary also avoids executing any malicious code if it detects debugging or tracing activity, or if artifacts left by earlier stages are missing.

To further aid its evasive capabilities, perfctl features a usermode rootkit using an LD preload. This causes dynamically linked executables to load perfctl’s rootkit payload before other system modules, allowing it to override functions, such as intercepting calls to list files and hiding output from the returned list. Perfctl uses this to hide its own files, as well as other files like the ld.so.preload file, preventing users from identifying that a rootkit is present in the first place.

This also makes it difficult to dynamically analyze, as even analysts aware of the rootkit will struggle to get around it due to its aggressiveness in hiding its components. A useful trick is to use the busybox-static utilities, which are statically linked and therefore immune to LD preloading.

Perfctl will attempt to use sudo to escalate its permissions to root if the user it was executed as has the required privileges. Failing this, it will attempt to exploit the vulnerability CVE-2021-4034.

Ultimately, perfctl will attempt to establish a C2 link via Tor and spawn an XMRig miner to mine the Monero cryptocurrency. The traffic to the mining pool is encapsulated within Tor to limit network detection of the mining traffic.

Darktrace’s Cloudypots system has observed 1,959 infections of the perfctl campaign across its honeypot network in the past year, making it one of the most aggressive campaigns seen by Darktrace.

Key takeaways

This blog has shown how Darktrace / Forensic Acquisition & Investigation equips defenders in the face of a real-world attacker campaign. By using this solution, organizations can acquire forensic evidence and investigate intrusions across multiple cloud resources and providers, enabling defenders to see the full picture of an intrusion on day one. Forensic Acquisition & Investigation’s patented data-processing system takes advantage of the cloud’s scale to rapidly process large amounts of data, allowing triage to take minutes, not hours.

Darktrace / Forensic Acquisition & Investigation is available as Software-as-a-Service (SaaS) but can also be deployed on-premises as a virtual application or natively in the cloud, providing flexibility between convenience and data sovereignty to suit any use case.

Support for acquiring traditional compute instances like EC2, as well as more exotic and newly targeted platforms such as ECS and Lambda, ensures that attacks taking advantage of Living-off-the-Cloud (LOTC) strategies can be triaged quickly and easily as part of incident response. As attackers continue to develop new techniques, the ability to investigate how they use cloud services to persist and pivot throughout an environment is just as important to triage as a single compromised EC2 instance.

Credit to Nathaniel Bill (Malware Research Engineer)

Continue reading
About the author
Nathaniel Bill
Malware Research Engineer

Blog

/

AI

/

March 2, 2026

What the Darktrace Annual Threat Report 2026 Means for Security Leaders

Image of the Earth from spaceDefault blog imageDefault blog image

The challenge for today’s CISOs

At the broadest level, the defining characteristic of cybersecurity in 2026 is the sheer pace of change shaping the environments we protect. Organizations are operating in ecosystems that are larger, more interconnected, and more automated than ever before – spanning cloud platforms, distributed identities, AI-driven systems, and continuous digital workflows.  

The velocity of this expansion has outstripped the slower, predictable patterns security teams once relied on. What used to be a stable backdrop is now a living, shifting landscape where technology, risk, and business operations evolve simultaneously. From this vantage point, the central challenge for security leaders isn’t reacting to individual threats, but maintaining strategic control and clarity as the entire environment accelerates around them.

Strategic takeaways from the Annual Threat Report

The Darktrace Annual Threat Report 2026 reinforces a reality every CISO feels: the center of gravity isn’t the perimeter, vulnerability management, or malware, but trust abused via identity. For example, our analysis found that nearly 70% of incidents in the Americas region begin with stolen or misused accounts, reflecting the global shift toward identity‑led intrusions.

Mass adoption of AI agents, cloud-native applications, and machine decision-making means CISOs now oversee systems that act on their own. This creates an entirely new responsibility: ensuring those systems remain safe, predictable, and aligned to business intent, even under adversarial pressure.

Attackers increasingly exploit trust boundaries, not firewalls – leveraging cloud entitlements, SaaS identity transitions, supply-chain connectivity, and automation frameworks. The rise of non-human identities intensifies this: credentials, tokens, and agent permissions now form the backbone of operational risk.

Boards are now evaluating CISOs on business continuity, operational recovery, and whether AI systems and cloud workloads can fail safely without cascading or causing catastrophic impact.

In this environment, detection accuracy, autonomous response, and blast radius minimization matter far more than traditional control coverage or policy checklists.

Every organization will face setbacks; resilience is measured by how quickly security teams can rise, respond, and resume momentum. In 2026, success will belong to those that adapt fastest.

Managing business security in the age of AI

CISO accountability in 2026 has expanded far beyond controls and tooling. Whether we asked for it or not, we now own outcomes tied to business resilience, AI trust, cloud assurance, and continuous availability. The role is less about certainty and more about recovering control in an environment that keeps accelerating.

Every major 2026 initiative – AI agents, third-party risk, cloud, or comms protection – connects to a single board-level question: Are we still in control as complexity and automation scale faster than humans?

Attackers are not just getting more sophisticated; they are becoming more automated. AI changes the economics of attack, lowering cost and increasing speed. That asymmetry is what CISOs are being measured against.

CISOs are no longer evaluated on tool coverage, but on the ability to assure outcomes – trust in AI adoption, resilience across cloud and identity, and being able to respond to unknown and unforeseen threats.

Boards are now explicitly asking whether we can defend against AI-driven threats. No one can predict every new behavior – survival depends on detecting malicious deviations from normal fast and responding autonomously.  

Agents introduce decision-making at machine speed. Governance, CI/CD scanning, posture management, red teaming, and runtime detection are no longer differentiators but the baseline.

Cloud security is no longer architectural, it is operational. Identity, control planes, and SaaS exposure now sit firmly with the CISO.

AI-speed threats already reshaping security in 2026

We’re already seeing clear examples of how quickly the threat landscape has shifted in 2026. Darktrace’s work on React2Shell exposed just how unforgiving the new tempo is: a honeypot stood up with an exposed React was hit in under two minutes. There was no recon phase, no gradual probing – just immediate, automated exploitation the moment the code appeared publicly. Exposure now equals compromise unless defenses can detect, interpret, and act at machine speed. Traditional operational rhythms simply don’t map to this reality.

We’re also facing the first wave of AI-authored malware, where LLMs generate code that mutates on demand. This removes the historic friction from the attacker side: no skill barrier, no time cost, no limit on iteration. Malware families can regenerate themselves, shift structure, and evade static controls without a human operator behind the keyboard. This forces CISOs to treat adversarial automation as a core operational risk and ensure that autonomous systems inside the business remain predictable under pressure.

The CVE-2026-1731 BeyondTrust exploitation wave reinforced the same pattern. The gap between disclosure and active, global exploitation compressed into hours. Automated scanning, automated payload deployment, coordinated exploitation campaigns, all spinning up faster than most organizations can push an emergency patch through change control. The vulnerability-to-exploit window has effectively collapsed, making runtime visibility, anomaly detection, and autonomous containment far more consequential than patching speed alone.

These cases aren’t edge scenarios; they represent the emerging norm. Complexity and automation have outpaced human-scale processes, and attackers are weaponizing that asymmetry.  

The real differentiator for CISOs in 2026 is less about knowing everything and more about knowing immediately when something shifts – and having systems that can respond at the same speed.

[related-resource]

Continue reading
About the author
Mike Beck
Global CISO
Your data. Our AI.
Elevate your network security with Darktrace AI