This is an obfuscate form of powershell, used spit()
. Write scripts to get content clearly. Then we will have the file lnELKNdoie .exe
lnELKNdoie.exe
file analysisAt the beginning of the file there is checkVM
function and some other checks, I choose next directly through these checks.
Enter conn
function, because the file used xor obfuscate
, I debug to know function to be called, explain to conn
:
receive data until size == 0x6B200
:
The downloaded file will be Injected into IE, this Inject technique is quite similar link
out.exe
The file will look in the folder Document
file plaintext:
process encrypt data
:
Enter encrypt
function, we will see many functions that define the functions in the cryptopp
library, and then create key 128bytes
by random
function with seed at the time of encrypt
:
Struct file:
Writing a simple script to recover the original file is going to have the flag
.
All file .idb
and scripts i used in files folder
.