Search Results for: Install

Install VirtualBox in Kali Linux

Usually we use Virtual Machines on Windows and use Kali Linux there. But there are lots of Kali fans using Kali Linux directly (as a primary OS) on their PC. Here we sometime need to install virtual machine of other OS or vulnerable virtual machine.

Install VirtualBox in Kali Linux

We have already discussed a way where we had used KVM (Kernel Virtual Manager) in our Metasploitable2 and Windows installation in Linux. Al tough KVM has lots of functions but majority of people will chose VirtualBox because they are used to with VirtualBox.

Oracle VM VirtualBox is a free and open-source hosted hypervisor for x86 virtualization in this tutorial we describe how easily we can install VirtualBox in our Kali Linux system and use it.

First of all we need to go to the Linux download section of VirtualBox by clicking on this link. A new window will open like following screenshot:

VirtualBox download

In the above screenshot we can see that VirtualBox is not directly available for Kali. But the Ubuntu’s VirtualBox will work in Kali Linux and almost other Debian based distributions.

Now we download the VirtualBox for latest Ubuntu version. It is a .deb file with almost 85 MB of size.

After download the deb installer file on the Downloads folder we open the the terminal there and to install it we apply following command:

sudo dpkg -i virtualbox*.deb

Then it will start installing VirtualBox on our Kali Linux system.

VirtualBox started installing

After a little bit of time (depending on our computer’s performance) it will complete.

Now we can search the VirtualBox on the Application menu.

Searching for VirtualBox in Application menu

Now we click on this to open it. It will open in the following screenshot:

VirtualBox Installed in Kali Linux

Now we can use it to configure any other OS under Kali Linux. This is how we can install VirtualBox in our Kali Linux machine and the installation process of other OS in it will be the same as we do it on Windows.

Using Kali Linux as primary OS ? Our daily life with Kali Linux might be interesting.

Liked our tutorial? Don’t miss out! Connect with us on Twitter and GitHub for instant
updates on our latest articles. Ready to dive into the world of Kali
Linux and Cybersecurity? Become a part of our thriving community by
joining our lively Telegram Group. We’re on a mission to foster a strong
community dedicated to Linux and Cybersecurity enthusiasts. Have
questions or thoughts? Drop a comment – we’re here to assist! Our
comment section is your space to engage, and we make sure to read and
respond to each one.

Fruity Trojan Uses Deceptive Software Installers to Spread Remcos RAT

August 1, 2023 Threat actors are creating fake websites hosting trojanized software installers to trick unsuspecting users into downloading a downloader malware called Fruity with the goal of installing remote trojans tools like Remcos RAT. “Among the software in question are various instruments for fine-tuning CPUs, graphic cards, and BIOS; PC hardware-monitoring tools; and some …

Fruity Trojan Uses Deceptive Software Installers to Spread Remcos RAT Read More »

Hackers Abusing Windows Search Feature to Install Remote Access Trojans

July 29, 2023 A legitimate Windows search feature is being exploited by malicious actors to download arbitrary payloads from remote servers and compromise targeted systems with remote access trojans such as AsyncRAT and Remcos RAT. The novel attack technique, per Trellix, takes advantage of the “search-ms:” URI protocol handler, which offers the ability for applications …

Hackers Abusing Windows Search Feature to Install Remote Access Trojans Read More »

Critical Zero-Days in Atera Windows Installers Expose Users to Privilege Escalation Attacks

July 25, 2023 Zero-day vulnerabilities in Windows Installers for the Atera remote monitoring and management software could act as a springboard to launch privilege escalation attacks. The flaws, discovered by Mandiant on February 28, 2023, have been assigned the identifiers CVE-2023-26077 and CVE-2023-26078, with the issues remediated in versions 1.8.3.7 and 1.8.4.9 released by Atera on April 17, …

Critical Zero-Days in Atera Windows Installers Expose Users to Privilege Escalation Attacks Read More »

Hackers Exploit WebAPK to Deceive Android Users into Installing Malicious Apps

July 18, 2023 Threat actors are taking advantage of Android’s WebAPK technology to trick unsuspecting users into installing malicious web apps on Android phones that are designed to capture sensitive personal information. “The attack began with victims receiving SMS messages suggesting the need to update a mobile banking application,” researchers from CSIRT KNF said in an analysis released last …

Hackers Exploit WebAPK to Deceive Android Users into Installing Malicious Apps Read More »

Researchers Uncover Publisher Spoofing Bug in Microsoft Visual Studio Installer

June 13, 2023 Security researchers have warned about an “easily exploitable” flaw in the Microsoft Visual Studio installer that could be abused by a malicious actor to impersonate a legitimate publisher and distribute malicious extensions. “A threat actor could impersonate a popular publisher and issue a malicious extension to compromise a targeted system,” Varonis researcher …

Researchers Uncover Publisher Spoofing Bug in Microsoft Visual Studio Installer Read More »

How to Install Java OpenJDK8 on Kali Linux Manually

There are lots of cybersecurity projects and tools are available on the internet. Some of them like L3mon, HaxRAT and other Android RAT tools requires Java 8/OpenJDK version 8 on our system. In Kali Linux recent update OpenJDK 8 is removed from Kali Linux repository and only OpenJDK 11 comes with Kali Linux. But some tools written on Java 8 so of we want to use those tools we must need to install OpenJDK 8 on our Kali Linux manually.

install openjdk 8 on Kali Linux

In our this article we are going to learn how to install OpenJDK 8 on our Kali Linux system.

Installing OpenJDK 8 on Kali Linux

In our this article we are going to install OpenJDK 8 on our favorite Kali Linux system. Before that we are going to check our system which version if Java is installed on our system by applying following command on our terminal:

java -version

We can see the output on the following screenshot:

Java version installed on our system

In the above screenshot we can clearly see that we have only OpenJDK 11 on our system. Let’s start the OpenJDK 8 installation process start. First of all we need to go into Oracle Official website and Create an Oracle account and login there.

Oracle Account creation page

After sign up and login we need to move to the download page of OpenJDK 8. We need to scroll down a little bit to find OpenJDK version 8, as shown in the following screenshot:

openjdk 8 downlad page
For our x64 PC we are downloading the highlighted version

We click on the jdk-8u321-linux-x64.tar.gz link to download. Then we got a popup window and we accept the terms and conditions of Oracle to download this. Shown in the following screenshot:

accept the Oracle Technology Network License Agreement for Oracle Java OpenJDK8 to download

Now we need to click on the download button and let the download finish. Usually the downloads files stored on our Downloads directory. Now lets open our terminal and navigate to /usr/lib/jvm (If our system doesn’t have any of Java versions then we need to create this jvm directory under /usr/lib manually by using sudo mkdir -p /usr/lib/jvm command) by using following command:

cd /usr/lib/jvm

Now here we are going to extract our Java OpenJDK 8 compressed file by using following command:

sudo tar -xvzf ~/Downloads/jdk-8u321-linux-x64.tar.gz

We can see the output on the following screenshot:

extracting java 8 on Kali Linux

After all files extracted we need to navigate to our newly de-compressed directory (jdk1.8.0_321) by using following command:

cd jdk1.8.0_321

Here we need to set the java path to do so we need to change the environmental variables. We need to edit the file by text editor like Nano, so we run the following command to edit the file:

sudo nano /etc/environment

We can see the output of the above command in the following screenshot:

java environment editing for setting the path

In the above screenshot we can clearly see that there are some paths are already set. Two paths are divided by : symbol. Here we need to add some paths so we added a : sign after /usr/games path and add some paths that is /usr/lib/jvm/jdk1.8.0_321/bin:/usr/lib/jvm/jdk1.8.0_321/db/bin:/usr/lib/jvm/jdk1.8.0_321/jre/bin

After adding these paths our files looks like following screenshot:

 

java openjdk8 environment path editing

In the above screenshot we had highlighted the modified part of default file. Now we save and close this file by using CTRL+X then Y then Enter ⤶ key.

Now we will install OpenJDK 8 as an alternative, so that we can change our Java versions easily as per our requirement. We need to use following command:

sudo update-alternatives --install  "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_321/bin/java" 0

After that we will set Java compiler by using following command:

sudo update-alternatives --install  "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_321/bin/javac" 0

Now we can set Java OpenJDK 8 by using following command:

sudo update-alternatives --set java /usr/lib/jvm/jdk1.8.0_321/bin/java

Also for the Java compiler we use following command:

sudo update-alternatives --set java /usr/lib/jvm/jdk1.8.0_321/bin/javac

Output of these previous commands shown in the following screenshot:

setting java 8 as alternative

Now we are ready to rock. Let choose our Java version by using following command from anywhere of our terminal:

sudo update-alternatives --config java

The output of the above command shown in the following screenshot:

java openjdk8 update alternative on linux

In the above screenshot we can clearly see that our Java version 8 is on the number 2, and the Java version 11 is on number 0. So we just need to run the above command to switch between Java versions. Here we are going to use Java OpenJDK8, so here we need to type 2 and hint ENTER ⤶ button. As we can see in the following screenshot:

setting up java 8 manually

Now we are using Java 8, as we can see the output of java -version command in the following screenshot:

Java version 8 installed on Kali

In the above screenshot we can see that now Java version 8 (In JDK 8 and JRE 8, the version strings are 1.8 and 1.8) is default on our system. Now we can use any tool using Java8 on our system easily. This is how we can install Java 8 on Linux (especially on Kali Linux) manually.

Love our articles? Make sure to follow us on Twitter and GitHub, we post article updates there. To join our KaliLinuxIn family, join our Telegram Group. We are trying to build a community for Linux and Cybersecurity. For anything we always happy to help everyone on the comment section. As we know our comment section is always open to everyone. We read each and every comment and we always reply.

Trojanized TOR Browser Installers Spreading Crypto-Stealing Clipper Malware

March 30, 2023 Trojanized installers for the TOR anonymity browser are being used to target users in Russia and Eastern Europe with clipper malware designed to siphon cryptocurrencies since September 2022. “Clipboard injectors […] can be silent for years, show no network activity or any other signs of presence until the disastrous day when they replace a …

Trojanized TOR Browser Installers Spreading Crypto-Stealing Clipper Malware Read More »

GoDaddy Discloses Multi-Year Security Breach Causing Malware Installations and Source Code Theft

February 19, 2023 Web hosting services provider GoDaddy on Friday disclosed a multi-year security breach that enabled unknown threat actors to install malware and siphon source code related to some of its services. The company attributed the campaign to a “sophisticated and organized group targeting hosting services.” GoDaddy said in December 2022, it received an …

GoDaddy Discloses Multi-Year Security Breach Causing Malware Installations and Source Code Theft Read More »

Samsung Galaxy Store App Found Vulnerable to Sneaky App Installs and Fraud

January 24, 2023 Two security flaws have been disclosed in Samsung’s Galaxy Store app for Android that could be exploited by a local attacker to stealthily install arbitrary apps or direct prospective victims to fraudulent landing pages on the web. The issues, tracked as CVE-2023-21433 and CVE-2023-21434, were discovered by NCC Group and notified to the South Korean …

Samsung Galaxy Store App Found Vulnerable to Sneaky App Installs and Fraud Read More »

Open Whatsapp chat
Whatsapp Us
Chat with us for faster replies.