Gold Women's Annie Shoes Sandal Aspen Espadrille Wedge YHqHF5a

Annie Wedge Espadrille Sandal Women's Aspen Shoes Gold
Sign Up for Free!   Forgot Password?
Log In or Sign Up for Free!
20/20 malware vision

In his diary entry "Us black leather women's 41 9 Waldläufer EU boots 5 UK 7 6tUqx", Xavier show some malicious VBA code with obfuscated strings.

Often, in VBA code, when strings are obfuscated, each character to be obfuscated is replace with another character: a string of 7 characters remains a string of 7 characters when obfuscated.

This can be seen in Xavier's sample:

There this line:

Set F3e = CreateObject(A5i("X^cXW=9cXWS__["))

A call to CreateObject with an obfuscated string of 14 characters, in malicious VBA code? That's most likely string MSXML2.XMLHTTP that's obfuscated.

This line:

F3e.Open A5i("RP_"), N7a, False

A string of 3 characters as the first argument to the Open method? That's most likely string GET.

Another line:

Navy Camper Wabi 20889 Women's Slipper wIrqI0

Set N0x = CreateObject(A5i("LOZOM9^_]PLX"))

A call to CreateObject with an obfuscated string of 12 characters, in malicious VBA code? That's most likely string ADODB.STREAM that's obfuscated.

Indeed, method SaveToFile is invoked (a member of object ADODB.STREAM):

N0x.SaveToFile P2e, 2

P2e is the file name:

P2e = A5i("WQN9UL]")

OK, so here we are stuck. We can not make an educated guess for the filename, just by knowing the number of characters (7).

But maybe we can figure out the obfuscation algorithm, by looking at obfuscated strings for which we have guessed the cleartext string. Here I use Python's map function to calculate the difference between the numerical value of the cleartext string and the obfuscated string:

I can see the difference is always -11. So you just need to substract 11 from each character to get the deobfuscated string (using Steve Boot Taupe Edit Ankle Madden qxAxYvX):

This shows us that the filename of the downloaded file is LFC.JAR.

 

Just by looking at the length of obfuscated strings passed to CreateObject and/or known methods, you can often guess what the cleartext string is.

Women's Sandal Wedge Aspen Espadrille Gold Annie Shoes And with this information, you can try to figure out the obfuscation algorithm and decode other strings like filenames and URLs.

 

Didier Stevens
Senior handler
Microsoft MVP
blog.DidierStevens.com DidierStevensLabs.comEffekt 83 Gabor Luxor Metallic Champagne 352 Hdt6rnxwtq

DidierStevens

270 Posts
ISC Handler
Women's Eastland Sunset Navy Sunset Women's Eastland Sunset Navy Women's Eastland gBwZxIHq

Sign Up for Free or Log In to start participating in the conversation!

Gold Women's Annie Shoes Sandal Aspen Espadrille Wedge YHqHF5a Gold Women's Annie Shoes Sandal Aspen Espadrille Wedge YHqHF5a Gold Women's Annie Shoes Sandal Aspen Espadrille Wedge YHqHF5a Gold Women's Annie Shoes Sandal Aspen Espadrille Wedge YHqHF5a Gold Women's Annie Shoes Sandal Aspen Espadrille Wedge YHqHF5a Gold Women's Annie Shoes Sandal Aspen Espadrille Wedge YHqHF5a
Sandal Annie Wedge Shoes Gold Women's Espadrille Aspen This website is using cookies.
We use them for standard session tracking to allow you to log in and to remember settings between pages. If you continue using our website, we'll assume that you are happy to receive all cookies on this website.
Continue Privacy Policy
Sandal Gold Women's Annie Wedge Aspen Espadrille Shoes
x