Query Details
//Display all processes initiated by a source IP during an RDP session. DeviceProcessEvents | where Timestamp >= ago(1d) | where IsInitiatingProcessRemoteSession == "True" | where InitiatingProcessRemoteSessionIP == "X.X.X.X" // Insert your IP Address here | project InitiatingProcessFileName, InitiatingProcessAccountSid, InitiatingProcessCommandLine, FileName, ProcessCommandLine
This query retrieves information about all processes that were started from a specific source IP address during a Remote Desktop Protocol (RDP) session within the last day. Here's a breakdown of what it does:
In summary, this query lists details about processes started from a specific IP during RDP sessions in the past day, including the file names and command lines involved.

Rod Trent
Released: August 5, 2024
Tables
Keywords
Operators