This module takes a Citrix NetScaler ns.conf configuration file as input and extracts secrets that have been stored with reversible encryption. The module supports legacy NetScaler encryption (RC4) as well as the newer AES-256-ECB and AES-256-CBC encryption types. It is also possible to decrypt secrets protected by the Key Encryption Key (KEK) method, provided the key fragment files F1.key and F2.key are provided.
BSD
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/admin/citrix/citrix_netscaler_config_decrypt
msf auxiliary(citrix_netscaler_config_decrypt) > show actions
...actions...
msf auxiliary(citrix_netscaler_config_decrypt) > set ACTION < action-name >
msf auxiliary(citrix_netscaler_config_decrypt) > show options
...show and set options...
msf auxiliary(citrix_netscaler_config_decrypt) > run
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security