MDE (Endpoint)
Introduction
Detect Local User Account Creation on Endpoint
DeviceEvents
| where TimeGenerated > ago(7d) // Analyze events from the past 7 days
| where ActionType == "UserAccountCreated" // Filter events where user accounts are created
| where AccountName != "defaultuser1" // Exclude default system-created accounts
| extend
AccountDomain = tostring(AccountDomain), // Extract domain of the created account
ActorDomain = tostring(InitiatingProcessAccountDomain) // Domain of the actor initiating the action
| project
TimeGenerated, // Timestamp of the event
DeviceName, // Device where the account was created
['Account Created Name'] = AccountName, // Name of the created account
AccountDomain, // Domain of the created account
Actor = InitiatingProcessAccountName, // Account initiating the process
ActorDomain, // Domain of the actor account
ActionType // Type of action taken
| order by TimeGenerated desc // Sort by most recent eventsDetecting Anomalous RDP Connections
Detect Encoded Powershell and Decode
Detect Inbound Public RDP Connections
Detect Successful RDP Connections from Public to Private Address
Detect Multiple Failed Remote Logons
Detect Putty Connections
Detect RDP Recon Activities
Detect Registry Tampering
Detect ISO File Mounts Followed by Browser-launched URL Activity
Identify Historical "whoami" Activity
Detect Suspicious PowerShell Commands Altering the Execution Policy
Powershell Connecting to Internet Systems
Detect Users Added to Local Administrators Group
Detect Known Credential Dumping Tools or Techniques
Certutil Remote Download
Detect Browser-Launched URL Activity on a Compromised Device
Detect All Processes Created By Malicious File
Inbound Connections Compromised Device
List Malicious Activities
Detecting LOLBins with Network Activity
Detect and Analyse LOLBin Activity
Detect Signs of Fileless Malware
Detect Signs of Lateral Movement Using WMI
Detect Signs of Privilege Escalation
Detect Suspicious PowerShell Activity
Detect Suspicious WMI Activity with Remote IPs
Reference
Last updated