Defend what you create

Other Resources

Close

Library
My library

+ Add to library

Contact us
24/7 Tech support | Rules regarding submitting

Send a message

Your tickets

Profile

Trojan.Skimer

(Generic.dx!fpj, PAK_Generic.001, TSPY_SKIMER.A, Heur.Invader, Trojan:Win32/Ligsetrac.D, Trojan:Win32/Ligsetrac.B, Trojan.Skimer.A, PWS-BoldDie, Parser error, TR/Spy.Gen, Generic.dx!fto, Trojan:Win32/Ligsetrac.gen!A)

Added to the Dr.Web virus database: 2009-03-18

Virus description added:

Virus type: program stealing credit-card information.

Affected OS: Windows NT+, ATM software

Technical description

Several modifications of the program with different functionality have been discovered.

Earlier versions disguise themselves as IsAdmin utility included in Windows Admin Script Tools. The malicious program displays messages typically displayed by the utility.

  • "Current user is not an administrator.";
  • "Current user is an administrator.".
  • If the current user doesn’t have privileges to run the program it replaces C:\Program Files\Diebold\AgilisXFS\bin\SpiService.exe with its own file. The original file is saved as C:\Program Files\Diebold\AgilisXFS\bin\back.exe. In order to be launched as a system service Trojan.Skimer restores and restarts the service as soon as the installation is completed.

    The main portion of malicious code is placed in the %windir%\lsass.exe created to run as the ProtectedStorage service. Two processes with the name lsass.exe exist in a compromised system. Only one of the processes is a genuine system process.

    Information about all transactions conducted by the program as well as all intercepted keys is stored in %windir%\trl2 and %windir%\kl files.

    Later versions of Trojan.Skimer consist of two components — the installer and dynamic library that integrates into ATM software. The installer is capable of updating the malicious program. It deletes the old version of %windir%\lsass.exe from the memory and hard drive and places all collected information into new files. Data from %windir%\trl2 is copied to %windir%\greenstone.bmp:redstone.bmp and information from %windir%\kl is placed into %windir%\greenstone.bmp:bluestone.bmp . If the file system is not NTFS, %windir%\redstone.bmp and %windir%\bluestone.bmp are used to store information.

    After that the dynamic library of the Trojan is injected into the LogWriter process. To avoid an unnecessary installation the program checks if the running process has already been infected. If the process uses the system standard entry point, the code for loading of the malicious dll file is injected into the process. After that the process is stopped and the modified module is written onto the disk. Finally the malicious library is stored in the file thread of the service as pwrstr.dll.

    The final step is injection of malicious code into the explorer.exe process. It uses the "%windir%\Prefetch\-*.pf" file mask to remove all its files to hide its presence in the system.

    When the installation is completed, the malicious library and LogWriter process come into action. To maintain its operation the library injects its functions in all other processes of the ATM operating system

    Running Trojan.Skimer requests current ATM status once in a second.

    If a new inserted card is detected, an identification procedure is performed. The Trojan recognizes three types of cards

    1. Ordinary card of a customer

    2. Supervisor card

    3. Limited functionality card

    An ordinary card is a credit or debit card of a customer willing to use an ATM. If such a card is detected, the Trojan will only save information from the card.

    A supervisor card is used to activate the menu of Trojan.Skimer. Functions provided by the menu will be described below.

    A limited functionality card can be used to perform only one of the nine functions provided by a supervisor card.

    A special card number generation procedure is used to identify supervisor or limited functionality cards. Trojan.Skimer recognizes checksums for cards of both types. Calculation of a check-sum is a combination of simple procedures with nine digits of the card number and digits related to additional bank information. This method is also used to define the number of of a limited functionality card. The function number is equal to the value specifying the month of the card expiration date.

    If Trojan.Skimer detects that account balance information is received (sometimes it doesn’t happen), the Trojan will save theinformation as well. It recognizes three currency types – USD (U.S. dollars), RUR (Russian ruble) and UAH (Ukrainian grivna). If the currency is recognized, it will converted to USD at the following rate: 1 USD equals 26 RUR or 5 UAH

    If the supervisor card is detected, the dialogue is displayed.

    If no actions are performed in 30 seconds, the window will close.

    A list of supported commands:

    0. Exit

    1. Uninstall. If the command is selected , all collected information and the program are removed from the system. The original LogWriter service file is restored.

    2. Display the ATM software version, the version of the Trojan and Trojan statistics.

    3. Delete collected information

    4. Reboot the terminal

    5. If the command is selected, the program will wait for a special card with a chip to be inserted to download a new version of the library. If the download is successful, the old version of the library on the hard drive is replaced with a new one.

    6. Print collected information.

    7. A submenu. If the item is selected, the program will generate a number and one will have to enter a correct reply number.

    If a correct number is entered, a submenu will be opened

    Entering numbers from 1 to 4 will send the ATM a command to dispense a corresponding cassette. If 9 is selected, the malicious library will be deleted but the collected information will remain intact.

    8. Open the ATM service menu. The program opens the service menu of the ATM and automatically selects an item used ti display the internal counters of the ATM.

    9. Performs the same function as. 6 but the data is written on the card with a chip.

    The last known version of the program is 5.01 meaning that it has been in the wild for quite a while and that its authors continue its development.

    Curing recommendations

    1. If the operating system (OS) can be loaded (either normally or in safe mode), download Dr.Web Security Space and run a full scan of your computer and removable media you use. More about Dr.Web Security Space.
    2. If you cannot boot the OS, change the BIOS settings to boot your system from a CD or USB drive. Download the image of the emergency system repair disk Dr.Web® LiveDisk , mount it on a USB drive or burn it to a CD/DVD. After booting up with this media, run a full scan and cure all the detected threats.
    Free trial

    One month (no registration) or three months (registration and renewal discount)

    Download Dr.Web

    Download by serial number

    Use Dr.Web Anti-virus for macOS to run a full scan of your Mac.

    Free trial

    One month (no registration) or three months (registration and renewal discount)

    Download Dr.Web

    Download by serial number

    After booting up, run a full scan of all disk partitions with Dr.Web Anti-virus for Linux.

    Free trial

    One month (no registration) or three months (registration and renewal discount)

    Download Dr.Web

    Download by serial number

    1. If the mobile device is operating normally, download and install Dr.Web for Android. Run a full system scan and follow recommendations to neutralize the detected threats.
    2. If the mobile device has been locked by Android.Locker ransomware (the message on the screen tells you that you have broken some law or demands a set ransom amount; or you will see some other announcement that prevents you from using the handheld normally), do the following:
      • Load your smartphone or tablet in the safe mode (depending on the operating system version and specifications of the particular mobile device involved, this procedure can be performed in various ways; seek clarification from the user guide that was shipped with the device, or contact its manufacturer);
      • Once you have activated safe mode, install the Dr.Web for Android onto the infected handheld and run a full scan of the system; follow the steps recommended for neutralizing the threats that have been detected;
      • Switch off your device and turn it on as normal.

    Find out more about Dr.Web for Android

    The Russian developer of Dr.Web anti-viruses

    Doctor Web has been developing anti-virus software since 1992

    Dr.Web is trusted by users around the world in 200+ countries

    The company has delivered an anti-virus as a service since 2007

    24/7 tech support

    © Doctor Web
    2003 — 2019

    Doctor Web is the Russian developer of Dr.Web anti-virus software. Dr.Web anti-virus software has been developed since 1992.

    2-12А, 3rd street Yamskogo polya, Moscow, Russia, 125040