This detection identifies the creation of a suspicious web shell named “1d.asp,” which adversaries often deploy to establish a persistent foothold for remote command execution and lateral movement within web applications. Proactive hunting is essential in Azure Sentinel because this specific file name frequently indicates an early-stage compromise that may bypass standard signature-based alerts, requiring manual validation to prevent potential data exfiltration or system takeover.
rule webshell_asp_1d {
meta:
description = "Web Shell - file 1d.asp"
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
date = "2014/01/28"
score = 70
hash = "fad7504ca8a55d4453e552621f81563c"
id = "393e738a-b4c2-5630-a55f-c3caee4ff75e"
strings:
$s0 = "+9JkskOfKhUxZJPL~\\(mD^W~[,{@#@&EO"
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 3-5 specific false positive scenarios for the Web Shell - file 1d.asp detection rule, including suggested filters and exclusions:
Scenario: Automated Backup or Migration Scripts
1d.asp as part of a sequential upload process to the IIS web root (C:\inetpub\wwwroot) before renaming it immediately after processing.DOMAIN\VeeamSvc, DOMAIN\BackupAdmin) and the file creation timestamp falls within the defined maintenance window (e.g., 02:00–04:00 local time). Additionally, filter out files that are deleted or renamed within 60 seconds of creation.Scenario: Development Environment Deployment Pipelines
1d.asp as a standard placeholder filename for initial connectivity checks or load testing scripts before deploying the final application version.10.20.5.0/24). Furthermore, exclude files created by processes running under the context of the deployment service (e.g., Jenkins.exe, AzureDevOpsAgent) where the file path contains a temporary directory structure like \temp\ or \staging\.Scenario: Scheduled Diagnostic and Health Checks *