Detects Microsoft Visual Studio vsls-agent.exe lolbin execution with a suspicious library load using the —agentExtensionPath parameter
title: Suspicious Vsls-Agent Command With AgentExtensionPath Load
id: 43103702-5886-11ed-9b6a-0242ac120002
status: test
description: Detects Microsoft Visual Studio vsls-agent.exe lolbin execution with a suspicious library load using the --agentExtensionPath parameter
references:
- https://twitter.com/bohops/status/1583916360404729857
author: bohops
date: 2022-10-30
tags:
- attack.stealth
- attack.t1218
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\vsls-agent.exe'
CommandLine|contains: '--agentExtensionPath'
filter:
CommandLine|contains: 'Microsoft.VisualStudio.LiveShare.Agent.'
condition: selection and not filter
falsepositives:
- False positives depend on custom use of vsls-agent.exe
level: medium
imProcessCreate
| where (TargetProcessName endswith "\\vsls-agent.exe" and TargetProcessCommandLine contains "--agentExtensionPath") and (not(TargetProcessCommandLine contains "Microsoft.VisualStudio.LiveShare.Agent."))
| Sentinel Table | Notes |
|---|---|
imProcessCreate | Ensure this data connector is enabled |