diff --git a/LateralMovement.md b/LateralMovement.md index 5f5d89f..212a89d 100644 --- a/LateralMovement.md +++ b/LateralMovement.md @@ -17,10 +17,14 @@ Detects RDS and RemoteApp session redirections for lateral movement. SrcProcName = "tscon.exe" AND SrcProcCmdLine ContainsCIS "/dest:" ``` - ### T1021.001 Remote Desktop Protocol Atomics: [T1021.001](https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1021.001/T1021.001.md) +Below query will catch both Atomic tests because it focuses on detecting the use of cmdkey for authenticating RDP sessions (often used for automated lateral movement). + +``` +TgtProcName = "cmdkey.exe" AND TgtProcCmdLine ContainsCIS "/generic:TERMSRV" AND TgtProcCmdLine ContainsCIS "/user:" AND TgtProcCmdLine ContainsCIS "/pass:" +``` ### T1021.002 SMB/Windows Admin Shares Atomics: [T1021.002](https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1021.002/T1021.002.md)