Detection rules › Sigma
AspNetCompiler Execution
Detects execution of "aspnet_compiler.exe" which can be abused to compile and execute C# code.
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:
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 |
|---|---|---|
Image | ends_with |
|
Image | match |
|
Neighbors
Stricter alternatives (narrower than this rule)
The rules below may be useful if you find the current rule is too noisy / lacks specificity.
- Potentially Suspicious ASP.NET Compilation Via AspNetCompiler (adds 1 filter)