Rule Library

Sigma Rules

921 rules found for "Microsoft"

3,731Total
3,132Detection
457Emerging
139Hunting
Detectionhightest

Potential RDP Tunneling Via Plink

Execution of plink to perform data exfiltration and tunneling

WindowsProcess Creation
Florian Roth (Nextron Systems)Thu Aug 04windows
Detectionmediumtest

Suspicious Powercfg Execution To Change Lock Screen Timeout

Detects suspicious execution of 'Powercfg.exe' to change lock screen timeout

WindowsProcess Creation
François HubautFri Nov 18windows
Detectionmediumtest

Potential Active Directory Enumeration Using AD Module - ProcCreation

Detects usage of the "Import-Module" cmdlet to load the "Microsoft.ActiveDirectory.Management.dl" DLL. Which is often used by attackers to perform AD enumeration.

WindowsProcess Creation
François HubautSun Jan 22windows
Detectionmediumtest

Add Windows Capability Via PowerShell Cmdlet

Detects usage of the "Add-WindowsCapability" cmdlet to add Windows capabilities. Notable capabilities could be "OpenSSH" and others.

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Sun Jan 22windows
Detectionhightest

Powershell Base64 Encoded MpPreference Cmdlet

Detects base64 encoded "MpPreference" PowerShell cmdlet code that tries to modifies or tamper with Windows Defender AV

WindowsProcess Creation
Florian Roth (Nextron Systems)Fri Mar 04windows
Detectionhightest

Suspicious Encoded And Obfuscated Reflection Assembly Load Function Call

Detects suspicious base64 encoded and obfuscated "LOAD" keyword used in .NET "reflection.assembly"

WindowsProcess Creation
Martin MuellerTue Mar 01windows
Detectionmediumtest

Potential Script Proxy Execution Via CL_Mutexverifiers.ps1

Detects the use of the Microsoft signed script "CL_mutexverifiers" to proxy the execution of additional PowerShell script commands

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)+3Sat May 21windows
Detectionmediumtest

ConvertTo-SecureString Cmdlet Usage Via CommandLine

Detects usage of the "ConvertTo-SecureString" cmdlet via the commandline. Which is fairly uncommon and could indicate potential suspicious activity

WindowsProcess Creation
Teymur Kheirkhabarov+3Sun Oct 11windows
Detectionmediumtest

Computer Discovery And Export Via Get-ADComputer Cmdlet

Detects usage of the Get-ADComputer cmdlet to collect computer information and output it to a file

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Thu Nov 10windows
Detectionhightest

Powershell Defender Disable Scan Feature

Detects requests to disable Microsoft Defender features using PowerShell commands

WindowsProcess Creation
Florian Roth (Nextron Systems)Thu Mar 03windows
Detectionmediumtest

Powershell Defender Exclusion

Detects requests to exclude files, folders or processes from Antivirus scanning using PowerShell cmdlets

WindowsProcess Creation
Florian Roth (Nextron Systems)Thu Apr 29windows
Detectionmediumtest

Potential COM Objects Download Cradles Usage - Process Creation

Detects usage of COM objects that can be abused to download files in PowerShell by CLSID

WindowsProcess Creation
François HubautSun Dec 25windows
Detectionhightest

Potentially Suspicious File Download From File Sharing Domain Via PowerShell.EXE

Detects potentially suspicious file downloads from file sharing domains using PowerShell.exe

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Fri Feb 23windows
Detectionhightest

Email Exifiltration Via Powershell

Detects email exfiltration via powershell cmdlets

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)+1Fri Sep 09windows
Detectionmediumtest

Potential Suspicious Windows Feature Enabled - ProcCreation

Detects usage of the built-in PowerShell cmdlet "Enable-WindowsOptionalFeature" used as a Deployment Image Servicing and Management tool. Similar to DISM.exe, this cmdlet is used to enumerate, install, uninstall, configure, and update features and packages in Windows images

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Thu Dec 29windows
Detectionmediumtest

Certificate Exported Via PowerShell

Detects calls to cmdlets that are used to export certificates from the local certificate store. Threat actors were seen abusing this to steal private keys from compromised machines.

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Thu May 18windows
Detectionhightest

Abuse of Service Permissions to Hide Services Via Set-Service

Detects usage of the "Set-Service" powershell cmdlet to configure a new SecurityDescriptor that allows a service to be hidden from other utilities such as "sc.exe", "Get-Service"...etc. (Works only in powershell 7)

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Mon Oct 17windows
Detectionhightest

Suspicious PowerShell IEX Execution Patterns

Detects suspicious ways to run Invoke-Execution using IEX alias

WindowsProcess Creation
Florian Roth (Nextron Systems)+1Thu Mar 24windows
Detectionhightest

Root Certificate Installed From Susp Locations

Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Fri Sep 09windows
Detectionmediumtest

Unsigned AppX Installation Attempt Using Add-AppxPackage

Detects usage of the "Add-AppxPackage" or it's alias "Add-AppPackage" to install unsigned AppX packages

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Tue Jan 31windows
Detectionhightest

Suspicious Invoke-WebRequest Execution

Detects a suspicious call to Invoke-WebRequest cmdlet where the and output is located in a suspicious location

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Tue Aug 02windows
Detectionhighexperimental

Suspicious Kerberos Ticket Request via CLI

Detects suspicious Kerberos ticket requests via command line using System.IdentityModel.Tokens.KerberosRequestorSecurityToken class. Threat actors may use command line interfaces to request Kerberos tickets for service accounts in order to perform offline password cracking attacks commonly known as Kerberoasting or other Kerberos ticket abuse techniques like silver ticket attacks.

WindowsProcess Creation
Swachchhanda Shrawan Poudel (Nextron Systems)Tue Nov 18windows
Detectionmediumtest

MSExchange Transport Agent Installation

Detects the Installation of a Exchange Transport Agent

WindowsProcess Creation
Tobias MichalskiTue Jun 08windows
Detectionhightest

Tamper Windows Defender Remove-MpPreference

Detects attempts to remove Windows Defender configurations using the 'MpPreference' cmdlet

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Fri Aug 05windows
Detectionhighstable

Potential Powershell ReverseShell Connection

Detects usage of the "TcpClient" class. Which can be abused to establish remote connections and reverse-shells. As seen used by the Nishang "Invoke-PowerShellTcpOneLine" reverse shell and other.

WindowsProcess Creation
FPT.EagleEye+2Wed Mar 03windows
Detectionmediumtest

Potentially Suspicious Powershell Script Execution From Temp Folder

Detects a potentially suspicious powershell script executions from temporary folder

WindowsProcess Creation
Florian Roth (Nextron Systems)+2Wed Jul 14windows
Detectionhightest

Suspicious Service DACL Modification Via Set-Service Cmdlet

Detects suspicious DACL modifications via the "Set-Service" cmdlet using the "SecurityDescriptorSddl" flag (Only available with PowerShell 7) that can be used to hide services or make them unstopable

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Tue Oct 18windows
Detectionhightest

PowerShell Script Change Permission Via Set-Acl

Detects PowerShell execution to set the ACL of a file or a folder

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Tue Oct 18windows
Detectionhightest

PowerShell Set-Acl On Windows Folder

Detects PowerShell scripts to set the ACL to a file in the Windows folder

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Tue Oct 18windows
Detectionmediumtest

Change PowerShell Policies to an Insecure Level

Detects changing the PowerShell script execution policy to a potentially insecure level using the "-ExecutionPolicy" flag.

WindowsProcess Creation
François HubautMon Nov 01windows
Detectionhightest

Exchange PowerShell Snap-Ins Usage

Detects adding and using Exchange PowerShell snap-ins to export mailbox data. As seen used by HAFNIUM and APT27

WindowsProcess Creation
FPT.EagleEye+1Wed Mar 03windows
Detectionlowtest

Stop Windows Service Via PowerShell Stop-Service

Detects the stopping of a Windows service via the PowerShell Cmdlet "Stop-Service"

WindowsProcess Creation
Jakob Weinzettl+2Sun Mar 05windows
Detectionhighexperimental

Suspicious Uninstall of Windows Defender Feature via PowerShell

Detects the use of PowerShell with Uninstall-WindowsFeature or Remove-WindowsFeature cmdlets to disable or remove the Windows Defender GUI feature, a common technique used by adversaries to evade defenses.

WindowsProcess Creation
yxinmiracleFri Aug 22windows
Detectionmediumtest

User Discovery And Export Via Get-ADUser Cmdlet

Detects usage of the Get-ADUser cmdlet to collect user information and output it to a file

WindowsProcess Creation
Nasreddine Bencherchali (Nextron Systems)Fri Sep 09windows
Detectionmediumtest

Suspicious X509Enrollment - Process Creation

Detect use of X509Enrollment

WindowsProcess Creation
François HubautFri Dec 23windows
Detectionmediumtest

Visual Studio NodejsTools PressAnyKey Arbitrary Binary Execution

Detects child processes of Microsoft.NodejsTools.PressAnyKey.exe that can be used to execute any other binary

WindowsProcess Creation
Florian Roth (Nextron Systems)+1Tue Jan 11windows
Detectionhightest

Sensitive File Dump Via Print.EXE

Detects the abuse of the Print.exe utility for credential harvesting which involves using Print.Exe to copy sensitive files such as ntds.dit, SAM, SECURITY, or SYSTEM from the Windows directory in order to extract credentials, locally or remotely.

WindowsProcess Creation
Ayush Anand (Securityinbits)Tue Apr 28windows
Detectionmediumtest

File Download Using ProtocolHandler.exe

Detects usage of "ProtocolHandler" to download files. Downloaded files will be located in the cache folder (for example - %LOCALAPPDATA%\Microsoft\Windows\INetCache\IE)

WindowsProcess Creation
François HubautTue Jul 13windows
Detectionhightest

PUA - Suspicious ActiveDirectory Enumeration Via AdFind.EXE

Detects active directory enumeration activity using known AdFind CLI flags

WindowsProcess Creation
François HubautMon Dec 13windows
Detectionhightest

PUA - AdFind Suspicious Execution

Detects AdFind execution with common flags seen used during attacks

WindowsProcess Creation
Janantha Marasinghe+3Tue Feb 02windows
Detectionhightest

PUA - CsExec Execution

Detects the use of the lesser known remote execution tool named CsExec a PsExec alternative

WindowsProcess Creation
Florian Roth (Nextron Systems)Mon Aug 22windows
Detectionhightest

PUA - DefenderCheck Execution

Detects the use of DefenderCheck, a tool to evaluate the signatures used in Microsoft Defender. It can be used to figure out the strings / byte chains used in Microsoft Defender to detect a tool and thus used for AV evasion.

WindowsProcess Creation
Florian Roth (Nextron Systems)Tue Aug 30windows
Detectionmediumtest

PUA - SoftPerfect Netscan Execution

Detects usage of SoftPerfect's "netscan.exe". An application for scanning networks. It is actively used in-the-wild by threat actors to inspect and understand the network architecture of a victim.

WindowsProcess Creation
Thu Apr 25windows
Detectionlowexperimental

QuickAssist Execution

Detects the execution of Microsoft Quick Assist tool "QuickAssist.exe". This utility can be used by attackers to gain remote access.

WindowsProcess Creation
Muhammad FaisalThu Dec 19windows
Detectionhightest

Process Memory Dump via RdrLeakDiag.EXE

Detects the use of the Microsoft Windows Resource Leak Diagnostic tool "rdrleakdiag.exe" to dump process memory

WindowsProcess Creation
Cedric MAURUGEON+3Fri Sep 24windows
Detectionmediumexperimental

Windows Recovery Environment Disabled Via Reagentc

Detects attempts to disable windows recovery environment using Reagentc. ReAgentc.exe is a command-line tool in Windows used to manage the Windows Recovery Environment (WinRE). It allows users to enable, disable, and configure WinRE, which is used for troubleshooting and repairing common boot issues.

WindowsProcess Creation
Daniel Koifman (KoifSec)+1Thu Jul 31windows
Detectionlowexperimental

RegAsm.EXE Execution Without CommandLine Flags or Files

Detects the execution of "RegAsm.exe" without a commandline flag or file, which might indicate potential process injection activity. Usually "RegAsm.exe" should point to a dedicated DLL file or call the help with the "/?" flag.

WindowsProcess Creation
François HubautWed Jun 04windows
Detectionhightest

Suspicious Registry Modification From ADS Via Regini.EXE

Detects the import of an alternate data stream with regini.exe, regini.exe can be used to modify registry keys.

WindowsProcess Creation
Eli Salem+2Mon Oct 12windows