Sigma rule: Potentially Suspicious ASP.NET Compilation Via AspNetCompiler

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

Rule

Title
Potentially Suspicious ASP.NET Compilation Via AspNetCompiler
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-08-14
Modified
2025-02-24
File
rules/windows/process_creation/proc_creation_win_aspnet_compiler_susp_paths.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects execution of "aspnet_compiler.exe" with potentially suspicious paths for compilation.

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'
    CommandLine|contains:
        # Note: add other potential suspicious paths
        - '\Users\Public\'
        - '\AppData\Local\Temp\'
        - '\AppData\Local\Roaming\'
        - ':\Temp\'
        - ':\Windows\Temp\'
        - ':\Windows\System32\Tasks\'
        - ':\Windows\Tasks\'
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_susp_paths.yml

Sources and licences

  • SigmaHQ

    "Potentially Suspicious ASP.NET Compilation Via AspNetCompiler" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_aspnet_compiler_susp_paths.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: Potentially Suspicious ASP.NET Compilation Via AspNetCompiler",
entity page, dataset version ref-4c85456ca734, updated 2025-02-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9f50fe98-fe5c-4a2d-86c7-fad7f63ed622 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9f50fe98-fe5c-4a2d-86c7-fad7f63ed622, 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.