Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: webserver
definition: 'Make sure that your Netscaler appliance logs all kinds of attacks (test with http://your-citrix-gw.net/robots.txt). The directory traversal with ../ might not be needed on certain cloud instances or for authenticated users, so we also check for direct paths. All scripts in portal/scripts are exploitable except logout.pl.'
detection:
selection_cs:
- cs-uri-query|contains: '/../vpns/'
- cs-uri-query|endswith: '/vpns/cfg/smb.conf'
selection_csall:
cs-uri-query|contains|all:
- '/vpns/portal/scripts/'
- '.pl'
condition: 1 of selection_*
falsepositives:
- Unknown