Detection rules › Sigma
Potentially Suspicious ASP.NET Compilation Via AspNetCompiler
Detects execution of "aspnet_compiler.exe" with potentially suspicious paths for compilation.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Defense Evasion | T1127 Trusted Developer Utilities Proxy Execution |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
Stages and Predicates
Stage 1: selection
or:
CommandLine|contains: ':\Temp\'
CommandLine|contains: ':\Windows\System32\Tasks\'
CommandLine|contains: ':\Windows\Tasks\'
CommandLine|contains: ':\Windows\Temp\'
CommandLine|contains: '\AppData\Local\Roaming\'
CommandLine|contains: '\AppData\Local\Temp\'
CommandLine|contains: '\Users\Public\'
or:
Image|contains: ':\Windows\Microsoft.NET\Framework64\'
Image|contains: ':\Windows\Microsoft.NET\FrameworkArm64\'
Image|contains: ':\Windows\Microsoft.NET\FrameworkArm\'
Image|contains: ':\Windows\Microsoft.NET\Framework\'
Image|endswith: '\aspnet_compiler.exe'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
Image | match |
|
Neighbors
Broader alternatives (more inclusive than this rule)
These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.
- AspNetCompiler Execution (drops 1 filter this rule applies)