> For the complete documentation index, see [llms.txt](https://viperone.gitbook.io/pentest-everything/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viperone.gitbook.io/pentest-everything/everything/everything-active-directory/credential-access/unsecured-credentials.md).

# Unsecured Credentials

**ATT\&CK ID:** [T1552](https://attack.mitre.org/techniques/T1552/)

**Description**

Adversaries may search compromised systems to find and obtain insecurely stored credentials. These credentials can be stored and/or misplaced in many locations on a system, including plaintext files (e.g. Bash History), operating system or application-specific repositories (e.g. Credentials in Registry), or other specialized files/artifacts (e.g. Private Keys).

## Sub Techniques

### T1552:001: Credentials in Files

{% content-ref url="/pages/UX9vQWzqR4LOhPJgr34x" %}
[Credentials In Files](/pentest-everything/everything/everything-active-directory/credential-access/unsecured-credentials/credentials-in-files.md)
{% endcontent-ref %}

### T1552:002: Credentials in Registry

{% content-ref url="/pages/I3jSkBv523oDEZxzirzt" %}
[Credentials in Registry](/pentest-everything/everything/everything-active-directory/credential-access/unsecured-credentials/credentials-in-registry.md)
{% endcontent-ref %}

### T1552:006: Group Policy preferences

{% content-ref url="/pages/IvtCq5tYASVrXqXRGZPY" %}
[Group Policy Preferences](/pentest-everything/everything/everything-active-directory/credential-access/unsecured-credentials/group-policy-preferences.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://viperone.gitbook.io/pentest-everything/everything/everything-active-directory/credential-access/unsecured-credentials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
