Bibliothèque
Ma bibliothèque

+ Ajouter à la bibliothèque

Contacter-nous !
Support 24/24 | Rules regarding submitting

Nous téléphoner

0 825 300 230

Forum

Vos requêtes

  • Toutes : -
  • Non clôturées : -
  • Dernière : le -

Nous téléphoner

0 825 300 230

Profil

BackDoor.RemShell.24

Added to the Dr.Web virus database: 2020-09-29

Virus description added:

  • Packer: absent

Description

A backdoor written in C and designed to operate in the 32-bit versions of the Microsoft Windows operating systems. It allows attackers to remotely control infected computers by implementing remote shell functions—launching cmd.exe and redirecting the I/O to the attacker's C&C server. The malicious module’s original name is client_dll.dll.

Operating routine

The library has one exported function that implements the main functionality of the backdoor: ServiceMain.

At the beginning of the operation, the backdoor creates a mutex to exclude the simultaneous launch of its copy. It then decrypts the strings with an XOR operation with the byte 0x0F. List of decrypted strings:

Mozilla/4.0 (compatible; MSIE 10.0; Windows NT 6.2;+SV1;
  ns02.ns02.us/<redacted>/0xD.html
  /webdav/0.htm
  /webdav/%s.htm
  %02d%02d
  -download
  Download OK!
  Download failed...
  -pslist
  -pskill
  -upload
  Upload OK!
  Upload failed...
  Process is Killed!
  Process killed failed.
  -exit
  cmd.exe /c  
  

The URL ns02[.]ns02[.]us/<redacted>/0xD.html is hardcoded in the body of the backdoor that locates both primary C&C servers.

After decrypting the strings, BackDoor.Remshell.24 uses the %02d%02d format to store the current minutes and seconds. These values are then used in requests to the C&C server.

Next, a separate thread is started in which, in an infinite loop, the program attempts to obtain or update the address of the second-level C&C server. When the address of the secondary C&C server is received, the backdoor starts a thread in which it sends heartbeat requests to this server.

The backdoor then periodically requests commands from the C&C server and executes them.

Obtaining the address of the secondary C&C server

To get an address, a GET request is sent to the URL specified in the configuration. In response, the server sends the string -set <arg> or -SET <arg>, where <arg> is either a number or an IP address. The resulting number is interpreted as the interval for accessing the URL specified in the configuration. If an IP address is received, the backdoor adopts it as a secondary C&C server.

It is worth noting that the thread does not stop working when it receives the valid address of the C&C server. It continues to work, which allows one to change the C&C server addresses without restarting the backdoor.

Protocol for communicating with the secondary C&C server

At the beginning of the data sent by the PUT request, the backdoor appends a header consisting of 5 bytes, which is a string formed according to the format %02d%02d. The minute and second values representing when the request was formed are substituted in this string.

With that, the request and response data are encrypted. The value of each sent byte of the request data is reduced by 0x7F, and each received byte is increased by 0x7F.

As heartbeat requests, a PUT request is sent to <cnc_addr>/webdav/0.htm with data containing the name of the infected computer and the values of the minute and second when the backdoor was launched.

To request commands from the C&C server, the backdoor sends a GET request to <cnc_addr>/webdav/O.html. It then decrypts the server’s response and parses it for commands.

Commands list

Command Description
-downloadTo download a specified file
-exitTo terminate the backdoor operation
-pskillTo terminate a specified process
-pslistTo form a list of processes
-uploadTo send a specified file to the server
othersOther commands are launched via cmd.exe /c

Responses to commands are sent by PUT requests to <cnc_addr>/webdav/<minsec>.htm, where <minsec> is the values of the minute and second when the backdoor was launched.

Recommandations pour le traitement

  1. Si le système d'exploitation peut être démarré (en mode normal ou en mode sans échec), téléchargez Dr.Web Security Space et lancez un scan complet de votre ordinateur et de tous les supports amovibles que vous utilisez. En savoir plus sur Dr.Web Security Space.
  2. Si le démarrage du système d'exploitation est impossible, veuillez modifier les paramètres du BIOS de votre ordinateur pour démarrer votre ordinateur via CD/DVD ou clé USB. Téléchargez l'image du disque de secours de restauration du système Dr.Web® LiveDisk ou l'utilitaire pour enregistrer Dr.Web® LiveDisk sur une clé USB, puis préparez la clé USB appropriée. Démarrez l'ordinateur à l'aide de cette clé et lancez le scan complet et le traitement des menaces détectées.

Veuillez lancer le scan complet du système à l'aide de Dr.Web Antivirus pour Mac OS.

Veuillez lancer le scan complet de toutes les partitions du disque à l'aide de Dr.Web Antivirus pour Linux.

  1. Si votre appareil mobile fonctionne correctement, veuillez télécharger et installer sur votre appareil mobile Dr.Web pour Android. Lancez un scan complet et suivez les recommandations sur la neutralisation des menaces détectées.
  2. Si l'appareil mobile est bloqué par le Trojan de la famille Android.Locker (un message sur la violation grave de la loi ou la demande d'une rançon est affiché sur l'écran de l'appareil mobile), procédez comme suit:
    • démarrez votre Smartphone ou votre tablette en mode sans échec (si vous ne savez pas comment faire, consultez la documentation de l'appareil mobile ou contactez le fabricant) ;
    • puis téléchargez et installez sur votre appareil mobile Dr.Web pour Android et lancez un scan complet puis suivez les recommandations sur la neutralisation des menaces détectées ;
    • Débranchez votre appareil et rebranchez-le.

En savoir plus sur Dr.Web pour Android