MDE KQL 使用案例

 

查找程序的 网络通信情况

DeviceNetworkEvents
| where Timestamp > ago(30d)
| where InitiatingProcessFileName == "example.exe"
| project Timestamp, DeviceName, InitiatingProcessFileName, RemoteIP, RemotePort, RemoteUrl
| sort by Timestamp desc

 

复制代码
DeviceNetworkEvents
| where ActionType has ""
| where DeviceName has ""
| where InitiatingProcessFolderPath has ""
| where InitiatingProcessCommandLine has "xxx.exe"
| where InitiatingProcessAccountName has ""
| where RemoteIP has ""
//| where RemoteUrl has ""
//| where RemotePort ==
//| where LocalIP has ""
//| where LocalPort ==
| where Protocol has ""
| project Timestamp, ActionType, InitiatingProcessFolderPath, InitiatingProcessFileName, InitiatingProcessCommandLine, LocalIP, LocalPort, RemoteIP, RemoteUrl, RemotePort, DeviceName, InitiatingProcessAccountName
| sort by Timestamp
复制代码

 

posted @   安全泰哥  阅读(10)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
· .NET周刊【3月第1期 2025-03-02】
点击右上角即可分享
微信分享提示