Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #387 from YulelogPagoda/patch-3
Browse files Browse the repository at this point in the history
Create CVE-2021-36934 usage detection.md
  • Loading branch information
tali-ash committed Jul 21, 2021
2 parents 0e11321 + d3f296f commit e4f73c4
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions Exploits/CVE-2021-36934 usage detection.md
@@ -0,0 +1,53 @@
# CVE-2021-36934 usage detection

Assuming that you have a machine that is properly BitLocker'ed, then
the machine will need to be running to extract the SAM and SYSTEM
files.

This first query looks for any access to the HKLM that happens via a command
or script that is not executed by system.

The second query looks for usage of reg or regedit by anyone who is not system.

## Query
```
let startTime = now(-7d);
let endTime = now();
DeviceProcessEvents
| where ProcessCommandLine contains "HKLM"
| where AccountName != "system"
#This query just looks for usage of "reg" in processes that aren't ran by system.
DeviceProcessEvents
| where ProcessCommandLine contains "reg"
| where AccountName != "system"
```
## Category
This query can be used to detect the following attack techniques and tactics ([see MITRE ATT&CK framework](https://attack.mitre.org/)) or security configuration states.
| Technique, tactic, or state | Covered? (v=yes) | Notes |
|------------------------|----------|-------|
| Initial access | | |
| Execution | | |
| Persistence | | |
| Privilege escalation | y | |
| Privilege escalation | v | |
| Defense evasion | | |
| Credential Access | | |
| Discovery | | |
| Lateral movement | | |
| Lateral movement | | |
| Collection | | |
| Command and control | | |
| Exfiltration | | |
| Impact | | |
| Vulnerability | | |
| Exploit | y | |
| Exploit | v | |
| Misconfiguration | | |
| Malware, component | | |
| Ransomware | | |
## Contributor info
**Contributor:** Carl Peter McCollough
**GitHub alias:** YulelogPagoda
**Contact info:** https://www.linkedin.com/in/petemccollough/

0 comments on commit e4f73c4

Please sign in to comment.