Home > Operation and Maintenance > Safety > How to analyze XiaoBa ransomware variants

How to analyze XiaoBa ransomware variants

WBOY
Release: 2023-05-26 19:14:46
forward
1573 people have browsed it

Overview

XiaoBa ransomware is a new type of computer virus. It is a highly domestically produced ransomware virus. It is mainly spread through emails, program Trojans, and web page hanging horses. . This virus uses various encryption algorithms to encrypt files, making it difficult for the infected to decrypt them. Only by obtaining the decrypted private key can the virus be successfully cracked. If the ransom is not paid within 200 seconds, all encrypted files will be destroyed.

The above description is taken from Baidu Encyclopedia, but the XiaoBa variant I analyzed does not have the above behavioral characteristics, but it has strong concealment and infectivity, and has file encryption, file deletion and mining. Three main functions.

Sample Analysis

This sample has been analyzed by Weibu Cloud Sandbox (see "Reference Links" for related links) and confirmed to be a malicious sample

How to analyze XiaoBa ransomware variants

Behaviour diagram

How to analyze XiaoBa ransomware variants

Permission adjustment

After running the sample, first adjust the process permissions to ensure that you have sufficient permissions for subsequent operations Operation

How to analyze XiaoBa ransomware variants

This path Judgment: The sample will determine whether the current execution path is%systemroot%\ 360 \ 360safe \ deepscan directory. directory and execute. If you are in this path, you will first perform some operations related to modifying system settings:

Modify file attributes

To set the file attributes to protected system files, you need to enter the "folder and Uncheck the "Hide protected operating system files (recommended)" option in Search Options" to see

Disable UAC

How to analyze XiaoBa ransomware variants

Set up auto-start, create Shortcut

How to analyze XiaoBa ransomware variants

Disable registry

How to analyze XiaoBa ransomware variants

Do not show hidden files

How to analyze XiaoBa ransomware variants

Disable folder and search options

How to analyze XiaoBa ransomware variants

Create a self-boot

How to analyze XiaoBa ransomware variants

Remove SafeBoot option

How to analyze XiaoBa ransomware variants

Disk traversal

Traverse the disk, create the autorun.inf file in the root directory of the disk, write the following data, try to infect the U disk, and inevitably This file is set to be hidden

Create the folder RECYCLER\S-5-4-62-7581032776-5377505530-562822366-6588, and copy its own file in to rewrite the hosts file and redirect the security manufacturer's website

The main topic

Finally create a thread. In the thread function, XiaoBa will traverse all files and look for extensions of .exe, .com, .scr, .pif, .html, .htm, .gho , .iso files, perform different operations for different extensions. .exe, .com, .scr, .pif

rewrite these files and write their own files to the beginning of these files. If you later If you run these files, ZhuDongFangYu.exe

How to analyze XiaoBa ransomware variants

.html, .htm

will be run. Add the mining script

# at the end of these files. ##.gho, .iso

For these files, delete them directly

How to analyze XiaoBa ransomware variants

An interesting point is that the icon of this sample is the icon of 360 Antivirus. Create The folder name is also 360, and the icons of the executable programs rewritten by it are replaced with 360 icons...

How to analyze XiaoBa ransomware variants

The above is the detailed content of How to analyze XiaoBa ransomware variants. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template