Analysis

  • max time kernel
    119s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20231129-en
  • resource tags

    arch:x64arch:x86image:win7-20231129-enlocale:en-usos:windows7-x64system
  • submitted
    05-05-2024 01:11

General

  • Target

    71d1f22830e0f40506171cda626891b4f954ec22f4a4cd0045b37f8d6c404451.exe

  • Size

    2.0MB

  • MD5

    b5829ea81cde8f48ba1190e20e6bb15d

  • SHA1

    51fbb15275360bbf2a866f339045527e941e1a85

  • SHA256

    71d1f22830e0f40506171cda626891b4f954ec22f4a4cd0045b37f8d6c404451

  • SHA512

    d84e43e6cf342d0e7696be6b1cbcf42dce5d1efe518f4949faa8841ee398a25a63a6e41440eb10ba0d276454ba73752c9ffb17eddbfd0813a636646663e26b4a

  • SSDEEP

    49152:aaXI0V7PoU9lHrHmvtiLGMIqCGLhRSCquJnm:3Y0V7gU9l2tiLGVGLhRvquJnm

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Detect ZGRat V1 5 IoCs
  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Suspicious use of SetThreadContext 3 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of WriteProcessMemory 55 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\71d1f22830e0f40506171cda626891b4f954ec22f4a4cd0045b37f8d6c404451.exe
    "C:\Users\Admin\AppData\Local\Temp\71d1f22830e0f40506171cda626891b4f954ec22f4a4cd0045b37f8d6c404451.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1712
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
      2⤵
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2644
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe"
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2780
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2512
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\thosqeso\
        3⤵
          PID:1480
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqguvjye.exe" C:\Windows\SysWOW64\thosqeso\
          3⤵
            PID:1656
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" create thosqeso binPath= "C:\Windows\SysWOW64\thosqeso\hqguvjye.exe /d\"C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe\"" type= own start= auto DisplayName= "wifi support"
            3⤵
            • Launches sc.exe
            PID:1540
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description thosqeso "wifi internet conection"
            3⤵
            • Launches sc.exe
            PID:2748
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" start thosqeso
            3⤵
            • Launches sc.exe
            PID:2892
          • C:\Windows\SysWOW64\netsh.exe
            "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
            3⤵
            • Modifies Windows Firewall
            PID:2292
      • C:\Windows\SysWOW64\thosqeso\hqguvjye.exe
        C:\Windows\SysWOW64\thosqeso\hqguvjye.exe /d"C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
        1⤵
        • Executes dropped EXE
        PID:2128

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\hqguvjye.exe

        Filesize

        11.2MB

        MD5

        96274e3857e13ee25cf27b45b33be246

        SHA1

        7d6ca915f8d5c61e73e90159f2e43f8c80a00551

        SHA256

        dbc018ff5aa676aa55f0c6ed3fa86e850c2c85f1e051650b413d35fe307e0842

        SHA512

        06db6c64581014f901a0acf8f3f0822ce43bd93c00b342f37319ef0e30fb1be520804fca05591215b6775581fd5d0b97beb526227032492ea7c636b8a4e8ed12

      • memory/1712-16-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/1712-45-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/1712-3-0x00000000020F0000-0x0000000002134000-memory.dmp

        Filesize

        272KB

      • memory/1712-4-0x0000000002040000-0x000000000205A000-memory.dmp

        Filesize

        104KB

      • memory/1712-0-0x000000007444E000-0x000000007444F000-memory.dmp

        Filesize

        4KB

      • memory/1712-1-0x0000000000A30000-0x0000000000C32000-memory.dmp

        Filesize

        2.0MB

      • memory/1712-2-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/1712-15-0x000000007444E000-0x000000007444F000-memory.dmp

        Filesize

        4KB

      • memory/1712-5-0x0000000000A10000-0x0000000000A16000-memory.dmp

        Filesize

        24KB

      • memory/2512-43-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2512-44-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2512-24-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2512-22-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2512-23-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2512-26-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2512-27-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2644-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2644-52-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/2644-20-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/2644-18-0x0000000000400000-0x0000000000538000-memory.dmp

        Filesize

        1.2MB

      • memory/2644-19-0x0000000000400000-0x0000000000538000-memory.dmp

        Filesize

        1.2MB

      • memory/2644-17-0x0000000000400000-0x0000000000538000-memory.dmp

        Filesize

        1.2MB

      • memory/2644-21-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/2644-11-0x0000000000400000-0x0000000000538000-memory.dmp

        Filesize

        1.2MB

      • memory/2644-40-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/2644-6-0x0000000000400000-0x0000000000538000-memory.dmp

        Filesize

        1.2MB

      • memory/2644-8-0x0000000000400000-0x0000000000538000-memory.dmp

        Filesize

        1.2MB

      • memory/2644-9-0x0000000000400000-0x0000000000538000-memory.dmp

        Filesize

        1.2MB

      • memory/2644-41-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/2644-42-0x0000000074440000-0x0000000074B2E000-memory.dmp

        Filesize

        6.9MB

      • memory/2780-30-0x0000000000400000-0x0000000000484000-memory.dmp

        Filesize

        528KB

      • memory/2780-32-0x0000000000400000-0x0000000000484000-memory.dmp

        Filesize

        528KB

      • memory/2780-34-0x0000000000400000-0x0000000000484000-memory.dmp

        Filesize

        528KB

      • memory/2780-36-0x0000000000400000-0x0000000000484000-memory.dmp

        Filesize

        528KB

      • memory/2780-49-0x0000000000400000-0x0000000000484000-memory.dmp

        Filesize

        528KB

      • memory/2780-51-0x0000000000400000-0x0000000000484000-memory.dmp

        Filesize

        528KB

      • memory/2780-50-0x0000000000400000-0x0000000000484000-memory.dmp

        Filesize

        528KB

      • memory/2780-38-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB