This hunt detects adversaries leveraging the legitimate Windows utility tasksvr.exe as a disclosed hacktool to execute malicious payloads or establish persistence within the environment. Proactive hunting for this behavior in Azure Sentinel is critical because attackers often abuse trusted system processes like tasksvr.exe to evade signature-based detection and maintain stealthy access to sensitive resources.
rule Hacktools_CN_Panda_tasksvr {
meta:
description = "Disclosed hacktool set - file tasksvr.exe"
author = "Florian Roth"
date = "17.11.14"
score = 60
hash = "a73fc74086c8bb583b1e3dcfd326e7a383007dc0"
strings:
$s2 = "Consys21.dll" fullword ascii
$s4 = "360EntCall.exe" fullword wide
$s15 = "Beijing1" fullword ascii
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 3 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the Disclosed hacktool set - file tasksvr.exe detection rule, including suggested filters and exclusions:
Scenario: Microsoft Endpoint Configuration Manager (SCCM) Software Deployment
ccmexec.exe) often invokes tasksvr.exe to execute scheduled software installations or patching tasks on endpoint machines. This is a standard administrative workflow where the deployment engine uses the Task Scheduler service to manage execution windows.ccmexec.exe and the command line contains arguments related to “SoftwareInstallation” or “PatchDeployment”.Scenario: Automated Backup Jobs via Veeam or Commvault
tasksvr.exe) to trigger incremental backups during off-hours. The detection may flag the creation of a new scheduled task or the execution of an existing one as a potential hacktool activity.tasksvr.exe instances where the parent process is VeeamAgentService.exe, vssnap.exe, or commagent.exe.Scenario: Group Policy (GPO) Script Execution
tasksvr.exe to ensure script execution. This is common during domain-wide policy updates or user provisioning events.gpupdate.exe or lsass.exe (indicating a GPO refresh) and the action type is “Create” or “Update”