Analysis

  • max time kernel
    125s
  • max time network
    126s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-05-2024 02:46

General

  • Target

    51f28789646af41d049b694138433dc0_NeikiAnalytics.exe

  • Size

    710KB

  • MD5

    51f28789646af41d049b694138433dc0

  • SHA1

    57c4323053589025713656f1ed6cb14e7d05eb59

  • SHA256

    8c865af1a6f5285e6a3ee64421ea74a1bc18963321f2f7bd36e1a3da3ceb9d4b

  • SHA512

    24160456a2b764169b923033e3e9696b24caf3966b2f366a821c80ece051d5484747ffa78fce95fac5f2a2f3dee28082d09e2a1d2a3a6a16133791fcd96bc302

  • SSDEEP

    12288:DB1f++azZ4BENJwb/DrA8gXo9LddVNUT0PWkjQ6x67EKM6K1LQFoHLeBfo:t1f++eQGJEHco9LFqQeX6gwK5K1cmreS

Malware Config

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    s82.gocheapweb.com
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    london@1759

Signatures

  • Detect ZGRat V1 34 IoCs
  • UAC bypass 3 TTPs 1 IoCs
  • Windows security bypass 2 TTPs 2 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Uses the VBS compiler for execution 1 TTPs
  • Windows security modification 2 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • Looks up external IP address via web service 3 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Delays execution with timeout.exe 1 IoCs
  • Runs regedit.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 27 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 34 IoCs
  • System policy modification 1 TTPs 1 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\51f28789646af41d049b694138433dc0_NeikiAnalytics.exe
    "C:\Users\Admin\AppData\Local\Temp\51f28789646af41d049b694138433dc0_NeikiAnalytics.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4892
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"' & exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4428
      • C:\Windows\system32\schtasks.exe
        schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"'
        3⤵
        • Creates scheduled task(s)
        PID:4072
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpF05B.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2012
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:3084
      • C:\Users\Admin\AppData\Roaming\svchost.exe
        "C:\Users\Admin\AppData\Roaming\svchost.exe"
        3⤵
        • UAC bypass
        • Windows security bypass
        • Checks computer location settings
        • Executes dropped EXE
        • Windows security modification
        • Checks whether UAC is enabled
        • Suspicious use of SetThreadContext
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        • System policy modification
        PID:4336
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\svchost.exe" -Force
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3136
        • C:\Windows\regedit.exe
          "C:\Windows\regedit.exe"
          4⤵
          • Runs regedit.exe
          PID:3628
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe"
          4⤵
            PID:1604
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe"
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of SetWindowsHookEx
            PID:4768
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe"
            4⤵
              PID:2112
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=3608,i,15140928051103392835,1612840580898364401,262144 --variations-seed-version --mojo-platform-channel-handle=4120 /prefetch:8
        1⤵
          PID:1136

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_jiict0sj.jsv.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • C:\Users\Admin\AppData\Local\Temp\tmpF05B.tmp.bat

          Filesize

          151B

          MD5

          bc8a9e15b76a0bd5923a7f916a815487

          SHA1

          ccf569b9425c5c238b800c890b467723c530c799

          SHA256

          71412543400626df6302d54e15d018fee476c6c7cbf0dd57ceb782a2ba2cb485

          SHA512

          a4c0957513fab7cb2c2722a326c913586b73a1956e1015080f3f529ade4725a803e43cda72e867533d42bc8bc14425cd917d42ffd60ba92e79cfb8e43ad8308b

        • C:\Users\Admin\AppData\Roaming\svchost.exe

          Filesize

          710KB

          MD5

          51f28789646af41d049b694138433dc0

          SHA1

          57c4323053589025713656f1ed6cb14e7d05eb59

          SHA256

          8c865af1a6f5285e6a3ee64421ea74a1bc18963321f2f7bd36e1a3da3ceb9d4b

          SHA512

          24160456a2b764169b923033e3e9696b24caf3966b2f366a821c80ece051d5484747ffa78fce95fac5f2a2f3dee28082d09e2a1d2a3a6a16133791fcd96bc302

        • memory/3136-15-0x000001ACF54B0000-0x000001ACF54D2000-memory.dmp

          Filesize

          136KB

        • memory/4768-57-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-1098-0x0000000007320000-0x000000000732A000-memory.dmp

          Filesize

          40KB

        • memory/4768-27-0x0000000002DD0000-0x0000000002E2C000-memory.dmp

          Filesize

          368KB

        • memory/4768-28-0x0000000005B90000-0x0000000006134000-memory.dmp

          Filesize

          5.6MB

        • memory/4768-29-0x00000000055E0000-0x000000000563A000-memory.dmp

          Filesize

          360KB

        • memory/4768-43-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-59-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-91-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-87-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-85-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-83-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-81-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-79-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-77-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-75-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-73-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-69-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-67-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-63-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-61-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-25-0x0000000000400000-0x000000000044C000-memory.dmp

          Filesize

          304KB

        • memory/4768-55-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-53-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-26-0x0000000000400000-0x000000000044C000-memory.dmp

          Filesize

          304KB

        • memory/4768-41-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-47-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-45-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-49-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-40-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-37-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-36-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-33-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-89-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-71-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-65-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-31-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-30-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4768-1094-0x00000000057B0000-0x0000000005816000-memory.dmp

          Filesize

          408KB

        • memory/4768-1095-0x0000000007290000-0x00000000072E0000-memory.dmp

          Filesize

          320KB

        • memory/4768-1096-0x0000000007380000-0x000000000741C000-memory.dmp

          Filesize

          624KB

        • memory/4768-1097-0x0000000007420000-0x00000000074B2000-memory.dmp

          Filesize

          584KB

        • memory/4768-51-0x00000000055E0000-0x0000000005634000-memory.dmp

          Filesize

          336KB

        • memory/4892-0-0x00000188B4010000-0x00000188B4028000-memory.dmp

          Filesize

          96KB

        • memory/4892-1-0x00007FFCAD333000-0x00007FFCAD335000-memory.dmp

          Filesize

          8KB

        • memory/4892-2-0x00000188CE520000-0x00000188CE5C2000-memory.dmp

          Filesize

          648KB

        • memory/4892-3-0x00007FFCAD330000-0x00007FFCADDF1000-memory.dmp

          Filesize

          10.8MB

        • memory/4892-8-0x00007FFCAD330000-0x00007FFCADDF1000-memory.dmp

          Filesize

          10.8MB