Skip to content
Access control Write-up Intermediate

Bypass Crowd Strike Falcon to Dump Windows Hashes

The author found that CrowdStrike Falcon EDR blocked hash dumping when the command was run from a shell, but did not block the same operation when a non-shell process such as a Java program launched it. With local administrator rights, an attacker could therefore dump the Windows SAM file and obtain local account hashes.

gccybermonks.com

Published on gccybermonks.com

Recently on a Red Team Assessment, after achieving access on the internal network, we noticed that all servers and workstations were protected by Crowd Strike Falcon EDR. It is an awesome tool that actively prevents most known attacks.

The author, on gccybermonks.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's detection logic keyed on the parent process being a shell, so the same command launched by a non-shell parent was only logged, not blocked.

Impact

An attacker with local admin rights could dump local Windows hashes despite the EDR being present, since the action was logged but not prevented.

What the attacker needed

Local administrator privileges; ability to run a program on the host

How it was found

  1. Obtain local administrator privileges on the target Windows server.
  2. Write a small Java program that starts the registry save command as a child process.
  3. Compile the program with javac.
  4. Run the compiled program with java.
  5. Observe that the SAM file was written and the console shows the action was detected but not blocked.

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.

An EDR is security software that watches programs on a computer and tries to stop harmful actions. Here it stopped a known hash-stealing command only when a command shell started it, so starting the same command from another program slipped past the block. The attacker still needed administrator rights on the machine.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.