windows enabled community low v1.0.0

csc

Binary file used by .NET Framework to compile C# code Located at: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe.

📋 Live Preview
csc
csc

Sandbox: execFile · Timeout: 30s

Capabilities

build.compile.code

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Use csc.exe to compile C# code, targeting the .NET Framework, stored in the specified .cs file and output the compiled version to the specified .exe path. (Compile attacker code on system. Bypass defensive counter measures.)

csc.exe -out:{PATH:.exe} {PATH:.cs}

Use csc.exe to compile C# code, targeting the .NET Framework, stored in the specified .cs file and output the compiled version to a DLL file with the same name. (Compile attacker code on system. Bypass defensive counter measures.)

csc -target:library {PATH:.cs}

Detection

Documentation

csc

csc is a Windows LOLBin. Binary file used by .NET Framework to compile C# code Located at: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Csc.exe; C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe.

References