Skip to content

Commit cd16f0a

Browse files
bohopswietze
andauthored
Add vsls-agent lolbin and committing a few other changes (LOLBAS-Project#263)
Co-authored-by: Wietze <[email protected]>
1 parent ded9046 commit cd16f0a

File tree

6 files changed

+35
-3
lines changed

6 files changed

+35
-3
lines changed

NOTICE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
* Submitter: An individual, group, organization, or entity that contributes to the LOLBAS project through project maintenance, issue submission, Pull Request (PR) submission, etc.
1616
* Consumer: An individual, group, organization, or entity that uses ("consumes") the LOLBAS project resources through the web portal or repository interfaces and capabilities.
17-
* OLBAS: Living Off The Land Binaries and Scripts
17+
* LOLBAS: Living Off The Land Binaries and Scripts
1818
* LOLBIN: Living Off The Land Binary
1919
* LOL/"lol": Living Off The Land
2020

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The following folks help maintain the LOLBAS Project on their personal time:
7272
* Chris 'Lopi' Spehn ([@ConsciousHacker](https://twitter.com/ConsciousHacker))
7373
* Liam ([@liamsomerville](https://twitter.com/liamsomerville))
7474
* Wietze ([@Wietze](https://twitter.com/@Wietze))
75+
* Jose Hernandez ([@_josehelps](https://twitter.com/_josehelps))
7576

7677
## Thanks
7778

yml/OSBinaries/Conhost.yml

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ Commands:
1111
Privileges: User
1212
MitreID: T1202
1313
OperatingSystem: Windows 10, Windows 11
14+
- Command: "conhost.exe --headless calc.exe"
15+
Description: Execute calc.exe with conhost.exe as parent process
16+
Usecase: Specify --headless parameter to hide child process window (if applicable)
17+
Category: Execute
18+
Privileges: User
19+
MitreID: T1202
20+
OperatingSystem: Windows 10, Windows 11
1421
Full_Path:
1522
- Path: c:\windows\system32\conhost.exe
1623
Detection:
@@ -19,6 +26,8 @@ Detection:
1926
Resources:
2027
- Link: https://www.hexacorn.com/blog/2020/05/25/how-to-con-your-host/
2128
- Link: https://twitter.com/Wietze/status/1511397781159751680
29+
- Link: https://twitter.com/embee_research/status/1559410767564181504
30+
- Link: https://twitter.com/ankit_anubhav/status/1561683123816972288
2231
Acknowledgement:
2332
- Person: Adam
2433
Handle: '@hexacorn'

yml/OSBinaries/Eventvwr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Commands:
1414
- Command: ysoserial.exe -o raw -f BinaryFormatter - g DataSet -c calc > RecentViews & copy RecentViews %LOCALAPPDATA%\Microsoft\EventV~1\RecentViews & eventvwr.exe
1515
Description: During startup, eventvwr.exe uses .NET deserialization with %LOCALAPPDATA%\Microsoft\EventV~1\RecentViews file. This file can be created using https://github.com/pwntester/ysoserial.net
1616
Usecase: Execute a command to bypass security restrictions that limit the use of command-line interpreters.
17-
Category: Execute
17+
Category: UAC Bypass
1818
Privileges: Administrator
19-
MitreID: T1202
19+
MitreID: T1548.002
2020
OperatingSystem: Windows 7, Windows 8, Windows 8.1, Windows 10
2121
Full_Path:
2222
- Path: C:\Windows\System32\eventvwr.exe

yml/OtherMSBinaries/vsls-agent.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
Name: vsls-agent.exe
3+
Description: Agent for Visual Studio Live Share (Code Collaboration)
4+
Author: Jimmy (@bohops)
5+
Created: 2022-11-01
6+
Commands:
7+
- Command: vsls-agent.exe --agentExtensionPath c:\path\to\payload.dll
8+
Description: Load a library payload using the --agentExtensionPath parameter (32-bit)
9+
Usecase: Execute proxied payload with Microsoft signed binary
10+
Category: Execute
11+
Privileges: User
12+
MitreID: T1218
13+
OperatingSystem: Windows 10 21H2 (likely previous and newer versions with modern versions of Visual Studio installed)
14+
Full_Path:
15+
- Path: c:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Extensions\Microsoft\LiveShare\Agent\vsls-agent.exe
16+
Detection:
17+
- Sigma: https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_susp_vslsagent_agentextensionpath_load.yml
18+
Resources:
19+
- Link: https://twitter.com/bohops/status/1583916360404729857
20+
Acknowledgement:
21+
- Person: Jimmy
22+
Handle: '@bohops'

0 commit comments

Comments
 (0)