Last active
July 15, 2021 20:12
-
-
Save Shivammalaviya/92ead46eca6f4f47f764bd1585786268 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DeviceNetworkEvents | |
| where ((RemotePort == "3389" and RemotePort == 'true') | |
and ((InitiatingProcessCommandLine !endswith @'\mstsc.exe' | |
or InitiatingProcessCommandLine !endswith @'\RTSApp.exe' | |
or InitiatingProcessCommandLine !endswith @'\RTS2App.exe' | |
or InitiatingProcessCommandLine !endswith @'\RDCMan.exe' | |
or InitiatingProcessCommandLine !endswith @'\ws_TunnelService.exe' | |
or InitiatingProcessCommandLine !endswith @'\RSSensor.exe' | |
or InitiatingProcessCommandLine !endswith @'\RemoteDesktopManagerFree.exe' | |
or InitiatingProcessCommandLine !endswith @'\RemoteDesktopManager.exe' | |
or InitiatingProcessCommandLine !endswith @'\RemoteDesktopManager64.exe' | |
or InitiatingProcessCommandLine !endswith @'\mRemoteNG.exe' | |
or InitiatingProcessCommandLine !endswith @'\mRemote.exe' | |
or InitiatingProcessCommandLine !endswith @'\Terminals.exe' | |
or InitiatingProcessCommandLine !endswith @'\spiceworks-finder.exe' | |
or InitiatingProcessCommandLine !endswith @'\FSDiscovery.exe' | |
or InitiatingProcessCommandLine !endswith @'\FSAssessment.exe' | |
or InitiatingProcessCommandLine !endswith @'\MobaRTE.exe' | |
or InitiatingProcessCommandLine !endswith @'\chrome.exe' | |
or InitiatingProcessCommandLine !endswith @'\thor.exe' | |
or InitiatingProcessCommandLine !endswith @'\thor64.exe'))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment