> For the complete documentation index, see [llms.txt](https://pnpt.adot8.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pnpt.adot8.com/windows-privilege-escalation/initial-enumeration-manual/av-and-firewall-enumeration.md).

# AV and Firewall Enumeration

## View Running Services

```
sc queryex type= service
```

```
sc query windefend
```

## View Firewall State and Configuration

```
netsh firewall show state
```

```
netsh firewall show config
```
