vbc.exe

Binary file used for compile vbs code

Paths

  • C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe
  • C:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe
  • C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe
  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
  • C:\Windows\Microsoft.NET\Framework64\v3.5\vbc.exe
  • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\vbc.exe

Commands

Compile

Binary file used by .NET to compile Visual Basic code to an executable.

Use case: Compile attacker code on system. Bypass defensive counter measures.

Privileges: User

vbc.exe /target:exe {PATH_ABSOLUTE:.vb}

Compile

Binary file used by .NET to compile Visual Basic code to an executable.

Use case: Compile attacker code on system. Bypass defensive counter measures.

Privileges: User

vbc -reference:Microsoft.VisualBasic.dll {PATH_ABSOLUTE:.vb}

Detection