Malware Insights
The sample contains VBA macros, specifically an Auto_Close macro that calls a function named 'janwar'. The 'janwar' function appears to construct a string, though its exact value is obfuscated and not fully reconstructible from the provided snippet. However, the Auto_Close macro ultimately calls the Shell() API via the 'uganda' subroutine, which in turn calls 'janwar'. This indicates the macro's intent is to execute an arbitrary command, likely a downloader for a second-stage payload. The presence of ShellExecute API references further supports this.
Heuristics 5
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Reference to ShellExecute API high SC_STR_SHELLEXECReference to ShellExecute API
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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.
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas062f04863784b261d682098e0800d6cba785aead3ed7db3143ad188e09ad3de5 |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 1875 bytes |
Open this report in the interactive analyzer, or submit your own file for analysis.