Skip to content
WETNav

Community detections

code.exe

2 community detection rules look for suspicious code.exe command lines, most often for Web Protocols (T1071.001), Remote Access Software (T1219). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.

Rules by level

1 high1 medium

Worst caseHigh
Explain a code.exe command line

What defenders look for

  • High
    Renamed Visual Studio Code Tunnel Execution

    Detects renamed Visual Studio Code tunnel execution. Attackers can abuse this functionality to establish a C2 channel

    T1071.001T1219by Nasreddine Bencherchali (Nextron Systems)

  • Medium
    Potentially Suspicious Electron Application CommandLine

    Detects potentially suspicious CommandLine of electron apps (teams, discord, slack, etc.). This could be a sign of abuse to proxy execution through a signed binary.

    by frack113, Nasreddine Bencherchali (Nextron Systems)

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.

Questions

Is code.exe malicious?
Not by itself. These rules flag specific ways of running it: 2 rules, 1 rated high or critical. Renamed Visual Studio Code Tunnel Execution; Potentially Suspicious Electron Application CommandLine. Judge a run by its command line, its parent process, the account and the host.
What does code.exe have to do with ATT&CK?
The rules for it map to Web Protocols (T1071.001), Remote Access Software (T1219).
How do I check a code.exe command line?
Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.