ObliqueRAT — Office (OLE) / .DOCX malware analysis

Static analysis result for SHA-256 dfad2a80dac91e77…

MALICIOUS

Office (OLE) / .DOCX

763.0 KB Created: 2019-03-29 14:16:00 Authoring application: Microsoft Office Word
MD5: 22fd6b2155674be85cf4bb64d6a2d299 SHA-1: 615e8b32b24b246240b0eaf299718d851109882d SHA-256: dfad2a80dac91e7703266197ebbf5d67ef77467ab341dd491ad25d92d8118cac
408 Risk Score

Malware Insights

ObliqueRAT · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File T1106 Native API

The file is a malicious OLE document containing VBA macros. The critical heuristics indicate the use of WScript.Shell and Shell() calls, strongly suggesting the execution of arbitrary commands. The presence of a Document_Open macro and the ClamAV detection as 'Doc.Dropper.ObliqueRAT-7591457-0' confirm its role as a dropper. The extracted 'macros.bas' file is the likely source of this malicious behavior.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Doc.Dropper.ObliqueRAT-7591457-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.ObliqueRAT-7591457-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • Suspicious extracted artifact high 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
120ab83de68b3fb47cb25e23c7bc22da2a9057366962fdce73ddd46d8bc21704
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7983 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.