Detect VNC server or viewer process starting on a host
Flags process creation of known VNC server and viewer executables, the first observable in MITRE's chain of "VNC service starting unexpectedly, followed by user session creation and interactive desktop activity". The binary list is MITRE's VNCBinaryList tuning knob made concrete, matched on `Image` alone so the rule stays a single-field match that every backend can render. Viewer binaries are included because a host initiating an outbound VNC session is the lateral-movement source, not just the target. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0178, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
Sentinel · KQL
Run this as a search.
DeviceProcessEvents| where (FolderPath endswith "\\winvnc.exe" or FolderPath endswith "\\winvnc4.exe" or FolderPath endswith "\\vncserver.exe" or FolderPath endswith "\\vncserverui.exe" or FolderPath endswith "\\vncviewer.exe" or FolderPath endswith "\\tvnserver.exe" or FolderPath endswith "\\tvnviewer.exe" or FolderPath endswith "\\uvnc_service.exe")
Splunk · SPL
Run this as a search.
index=* (Image="*\\winvnc.exe" OR Image="*\\winvnc4.exe" OR Image="*\\vncserver.exe" OR Image="*\\vncserverui.exe" OR Image="*\\vncviewer.exe" OR Image="*\\tvnserver.exe" OR Image="*\\tvnviewer.exe" OR Image="*\\uvnc_service.exe")Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE (TO_LOWER(process.executable) LIKE "*\\\\winvnc.exe" OR TO_LOWER(process.executable) LIKE "*\\\\winvnc4.exe" OR TO_LOWER(process.executable) LIKE "*\\\\vncserver.exe" OR TO_LOWER(process.executable) LIKE "*\\\\vncserverui.exe" OR TO_LOWER(process.executable) LIKE "*\\\\vncviewer.exe" OR TO_LOWER(process.executable) LIKE "*\\\\tvnserver.exe" OR TO_LOWER(process.executable) LIKE "*\\\\tvnviewer.exe" OR TO_LOWER(process.executable) LIKE "*\\\\uvnc_service.exe")
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,process_creation,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <rule id="100000" level="7"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)(\\winvnc\.exe$|\\winvnc4\.exe$|\\vncserver\.exe$|\\vncserverui\.exe$|\\vncviewer\.exe$|\\tvnserver\.exe$|\\tvnviewer\.exe$|\\uvnc_service\.exe$)</field> <description>Detect VNC server or viewer process starting on a host</description> <mitre> <id>T1021.005</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.