Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 539 Bytes

ExposureManagement - LateralMovementPaths.md

File metadata and controls

16 lines (12 loc) · 539 Bytes

List Lateral Movements Paths to Compromised Device

Sentinel

// List potential lateralmovement paths to compromised device
let DeviceName = "testdevice.test.com";
ExposureGraphEdges
| where TargetNodeLabel == "device"
| where TargetNodeName == DeviceName
| summarize Total = dcount(SourceNodeName), Details = make_set(SourceNodeName) by EdgeLabel, TargetNodeName
| extend Message = strcat(Total, " details ", EdgeLabel, " ", TargetNodeName)
| project Message, Action = EdgeLabel, Details, Total, Target = TargetNodeName