Privilege Escalation
T1068 — Exploitation for Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges. Exploitation of a software vulnerability occurs when an adversary takes advantage of a programming error in a program, service, or within the operating system software or kernel itself to execute adversary-controlled code...
Investigate Exploitation for Privilege Escalation activity in the context of Privilege Escalation: confirm scope, affected host/identity, and whether it matches expected administrative behaviour before deciding this is benign.
Platforms
Containers, Linux, macOS, Windows
Priority / status
high / draft
Evidence to collect
- Host or resource affected
- Account or identity involved
- Timestamp of the activity
- Related process, file, or network artifact
- Any preceding or follow-on alerts
D3-MBT · detect
Memory Boundary Tracking
Monitor for Memory Boundary Tracking indicators relevant to this technique.
Tooling: Defender for Endpoint
D3-PSEP · harden
Process Segment Execution Prevention
Apply Process Segment Execution Prevention to reduce this technique's viability before an incident occurs.
Tooling: Defender for Endpoint
| ATT&CK Technique | D3FEND Technique | Practical SOC Action | Tooling |
|---|---|---|---|
| T1068 Exploitation for Privilege Escalation | Memory Boundary Tracking | Monitor for Memory Boundary Tracking indicators relevant to this technique. | Defender for Endpoint |
| T1068 Exploitation for Privilege Escalation | Process Segment Execution Prevention | Apply Process Segment Execution Prevention to reduce this technique's viability before an incident occurs. | Defender for Endpoint |
T1068 Exploitation for Privilege Escalation → D3FEND → SOC action
Investigation steps — Microsoft
- Review Defender for Endpoint / Defender XDR alerts and timeline for the affected host or identity.
- Check Sentinel analytics rules and incidents correlated with this technique.
- Review Entra ID sign-in and audit logs if the technique involves an identity or cloud resource.
Investigation steps — generic
- Confirm whether the observed exploitation for privilege escalation activity matches expected administrative or application behaviour.
- Identify the host, account, or resource where the activity occurred and its business criticality.
- Check for related alerts before and after this activity to reconstruct the broader intrusion timeline.
- Real detection reference: "Vulnerable Driver Load (BYOVD)" -- Flags loading of kernel drivers known to be abused for Bring-Your-Own-Vulnerable-Driver privilege escalation.
Response actions
| Action | Risk | Automation safe | Approval required |
|---|---|---|---|
| Contain the affected host or account | Medium | No | Yes |
| Collect and preserve evidence | Low | Yes | No |
KQL
GEN-PE-005 — Vulnerable Driver Load (BYOVD)
let KnownVulnerableDrivers = dynamic([
"gdrv.sys",
"rtcore64.sys",
"dbutil_2_3.sys",
"atillk64.sys",
"winring0x64.sys",
"asrdrv104.sys",
"kprocesshacker.sys",
"procexp152.sys",
"zamguard64.sys",
"viragt64.sys"
]);
DeviceEvents
| where TimeGenerated >= ago(1d)
| where ActionType == "DriverLoad"
| extend DriverFileName = tostring(AdditionalFields.DriverFileName)
| where isnotempty(DriverFileName)
| where DriverFileName has_any (KnownVulnerableDrivers)
| project
TimeGenerated,
DeviceName,
DeviceId,
AccountName,
DriverFileName,
InitiatingProcessFileName,
InitiatingProcessCommandLine,
InitiatingProcessSHA256,
FolderPath,
SHA256
| extend timestamp = TimeGenerated,
HostCustomEntity = DeviceName,
AccountCustomEntity = AccountName
| order by TimeGenerated desc e0ae5f9e-865b-41f5-98bb-c04113888e85 — Unused IaaS Policy
Authomize_v2_CL
| where ingestion_time() >= ago(30m)
| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s
| where Policy has "Unused IaaS Policy"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics 90502ac9-19a2-41f0-ba81-e352de90b61b — CTERA Mass Permissions Changes Detection Analytic
Syslog
| where ProcessName == 'gw-audit'
| extend
TenantName = extract("\"vportal\":\"([^\"]*)\"", 1, SyslogMessage),
UserName = extract("user=([^|]*)", 1, SyslogMessage),
Operation = extract("op=([^|]*)", 1, SyslogMessage),
EdgeFiler = extract("\"client\":\"([^\"]*)\"", 1, SyslogMessage),
RootPath = extract("rootPath=([^|]*)", 1, SyslogMessage),
Share = extract("share=([^|]*)", 1, SyslogMessage),
LocalPath = extract("path=([^|]*)", 1, SyslogMessage),
Timestamp = todatetime(extract("\"@timestamp\":\"([^\"]*)\"", 1, SyslogMessage))
| where Operation in ('ACLAdded', 'ACLDeleted', 'ACLProtectionAdded','chown', 'setsd', 'ACLProtectionDeleted', 'ACEChanged', 'setdacl')
| summarize Count = count() by UserName, bin(Timestamp, 5m)
| where Count > 5000 Escalation criteria
- Exploitation for Privilege Escalation activity observed on a privileged account or critical system.
- Activity follows or precedes other suspicious behaviour in the same investigation.
- Automated triage cannot confidently rule out malicious intent.
False positive considerations
- Legitimate administrative or maintenance activity matching this pattern.
- Approved security testing or red team exercise.
- Known benign software producing similar telemetry.
# T1068 - Exploitation for Privilege Escalation
## SOC Recommendation
Investigate Exploitation for Privilege Escalation activity in the context of Privilege Escalation: confirm scope, affected host/identity, and whether it matches expected administrative behaviour before deciding this is benign.
## D3FEND Mappings
| D3FEND Technique | Relationship | Practical SOC Action |
|---|---|---|
| Memory Boundary Tracking | Detect | Monitor for Memory Boundary Tracking indicators relevant to this technique. |
| Process Segment Execution Prevention | Harden | Apply Process Segment Execution Prevention to reduce this technique's viability before an incident occurs. |
## Investigation Steps
1. Review Defender for Endpoint / Defender XDR alerts and timeline for the affected host or identity.
2. Check Sentinel analytics rules and incidents correlated with this technique.
3. Review Entra ID sign-in and audit logs if the technique involves an identity or cloud resource.
## Evidence to Collect
- Host or resource affected
- Account or identity involved
- Timestamp of the activity
- Related process, file, or network artifact
- Any preceding or follow-on alerts
## Response Actions
| Action | Risk | Automation Safe | Approval Required |
|---|---|---|---|
| Contain the affected host or account | Medium | No | Yes |
| Collect and preserve evidence | Low | Yes | No |
## KQL
```kql
let KnownVulnerableDrivers = dynamic([
"gdrv.sys",
"rtcore64.sys",
"dbutil_2_3.sys",
"atillk64.sys",
"winring0x64.sys",
"asrdrv104.sys",
"kprocesshacker.sys",
"procexp152.sys",
"zamguard64.sys",
"viragt64.sys"
]);
DeviceEvents
| where TimeGenerated >= ago(1d)
| where ActionType == "DriverLoad"
| extend DriverFileName = tostring(AdditionalFields.DriverFileName)
| where isnotempty(DriverFileName)
| where DriverFileName has_any (KnownVulnerableDrivers)
| project
TimeGenerated,
DeviceName,
DeviceId,
AccountName,
DriverFileName,
InitiatingProcessFileName,
InitiatingProcessCommandLine,
InitiatingProcessSHA256,
FolderPath,
SHA256
| extend timestamp = TimeGenerated,
HostCustomEntity = DeviceName,
AccountCustomEntity = AccountName
| order by TimeGenerated desc
```
```kql
Authomize_v2_CL
| where ingestion_time() >= ago(30m)
| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s
| where Policy has "Unused IaaS Policy"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
```
```kql
Syslog
| where ProcessName == 'gw-audit'
| extend
TenantName = extract("\"vportal\":\"([^\"]*)\"", 1, SyslogMessage),
UserName = extract("user=([^|]*)", 1, SyslogMessage),
Operation = extract("op=([^|]*)", 1, SyslogMessage),
EdgeFiler = extract("\"client\":\"([^\"]*)\"", 1, SyslogMessage),
RootPath = extract("rootPath=([^|]*)", 1, SyslogMessage),
Share = extract("share=([^|]*)", 1, SyslogMessage),
LocalPath = extract("path=([^|]*)", 1, SyslogMessage),
Timestamp = todatetime(extract("\"@timestamp\":\"([^\"]*)\"", 1, SyslogMessage))
| where Operation in ('ACLAdded', 'ACLDeleted', 'ACLProtectionAdded','chown', 'setsd', 'ACLProtectionDeleted', 'ACEChanged', 'setdacl')
| summarize Count = count() by UserName, bin(Timestamp, 5m)
| where Count > 5000
```
## Escalation Criteria
- Exploitation for Privilege Escalation activity observed on a privileged account or critical system.
- Activity follows or precedes other suspicious behaviour in the same investigation.
- Automated triage cannot confidently rule out malicious intent.
## False Positive Considerations
- Legitimate administrative or maintenance activity matching this pattern.
- Approved security testing or red team exercise.
- Known benign software producing similar telemetry.
Generated by SOC Response Atlas by Basyrix.
Want to push this directly to Confluence? Upgrade to Basyrix Pro.
- /api/techniques/T1068.json
- /api/recommendations/T1068.json
- /api/d3fend/T1068.json
- /api/mappings/T1068.json
- /api/confluence/T1068.md
Example curl:
curl https://atlas.basyrix.com/api/recommendations/T1068.json Response:
{
"technique_id": "T1068",
"name": "Exploitation for Privilege Escalation",
"priority": "high",
"status": "draft",
"version": "0.1.0",
"last_reviewed": "2026-07-23",
"generated_by": "SOC Response Atlas by Basyrix",
"tactics": [
"Privilege Escalation"
],
"platforms": [
"Containers",
"Linux",
"macOS",
"Windows"
],
"summary": "Adversaries may exploit software vulnerabilities in an attempt to elevate privileges. Exploitation of a software vulnerability occurs when an adversary takes advantage of a programming error in a program, service, or within the operating system software or kernel itself to execute adversary-controlled code...",
"soc_recommendation": "Investigate Exploitation for Privilege Escalation activity in the context of Privilege Escalation: confirm scope, affected host/identity, and whether it matches expected administrative behaviour before deciding this is benign.",
"d3fend_mappings": [
{
"id": "D3-MBT",
"name": "Memory Boundary Tracking",
"relationship": "detect",
"practical_action": "Monitor for Memory Boundary Tracking indicators relevant to this technique.",
"tooling": [
"Defender for Endpoint"
]
},
{
"id": "D3-PSEP",
"name": "Process Segment Execution Prevention",
"relationship": "harden",
"practical_action": "Apply Process Segment Execution Prevention to reduce this technique's viability before an incident occurs.",
"tooling": [
"Defender for Endpoint"
]
}
],
"investigation_steps": {
"microsoft": [
"Review Defender for Endpoint / Defender XDR alerts and timeline for the affected host or identity.",
"Check Sentinel analytics rules and incidents correlated with this technique.",
"Review Entra ID sign-in and audit logs if the technique involves an identity or cloud resource."
],
"generic": [
"Confirm whether the observed exploitation for privilege escalation activity matches expected administrative or application behaviour.",
"Identify the host, account, or resource where the activity occurred and its business criticality.",
"Check for related alerts before and after this activity to reconstruct the broader intrusion timeline.",
"Real detection reference: \"Vulnerable Driver Load (BYOVD)\" -- Flags loading of kernel drivers known to be abused for Bring-Your-Own-Vulnerable-Driver privilege escalation."
]
},
"evidence_to_collect": [
"Host or resource affected",
"Account or identity involved",
"Timestamp of the activity",
"Related process, file, or network artifact",
"Any preceding or follow-on alerts"
],
"response_actions": [
{
"name": "Contain the affected host or account",
"category": "Containment",
"risk": "Medium",
"automation_safe": false,
"approval_required": true,
"tool": "Defender for Endpoint / Entra ID",
"notes": "Requires approval -- confirm malicious intent before isolating a host or disabling an account."
},
{
"name": "Collect and preserve evidence",
"category": "Investigation",
"risk": "Low",
"automation_safe": true,
"approval_required": false,
"tool": "Defender for Endpoint",
"notes": "Safe -- read-only evidence collection."
}
],
"queries": {
"kql": [
{
"name": "GEN-PE-005 — Vulnerable Driver Load (BYOVD)",
"description": "Flags loading of kernel drivers known to be abused for Bring-Your-Own-Vulnerable-Driver privilege escalation. (Source: Bell Integration baseline detection library.)",
"query": "let KnownVulnerableDrivers = dynamic([\n \"gdrv.sys\",\n \"rtcore64.sys\",\n \"dbutil_2_3.sys\",\n \"atillk64.sys\",\n \"winring0x64.sys\",\n \"asrdrv104.sys\",\n \"kprocesshacker.sys\",\n \"procexp152.sys\",\n \"zamguard64.sys\",\n \"viragt64.sys\"\n]);\nDeviceEvents\n| where TimeGenerated >= ago(1d)\n| where ActionType == \"DriverLoad\"\n| extend DriverFileName = tostring(AdditionalFields.DriverFileName)\n| where isnotempty(DriverFileName)\n| where DriverFileName has_any (KnownVulnerableDrivers)\n| project\n TimeGenerated,\n DeviceName,\n DeviceId,\n AccountName,\n DriverFileName,\n InitiatingProcessFileName,\n InitiatingProcessCommandLine,\n InitiatingProcessSHA256,\n FolderPath,\n SHA256\n| extend timestamp = TimeGenerated,\n HostCustomEntity = DeviceName,\n AccountCustomEntity = AccountName\n| order by TimeGenerated desc"
},
{
"name": "e0ae5f9e-865b-41f5-98bb-c04113888e85 — Unused IaaS Policy",
"description": "The policy detects 'IaaS policies' that no one in the account has been using during the last X days. (Source: Microsoft's official Azure-Sentinel Detections (MIT licensed).)",
"query": "Authomize_v2_CL\n| where ingestion_time() >= ago(30m)\n| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s\n| where Policy has \"Unused IaaS Policy\"\n| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics"
},
{
"name": "90502ac9-19a2-41f0-ba81-e352de90b61b — CTERA Mass Permissions Changes Detection Analytic",
"description": "This analytic rule detects and alerts when access denied operations generated by the CTERA Edge Filer goes over a predefined threshold (Source: Microsoft's official Azure-Sentinel Detections (MIT licensed).)",
"query": "Syslog\n | where ProcessName == 'gw-audit'\n | extend\n TenantName = extract(\"\\\"vportal\\\":\\\"([^\\\"]*)\\\"\", 1, SyslogMessage),\n UserName = extract(\"user=([^|]*)\", 1, SyslogMessage),\n Operation = extract(\"op=([^|]*)\", 1, SyslogMessage),\n EdgeFiler = extract(\"\\\"client\\\":\\\"([^\\\"]*)\\\"\", 1, SyslogMessage),\n RootPath = extract(\"rootPath=([^|]*)\", 1, SyslogMessage),\n Share = extract(\"share=([^|]*)\", 1, SyslogMessage),\n LocalPath = extract(\"path=([^|]*)\", 1, SyslogMessage),\n Timestamp = todatetime(extract(\"\\\"@timestamp\\\":\\\"([^\\\"]*)\\\"\", 1, SyslogMessage))\n | where Operation in ('ACLAdded', 'ACLDeleted', 'ACLProtectionAdded','chown', 'setsd', 'ACLProtectionDeleted', 'ACEChanged', 'setdacl')\n | summarize Count = count() by UserName, bin(Timestamp, 5m)\n | where Count > 5000"
}
],
"spl": [],
"esql": [
{
"name": "eb3150eb-e9fb-4a64-a0fc-aa66cdd35632 — Telnet Authentication Bypass via User Environment Variable",
"description": "(EQL) Identifies potential exploitation of a Telnet remote authentication bypass vulnerability (CVE-2026-24061) in GNU Inetutils telnetd. The vulnerability allows unauthenticated access by supplying a crafted `-f <username>` value via the `USER` environment variable, resulting in a login process spawned with elevated privileges. (Source: Elastic's official detection-rules repository (Elastic License v2).)",
"query": "sequence by host.id with maxspan=1s\n [process where host.os.type == \"linux\" and event.type == \"start\" and event.action in (\"process_started\", \"executed\") and process.name in (\"telnetd\", \"xinetd\")] by process.pid\n [process where host.os.type == \"linux\" and event.type == \"start\" and event.action in (\"process_started\", \"executed\") and process.name == \"login\" and process.args : \"-*f*\"] by process.parent.pid"
},
{
"name": "ab7795cc-0e0b-4f9d-a934-1f17a58f869a — Potential Telnet Authentication Bypass (CVE-2026-24061)",
"description": "(EQL) Identifies potential exploitation of a Telnet remote authentication bypass vulnerability (CVE-2026-24061) in GNU Inetutils telnetd. The vulnerability allows unauthenticated access by supplying a crafted `-f <username>` value via the `USER` environment variable, resulting in a login process spawned with elevated privileges. (Source: Elastic's official detection-rules repository (Elastic License v2).)",
"query": "process where host.os.type == \"linux\" and event.type == \"start\" and\n event.action in (\"exec\", \"exec_event\", \"start\", \"ProcessRollup2\", \"executed\") and\n process.name == \"login\" and process.parent.name in (\"telnetd\", \"xinetd\") and process.args : \"-*f*\""
}
]
},
"automation": {
"safe": [
"Add recommendation as Sentinel incident comment.",
"Run enrichment queries.",
"Create ServiceNow SecOps task."
],
"approval_required": [
"Contain or disable the affected host/account.",
"Any change to production configuration."
]
},
"escalation_criteria": [
"Exploitation for Privilege Escalation activity observed on a privileged account or critical system.",
"Activity follows or precedes other suspicious behaviour in the same investigation.",
"Automated triage cannot confidently rule out malicious intent."
],
"false_positive_considerations": [
"Legitimate administrative or maintenance activity matching this pattern.",
"Approved security testing or red team exercise.",
"Known benign software producing similar telemetry."
],
"confluence": {
"title": "T1068 - Exploitation for Privilege Escalation Response Guidance",
"labels": [
"mitre",
"attack",
"d3fend",
"secops",
"basyrix"
],
"sections": [
"summary",
"d3fend_mappings",
"investigation_steps",
"response_actions",
"queries",
"automation",
"escalation_criteria",
"false_positive_considerations"
]
}
}