Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bf2da22a5e5905ad…

MALICIOUS

Office (OLE)

150.0 KB Created: 1998-07-20 12:20:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 53f320018ebab20a75e7cf431c4354e6 SHA-1: 58c4472ff39d9be0e320f0258617a4145e890b96 SHA-256: bf2da22a5e5905ad7161854048f5199ba0b61f1744830d6f7a92cb12fadbac73
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The critical heuristic 'OLE_VBA_AUTOOPEN' and the presence of a VBA macro named 'AutoOpen' strongly indicate malicious intent. The 'AutoOpen' subroutine likely executes code upon opening the document, which is a common technique for dropping and executing further malware. The ClamAV detection further supports the malicious classification.

Heuristics 4

  • ClamAV: Doc.Trojan.VVSC-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.VVSC-1
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 8502 bytes
SHA-256: 99e6375ed97fa03881af4f0fd6e0c0ea9ba6689edcada8df20ef48c5be45e7a8
Detection
ClamAV: Doc.Trojan.VVSC-1
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "UABOUT"
Attribute VB_Base = "0{9A34E15D-1FEE-11D2-8252-A45D8187005C}{9A34E140-1FEE-11D2-8252-A45D8187005C}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Private Sub CommandButton5_Click()
UABOUT.Hide
UMAIN.Show
End Sub

Private Sub CommandButton6_Click()
End
Documents.Close
End Sub

Attribute VB_Name = "ULTRAS"
Sub AutoOpen()
On Error Resume Next
USTART.Show
End Sub

Attribute VB_Name = "UMAIN"
Attribute VB_Base = "0{9A34E161-1FEE-11D2-8252-A45D8187005C}{9A34E148-1FEE-11D2-8252-A45D8187005C}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub CommandButton1_Click()
End
Documents.Close
End Sub

Private Sub CommandButton2_Click()
UMAIN.Hide
UABOUT.Show
End Sub

Private Sub CommandButton3_Click()
On Error Resume Next
'hdfghdfhghdfgiuryuighfhdfghjgdfjihe
Dim this As String
'y6456frdhjfghjdghjfghgfhgdhghfghdf
Dim that As String
'hdgtgtdifgidghfghdfgifgghjdhjifjgh
Dim FCon As String
'fhgdiyguiryyuiehfgdhjghufetyueyuftyu
Set Con = New DataObject
'MaCro ENcRyPtoR bY ULTRAS (c)1998
If Text = "" Then
'fhgjydfihyghhdfghgfherghfghihdggc
MsgBox "You nor what and did not insert", vbCritical, "Misentry"
'jfrghdhgfhegfhygeryhrghjfghdjgfhgteyu
End
'fgthjrythjighhjdfhgrthguiruiygghhrh
End If
'krugytryitjgirugihrgirtyuigtyghrthiu
lent = Len(Text)
'fhgjiyfrigyrjigjirjitgjirghjigjigth
For countout = 1 To lent
'rthgirefghjfrhjighhrthjighghfgthhgrt
ToConvert = Mid(Text, countout, 1)
'zdgdfhgfyguy9999uryughrjkghrtyguruty
For u = 1 To 400
'jrgyuryuhd554khvhjgdhgvhdfghgvdfhhfvgh
that = Chr(u)
'hdfjgdhgdhjfg586jgdhfgvhdfhjgdfhjsdhj
If that = ToConvert Then
'dhfgkjhdjfhvidg85bxbjvcfcvhdghfryeue
FCon = FCon + "Chr(" & u & ")"
'ysdhfigdshgfhjs5467hjfgshjghjcgbshfuieutuwq
If countout <> lent Then FCon = FCon + " + "
'jdfghjdvuvcxbh12334yruifuyfrusdgfh
GoTo drop
'65347erthghdfgh333fhgfehrhdghgfrugeruyegr
End If
'zcxhsd45456yfudsjdfjidhgdhfghruiguiighrhtui
Next u
'rtegfgdgfhjgehrgfhgehfghueyureyufr44565674
drop:
'fgiehfygyuiergyuiyie456eyryifghdfhfghjdfghhj
Next countout
'fhgihrdfuiyguirfigdhhuigreyuieyurtyue3476rhdf
MsgBox "You Encrypt text copy in Clipboard", vbExclamation, "Macro Encryptor by ULTRAS"
'khdfgjdfhgyhdfhghdr4568rghjdfghgffjhgfdgfg
Con.SetText FCon
'dghfghtdhugfhdfhigyhyertuihvjhgvchjgherrhg
Con.PutInClipboard
'hdfgjdfhghdffgyudryutfeyugfhudghjgfhyureyuyf
End Sub


Attribute VB_Name = "USTART"
Attribute VB_Base = "0{9A34E165-1FEE-11D2-8252-A45D8187005C}{9A34E14A-1FEE-11D2-8252-A45D8187005C}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Private Sub CommandButton1_Click()
USTART.Hide
UMAIN.Show
End Sub

' Processing file: /opt/analyzer/scan_staging/9d4a1e4d472747ffbcdd53c144a38b80.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 903 bytes
' Macros/VBA/UABOUT - 1565 bytes
' Line #0:
' Line #1:
' 	FuncDefn (Private Sub CommandButton5_Click())
' Line #2:
' 	Ld UABOUT 
' 	ArgsMemCall Hide 0x0000 
' Line #3:
' 	Ld UMAIN 
' 	ArgsMemCall Show 0x0000 
' Line #4:
' 	EndSub 
' Line #5:
' Line #6:
' 	FuncDefn (Private Sub CommandButton6_Click())
' Line #7:
' 	End 
' Line #8:
' 	Ld Documents 
' 	ArgsMemCall Close 0x0000 
' Line #9:
' 	EndSub 
' Macros/VBA/ULTRAS - 1418 bytes
' Line #0:
' 	FuncDefn (Sub AutoOpen())
' Line #1:
' 	OnError (Resume Next) 
' Line #2:
' 	Ld USTART 
' 	ArgsMemCall Show 0x0000 
' Line #3:
' 	EndSub 
' Macros/VBA/UMAIN -
... (truncated)