LOLBAS/yml/OSBinaries/Vbc.yml

36 lines
1.4 KiB
YAML
Raw Normal View History

2020-02-27 16:13:07 +01:00
---
Name: vbc.exe
Description: Binary file used for compile vbs code
Author: Lior Adar
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
Tags:
- Execute: WSH
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
Tags:
- Execute: WSH
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
Code_Sample:
2022-09-11 07:23:21 +02:00
- Code:
Detection:
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_visual_basic_compiler.yml
2022-09-11 07:23:21 +02:00
- 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
- Person: Hai Vaknin(Lux)