Permalink
Cannot retrieve contributors at this time
16 lines (16 sloc)
685 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Azure-Sentinel/Hunting Queries/Microsoft 365 Defender/Ransomware/DEV-0270/Create new user with known DEV-0270 username and password.yaml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id: f2e7c61a-6e29-4ddf-ac2e-97eb7b37d621 | |
| name: Create new user with known DEV-0270 username and password | |
| description: | | |
| Search for the creation of a new user using a known DEV-0270 username/password schema. | |
| requiredDataConnectors: | |
| - connectorId: MicrosoftThreatProtection | |
| dataTypes: | |
| - DeviceProcessEvents | |
| tactics: | |
| - Persistence | |
| query: | | |
| DeviceProcessEvents | |
| | where InitiatingProcessCommandLine has_all('net user', '/add') | |
| | parse InitiatingProcessCommandLine with * "user " username " "* | |
| | extend password = extract(@"\buser\s+[^\s]+\s+([^\s]+)", 1, InitiatingProcessCommandLine) | |
| | where username in('DefaultAccount') or password in('P@ssw0rd1234', '_AS_@1394') |