VsCode Code Tunnel Execution File Indicator

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the creation of a file with the name "code_tunnel.json" which indicate execution and usage of VsCode tunneling utility. Attackers can abuse this functionality to establish a C2 channel

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "File Created or Modified" AND FILENAME endswith "\code_tunnel.json" OR OBJECTNAME endswith "\code_tunnel.json" select Action1.HOSTNAME,Action1.MESSAGE,Action1.USERNAME,Action1.DOMAIN,Action1.OBJECTNAME,Action1.FILENAME,Action1.PROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)