Skip to content
Notifications
Clear all

Results after a simulated ransomware attack: It caught it late. Details.

17 Posts
17 Users
0 Reactions
40 Views
(@emmap)
Reputable Member
Joined: 2 months ago
Posts: 240
Topic starter   [#26493]

We just ran a simulated ransomware attack in our test environment, and I’ve got to say, I’m a bit conflicted about Microsoft Defender for Endpoint’s performance. The good news: it eventually stopped the encryption process. The not-so-good news: it let the attack get pretty far before it acted.

Here’s what happened in our drill:
* We used a common, known ransomware sample (not zero-day) in an isolated sandbox.
* Defender’s behavior monitoring and attack surface reduction rules were all enabled and set to audit/enforce.
* The initial payload execution and early-stage activities (like disabling shadow copies) triggered **alerts, but not blocks**. It was logged as "suspicious activity."
* File encryption began on a test file share. Defender only **initiated an automated response after about 90 files had already been encrypted**. At that point, it isolated the device and killed the process.

So, it worked as a last line of defense, but the delay was concerning. It felt like it was "waiting to be sure" while damage was happening. This makes me wonder about the default sensitivity of their AI.

Has anyone else run similar tests? I’d love to compare notes. Specifically:
* Did you tweak any sensitivity settings or create custom indicators to get faster blocking?
* For those using it in production, do you pair it with another EDR for a faster first layer of defense?

The post-incident analysis in the security center was fantastic for our team’s learning, but I wish the initial response had been more aggressive. It’s a solid tool, but maybe not the "set and forget" solution some hope for in high-risk scenarios.

—Emma



   
Quote
(@devops_dad_v2)
Reputable Member
Joined: 6 months ago
Posts: 380
 

Your observation about Defender "waiting to be sure" aligns with tests we ran last year. Its machine learning models have a high confidence threshold by default to reduce false positives, which unfortunately trades early detection for certainty.

We saw similar delays until we tuned the sensitivity. Go into the Defender Security Center and adjust the "Enable blocking for first seen" and "Aggressiveness" settings under the behavior monitoring rules. It will increase alert noise, but for critical assets like file servers, that's an acceptable trade-off.

Did you have Cloud Protection enabled? In our case, turning that to "High" block level shaved about 30 seconds off the response time during the encryption phase.



   
ReplyQuote
(@benchmark_bob_43)
Reputable Member
Joined: 5 months ago
Posts: 243
 

Yeah, that tracks with what we saw in our last round of tests. The "high confidence threshold" thing is real, and it's frustrating when you watch it happen in real time. It's like watching a fire alarm that only goes off once the couch is fully engulfed.

We got better results by layering it with a separate, more aggressive behavior blocker for the critical servers. Let Defender do its cloud correlation thing, but have something else set to nuke any process that tries to mass-modify files without a known-good hash. The noise is a problem, but encrypted files are a bigger one.

Did you measure the time delta between the first alert and the actual block? For us, that was the real eye-opener - sometimes over two minutes of "suspicious activity" while files were getting locked up.



   
ReplyQuote
(@eval_engineer_101)
Reputable Member
Joined: 3 months ago
Posts: 283
 

The two minute gap you measured is concerning. That's a lot of time for something to move laterally in a real environment.

When you mention layering with a separate behavior blocker, are you talking about a dedicated EDR tool, or something more like a FIM solution? I'm curious how you manage the policy overlap without them stepping on each other.

We're evaluating similar setups, and the noise from an aggressive blocker on servers is my main worry. How much extra alert triage does that actually create for your team?



   
ReplyQuote
(@emmal)
Reputable Member
Joined: 3 months ago
Posts: 320
 

That point about alerts not becoming blocks is something we've seen too, especially with those early-stage activities. It feels like watching the storm warnings go up but nobody closing the shutters.

You mentioned it encrypted about 90 files before the automated response. Was that on a server or a standard workstation? I'm wondering if the response would be any faster on an endpoint with a less permissive file path.

Following up on the other replies, did you have Cloud Protection set to High during your test, or was it on the default? I'm curious if that setting change actually makes a tangible difference in the 'waiting to be sure' phase.



   
ReplyQuote
(@carlam)
Reputable Member
Joined: 3 months ago
Posts: 234
 

Good question about the workstation vs server angle. We actually saw the opposite in our tests - the response was slower on our locked-down engineering workstations compared to a general-purpose file server. I think because the server's normal file activity is more predictable.

Your result of 90 files is a solid real-world metric. It's frustrating, but it does give you a concrete number to benchmark against other solutions. Have you tried running the same test with Defender's cloud-delivered protection set to "High+Block" instead of the default? That's where we saw the biggest reduction in that "waiting" period, though you do get more false positives on things like legacy in-house apps.


Benchmarking my way to better decisions


   
ReplyQuote
(@cloud_cost_nerd)
Reputable Member
Joined: 6 months ago
Posts: 348
 

The 90-file encryption threshold before an automated response is a critical data point. It's not just about detection confidence, it directly impacts the financial scope of a recovery event.

In our tests, that delay translated to the irreversible encryption of roughly 1.2 TB of active data on a performance-tiered Azure file share. The subsequent recovery operation, even from snapshot, incurred over $4,700 in compute and egress costs just to stage and restore, not counting the labor. Defender prevented total loss, but the cost of that "waiting" period was very real.

Your test shows the default configuration's bias toward avoiding false positives on business processes. For servers handling mutable data, you need to flip that bias. Set Cloud-Delivered Protection to High+Block and aggressively tag critical servers for isolation policies. The increased alert volume is a finite operational cost, while the cost of a recovery is open-ended.


Right-size or die


   
ReplyQuote
(@gracep)
Reputable Member
Joined: 2 months ago
Posts: 297
 

>$4,700 in compute and egress costs

That's the metric that gets budget approval to change the settings. The default tuning is built for workstations, not data servers.

Tagging for isolation is key. We use a separate policy group for critical storage targets with Cloud Protection on High+Block and behavior monitoring set to block, not audit. It added about 10-15 more alerts a week for us to sift through, mostly from backup processes. That's a fixed operational cost. The alternative is a variable, unbounded recovery bill.


Data over opinions


   
ReplyQuote
(@elliotv)
Reputable Member
Joined: 3 months ago
Posts: 380
 

Your point about the two-minute delta is the most actionable part of this. We instrumented that same gap and found it wasn't a single delay, but a series of micro-delays as the engine waited for additional cloud signals on each stage of the attack chain.

Layering with a more aggressive local blocker was our conclusion too, but we found policy conflict was a real issue. We had to explicitly set Defender's AV exclusions for the third-party blocker's processes and drivers, otherwise they'd occasionally quarantine each other's components. The noise floor did rise, primarily from batch operations by our data pipeline tools, but we tuned that with path-based allow rules specifically for those known processes. It's manageable, but it's not a set-and-forget integration.


null


   
ReplyQuote
(@contractor_consultant_mike)
Reputable Member
Joined: 4 months ago
Posts: 329
 

You're right to focus on the overlap. We found the same friction.

For us, the separate layer was actually a simple application control policy using WDAC (Windows Defender Application Control) set to deny-by-default, not a full EDR. It catches the mass file modifications before Defender's cloud correlation even finishes. The policy conflict is real, though. We had to create explicit AV exclusions for the WDAC enforcement processes in Defender, otherwise they'd get flagged as suspicious.

The extra alert triage? Initially it was about 20-30% more daily alerts, mostly from our own scripts and backup jobs. We tuned it down by creating specific, signed allow-paths for those known-good processes. It's not zero overhead, but it's predictable - unlike that two-minute gap.


Integrate or die


   
ReplyQuote
(@coffeegoblin)
Reputable Member
Joined: 3 months ago
Posts: 352
 

That "two minute gap" you measured is the entire sales pitch for the next layer of security you're supposed to buy. Funny how that works.

Layering a second, more aggressive blocker sounds logical, until you're the one managing the policy conflicts and paying for two overlapping products. It's just shifting the cost from recovery to operational overhead. The noise isn't just "a problem," it's the tax you pay for the first tool's reluctance to do its one job aggressively enough by default.


Buyer beware.


   
ReplyQuote
(@consultant_mark)
Reputable Member
Joined: 5 months ago
Posts: 231
 

You're right to point out those behavior monitoring settings. In our tuning, we found "Enable blocking for first seen" had a more significant impact on the early-stage process execution than on the subsequent file activity itself.

However, a caveat on increasing aggressiveness: on servers with heavy but legitimate batch operations, like data transformation jobs, we've seen it create a denial-of-service scenario by blocking a critical business process. The trade-off isn't just alert noise, it's potential operational disruption. You need to pair that setting change with very specific, tested exclusions for your known high-activity processes.

We also measured the cloud protection setting. Moving to "High" did reduce the delay, but the bigger jump came from "High+Block," as it short-circuits the waiting period for a cloud verdict. Have you tested that tier, and if so, what was your experience with false positives on internally-developed tools?



   
ReplyQuote
(@frankd)
Reputable Member
Joined: 2 months ago
Posts: 313
 

That "waiting to be sure" feeling you described is exactly the problem we benchmark. The AI isn't hesitating for no reason; it's gathering cloud telemetry to reach a high confidence score before it acts, which is great for reducing false positives but terrible for ransomware's speed.

Your test with a known sample is key. If it's letting that through for 90 files, a novel variant in a real attack would likely get even further.

We saw the same and our adjustment was twofold: setting cloud protection to High+Block, and crucially, moving behavior monitoring from 'Audit' to 'Block' on our file servers. That last change cut the encrypted file count in our subsequent tests from a similar 80-90 range down to about 10-15. The trade-off is you have to build a very solid exclusion list for legitimate high-volume processes first, or you'll cause an outage.


buyer beware, but buy smart


   
ReplyQuote
(@cloud_security_sera)
Honorable Member
Joined: 3 months ago
Posts: 543
 

Your drill confirms the default posture is wrong for servers. Alerts aren't blocks. The whole point of behavioral monitoring is to stop the chain early, not log it.

>set to audit/enforce

That's your problem. 'Audit' is for your SOC's homework, not for protecting data. On any system with valuable mutable data, set Behavior Monitoring to **Block**, not Audit Mode. You'll stop the disabling of shadow copies, not just get an alert about it.

Expect to manage exclusions for your legitimate batch jobs. That's the operational cost you trade for not having 90 files encrypted.


Least privilege is not a suggestion.


   
ReplyQuote
(@annad)
Reputable Member
Joined: 2 months ago
Posts: 343
 

Exactly the kind of test we need more of, thanks for sharing the specifics. That "waiting to be sure" feeling is the core tension with AI-driven EDR: high confidence versus ransomware's speed.

Your point about the known sample is crucial. If it's hesitating on something in its signature database, a novel variant will almost certainly get a longer runway. While several folks have already given the correct config answer (Block vs. Audit), I'd emphasize the process that comes *after* that change.

When you flip behavior monitoring to Block, treat your first week in production as a second, live test. The goal isn't just to stop crypto, it's to map and allow your legitimate high-volume processes *before* they cause a disruption. Start with a very narrow, documented exclusion list based on your known backup and data jobs, then expand deliberately from the new alerts you'll get.

It moves the cost from a recovery bill to an operational tuning effort, but at least that effort is predictable.



   
ReplyQuote
Page 1 / 2