Analysis

  • max time kernel
    144s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/01/2024, 10:21

General

  • Target
    file.exe
  • Size 5.1MB
  • Sample240123-mdncjaabd9
  • SHA256 026da734ed88cf3db01e392c674a140c2d641bf715366fd4f3f89e5a4a18d878
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Signatures

  • Detect ZGRat V1 3 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 13 IoCs
  • .NET Reactor proctector 3 IoCs

    Detects an executable protected by an unregistered version of Eziriz's .NET Reactor.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • UPX packed file 17 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Uses the VBS compiler for execution 1 TTPs
  • 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
  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of WriteProcessMemory 17 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\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2188
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp54F6.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2484
      • C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe
        "C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe"
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4576
        • C:\Windows\System32\cmd.exe
          "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc MINUTE /mo 3 /RL HIGHEST /tn "ERGVRDVMSK" /tr "C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1664
          • C:\Windows\system32\schtasks.exe
            schtasks /create /f /sc MINUTE /mo 3 /RL HIGHEST /tn "ERGVRDVMSK" /tr "C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe"
            5⤵
            • Creates scheduled task(s)
            PID:3492
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
          C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe -o fr-zephyr.miningocean.org:5342 -u ZEPHYR2dNRNd7BpuKZoXnqZu7WiTzoMXE8EhzsTJDnXV9ZDksih16M2EazfmCb3ax9Z78hH9iJMxSQE1NBkPCK6W3M8SBGcc7ZC2z -p work -a rx/0 --donate-level 1 --opencl
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of FindShellTrayWindow
          PID:4708
  • C:\Windows\system32\timeout.exe
    timeout 3
    1⤵
    • Delays execution with timeout.exe
    PID:2324

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        .exe

        • Path C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe
        • Size 883KB
        • SHA256 fd4795fd0ec0f0b16880517a3ccd114d943c04f140dfa33027abec615a59dde0
        • MD5 SHA1 SHA512 SSDEEP

        .exe

        • Path C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe
        • Size 718KB
        • SHA256 1a48c2346e8de64a72611d932c378be128155db0d8c0ca70b4b2282f465b921c
        • MD5 SHA1 SHA512 SSDEEP

        tmp54F6.tmp.bat

        • Path C:\Users\Admin\AppData\Local\Temp\tmp54F6.tmp.bat
        • Size 168B
        • SHA256 a40b8634ca861c4a3a84a2a3af501dbc04d9c78ada815d3239348b6947a7c2da
        • MD5 SHA1 SHA512

        memory/2188-1-0x00007FFCD6BB0000-0x00007FFCD7671000-memory.dmp

        memory/2188-3-0x000000001C1D0000-0x000000001C1E0000-memory.dmp

        memory/2188-10-0x00007FFCD6BB0000-0x00007FFCD7671000-memory.dmp

        memory/2188-2-0x0000000002FE0000-0x0000000002FE1000-memory.dmp

        memory/2188-0-0x0000000000050000-0x0000000000578000-memory.dmp

        memory/4576-20-0x00007FFCD5210000-0x00007FFCD5CD1000-memory.dmp

        memory/4576-14-0x00007FFCD5210000-0x00007FFCD5CD1000-memory.dmp

        memory/4576-15-0x000000001C8D0000-0x000000001C8E0000-memory.dmp

        memory/4576-16-0x0000000001AC0000-0x0000000001AC1000-memory.dmp

        memory/4708-22-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-30-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-21-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-23-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-17-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-24-0x00000286B0CF0000-0x00000286B0D10000-memory.dmp

        memory/4708-25-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-26-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-27-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-28-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-29-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-19-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-32-0x00000286B2630000-0x00000286B2650000-memory.dmp

        memory/4708-31-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-33-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-34-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-35-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-38-0x00000286B2670000-0x00000286B2690000-memory.dmp

        memory/4708-37-0x00000286B2650000-0x00000286B2670000-memory.dmp

        memory/4708-36-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-39-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4708-40-0x00000286B2650000-0x00000286B2670000-memory.dmp

        memory/4708-41-0x00000286B2670000-0x00000286B2690000-memory.dmp