Situational Awareness
Situational Awareness
Network Information
"Dual-homed" hosts: device connected with more than one network
Display Interface(s), IP Address(es), DNS Information
ipconfig /allwhich display name of device and workgroup or domain info
Display ARP Table
which display all devices were communicated with this device
arp -aDisplay Routing Table
route printEnumerating Protections
discover all protection like EDR or Application Whitelisting (AppLocker)
Check Windows Defender Status
We can use the GetAppLockerPolicy cmdlet to enumerate the local, effective (enforced), and domain AppLocker policies.
Get-MpComputerStatus
List AppLocker Rules
Get-AppLockerPolicy -Effective | select -ExpandProperty RuleCollections
Test AppLocker Policy
PS C:\irix> Get-AppLockerPolicy -Local | Test-AppLockerPolicy -path C:\Windows\System32\cmd.exe -User Everyone
FilePath PolicyDecision MatchingRule
-------- -------------- ------------
C:\Windows\System32\cmd.exe Denied c:\windows\system32\cmd.exeLast updated