Articles by "Tecnology"
Showing posts with label Tecnology. Show all posts
Tectuner is a Technology Releated website. Tectuner is a about the science,technology.Blogger template, Android, computer, Online Earning, tips tricks
That is how WhatsApp is hacked

People in the cyber world use specialized software to monitor WhatsApp. One such software is called Pegasus. WhatsApp can be monitored using software developed by the NSO group in Israel. Over two dozen academics, lawyers, journalists, and politicians have been monitored using Pegasus software in the last Lok Sabha elections in India. WhatsApp authorities have confirmed the matter.

According to some Indian media, Israeli software was used to monitor WhatsApp information before the last election. NSO Group has developed Pegasus software for cyber espionage or surveillance. However, it is not known exactly how many people are being monitored with this software. WhatsApp notifies users of surveillance on their device.

WhatsApp was contacted by the Times of India but did not give any formal statement on the issue.





Facebook-owned WhatsApp sued the Israeli company in the United States. WhatsApp surveillance information was reported the next day. In the lawsuit, WhatsApp alleges that the Israeli company monitored 7,000 people around the world using Pegasus spyware.

The lawsuit alleges that Facebook seized information about smartphones operating on iOS, Android and Blackberry operating systems with Pegasus software. WhatsApp VoIP stack error code can be deployed remotely on the device.


Pegasus is software developed by NSO Group in Israel


According to a BBC Online report, Fustin Rukundu, who was recently deported to Leeds, England from Rwanda, complained about his WhatsApp hacked. He said he got a call from WhatsApp from a stranger. When he grabs the call, it is left without anyone to speak. Unbeknownst to him, his phone gets hacked and he removes the files. Missed calls started coming from strangers on her phone. He bought a new phone for fear of family safety. A few days later, there were calls from strangers.





Fostin alleges that many other anti-Rwandan governments have received calls from strangers

He got to know. Last May, he learned that WhatsApp had been hacked.

In May this year, WhatsApp admitted to having errors. In August, WhatsApp errors also came up. At that time, the BBC said, what you said or did not write on WhatsApp could show. If wanted, the rogue can change the WhatsApp message using special programs. The WhatsApp platform has recently opened a tool for changing user messages. Experts say that Facebook-owned WhatsApp has a fatal flaw that can be used to change a user's words or words.

Researchers at Checkpoint, a cybersecurity firm, claim that they learned about WhatsApp errors as well as tools or programs for replacing messages sent to WhatsApp. WhatsApp error can be used to spread fake news or cheat.


How does Pegasus come to WhatsApp?

 Experts say that Pegasus can be downloaded even with a little video missed call on WhatsApp. Pegasus installed after the video call can take full control of the entire smartphone, including its contact list. Everything happens without the user being aware of it. From this messaging app, cyber experts can find out information including video calls, messages, and messages.

NSO Group claims that they sell their software only to various government agencies. However, the software is not created or endorsed to monitor human rights activists or journalists.



Tectuner is a Technology Releated website. Tectuner is a about the science,technology.Blogger template, Android, computer, Online Earning, tips tricks
HiddenWasp Malware





Beware the HiddenWasp in Linux!









Overview

Intezer has discovered a new, sophisticated malware that we have named “HiddenWasp”, targeting Linux systems.

• The malware is still active and has a zero-detection rate in all major anti-virus systems.

• Unlike common Linux malware, HiddenWasp is not focused on crypto-mining or DDoS activity. It is a trojan purely used for targeted remote control.

• Evidence shows in a high probability that the malware is used in targeted attacks for victims who are already under the attacker’s control or have gone through a heavy reconnaissance.

• HiddenWasp authors have adopted a large amount of code from various publicly available open-source malware, such as Mirai and the Azazel rootkit. In addition, there are some similarities between this malware and other Chinese malware families, however, the attribution is made with low confidence.

• We have detailed our recommendations for preventing and responding to this threat.



1. Introduction

Although the Linux threat ecosystem is crowded with IoT DDoS botnets and crypto-mining malware, it is not very common to spot trojans or backdoors in the wild.

Unlike Windows malware, Linux malware authors do not seem to invest too much effort writing their implants. In an open-source ecosystem, there is a high ratio of publicly available code that can be copied and adapted by attackers.

In addition, Anti-Virus solutions for Linux tend to not be as resilient as in other platforms. Therefore, threat actors targeting Linux systems are less concerned about implementing excessive evasion techniques since even when reusing extensive amounts of code, threats can relatively manage to stay under the radar.

Nevertheless, malware with strong evasion techniques does exist for the Linux platform. There is also a high ratio of publicly available open-source malware that utilizes strong evasion techniques and can be easily adapted by attackers.

We believe this fact is alarming for the security community since many implants today have very low detection rates, making these threats difficult to detect and respond to.

We have discovered further undetected Linux malware that appears to be enforcing advanced evasion techniques with the use of rootkits to leverage trojan-based implants.

In this blog, we will present a technical analysis of each of the different components that this new malware, HiddenWasp, is composed of. We will also highlight interesting code-reuse connections that we have observed to several open-source malware.

The following images are screenshots from VirusTotal of the newer undetected malware samples discovered:


HiddenWasp


2. Technical Analysis


When we came across these samples we noticed that the majority of their code was unique:
hidden virus

Similar to the recent Winnti Linux variants reported by Chronicle, the infrastructure of this malware is composed of a user-mode rootkit, a trojan and an initial deployment script. We will cover each of the three components in this post, analyzing them and their interactions with one another.



2.1 Initial Deployment Script:


When we spotted these undetected files in VirusTotal it seemed that among the uploaded artifacts there was a bash script along with a trojan implant binary.


linux hidden

We observed that these files were uploaded to VirusTotal using a path containing the name of a Chinese-based forensics company known as Shen Zhou Wang Yun Information Technology Co., Ltd.


Furthermore, the malware implants seem to be hosted in servers from a physical server hosting company known as ThinkDream located in Hong Kong.



hidden

Among the uploaded files, we observed that one of the files was a bash script meant to deploy the malware itself into a given compromised system, although it appears to be for testing purposes:




Thanks to this file we were able to download further artifacts not present in VirusTotal related to this campaign. This script will start by defining a set of variables that would be used throughout the script.


Among these variables we can spot the credentials of a user named ‘sftp’, including its hardcoded password. This user seems to be created as a means to provide initial persistence to the compromised system:


Furthermore, after the system’s user account has been created, the script proceeds to clean the system as a means to update older variants if the system was already compromised:


The script will then proceed to download a tar compressed archive from a download server according to the architecture of the compromised system. This tarball will contain all of the components from the malware, containing the rootkit, the trojan and an initial deployment script:


After malware components have been installed, the script will then proceed to execute the trojan:



We can see that the main trojan binary is executed, the rootkit is added to LD_PRELOAD path and another series of environment variables are set such as the ‘I_AM_HIDDEN’. We will cover throughout this post what the role of this environment variable is. To finalize, the script attempts to install reboot persistence for the trojan binary by adding it to /etc/rc.local.


Within this script we were able to observe that the main implants were downloaded in the form of tarballs. As previously mentioned, each tarball contains the main trojan, the rootkit and a deployment script for x86 and x86_64 builds accordingly.


The deployment script has interesting insights of further features that the malware implements, such as the introduction of a new environment variable ‘HIDE_THIS_SHELL’:


We found some of the environment variables used in a open-source rootkit known as Azazel.


It seems that this actor changed the default environment variable from Azazel, that one being HIDE_THIS_SHELL for I_AM_HIDDEN. We have based this conclusion on the fact that the environment variable HIDE_THIS_SHELL was not used throughout the rest of the components of the malware and it seems to be residual remains from Azazel original code.

The majority of the code from the rootkit implants involved in this malware infrastructure are noticeably different from the original Azazel project. Winnti Linux variants are also known to have reused code from this open-source project.


Within this function, we can see that eventually, control flow falls into a function in charge to resolve a set of dynamic imports, which are the functions it will later hook, alongside with decoding a series of strings needed for the rootkit operations.



We can see that for each string it allocates a new dynamic buffer, it copies the string to it to then decode it.

It seems that the implementation for dynamic import resolution slightly varies in comparison to the one used in Azazel rootkit.

When we wrote the script to simulate the cipher that implements the string decoding function we observed the following algorithm:


We recognized that a similar algorithm to the one above was used in the past by Mirai, implying that authors behind this rootkit may have ported and modified some code from Mirai.



After the rootkit main object has been loaded into the address space of a given process and has decrypted its strings, it will export the functions that are intended to be hooked. We can see these exports to be the following:


For every given export, the rootkit will hook and implement a specific operation accordingly, although they all have a similar layout. Before the original hooked function is called, it is checked whether the environment variable ‘I_AM_HIDDEN’ is set:


We can see an example of how the rootkit hooks the function fopen in the following screenshot:


We have observed that after checking whether the ‘I_AM_HIDDEN’ environment variable is set, it then runs a function to hide all the rootkits’ and trojans’ artifacts. In addition, specifically to the fopen function it will also check whether the file to open is ‘/proc/net/tcp’ and if it is it will attempt to hide the malware’s connection to the cnc by scanning every entry for the destination or source ports used to communicate with the cnc, in this case 61061. This is also the default port in Azazel rootkit.


The rootkit primarily implements artifact hiding mechanisms as well as tcp connection hiding as previously mentioned. Overall functionality of the rootkit can be illustrated in the following diagram:


2.3 The Trojan:

The trojan comes in the form of a statically linked ELF binary linked with stdlibc++. We noticed that the trojan has code connections with ChinaZ’s Elknot implant in regards to some common MD5 implementation in one of the statically linked libraries it was linked with:


In addition, we also see a high rate of shared strings with other known ChinaZ malware, reinforcing the possibility that actors behind HiddenWasp may have integrated and modified some MD5 implementation from Elknot that could have been shared in Chinese hacking forums:


When we analyze the main we noticed that the first action the trojan takes is to retrieve its configuration:


The malware configuration is appended at the end of the file and has the following structure:


The malware will try to load itself from the disk and parse this blob to then retrieve the static encrypted configuration.


Once encryption configuration has been successfully retrieved the configuration will be decoded and then parsed as json.

The cipher used to encode and decode the configuration is the following:


This cipher seems to be an RC4 alike algorithm with an already computed PRGA generated key-stream. It is important to note that this same cipher is used later on in the network communication protocol between trojan clients and their CNCs.

After the configuration is decoded the following json will be retrieved:


Moreover, if the file is running as root, the malware will attempt to change the default location of the dynamic linker’s LD_PRELOAD path. This location is usually at /etc/ld.so.preload, however there is always a possibility to patch the dynamic linker binary to change this path:


The patch_ld function will scan for any existent /lib paths. The scanned paths are the following:


The malware will attempt to find the dynamic linker binary within these paths. The dynamic linker filename is usually prefixed with ld-<version number>.


Once the dynamic linker is located, the malware will find the offset where the /etc/ld.so.preload string is located within the binary and will overwrite it with the path of the new target preload path, that one being /sbin/.ifup-local.


To achieve this patching it will execute the following formatted string by using the xxd hex editor utility by previously having encoded the path of the rootkit in hex:


Once it has changed the default LD_PRELOAD path from the dynamic linker it will deploy a thread to enforce that the rootkit is successfully installed using the new LD_PRELOAD path. In addition, the trojan will communicate with the rootkit via the environment variable ‘I_AM_HIDDEN’ to serialize the trojan’s session for the rootkit to apply evasion mechanisms on any other sessions.


After seeing the rootkit’s functionality, we can understand that the rootkit and trojan work together in order to help each other to remain persistent in the system, having the rootkit attempting to hide the trojan and the trojan enforcing the rootkit to remain operational. The following diagram illustrates this relationship:


Continuing with the execution flow of the trojan, a series of functions are executed to enforce evasion of some artifacts:


These artifacts are the following:


By performing some OSINT regarding these artifact names, we found that they belong to a Chinese open-source rootkit for Linux known as Adore-ng hosted in GitHub:


The fact that these artifacts are being searched for suggests that potentially targeted Linux systems by these implants may have already been compromised with some variant of this open-source rootkit as an additional artifact in this malware’s infrastructure. Although those paths are being searched for in order to hide their presence in the system, it is important to note that none of the analyzed artifacts related to this malware are installed in such paths.

This finding may imply that the target systems this malware is aiming to intrude may be already known compromised targets by the same group or a third party that may be collaborating with the same end goal of this particular campaign.


With the help of this function we where able to understand the structure of the communication protocol employed. We can illustrate the structure of this communication protocol by looking at a pcap of the initial handshake between the server and client:


We noticed while analyzing this protocol that the Reserved and Method fields are always constant, those being 0 and 1 accordingly. The cipher table offset represents the offset in the hardcoded key-stream that the encrypted payload was encoded with. The following is the fixed keystream this field makes reference to:



After decrypting the traffic and analyzing some of the network related functions of the trojan, we noticed that the communication protocol is also implemented in json format. To show this, the following image is the decrypted handshake packets between the CNC and the trojan:


After the handshake is completed, the trojan will proceed to handle CNC requests:


Depending on the given requests the malware will perform different operations accordingly. An overview of the trojan’s functionalities performed by request handling are shown below:


2.3. Prevention and Response

Prevention: Block Command-and-Control IP addresses detailed in the IOCs section.

Response: We have provided a YARA rule intended to be run against in-memory artifacts in order to be able to detect these implants.

In addition, in order to check if your system is infected, you can search for “ld.so” files — if any of the files do not contain the string ‘/etc/ld.so.preload’, your system may be compromised. This is because the trojan implant will attempt to patch instances of ld.so in order to enforce the LD_PRELOAD mechanism from arbitrary locations.



4. Summary

We analyzed every component of HiddenWasp explaining how the rootkit and trojan implants work in parallel with each other in order to enforce persistence in the system.

We have also covered how the different components of HiddenWasp have adapted pieces of code from various open-source projects. Nevertheless, these implants managed to remain undetected.

Linux malware may introduce new challenges for the security community that we have not yet seen in other platforms. The fact that this malware manages to stay under the radar should be a wake up call for the security industry to allocate greater efforts or resources to detect these threats.

Linux malware will continue to become more complex over time and currently even common threats do not have high detection rates, while more sophisticated threats have even lower visibility.        



IOCs


103.206.123[.]13
103.206.122[.]245
http://103.206.123[.]13:8080/system.tar.gz
http://103.206.123[.]13:8080/configUpdate.tar.gz
http://103.206.123[.]13:8080/configUpdate-32.tar.gz
e9e2e84ed423bfc8e82eb434cede5c9568ab44e7af410a85e5d5eb24b1e622e3
f321685342fa373c33eb9479176a086a1c56c90a1826a0aef3450809ffc01e5d
d66bbbccd19587e67632585d0ac944e34e4d5fa2b9f3bb3f900f517c7bbf518b
0fe1248ecab199bee383cef69f2de77d33b269ad1664127b366a4e745b1199c8
2ea291aeb0905c31716fe5e39ff111724a3c461e3029830d2bfa77c1b3656fc0
d596acc70426a16760a2b2cc78ca2cc65c5a23bb79316627c0b2e16489bf86c0
609bbf4ccc2cb0fcbe0d5891eea7d97a05a0b29431c468bf3badd83fc4414578
8e3b92e49447a67ed32b3afadbc24c51975ff22acbd0cf8090b078c0a4a7b53d
f38ab11c28e944536e00ca14954df5f4d08c1222811fef49baded5009bbbc9a2
8914fd1cfade5059e626be90f18972ec963bbed75101c7fbf4a88a6da2bc671b


Tectuner is a Technology Releated website. Tectuner is a about the science,technology.Blogger template, Android, computer, Online Earning, tips tricks
www.tectuner.com

Now understand the apps. Eye language

In association with Microsoft software giant Microsoft, Anibal, a team of researchers, created an app that will help people speak their language. These apps can understand eye signals. A report says that the app can help gyaposickers with metopic Lateral Skar-rose (ALS). ALS is a condition that allows the affected person to lose the ability to speak and eat slowly, and even the ability to move other muscles is also damaged. Researchers claim that the eyes detecting input systems are very costly for the ALS sufferers, which are not very capable in sunlight and need to be repeatedly sorted.

"We have made gyazepic in order to reduce the errors of conventional methods, it is an eye-catching communication device that can run on a smartphone," researchers said in a research paper organized in a conference called "Conference on Human Factors in Computing Systems" in Colorado, USA, this year. 

It is more capable, portable, easy to learn and cost less. "British weekly New Scientist has said that artificial intelligence has been used to transform the movement of eye movement into words. 

It will run on the listening device so that he understands what is being said from the other side. Apps will be available in the Apple App Store before the May conference.
Tectuner is a Technology Releated website. Tectuner is a about the science,technology.Blogger template, Android, computer, Online Earning, tips tricks
www.tectuner.com

Users may have a big problem with the use of smartphones. So users need to be careful beforehand. In a report of the Times of India, some cautionary measures were suggested in this regard. The readers are highlighted-
1. Keep the smartphones and tablet chargers separate. Do not use smartphones and tabs with chargers. Because there may be differences in power ratings. Your product will be gradually lost in excess of current flow. Do not charge smartphones all night long.

2. Do not keep mobile phones or tabs with night chargers. The phone gets hot over and the phone's battery is damaged. Charging while awake.

3. Check when your phone or tab's battery needs to be changed. If you can not keep a long charge on your mobile or tab, then quickly change the battery. To test the battery, open it from the phone or tab and turn it into a flat place. Change the battery if you have to rotate the battery freely. Because the battery has swollen.

4. Avoid using the batteries which are unknown brands. This may cause damage to your device. There is no way to test whether the unremarkable brand's batteries have been approved by the Standard Safe Regulation.

5. Refrain from calling or receiving calls while charging on phones. Because the phone is hot. You can use the Wireless Headset. Or open from the phone charge but use it.

6. Do not hang or hang on the phone while charging. This can damage your phone's power connector.