Sigma rule: AspNetCompiler Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ce07aa76fbef, updated 2025-02-24T00:00:00.000Z.

Rule

Title
AspNetCompiler Execution
Status
test
Level
medium
Author
frack113
Date
2021-11-24
Modified
2025-02-24
File
rules/windows/process_creation/proc_creation_win_aspnet_compiler_exectuion.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects execution of "aspnet_compiler.exe" which can be abused to compile and execute C# code.

Log source

product
windows
category
process_creation

Detection

selection:
    Image|contains:
        - ':\Windows\Microsoft.NET\Framework\'
        - ':\Windows\Microsoft.NET\Framework64\'
        - ':\Windows\Microsoft.NET\FrameworkArm\'
        - ':\Windows\Microsoft.NET\FrameworkArm64\'
    Image|endswith: '\aspnet_compiler.exe'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.stealth
  • attack.t1127

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_aspnet_compiler_exectuion.yml

Sources and licences

  • SigmaHQ

    "AspNetCompiler Execution" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_aspnet_compiler_exectuion.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: AspNetCompiler Execution",
entity page, dataset version ref-ce07aa76fbef, updated 2025-02-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a01b8329-5953-4f73-ae2d-aa01e1f35f00 (accessed 2026-11-03).
Underlying source: SigmaHQ rule a01b8329-5953-4f73-ae2d-aa01e1f35f00, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.