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: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.stealth
- attack.t1127
MITRE ATT&CK ids this rule names
Related rules
- 9ccba514-7cb6-4c5c-b377-700758f2f120 (similar)
- 4c7f49ee-2638-43bb-b85b-ce676c30b260 (similar)
- a01b8329-5953-4f73-ae2d-aa01e1f35f00 (similar)
References
- https://lolbas-project.github.io/lolbas/Binaries/Aspnet_Compiler/
- https://ijustwannared.team/2020/08/01/the-curious-case-of-aspnet_compiler-exe/
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
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.