2020-02-27 16:13:07 +01:00
|
|
|
---
|
|
|
|
Name: vbc.exe
|
|
|
|
Description: Binary file used for compile vbs code
|
|
|
|
Author: Lior Adar
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2020-02-27
|
2020-02-27 16:13:07 +01:00
|
|
|
Commands:
|
2020-03-16 19:55:27 +01:00
|
|
|
- Command: vbc.exe /target:exe c:\temp\vbs\run.vb
|
2021-12-14 17:50:22 +01:00
|
|
|
Description: Binary file used by .NET to compile Visual Basic code to an executable.
|
2020-02-27 16:13:07 +01:00
|
|
|
Usecase: Compile attacker code on system. Bypass defensive counter measures.
|
|
|
|
Category: Compile
|
2020-03-16 19:55:27 +01:00
|
|
|
Privileges: User
|
2020-02-27 16:13:07 +01:00
|
|
|
MitreID: T1127
|
2021-12-14 17:50:22 +01:00
|
|
|
OperatingSystem: Windows 7, Windows 10, Windows 11
|
2020-02-27 16:13:07 +01:00
|
|
|
- Command: vbc -reference:Microsoft.VisualBasic.dll c:\temp\vbs\run.vb
|
2021-12-14 17:50:22 +01:00
|
|
|
Description: Binary file used by .NET to compile Visual Basic code to an executable.
|
|
|
|
Usecase: Compile attacker code on system. Bypass defensive counter measures.
|
2020-02-27 16:13:07 +01:00
|
|
|
Category: Compile
|
2020-03-16 19:55:27 +01:00
|
|
|
Privileges: User
|
2020-02-27 16:13:07 +01:00
|
|
|
MitreID: T1127
|
2021-12-14 17:50:22 +01:00
|
|
|
OperatingSystem: Windows 7, Windows 10, Windows 11
|
2020-02-27 16:13:07 +01:00
|
|
|
Full_Path:
|
2020-03-16 19:55:27 +01:00
|
|
|
- Path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
|
|
|
|
- Path: C:\Windows\Microsoft.NET\Framework64\v3.5\vbc.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2022-09-11 07:23:21 +02:00
|
|
|
- Code:
|
2021-11-15 14:19:03 +01:00
|
|
|
Detection:
|
2022-09-11 07:23:21 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/08ca62cc8860f4660e945805d0dd615ce75258c1/rules/windows/process_creation/win_visual_basic_compiler.yml
|
|
|
|
- Elastic: https://github.com/elastic/detection-rules/blob/61afb1c1c0c3f50637b1bb194f3e6fb09f476e50/rules/windows/defense_evasion_dotnet_compiler_parent_process.toml
|
2020-02-27 16:13:07 +01:00
|
|
|
Acknowledgement:
|
2020-03-16 19:55:27 +01:00
|
|
|
- Person: Lior Adar
|
|
|
|
Handle:
|
|
|
|
- Person: Hai Vaknin(Lux)
|
|
|
|
Handle:
|