Blog
/
Network
/
décembre 14, 2021

Log4Shell Vulnerability Detection & Response With Darktrace

Learn how Darktrace's AI detects and responds to Log4Shell attacks. Explore real-world examples and see how Darktrace identified and mitigated cyber threats.
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
Max Heinemeyer
Global Field CISO
Written by
Justin Fier
SVP, Offensive Security
Default blog image
14
déc. 2021

In this blog, we’ll take a look at the Log4Shell vulnerability and provide real-world examples of how Darktrace detects and responds to attacks attempting to leverage Log4Shell in the wild.

Log4Shell is now the well-known name for CVE-2021-44228 – a severity 10 zero-day exploiting a well-known Java logging utility known as Log4j. Vulnerabilities are discovered daily, and some are more severe than others, but the fact that this open source utility is nested into nearly everything, including the Mars Ingenuity drone, makes this that much more menacing. Details and further updates about Log4Shell are still emerging at the publication date of this blog.

Typically, zero-days with the power to reach this many systems are held close to the chest and only used by nation states for high value targets or operations. This one, however, was first discovered being used against Minecraft gaming servers, shared in chat amongst gamers.

While all steps should be taken to deploy mitigations to the Log4Shell vulnerability, these can take time. As evidenced here, behavioral detection can be used to look for signs of post-exploitation activity such as scanning, coin mining, lateral movement, and other activities.

Darktrace initially detected the Log4Shell vulnerability targeting one of our customers’ Internet-facing servers, as you will see in detail in an actual anonymized threat investigation below. This was highlighted and reported using Cyber AI Analyst, unpacked here by our SOC team. Please take note that this was using pre-existing algorithms without retraining classifiers or adjusting response mechanisms in reaction to Log4Shell cyber-attacks.

How Log4Shell works

The vulnerability works by taking advantage of improper input validation by the Java Naming and Directory Interface (JNDI). A command comes in from an HTTP user-agent, encrypted HTTPS connection, or even a chat room message, and the JNDI sends that to the target system in which it gets executed. Most libraries and applications have checks and protections in place to prevent this from happening, but as seen here, they get missed at times.

Various threat actors have started to leverage the vulnerability in attacks, ranging from indiscriminate crypto-mining campaigns to targeted, more sophisticated attacks.

Real-world example 1: Log4Shell exploited on CVE ID release date

Darktrace saw this first example on December 10, the same day the CVE ID was released. We often see publicly documented vulnerabilities being weaponized within days by threat actors. This attack hit an Internet-facing device in an organization’s demilitarized zone (DMZ). Darktrace had automatically classified the server as an Internet-facing device based on its behavior.

The organization had deployed Darktrace in the on-prem network as one of many coverage areas that include cloud, email and SaaS. In this deployment, Darktrace had good visibility of the DMZ traffic. Antigena was not active in this environment, and Darktrace was in detection-mode only. Despite this fact, the client in question was able to identify and remediate this incident within hours of the initial alert. The attack was automated and had the goal of deploying a crypto-miner known as Kinsing.

In this attack, the attacker made it harder to detect the compromise by encrypting the initial command injection using HTTPS over the more common HTTP seen in the wild. Despite this method being able to bypass traditional rules and signature-based systems Darktrace was able to spot multiple unusual behaviors seconds after the initial connection.

Initial compromise details

Through peer analysis Darktrace had previously learned what this specific DMZ device and its peer group normally do in the environment. During the initial exploitation, Darktrace detected various subtle anomalies that taken together made the attack obvious.

  1. 15:45:32 Inbound HTTPS connection to DMZ server from rare Russian IP — 45.155.205[.]233;
  2. 15:45:38 DMZ server makes new outbound connection to the same rare Russian IP using two new user agents: Java user agent and curl over a port that is unusual to serve HTTP compared to previous behavior;
  3. 15:45:39 DMZ server uses an HTTP connection with another new curl user agent (‘curl/7.47.0’) to the same Russian IP. The URI contains reconnaissance information from the DMZ server.

All this activity was detected not because Darktrace had seen it before, but because it strongly deviated from the regular ‘pattern of life’ for this and similar servers in this specific organization.

This server never reached out to rare IP addresses on the Internet, using user agents it never used before, over protocol and port combinations it never uses. Every point-in-time anomaly itself may have presented slightly unusual behavior – but taken together and analyzed in the context of this particular device and environment, the detections clearly tell a bigger story of an ongoing cyber-attack.

Darktrace detected this activity with various models, for example:

  • Anomalous Connection / New User Agent to IP Without Hostname
  • Anomalous Connection / Callback on Web Facing Device

Further tooling and crypto-miner download

Less than 90 minutes after the initial compromise, the infected server started downloading malicious scripts and executables from a rare Ukrainian IP 80.71.158[.]12.

The following payloads were subsequently downloaded from the Ukrainian IP in order:

  • hXXp://80.71.158[.]12//lh.sh
  • hXXp://80.71.158[.]12/Expl[REDACTED].class
  • hXXp://80.71.158[.]12/kinsing
  • hXXp://80.71.158[.]12//libsystem.so
  • hXXp://80.71.158[.]12/Expl[REDACTED].class

Using no threat intelligence or detections based on static indicators of compromise (IoC) such as IPs, domain names or file hashes, Darktrace detected this next step in the attack in real time.

The DMZ server in question never communicated with this Ukrainian IP address in the past over these uncommon ports. It is also highly unusual for this device and its peers to download scripts or executable files from this type of external destination, in this fashion. Shortly after these downloads, the DMZ server started to conduct crypto-mining.

Darktrace detected this activity with various models, for example:

  • Anomalous File / Script from Rare External Location
  • Anomalous File / Internet Facing System File Download
  • Device / Internet Facing System with High Priority Alert

Surfacing the Log4Shell incident immediately

In addition to Darktrace detecting each individual step of this attack in real time, Darktrace Cyber AI Analyst also surfaced the overarching security incident, containing a cohesive narrative for the overall attack, as the most high-priority incident within a week’s worth of incidents and alerts in Darktrace. This means that this incident was the most obvious and immediate item highlighted to human security teams as it unfolded. Darktrace’s Cyber AI Analyst found each stage of this incident and asked the very questions you would expect of your human SOC analysts. From the natural language report generated by the Cyber AI Analyst, a summary of each stage of the incident followed by the vital data points human analysts need, is presented in an easy to digest format. Each tab signifies a different part of this incident outlining the actual steps taken during each investigative process.

The result of this is no sifting through low-level alerts, no need to triage point-in-time detections, no putting the detections into a bigger incident context, no need to write a report. All of this was automatically completed by the AI Analyst saving human teams valuable time.

The below incident report was automatically created and could be downloaded as a PDF in various languages.

Figure 1: Darktrace’s Cyber AI Analyst surfaces multiple stages of the attack and explains its investigation process

Real-world example 2: Responding to a different attack using Log4Shell

On December 12, another organization’s Internet-facing server was initially compromised via Log4Shell. While the details of the compromise are different – other IoCs are involved – Darktrace detected and surfaced the attack similarly to the first example.

Interestingly, this organization had Darktrace Antigena in autonomous mode on their server, meaning the AI can take autonomous actions to respond to ongoing cyber-attacks. These responses can be delivered via a variety of mechanisms, for instance, API interactions with firewalls, other security tools, or native responses issued by Darktrace.

In this attack the rare external IP 164.52.212[.]196 was used for command and control (C2) communication and malware delivery, using HTTP over port 88, which was highly unusual for this device, peer group and organization.

Antigena reacted in real time in this organization, based on the specific context of the attack, without any human in the loop. Antigena interacted with the organization’s firewall in this case to block any connections to or from the malicious IP address – in this case 164.52.212[.]196 – over port 88 for 2 hours with the option of escalating the block and duration if the attack appears to persist. This is seen in the illustration below:

Figure 2: Antigena’s response

Here comes the trick: thanks to Self-Learning AI, Darktrace knows exactly what the Internet-facing server usually does and does not do, down to each individual data point. Based on the various anomalies, Darktrace is certain that this represents a major cyber-attack.

Antigena now steps in and enforces the regular pattern of life for this server in the DMZ. This means the server can continue doing whatever it normally does – but all the highly anomalous actions are interrupted as they occur in real time, such as speaking to a rare external IP over port 88 serving HTTP to download executables.

Of course the human can change or lift the block at any given time. Antigena can also be configured to be in human confirmation mode, having the human in the loop at certain times during the day (e.g. office hours) or at all times, depending on an organization’s needs and requirements.

Conclusion

This blog illustrates further aspects of cyber-attacks leveraging the Log4Shell vulnerability. It also demonstrates how Darktrace detects and responds to zero-day attacks if Darktrace has visibility of the attacked entities.

While Log4Shell is dominating the IT and security news, similar vulnerabilities have surfaced in the past and will appear in the future. We’ve spoken about our approach to detecting and responding to similar vulnerabilities and surrounding cyber-attacks before, for instance:

As always, companies should aim for a defense-in-depth strategy combining preventative security controls with detection and response mechanisms, as well as strong patch management.

Thanks to Brianna Leddy (Darktrace’s Director of Analysis) for her insights on the above threat find.

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
Max Heinemeyer
Global Field CISO
Written by
Justin Fier
SVP, Offensive Security

More in this series

No items found.

Blog

/

AI

/

novembre 24, 2026

Black Friday phishing rises more than 1,200% ahead of holiday shopping weekend

Default blog imageDefault blog image

Black Friday creates conditions in which a fraudulent message can look routine. Shoppers expect promotional emails, unfamiliar sellers compete for attention, and limited-time offers encourage quick decisions. A fake discount or delivery notification can blend into those messages. The deception can continue after payment, through delivery, returns and customer support.

Darktrace’s latest analysis shows an increase in Black Friday phishing, with emails often concentrated into short periods. Between November 1 and 21, average daily volumes were more than 13 times those recorded in October. Among businesses receiving significant volumes, many received most of their Black Friday phishing emails on just a handful of days.

The risks also extend beyond the inbox. AI shopping assistants can help people compare prices and choose sellers, but their recommendations may draw on fabricated reviews or manipulated webpages. For shoppers and retailers, checking who and what to trust now includes the information behind an assistant’s recommendation.

Black Friday phishing volumes and delivery patterns  

The Black Friday phishing total for November 1–21 reached nine times the total recorded throughout October. In the six days to November 21, daily volumes were nearly 3 times those of the previous week. The daily average for Christmas-themed phishing also rose 117% over the period from October through Nov. 21.

Among businesses in the US and Canada, Black Friday phishing volumes in the week beginning November 16 reached nearly 27 times the October weekly average. Among businesses in EMEA, volumes reached nearly 12 times the October weekly average.

Black Friday themes also accounted for a growing share of phishing impersonating the global consumer brands tracked. Among phishing emails impersonating Amazon, Apple, eBay, Netflix, Alibaba and PayPal, nearly 13% were also flagged as likely Black Friday-related during November 16–21, roughly one in eight. That compares with 0.3% in October and 8% across November 1–21.

For businesses experiencing bursts, emails arrived on fewer days than expected, even after accounting for the seasonal rise in activity and weekday patterns. Across businesses receiving significant volume, half received at least 85% of their Black Friday phishing emails on just three days.

Retailers can be impersonated through websites and email infrastructure outside their control. An attacker can copy a brand’s name, imagery and promotional style without gaining access to the retailer’s systems. Being impersonated by attackers does not indicate that a brand’s own systems or services have been compromised.

Seasonal offers make suspicious requests harder to judge

Black Friday can make a risky decision feel reasonable. Someone trying to stretch a limited budget may spend longer searching for a gift, consider a retailer they have never used before or feel pressure to secure a discount before it disappears.  

Legitimate retailers use countdown timers, low stock warnings and delivery deadlines too. Urgency alone is therefore a poor way to distinguish a genuine offer from a scam. Excitement about finding the right gift can encourage a quick decision just as effectively as anxiety about a missing package.

Scams can also reach shoppers after a genuine purchase. Real delays and split orders make fake delivery problems believable. Returns and refunds create further openings, as do offers of help from someone impersonating customer support. A request to confirm an address or resolve a refund can feel like a routine part of the purchase.  

How AI shopping assistants can be manipulated

People are increasingly turning to AI to reduce the effort of finding gifts, comparing prices and choosing sellers. They may see a recommendation without seeing the sources behind it.

An assistant could recommend a seller after finding positive reviews and comparison pages that appear credible, even if those sources are fabricated. When several pages support the same seller, repetition can look like independent confirmation.  

Attackers can also place malicious instructions inside webpages to try to manipulate an AI system's recommendations or actions, a technique known as prompt injection. An attacker could therefore influence a purchase without persuading the shopper directly.  

Practical checks for holiday shoppers

  • Go directly to the source: Check offers, delivery problems and refund requests through the retailer’s official app or a website address you already know. Leave the message and check independently before sharing personal information or paying.
  • Pause before acting: Treat pressure to pay immediately or provide personal information as a reason to stop. Excitement about a bargain and anxiety about a missing gift can both encourage a quick response. Take a ten-minute break before deciding what to do, even if an offer appears to be expiring.
  • Check AI recommendations: Ask the assistant to identify the exact seller, website address, product, total price and return policy, then check those details independently. Treat its recommendation as a lead rather than proof that a seller is trustworthy. If the assistant can make purchases, require it to seek your approval before spending money.

Preparing retailers for peak periods

During Black Friday, retailers must protect payments, orders and customer service while managing higher transaction volumes and access for seasonal staff and suppliers. Teams need to understand how those systems connect so they can contain a compromised account or device without unnecessarily interrupting trading.

Retailers should update e-commerce platforms and plugins, require multi-factor authentication for administrative accounts and review access for temporary staff and suppliers. Staff need a clear way to report suspicious activity, supported by agreed escalation routes and incident response coverage during peak trading.

For businesses using chatbots or AI assistants, preparation should include reviewing what those tools can access and authorize. Customer identity should be verified before sensitive actions, with limits on automated decisions and human review for high-risk or unusual requests involving refunds, order changes or customer information.

Retailers should also monitor unusual purchasing and refund activity alongside fake domains, advertisements and social accounts impersonating their brand. Clear processes for reporting impersonation and requesting takedowns can help teams respond, while reliable support channels give customers a way to check unexpected requests.

Assessing email behavior during peak trading

Attackers can copy a retailer’s branding and write a plausible message, so neither is a reliable basis for deciding whether an email is safe. Email security needs to assess whether the sender’s behavior and request fit the recipient’s usual communications. Identifying and stopping malicious messages as they arrive reduces reliance on employees recognizing and reporting each attack.

Darktrace / EMAIL™ learns how each organization and its people communicate, helping it assess whether a message fits their expected relationships and behavior. By examining behavioral signals alongside message content and links, it helps identify phishing, impersonation and social engineering, including unfamiliar attacks using polished language.

With autonomous response enabled, Darktrace / EMAIL can take action on malicious messages, reducing reliance on someone recognizing and reporting an attack. Connecting email activity with wider account and identity behavior also helps security teams investigate signs of compromise during a busy trading period.

Learn more about Darktrace / EMAIL.

Methodology

Insights derive from anonymized, aggregated live data across customers protected by Darktrace / EMAIL. Darktrace used separate detection models to track phishing emails that:

  • Explicitly mentioned Black Friday.
  • Explicitly mentioned Christmas or Xmas.
  • Impersonated selected US retailers: Walmart, Target, Best Buy, Macy’s, Old Navy and 1-800-Flowers.
  • Impersonated selected global brands: Amazon, Apple, eBay, Netflix, Alibaba and PayPal.

Tracking covered September 1 to November 21, 2026. October provides the baseline for comparisons unless otherwise stated. Identified phishing simulations were excluded from the Black Friday and Christmas figures. Reported volumes are based on detection counts.

Brand impersonation emails did not necessarily mention Black Friday. Emails were counted as both brand impersonation and Black Friday-related when both detection models flagged the same email event.

Burst analysis focused on deployments receiving significant volumes of Black Friday phishing (i.e., at least 20 detections over the tracking period). A deployment was classified as experiencing bursts if its alerts occurred on significantly fewer days than expected and at least half fell on its three busiest days. Expected activity was modeled using daily phishing patterns across other deployments, accounting for the seasonal increase and weekday patterns.

Darktrace, Darktrace / EMAIL and the Darktrace logo are trademarks or registered trademarks of Darktrace Holdings Limited. All other trademarks and brand names referenced are the property of their respective owners and are used for identification purposes only; their use does not imply any affiliation with or endorsement by those owners.

Continue reading
About the author
Nathaniel Jones
SVP, Global Threat Intelligence

Blog

/

AI

/

novembre 19, 2026

Microsoft Perception, Agentic Insiders and the Role of Behavioral Security

Default blog imageDefault blog image

This week at Ignite, Microsoft announced that Microsoft Perception is generally available. It is a significant milestone for the industry, and one we welcome as a Microsoft partner. Microsoft is putting an architectural bet at the center of its security strategy: AI has changed the speed of cyber, and defense must change with it.

At Darktrace, we’ve long held the same view, so it’s encouraging to see a partner of Microsoft’s scale articulate it so clearly and bring it to market.

Security gets a team of agents

Perception is Microsoft’s agentic security system. It orchestrates red, blue, and green team agents through playbooks in a closed loop: red agents simulate attacks, blue agents detect, triage and investigate, and green agents fix and remediate. Rather than adding another assistant to the SOC, it creates coordinated teams of agents that share context. Security teams set the guardrails and approve high-impact actions.

Microsoft frames this as a three-layer cyber stack: signals, sensors and actuators; a context layer; and agents, harness and models on top. Together with partner sources, the foundation produces more than 165 trillion signals per day.  

The announcement also makes a second point that matters just as much. Microsoft is treating AI agents themselves as a new insider-risk category. In its words, “Agents are the new insiders.” They work at machine speed, around the clock, with broad access to data, apps, tools and other agents, and like any insider they can make mistakes, be manipulated or be compromised. New capabilities such as Dynamic Agent Risk (now in preview) and dynamic Conditional Access controls are designed to assess and contain that risk as it changes.

Four truths about security in the agentic era

The announcement is built on four ideas, and together they describe the new reality security teams are defending:

  1. Static security can’t keep up. Microsoft validates what many security practitioners have observed; the window between a vulnerability’s discovery and its exploitation is collapsing from months to minutes. Manual triage can’t answer that pace. Autonomous detection and response is now a requirement, not simply a “nice to have”.
  2. Agents must be treated as insiders. The question for security teams is no longer only “who is this user?” but “what is this agent actually doing?” Identity tells you who an agent is. Policy tells you what it is allowed to do. Neither tells you whether its behavior is normal.
  3. Security is moving from signatures to behavior and context. Dynamic Agent Risk looks across identity, data, endpoint, cloud and network signals and asks whether an agent’s actions are drifting from the intent of its task. That is behavioral thinking, and it is philosophically close to the Adaptive AI approach Darktrace has pioneered.
  4. Machine-speed attacks demand machine-speed response. Humans set the objectives and guardrails. Autonomous systems do the work inside them, both detecting and acting. Microsoft’s design has agents investigate, recommend and, within approved boundaries, act, with security teams setting the limits. At this pace, the gap between knowing something is wrong and doing something about it has to close to seconds.

The opportunity: where control plane meets behavioral context

Perception is an extraordinary control plane for agentic security. The question for security leaders is how to make it even more effective in the environments they actually run.

Real enterprises are heterogeneous. They run AWS and Google Cloud alongside Azure, and OT, IoT and third-party identity alongside Entra. Increasingly they also run AI agents and MCP-connected systems that no single vendor’s telemetry fully covers. Microsoft’s architecture recognizes this, with more than 500 connectors into the wider ecosystem.

That is where Darktrace’s role is distinct. The challenge isn’t signal volume, where Microsoft’s scale is unmatched. It’s deeply understanding what is normal for a specific organization, across every system, identity and agent in it. Together, we deliver two complementary layers:

  • Microsoft brings global intelligence and orchestration. It tells you what is known, what it means and what to do about it.
  • Darktrace brings organization-specific behavioral context. It tells you what is unusual here, right now, across the organizations AI, people and infrastructure, even if it has never been seen before.

The difference shows up in the numbers. A large enterprise generates billions of signals. Darktrace turns them into thousands of incidents, narrows those to hundreds of AI-led investigations, and surfaces as few as 20 that merit a human’s attention. For an agentic SOC, that kind of evaluated, prioritized input makes agents faster, not busier.

As enterprises deploy more agents, the hard problem becomes behavior that is technically permitted but unusual, manipulated or inconsistent with the agent’s purpose. Consider an agent that normally reads Salesforce records during US business hours and suddenly starts enumerating SharePoint and opening unusual outbound connections. Each step may use valid access and approved tools, so identity and policy checks can all pass. Spotting it requires knowing the behavior is abnormal for this agent, in this environment, right now.

That is why one principle in Microsoft’s AI Transparency Initiative matters so much: organizations should be able to see what their AI accesses and does, and independently verify those actions.  

  • Identity and permissions answer “should this agent be allowed to do this?”
  • Behavioral defense answers “even though it is allowed, is what it’s doing normal?”

Deterministic controls around non-deterministic AI are the right foundation, and continuously learned baselines are how organizations can verify those controls are working. ‍

What to look for in an agentic SOC architecture

As organizations adopt platforms like Perception, we’d encourage them to look for three capabilities:

  1. Behavioral context in the control plane. Agents work best with high-confidence signals rather than thousands of raw alerts: here is the behavior that materially deviates from this organization’s learned normal.
  2. ‍Behavioral reasoning on demand. During an investigation, agents should be able to ask what changed around a given identity, device or agent in the last 24 hours, and get a clear answer. ‍
  3. Autonomous, coordinated response across the stack. Response should be as fast as the threat without being reckless: acting immediately when confidence is high, constraining or reversing actions when it isn’t, and keeping a human in the loop when it matters. Within policy and human-approval guardrails, it should target the abnormal behavior rather than the whole business process and span identity, endpoint and the wider environment.

These are the areas where we’re focused, and where we look forward to working with Microsoft and the broader ecosystem.

Response is where speed is won or lost

In the AI era, detection and investigation only matter if action follows quickly. Perception brings agentic orchestration to that problem, with security teams setting the guardrails and approving high-impact steps. Autonomous response from Darktrace takes a complementary approach: it responds on behavioral deviation, in a way that is proportionate and targeted. It can interrupt activity that is abnormal for that specific device, identity or agent while leaving normal business activity running.

The two approaches fit together naturally. Behavioral signals can tell an orchestration layer that something has changed and how confident the system is. Orchestrated playbooks can then coordinate wider containment across identity, endpoint and cloud, within the policies customers define.

The bigger picture

The industry’s architecture is converging on identity, policy, telemetry, behavior, autonomous reasoning and machine-speed response. Microsoft is building formidable pieces of that picture, especially identity, policy, telemetry and orchestration.

Behavior is the layer Darktrace is built to provide: an independent intelligence that continuously learns how humans, machines and AI agents normally act, detects the moment reality departs from intent, and can respond to that deviation in a targeted, proportionate way that keeps normal business running. When attacks move at machine speed, understanding what is abnormal and acting on it quickly have to go together.

Perception brings together what Microsoft knows and orchestrates the response across its stack. Darktrace helps organizations understand what is normal for them and act on what isn’t. Customers building their agentic security strategy will need both.

Congratulations to our partners at Microsoft on this milestone. We look forward to helping customers secure the agentic era together.

Learn more about Darktrace Behavioral Defense.

Continue reading
About the author
Kellie Regan
Director, Product Marketing - Cloud Security
Your data. Our AI.
Elevate your network security with Darktrace AI