Skip to content
Misconfiguration Write-up Advanced

How I Bypassed Crowdstrike Restriction

The author bypassed CrowdStrike EDR by using MSBuild to execute PowerShell and Mimikatz, then dumped local password hashes by saving the SAM and SYSTEM registry hives offline. This allowed credential theft despite the EDR blocking direct LSASS dumping.

medium.com

Published on medium.com

Crowdstrike is a set of advanced EDR (endpoint detection and response) applications and techniques to provide an industry-leading NGAV (next generation anti-virus) offering machine learning to ensure breaches are stopped before they occur, Crowdstrike monitors processes running on OS by hooking, so if we run any…

vivek chauhan, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the EDR did not monitor or block the execution of MSBuild, which can run arbitrary code, allowing the attacker to bypass process monitoring.

Impact

The attacker could dump local password hashes, potentially leading to further compromise, though the text does not specify the extent of the impact.

What the attacker needed

Foothold on web app with IIS user; Windows Server 2012 R2; CrowdStrike EDR installed

How it was found

  1. Gain foothold on a web application with limited IIS user access.
  2. Run Juicy Potato exploit to escalate privileges and create an admin user.
  3. Use MSBuild to execute a PowerShell shell, bypassing CrowdStrike.
  4. Use MSBuild to execute Mimikatz, bypassing CrowdStrike.
  5. Save the SYSTEM and SAM registry hives using reg save.
  6. Use Mimikatz to dump local hashes from the saved hives.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Endpoint detection and response (EDR) is security software that watches for malicious activity on a computer. The author found a way to run their tools without the EDR noticing by using a legitimate Windows build tool called MSBuild. They then copied the files that store password hashes and extracted the hashes on their own machine.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.