* Log providers are just ETW providers
* In VQL `watch_etw()` can be used instead of `watch_evtx()
* See `Windows.Sysinternals.SysmonLogForward` for an example
![](etw_event_log.png)
---
## Exercise - Monitor DNS queries
* Use ETW to monitor all clients' DNS queries.
* Stream queries to server
---
## Exercise - Monitor DNS queries
![](etw_follow_dns.png)
---
## Windows Management Instrumentation
* A framework to export internal windows state information using a query language (WQL)
* Consists of classes (providers) and objects
* Lots of hooks into many internal system features
* Being able to inspect system state using a consistent interface allows a tool to query a wide range of services.
---
## WMI Explorer
![](wmie_github.png)
---
## WMI Explorer
![](wmie.png)
---
```sql
SELECT * FROM wmi(query="SELECT * FROM win32_diskdrive")
```
![](wmi_diskdrive.png)