MITRE ATT&CK technique
Remote Services detection rulesT1021
Remote Services (T1021) is a MITRE ATT&CK technique in the Lateral Movement tactic. This page lists the 92 community-maintained Sigma detection rules in the library mapped to T1021 and its sub-techniques. Each rule includes its detection logic, log source, false positives and original YAML. These rules mainly target windows, opencanary, zeek.
Tactic
CobaltStrike Service Installations - System
criticalDetects known malicious service installs that appear in cases in which a Cobalt Strike beacon elevates privileges or lateral movement
windows
Potential DCOM InternetExplorer.Application DLL Hijack
criticalDetects potential DLL hijack of "iertutil.dll" found in the DCOM InternetExplorer.Application Class over the network
windows · file_event
Potential DCOM InternetExplorer.Application DLL Hijack - Image Load
criticalDetects potential DLL hijack of "iertutil.dll" found in the DCOM InternetExplorer.Application Class
windows · image_load
Turla Group Lateral Movement
criticalDetects automated lateral movement by Turla group
windows · process_creation
Wmiprvse Wbemcomn DLL Hijack - File
criticalDetects a threat actor creating a file named `wbemcomn.dll` in the `C:\Windows\System32\wbem\` directory over the network and loading it for a WMI DLL Hijack scenario.
windows · file_event
BaaUpdate.exe Suspicious DLL Load
highDetects BitLocker Access Agent Update Utility (baaupdate.exe) loading DLLs from suspicious locations that are publicly writable which could indicate an attempt to lateral movement via BitLocker DCOM & COM Hijacking. This technique abuses COM Classes configured as INTERACTIVE USER to spawn processes in the context of the logged-on user's session. Specifically, it targets the BDEUILauncher Class (CLSID ab93b6f1-be76-4185-a488-a9001b105b94) which can launch BaaUpdate.exe, which is vulnerable to COM Hijacking when started with input parameters. This allows attackers to execute code in the user's context without needing to steal credentials or use additional techniques to compromise the account.
windows · image_load
CobaltStrike Service Installations - Security
highDetects known malicious service installs that appear in cases in which a Cobalt Strike beacon elevates privileges or lateral movement
windows
DCOM InternetExplorer.Application Iertutil DLL Hijack - Security
highDetects a threat actor creating a file named `iertutil.dll` in the `C:\Program Files\Internet Explorer\` directory over the network for a DCOM InternetExplorer DLL Hijack scenario.
windows
First Time Seen Remote Named Pipe
highThis detection excludes known namped pipes accessible remotely and notify on newly observed ones, may help to detect lateral movement and remote exec using named pipes
windows
First Time Seen Remote Named Pipe - Zeek
highThis detection excludes known namped pipes accessible remotely and notify on newly observed ones, may help to detect lateral movement and remote exec using named pipes
zeek
HackTool - NetExec Execution
highDetects execution of the hacktool NetExec. NetExec (formerly CrackMapExec) is a widely used post-exploitation tool designed for Active Directory penetration testing and network enumeration In enterprise environments, the use of NetExec is considered suspicious or potentially malicious because it enables attackers to enumerate hosts, exploit network services, and move laterally across systems. Threat actors and red teams commonly use NetExec to identify vulnerable systems, harvest credentials, and execute commands remotely.
windows · process_creation
HackTool - NetExec File Indicators
highDetects file creation events indicating NetExec (nxc.exe) execution on the local machine. NetExec is a PyInstaller-bundled binary that extracts its embedded data files to a "_MEI<random>" directory under the Temp folder upon execution. Files dropped under the "\nxc\" sub-directory of that extraction path are unique to NetExec and serve as reliable on-disk indicators of execution. NetExec (formerly CrackMapExec) is a widely used post-exploitation and lateral movement tool used for Active Directory enumeration, credential harvesting, and remote code execution.
windows · file_event
HackTool - Potential Impacket Lateral Movement Activity
highDetects wmiexec/dcomexec/atexec/smbexec from Impacket framework
windows · process_creation
HackTool - SharpMove Tool Execution
highDetects the execution of SharpMove, a .NET utility performing multiple tasks such as "Task Creation", "SCM" query, VBScript execution using WMI via its PE metadata and command line options.
windows · process_creation
Hermetic Wiper TG Process Patterns
highDetects process execution patterns found in intrusions related to the Hermetic Wiper malware attacks against Ukraine in February 2022
windows · process_creation
Impacket PsExec Execution
highDetects execution of Impacket's psexec.py.
windows
Metasploit Or Impacket Service Installation Via SMB PsExec
highDetects usage of Metasploit SMB PsExec (exploit/windows/smb/psexec) and Impacket psexec.py by triggering on specific service installation
windows
Metasploit SMB Authentication
highAlerts on Metasploit host's authentications on the domain.
windows
MMC Spawning Windows Shell
highDetects a Windows command line executable started from MMC
windows · process_creation
MMC20 Lateral Movement
highDetects MMC20.Application Lateral Movement; specifically looks for the spawning of the parent MMC.exe with a command line of "-Embedding" as a child of svchost.exe
windows · process_creation
New RDP Connection Initiated From Domain Controller
highDetects an RDP connection originating from a domain controller.
windows · network_connection
OMIGOD HTTP No Authentication RCE - CVE-2021-38647
highDetects the exploitation of OMIGOD (CVE-2021-38647) which allows remote execute (RCE) commands as root with just a single unauthenticated HTTP request. Verify, successful, exploitation by viewing the HTTP client (request) body to see what was passed to the server (using PCAP). Within the client body is where the code execution would occur. Additionally, check the endpoint logs to see if suspicious commands or activity occurred within the timeframe of this HTTP request.
zeek
OpenCanary - FTP Login Attempt
highDetects instances where an FTP service on an OpenCanary node has had a login attempt.
opencanary · application
OpenCanary - RDP New Connection Attempt
highDetects instances where an RDP service on an OpenCanary node has had a connection attempt.
opencanary · application
OpenCanary - SMB File Open Request
highDetects instances where an SMB service on an OpenCanary node has had a file open request.
opencanary · application
OpenCanary - SNMP OID Request
highDetects instances where an SNMP service on an OpenCanary node has had an OID request.
opencanary · application
OpenCanary - SSH Login Attempt
highDetects instances where an SSH service on an OpenCanary node has had a login attempt.
opencanary · application
OpenCanary - SSH New Connection Attempt
highDetects instances where an SSH service on an OpenCanary node has had a connection attempt.
opencanary · application
OpenCanary - VNC Connection Attempt
highDetects instances where a VNC service on an OpenCanary node has had a connection attempt.
opencanary · application
Outbound RDP Connections Over Non-Standard Tools
highDetects Non-Standard tools initiating a connection over port 3389 indicating possible lateral movement. An initial baseline is required before using this utility to exclude third party RDP tooling that you might use.
windows · network_connection
Potential CobaltStrike Service Installations - Registry
highDetects known malicious service installs that appear in cases in which a Cobalt Strike beacon elevates privileges or lateral movement.
windows · registry_set
Potential Excel.EXE DCOM Lateral Movement Via ActivateMicrosoftApp
highDetects suspicious child processes of Excel which could be an indicator of lateral movement leveraging the "ActivateMicrosoftApp" Excel DCOM object.
windows · process_creation
Potential Remote PowerShell Session Initiated
highDetects a process that initiated a network connection over ports 5985 or 5986 from a non-network service account. This could potentially indicates a remote PowerShell connection.
windows · network_connection
Potential Tampering With RDP Related Registry Keys Via Reg.EXE
highDetects the execution of "reg.exe" for enabling/disabling the RDP service on the host by tampering with the 'CurrentControlSet\Control\Terminal Server' values
windows · process_creation
Privilege Escalation via Named Pipe Impersonation
highDetects a remote file copy attempt to a hidden network share. This may indicate lateral movement or data staging activity.
windows · process_creation
Protected Storage Service Access
highDetects access to a protected_storage service over the network. Potential abuse of DPAPI to extract domain backup keys from Domain Controllers
windows
Publicly Accessible RDP Service
highDetects connections from routable IPs to an RDP listener. Which is indicative of a publicly-accessible RDP service.
zeek
RDP Login from Localhost
highRDP login with localhost source address may be a tunnelled login
windows
RDP Over Reverse SSH Tunnel
highDetects svchost hosting RDP termsvcs communicating with the loopback address and on TCP port 3389
windows · network_connection
RDP over Reverse SSH Tunnel WFP
highDetects svchost hosting RDP termsvcs communicating with the loopback address
windows
RDP to HTTP or HTTPS Target Ports
highDetects svchost hosting RDP termsvcs communicating to target systems on TCP port 80 or 443
windows · network_connection
Remote DCOM/WMI Lateral Movement
highDetects remote RPC calls that performs remote DCOM operations. These could be abused for lateral movement via DCOM or WMI.
rpc_firewall · application
Remote LSASS Process Access Through Windows Remote Management
highDetects remote access to the LSASS process via WinRM. This could be a sign of credential dumping from tools like mimikatz.
windows · process_access
Remote PowerShell Session (PS Module)
highDetects remote PowerShell sessions
windows · ps_module
Rundll32 Execution Without Parameters
highDetects rundll32 execution without parameters as observed when running Metasploit windows/smb/psexec exploit module
windows · process_creation
Rundll32 UNC Path Execution
highDetects rundll32 execution where the DLL is located on a remote location (share). Threat actors can abuse the rundll32.exe binary to execute remote DLLs from a UNC pathh.
windows · process_creation
SMB Create Remote File Admin Share
highLook for non-system accounts SMB accessing a file with write (0x2) access mask via administrative share (i.e C$).
windows
smbexec.py Service Installation
highDetects the use of smbexec.py tool by detecting a specific service installation
windows
Suspicious BitLocker Access Agent Update Utility Execution
highDetects the execution of the BitLocker Access Agent Update Utility (baaupdate.exe) which is not a common parent process for other processes. Suspicious child processes spawned by baaupdate.exe could indicate an attempt at lateral movement via BitLocker DCOM & COM Hijacking.
windows · process_creation
Suspicious Plink Port Forwarding
highDetects suspicious Plink tunnel port forwarding to a local port
windows · process_creation
Suspicious PsExec Execution
highdetects execution of psexec or paexec with renamed service name, this rule helps to filter out the noise if psexec is used for legit purposes or if attacker uses a different psexec client other than sysinternal one
windows
Suspicious PsExec Execution - Zeek
highdetects execution of psexec or paexec with renamed service name, this rule helps to filter out the noise if psexec is used for legit purposes or if attacker uses a different psexec client other than sysinternal one
zeek
Suspicious RDP Redirect Using TSCON
highDetects a suspicious RDP session redirect using tscon.exe
windows · process_creation
Suspicious Speech Runtime Binary Child Process
highDetects suspicious Speech Runtime Binary Execution by monitoring its child processes. Child processes spawned by SpeechRuntime.exe could indicate an attempt for lateral movement via COM & DCOM hijacking.
windows · process_creation
Suspicious UltraVNC Execution
highDetects suspicious UltraVNC command line flag combination that indicate a auto reconnect upon execution, e.g. startup (as seen being used by Gamaredon threat group)
windows · process_creation
T1047 Wmiprvse Wbemcomn DLL Hijack
highDetects a threat actor creating a file named `wbemcomn.dll` in the `C:\Windows\System32\wbem\` directory over the network for a WMI DLL Hijack scenario.
windows
User Added to Remote Desktop Users Group
highDetects addition of users to the local Remote Desktop Users group via "Net" or "Add-LocalGroupMember".
windows · process_creation
Windows Internet Hosted WebDav Share Mount Via Net.EXE
highDetects when an internet hosted webdav share is mounted using the "net.exe" utility
windows · process_creation
Winrs Local Command Execution
highDetects the execution of Winrs.exe where it is used to execute commands locally. Commands executed this way are launched under Winrshost.exe and can represent proxy execution used for defense evasion or lateral movement.
windows · process_creation
Wmiprvse Wbemcomn DLL Hijack
highDetects a threat actor creating a file named `wbemcomn.dll` in the `C:\Windows\System32\wbem\` directory over the network and loading it for a WMI DLL Hijack scenario.
windows · image_load
AWS Console GetSigninToken Potential Abuse
mediumDetects potentially suspicious events involving "GetSigninToken". An adversary using the "aws_consoler" tool can leverage this console API to create temporary federated credential that help obfuscate which AWS credential is compromised (the original access key) and enables the adversary to pivot from the AWS CLI to console sessions without the need for MFA using the new access key issued in this request.
aws
Bitbucket Global SSH Settings Changed
mediumDetects Bitbucket global SSH access configuration changes.
bitbucket
Bitbucket User Login Failure Via SSH
mediumDetects SSH user login access failures. Please note that this rule can be noisy and is recommended to use with correlation based on "author.name" field.
bitbucket
Copy From Or To Admin Share Or Sysvol Folder
mediumDetects a copy command or a copy utility execution to or from an Admin share or remote
windows · process_creation
DCERPC SMB Spoolss Named Pipe
mediumDetects the use of the spoolss named pipe over SMB. This can be used to trigger the authentication via NTLM of any machine that has the spoolservice enabled.
windows
Denied Access To Remote Desktop
mediumThis event is generated when an authenticated user who is not allowed to log on remotely attempts to connect to this computer through Remote Desktop. Often, this event can be generated by attackers when searching for available windows servers in the network.
windows
Enable Windows Remote Management
mediumAdversaries may use Valid Accounts to interact with remote systems using Windows Remote Management (WinRM). The adversary may then perform actions as the logged-on user.
windows · ps_script
Execute Invoke-command on Remote Host
mediumAdversaries may use Valid Accounts to interact with remote systems using Windows Remote Management (WinRM). The adversary may then perform actions as the logged-on user.
windows · ps_script
HackTool - WinRM Access Via Evil-WinRM
mediumAdversaries may use Valid Accounts to log into a computer using the Remote Desktop Protocol (RDP). The adversary may then perform actions as the logged-on user.
windows · process_creation
New Remote Desktop Connection Initiated Via Mstsc.EXE
mediumDetects the usage of "mstsc.exe" with the "/v" flag to initiate a connection to a remote server. Adversaries may use valid accounts to log into a computer using the Remote Desktop Protocol (RDP). The adversary may then perform actions as the logged-on user.
windows · process_creation
OpenEDR Spawning Command Shell
mediumDetects the OpenEDR ssh-shellhost.exe spawning a command shell (cmd.exe) or PowerShell with PTY (pseudo-terminal) capabilities. This may indicate remote command execution through OpenEDR's remote management features, which could be legitimate administrative activity or potential abuse of the remote access tool. Threat actors may leverage OpenEDR's remote shell capabilities to execute commands on compromised systems, facilitating lateral movement or other command-and-control operations.
windows · process_creation
OpenSSH Server Listening On Socket
mediumDetects scenarios where an attacker enables the OpenSSH server and server starts to listening on SSH socket.
windows
Password Provided In Command Line Of Net.EXE
mediumDetects a when net.exe is called with a password in the command line
windows · process_creation
Port Forwarding Activity Via SSH.EXE
mediumDetects port forwarding activity via SSH.exe
windows · process_creation
Potential Lateral Movement via Windows Remote Shell
mediumDetects a child process spawned by 'winrshost.exe', which suggests remote command execution through Windows Remote Shell (WinRs) and may indicate potential lateral movement activity.
windows · process_creation
Potential Remote Desktop Tunneling
mediumDetects potential use of an SSH utility to establish RDP over a reverse SSH Tunnel. This can be used by attackers to enable routing of network packets that would otherwise not reach their intended destination.
windows · process_creation
Psexec Execution
mediumDetects user accept agreement execution in psexec commandline
windows · process_creation
PUA - CSExec Default Named Pipe
mediumDetects default CSExec pipe creation
windows · pipe_created
PUA - RemCom Default Named Pipe
mediumDetects default RemCom pipe creation
windows · pipe_created
RDP Enable or Disable via Win32_TerminalServiceSetting WMI Class
mediumDetects enabling or disabling of Remote Desktop Protocol (RDP) using alternate methods such as WMIC or PowerShell. In PowerShell one-liner commands, the "SetAllowTSConnections" method of the "Win32_TerminalServiceSetting" class may be used to enable or disable RDP. In WMIC, the "rdtoggle" alias or "Win32_TerminalServiceSetting" class may be used for the same purpose.
windows · process_creation
Remote PowerShell Session Host Process (WinRM)
mediumDetects remote PowerShell sections by monitoring for wsmprovhost (WinRM host process) as a parent or child process (sign of an active PowerShell remote session).
windows · process_creation
Remote Service Activity via SVCCTL Named Pipe
mediumDetects remote service activity via remote access to the svcctl named pipe
windows
SMB Spoolss Name Piped Usage
mediumDetects the use of the spoolss named pipe over SMB. This can be used to trigger the authentication via NTLM of any machine that has the spoolservice enabled.
zeek
Suspicious New-PSDrive to Admin Share
mediumAdversaries may use to interact with a remote network share using Server Message Block (SMB). The adversary may then perform actions as the logged-on user.
windows · ps_script
Suspicious Non PowerShell WSMAN COM Provider
mediumDetects suspicious use of the WSMAN provider without PowerShell.exe as the host application.
windows
Suspicious WSMAN Provider Image Loads
mediumDetects signs of potential use of the WSMAN provider from uncommon processes locally and remote execution.
windows · image_load
Unsigned or Unencrypted SMB Connection to Share Established
mediumDetects SMB server connections to shares without signing or encryption enabled. This could indicate potential lateral movement activity using unsecured SMB shares.
windows
Windows Admin Share Mount Via Net.EXE
mediumDetects when an admin share is mounted using net.exe
windows · process_creation
Access To ADMIN$ Network Share
lowDetects access to ADMIN$ network share
windows
Net.EXE Execution
lowDetects execution of "Net.EXE".
windows · process_creation
Remote PowerShell Session (PS Classic)
lowDetects remote PowerShell sessions
windows · ps_classic_start
Windows Share Mount Via Net.EXE
lowDetects when a share is mounted using the "net.exe" utility
windows · process_creation