Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 af810ea00f2f2d22…

MALICIOUS

Office (OOXML)

447.1 KB Created: 2021-08-16 08:31:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-08-25
MD5: 608fab8b75a55695277b65802b34e763 SHA-1: a0f525c4524f77625f1628e66821863d2640c3e1 SHA-256: af810ea00f2f2d222ded079cc9b0776f96012569d214f6cba13d1f6fa94fc2cf
192 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample is an OOXML document containing a VBA project with a Document_Open macro. This macro utilizes CreateObject, indicating it is designed to execute code, likely to download and run a secondary payload. The presence of a renamed VBA project part suggests an attempt to evade detection. The external hyperlink to 'www.moneta.cz' is noted as a potential IOC.

Heuristics 8

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present (project part renamed away from vbaProject.bin: word/vbaProjectSignatureAgile.bin)
  • VBA project part renamed to evade filename detection high OOXML_VBA_PROJECT_RENAMED
    The VBA project is bound through the OOXML relationship/content type but its part is not named vbaProject.bin. Legitimate Office producers always emit vbaProject.bin; renaming it hides the macros from path-only scanners (observed in the SVCReady loader).
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject 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.
  • External hyperlinks (3) low OOXML_EXTERNAL_HYPERLINKS
    Document contains 3 external hyperlinks — clickable URLs are stored as external relationships. First target: http://www.moneta.cz
  • VBA project carries a recognised code-signing signature info VBA_SIGNED_TRUSTED
    The VBA project is Authenticode-signed and the signer/issuer chain matches a recognised code-signing publisher or CA. Informational only — the signature is NOT yet verified to cover the current project bytes, so it does not (yet) reduce the verdict.
  • 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://rb.symcd.com0& In document text (OOXML body / shared strings)
    • http://s.symcd.com0In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasIn 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/2020/wordml/sdtdatahashIn 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)
    • http://www.moneta.czDocument hyperlink
    • http://logo.verisign.com/vslogo.gif0In document text (OOXML body / shared strings)
    • https://d.symcb.com/cps0%In document text (OOXML body / shared strings)
    • https://d.symcb.com/rpa0In document text (OOXML body / shared strings)
    • http://rb.symcb.com/rb.crl0WIn document text (OOXML body / shared strings)
    • http://rb.symcb.com/rb.crt0In document text (OOXML body / shared strings)
    • https://d.symcb.com/rpa06In document text (OOXML body / shared strings)
    • http://s.symcb.com/universal-root.crl0In document text (OOXML body / shared strings)

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 109116 bytes
SHA-256: 75cd70d4fa0ae5889472b6c018f08a90904141f1a1da741f1d75f4f7cb058908
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_Control = "BtnPrevodDokumentu1, 134, 1, MSForms, CommandButton"
Attribute VB_Control = "ChkZaznam2, 133, 2, MSForms, CheckBox"
Attribute VB_Control = "ChkZaznam1, 132, 3, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik8, 131, 4, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik7, 130, 5, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik6, 129, 6, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik5, 128, 7, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik4, 127, 8, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik3, 126, 9, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik2, 125, 10, MSForms, CheckBox"
Attribute VB_Control = "ChkFXDotaznik1, 124, 11, MSForms, CheckBox"
Attribute VB_Control = "BtnPridatFX, 123, 12, MSForms, CommandButton"
Attribute VB_Control = "ChkFwd22, 122, 13, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd21, 121, 14, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd20, 120, 15, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd19, 119, 16, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd18, 118, 17, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd17, 117, 18, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd16, 116, 19, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd15, 115, 20, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd6, 114, 21, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd5, 113, 22, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd101, 112, 23, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd91, 111, 24, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd2, 110, 25, MSForms, CheckBox"
Attribute VB_Control = "ChkFwd1, 109, 26, MSForms, CheckBox"
Attribute VB_Control = "ChkSwap, 108, 27, MSForms, CheckBox"
Attribute VB_Control = "ChkSpot, 107, 28, MSForms, CheckBox"
Attribute VB_Control = "ChkForward, 106, 29, MSForms, CheckBox"
Attribute VB_Control = "CheckBox17141, 105, 30, MSForms, CheckBox"
Attribute VB_Control = "CheckBox16141, 104, 31, MSForms, CheckBox"
Attribute VB_Control = "CheckBox15141, 103, 32, MSForms, CheckBox"
Attribute VB_Control = "CheckBox14141, 102, 33, MSForms, CheckBox"
Attribute VB_Control = "CheckBox13141, 101, 34, MSForms, CheckBox"
Attribute VB_Control = "CheckBox121101, 100, 35, MSForms, CheckBox"
Attribute VB_Control = "BtnPridatBZ, 99, 36, MSForms, CommandButton"
Attribute VB_Control = "CheckBox1714, 98, 37, MSForms, CheckBox"
Attribute VB_Control = "CheckBox1614, 97, 38, MSForms, CheckBox"
Attribute VB_Control = "CheckBox1514, 96, 39, MSForms, CheckBox"
Attribute VB_Control = "CheckBox1414, 95, 40, MSForms, CheckBox"
Attribute VB_Control = "CheckBox1314, 94, 41, MSForms, CheckBox"
Attribute VB_Control = "CheckBox12110, 93, 42, MSForms, CheckBox"
Attribute VB_Control = "CheckBox9, 92, 43, MSForms, CheckBox"
Attribute VB_Control = "CheckBox8, 91, 44, MSForms, CheckBox"
Attribute VB_Control = "CheckBox7, 90, 45, MSForms, CheckBox"
Attribute VB_Control = "BtnPridatNUZ, 89, 46, MSForms, CommandButton"
Attribute VB_Control = "CheckBox413, 88, 47, MSForms, CheckBox"
Attribute VB_Control = "CheckBox313, 87, 48, MSForms, CheckBox"
Attribute VB_Control = "CheckBox213, 86, 49, MSForms, CheckBox"
Attribute VB_Control = "CheckBox183, 85, 50, MSForms, CheckBox"
Attribute VB_Control = "CheckBox1111124, 84, 51, MSForms, CheckBox"
Attribute VB_Control = "CheckBox112124, 83, 52, MSForms, CheckBox"
Attribute VB_Control = "CheckBox1313, 82, 53, MSForms, CheckBox"
Attribute VB_Control = "CheckBox1219, 81, 54, MSForms, CheckBox"
Attribute VB_Control = "BtnPridatZmenu, 80, 55, MSForms, CommandButton"
Attribute VB_Control = "CheckBox412, 79, 56, MSForms, CheckBox"
Attribute VB_Control = "CheckBox312, 78, 57, MSForms, CheckBox"
Attribute VB_Control = "CheckBox212, 77, 58, MSForms
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 410112 bytes
SHA-256: 5d65c8adde528a754a54d0f9035462ae2ca8d8373d2b83d0366fbaee53a8e796
vbaProject_01.bin vba-project OOXML VBA project: word/vbaProjectSignatureAgile.bin 5991 bytes
SHA-256: cf53eb593ab67414760bfdf4bf7eb35cf6dfaf08c581229ded934cab55632d31
vbaProject_02.bin vba-project OOXML VBA project: word/vbaProjectSignature.bin 5876 bytes
SHA-256: 55b0bec103b98dfed6957509b7d380c05d498261800ae7c26260a6a7e199fe4f