# Situational Awareness

* **Interface(s), endereço(s) IP, informações de DNS**

```powershell
ipconfig /all
```

* **Tabela ARP**

```powershell
arp -a
```

* **Tabela de roteamento**

```
route print
```

* **Verificar o status do Windows Defender**

```powershell
Get-MpComputerStatus
```

* **Listar regras do AppLocker**

```powershell
Get-AppLockerPolicy -Effective | select -ExpandProperty RuleCollections
```

* **Política de teste do AppLocker**

```
Get-AppLockerPolicy -Local | Test-AppLockerPolicy -path C:\Windows\System32\cmd.exe -User Everyone
```
