The purpose of the particular development is to demonstrate on my review paper about file-less malware approach using JavaScript.
Link to the paper: https://www.linkedin.com/pulse/survey-file-less-malware-approach-using-javascript-ruwan-geeganage
- RSA encryption library
- Base 64 decoding library
- Command line execution mechanism of the Poweliks.
This ransome ware will encrypt the first 23400 characters in PDF, TXT, DOC, DOCX, XLS inside the Document folder.
eg: C:\Users\Victim\Documents\
Registry entry creation
Encryption Module
=>HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\e
FileReader Module
=>HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\f
Decoder Module
=>HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\d
Public Key
=>HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\pk
Triggering point
=>HKCU\Software\Microsoft\Windows\CurrentVersion\Run\fileLessRw
- Commands in the triggering point entry will read the decoder module and execute it.
- Decoder reads the File Reader module and decode it then executes it.
- File reader module will read encryption module and execute against all the files statisfy the selection criteria.sd
- Encrption module reads Public key and use its for encryption.
- Encrytion module adds a header to each file to identify any file which already encrypted to avoid encrytion again.