# Credentials, tokens, or cookies from highly privileged users should not be exposed on vulnerable endpoints

Exfiltration of authentication artifacts on vulnerable device poses a significant security risk.

Source: https://maester.dev/docs/tests/MT.1080

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/cloud-architekt" title="Thomas Naunheim · Original author"><img src="https://github.com/Cloud-Architekt.png" alt="Thomas Naunheim" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/cloud-architekt">Thomas Naunheim</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/maester">Maester</a> · Defender · Exposure Management · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId MT.1080
```

## Overview

Exfiltration of authentication artifacts on vulnerable device poses a significant security risk. Attackers who gain access to these credentials (e.g., by infostealer) can impersonate privileged users, bypass Conditional Access, and access sensitive the assigned sensitive roles. Protecting endpoints, especially used by privileged users, is essential to prevent unauthorized access and reduce attack surface.

### How to fix

Review the details of risk and exposure score on the related [device page from the Device Inventory](https://learn.microsoft.com/defender-endpoint/machines-view-overview#device-inventory-overview) in the Microsoft Defender XDR portal to improve the device's security posture.

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | MT.1080 |
| Severity | Medium |
| Suite | Maester |
| Product | Defender |
| Feature | Exposure Management |
| Area | Privileged access |
| Resource type | User |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | T1539 Steal Web Session Cookie, T1528 Steal Application Access Token |
| PowerShell test | [Test-MtXspmExposedCredentialsForPrivilegedUsers](https://github.com/maester365/maester/blob/main/tests/maester/xspm/Test.MT.1080.ps1) |
| Services | Graph |
| Long running | Yes |

</details>

## Source

- Test: [`tests/maester/xspm/Test.MT.1080.ps1`](https://github.com/maester365/maester/blob/main/tests/maester/xspm/Test.MT.1080.ps1)
- Documentation: [`tests/maester/xspm/Test.MT.1080.md`](https://github.com/maester365/maester/blob/main/tests/maester/xspm/Test.MT.1080.md)
