# Miscellaneous

**Windows DFIR notes are no longer maintained on InfoSec-Notes. Updated versions can be found on:** [**artefacts.help**](https://artefacts.help/)**.**

### NTFS file attributes

A number of forensic artefact files, such as the `$MFT` or the `$UsnJrnl` files, have both the `NTFS` `Hidden (H)` and `System (S)` attributes set. The `System` attribute is used to identify system-critical files that are "necessary for Windows to operate properly" and are not shown by the Windows Explorer application or the `dir` utility by default.

Following a collect of these files, that may be locked by Windows and require utilities such as `Velociraptor` or `KAPE` for triage, the files will remain hidden. The `attrib.exe` utility can be used to remove the `Hidden (H)` / `System (S)` attributes:

```
# Shows the specified file or files in the working directory NTFS attributes.
attrib [<FILE>]

# Removes the Hidden and System attributes from the specified file.
attrib -h -s <FILE>
```

Alternatively, hidden / system files can be displayed in the Windows Explorer application (View -> Check "Hidden Items") or with `dir` utility / `Get-ChildItem` cmdlet the if needed:

```
dir /x /a

Get-ChildItem -Attributes Hidden,!Hidden
```


---

# 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://notes.qazeer.io/dfir/windows/_artefacts_overview/misc.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.
