Cisco Anyconnect Kali Linux



Jan 04, 2020 Proceed with the way that how to Connect to VPN Server with Cisco AnyConnect from Linux Terminal. It’s easy to connect from desktop but this article help those who want to use Command line Interface. Root@kali:# CAT Cisco Auditing Tool - g0ne null0 Usage: -h hostname (for scanning single hosts) -f hostfile (for scanning multiple hosts) -p port # (default port is 23) -w wordlist (wordlist for community name guessing) -a passlist (wordlist for password guessing) -i ioshist (Check for IOS History bug) -l logfile (file to log to, default.

  1. How To Install Cisco Anyconnect In Kali Linux
  2. Cisco Anyconnect Ubuntu
  3. Cisco Anyconnect Kali Linux Free
Kmgmt-785-AnyConnect-Linux-Ubuntu

Objective

The objective of this article is to guide you through installing, using, and the option of uninstalling AnyConnect VPN Client v4.9.x on Ubuntu Desktop.

Introduction

The Cisco AnyConnect Virtual Private Network (VPN) Mobility Client provides remote users with a secure VPN connection. It provides the benefits of a Cisco Secure Sockets Layer (SSL) VPN client and supports applications and functions unavailable to a browser-based SSL VPN connection. Commonly used by remote workers, AnyConnect VPN lets employees connect to the corporate network infrastructure as if they were physically at the office, even when they are not. This adds to the flexibility, mobility, and productivity of your workers. Cisco AnyConnect is compatible with Windows 7, 8, 8.1, and 10, Mac OS X 10.8 and later, and Linux Intel (x64).

Follow the steps in this article to install the Cisco AnyConnect VPN Mobility Client on a Ubuntu Desktop. In this article, Ubuntu version 20.04 is used.

If you are using a Windows computer, click here to view an article on how to install AnyConnect on Windows.

If you are using a Mac computer, click here to view an article on how to install AnyConnect on Mac.

AnyConnect Software Version

Linux
  • AnyConnect - v4.9.x (Download latest)

Table of Contents

Installing AnyConnect Secure Mobility Client v4.9.x

Step 1

Cisco Anyconnect Kali Linux

Download the AnyConnect Pre-Deployment Package for Linux from Cisco Software Downloads.

The latest release at the time of publication was 4.9.01095.

Step 2

Open the Terminal by pressing Ctrl+Alt+T on your keyboard. To navigate to the folder where you have downloaded the AnyConnect Client Package, use the command, ‘cddirectory name’. For more information on the ‘cd’ command, click here.

In this example, the file is placed on the Desktop.

The directory may be different based on the location of the AnyConnect file download. For long filenames or paths, start typing some characters and press the tab key on your keyboard. The filename will auto-populate. If it doesn't even after you press tab twice, it indicates that you need to type more number of unique characters. Alternately, you can use the 'ls' command to list the files in your current directory.

Step 3

The initial download is a tarball archive (several files packed into one), which must be extracted. The command ‘tar xvffilename’ will extract the contents to the same directory in which the initial file is located.

For more information on the ‘tar’ command, click here.

Step 4

Once the folder is extracted, use the ‘cddirectory name’ command again to navigate into the folder.

cd [Directory Name]

Step 5

After navigating into the main folder, ‘cd’ into the vpn sub-folder.

Step 6

To run the AnyConnect install script, type ‘sudo ./vpn_install.sh’. This will begin the installation process using superuser permissions.

sudo ./vpn_install.sh

For more details on the 'sudo' command, click here.

Step 7

Accept the terms in the license agreement to complete the installation by typing ‘y’.

The AnyConnect installation should complete, and the Terminal window can be closed.

Windows

Using AnyConnect Secure Mobility Client v4.9.x

Step 1

To access the Anyconnect app, open the Terminal by pressing Ctrl+Alt+T on your keyboard. Use the command, ‘/opt/cisco/anyconnect/bin/vpnui’.

How To Install Cisco Anyconnect In Kali Linux

/opt/cisco/anyconnect/bin/vpnui

If you encounter any errors through the Terminal, you can access the app from the applications menu as shown below.

To access the applications menu using the User Interface (UI), click on the start icon (appears as nine dots on the lower left corner). Choose the Anyconnect app.

Alternatively, press Super+A (Super key is the windows icon key) on your keyboard to bring up the search bar. Start typing 'Anyconnect' and the app will appear.

Step 2

Click on the Anyconnect app.

Step 3

Enter the IP Address or Hostname of your desired server followed by the port number.

For RV340 family, the default port number is 8443.

Step 4

Some connections may not be secure using a trusted SSL certificate. By default, AnyConnect Client will block connection attempts to these servers.

Uncheck Block connections to untrusted servers to connect to these servers.

Uninstalling AnyConnect Secure Mobility Client v4.9.x

Step 1

Using Terminal, navigate to the folder that contains the uninstall shell script using the ‘cd’ Steam available for mac. command.

In a default installation, these files will be located in /opt/cisco/anyconnect/bin/.

Step 2

To run the Anyconnect uninstall script, enter ‘sudo ./vpn_uninstall.sh’

This will begin the uninstall process using superuser permissions. For more information on the 'sudo' command, click here.

Step 3

At the prompt, enter the sudo password and the client software will complete uninstallation.

Conclusion

There you have it! Alpha centauri for mac. You have now successfully learned the steps to install, use, and uninstall the Cisco AnyConnect Secure Mobility Client v4.9.x on Ubuntu Desktop.

For community discussions on Site-to-Site VPN, go to the Cisco Small Business Support Community page and do a search for Site-to-Site VPN.

AnyConnect App

The Anyconnect App can be downloaded from the Google Play store or the Apple store.

Additional Resources

I’m not going to make this a long winded post as the only change in this process is switching from Backtrack to Kali. Well, let me get into it before I just stop here.

Recently I came across an issue where I needed to be able to connect to a Cisco VPN using certificate authentication from my Kali box. I previously used Backtrack which is why I originally did this work. Usually I just use vpnc and go about my day but this time I couldn’t because this vpn was configured for only certificate based authentication. After searching for quite some time on installing the vpnclient software from Cisco I realized the software was last built for the 2.6.24 kernel. This isn’t helpful as Kali uses the 3.7 kernel. Needless to say this made life pretty painful. I have patched the most recent release of the Cisco vpnclient and have written a bash script to run the installation so hopefully nobody else has to deal with my pain. The following steps get it installed for you:

1. Download the files from my github by either going to the site and downloading or just running a git clone. (git clone https://github.com/captainhooligan/Kali-Cisco-VPN.git).

2. Change to the Kali-Cisco-VPN directory that was created during the git clone process and verify you have all the files listed in the git repo.

3. Now is where we start setting up the VPN! Here we run the VPN-Installer script with ./VPN-Installer and follow the on screen instructions. There are only a few questions that are asked. Locations can easily be left default. The part that I change from default is when asked whether or not the service for the vpnclient is to start automatically on boot. I choose No because I prefer to manage it myself.

From here everything is pretty self explanatory for the installation.

Cisco Anyconnect Ubuntu

4. Once the installation is completed there is an additional step for those of us that use 64 bit versions of Kali. If you notice in the original Kali-Cisco-VPN folder there was a file named 64-Bit. Run this with ./64-Bit and all of the missing libraries and all other requirements to run the vpnclient will be installed.

5. Audio recorders for mac free. Now that we have everything installed the rest is just configuration. In the README file it goes into everything you need to do. If you need more guidance when it comes to this check out the BT5-Cisco-VPN post which has screenshots guiding through the configuration.

Cisco Anyconnect Kali Linux Free

Enjoy!