{"id":"a01b8329-5953-4f73-ae2d-aa01e1f35f00","title":"AspNetCompiler Execution","description":"Detects execution of \"aspnet_compiler.exe\" which can be abused to compile and execute C# code.","author":"frack113","status":"test","level":"medium","date":"2021-11-24","modified":"2025-02-24","tags":["attack.execution","attack.stealth","attack.t1127"],"technique_ids":["T1127"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://lolbas-project.github.io/lolbas/Binaries/Aspnet_Compiler/","https://ijustwannared.team/2020/08/01/the-curious-case-of-aspnet_compiler-exe/"],"source_path":"rules/windows/process_creation/proc_creation_win_aspnet_compiler_exectuion.yml","source_sha256":"2dd4a36221a8b6c6ec2d64a616606f032a631c87a9ba9d953ae5c1fababf4cdd","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_aspnet_compiler_exectuion.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: AspNetCompiler Execution\nid: a01b8329-5953-4f73-ae2d-aa01e1f35f00 # Exec\nrelated:\n    - id: 9ccba514-7cb6-4c5c-b377-700758f2f120 # SuspChild\n      type: similar\n    - id: 4c7f49ee-2638-43bb-b85b-ce676c30b260 # TMP File\n      type: similar\n    - id: 9f50fe98-fe5c-4a2d-86c7-fad7f63ed622 # Susp Paths\n      type: similar\nstatus: test\ndescription: Detects execution of \"aspnet_compiler.exe\" which can be abused to compile and execute C# code.\nreferences:\n    - https://lolbas-project.github.io/lolbas/Binaries/Aspnet_Compiler/\n    - https://ijustwannared.team/2020/08/01/the-curious-case-of-aspnet_compiler-exe/\nauthor: frack113\ndate: 2021-11-24\nmodified: 2025-02-24\ntags:\n    - attack.execution\n    - attack.stealth\n    - attack.t1127\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        Image|contains:\n            - ':\\Windows\\Microsoft.NET\\Framework\\'\n            - ':\\Windows\\Microsoft.NET\\Framework64\\'\n            - ':\\Windows\\Microsoft.NET\\FrameworkArm\\'\n            - ':\\Windows\\Microsoft.NET\\FrameworkArm64\\'\n        Image|endswith: '\\aspnet_compiler.exe'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1127","id":"T1127","name":"Trusted Developer Utilities Proxy Execution","page":"techniques/enterprise/T1127/"}],"data_path":"data/detection-rules/a01b8329-5953-4f73-ae2d-aa01e1f35f00.json","kind":"sigma"}
