Analysis

  • max time kernel
    146s
  • max time network
    156s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

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

General

  • Target

    file.exe

  • Size

    199KB

  • MD5

    8c8b3b3e93edc084a60787d1670f6571

  • SHA1

    8d49792c08d05da4aad0943c953d4766e2c45d80

  • SHA256

    66bcc8dbc2c587eb355a5c51b2b344151ad657cf48c4bf22b23e20b4b5ff63a8

  • SHA512

    172af6fde03ec4ba45d8cd8ce20e4c675493546db78a91cc75c297d0610ad6a46b9ff9d6e8b5322eb8a709adbea02c57622684264e98c3aff50c5c2993dd255f

  • SSDEEP

    3072:pP+qB/Z2bdlViAD6DR4iq0S2AvHmZnTJmQ7rgAwrq0E0iXqJb5/HNl:p/8J+AD6m/9fmZnlmQ4AUEXa/Hf

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:2424
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fidunluy\
      2⤵
        PID:1936
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jyqxcafx.exe" C:\Windows\SysWOW64\fidunluy\
        2⤵
          PID:2692
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fidunluy binPath= "C:\Windows\SysWOW64\fidunluy\jyqxcafx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fidunluy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2792
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fidunluy
          2⤵
          • Launches sc.exe
          PID:2732
        • 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:2532
      • C:\Windows\SysWOW64\fidunluy\jyqxcafx.exe
        C:\Windows\SysWOW64\fidunluy\jyqxcafx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2796
        • 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:2520
          • 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:1256

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        6c90b0c5c90cad9d74a9e566cf418f56

        SHA1

        fcd670994f0488f1b10906fd8289d7db18cd77ee

        SHA256

        f577f0f09dccf1d158b595bb6263047c555ea86226caedddce028be6d9ee8cc9

        SHA512

        7bac1abb6d29a6bdf86c6ddba31474799962fb32a63fe57bda248601f06845d25125206d3a499a57c8da809085d5756cd030642f6bdb44685785e48a830acec1

      • C:\Windows\SysWOW64\fidunluy\jyqxcafx.exe

        Filesize

        13.9MB

        MD5

        6c90b0c5c90cad9d74a9e566cf418f56

        SHA1

        fcd670994f0488f1b10906fd8289d7db18cd77ee

        SHA256

        f577f0f09dccf1d158b595bb6263047c555ea86226caedddce028be6d9ee8cc9

        SHA512

        7bac1abb6d29a6bdf86c6ddba31474799962fb32a63fe57bda248601f06845d25125206d3a499a57c8da809085d5756cd030642f6bdb44685785e48a830acec1

      • memory/1256-75-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-71-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-60-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-61-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-69-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-70-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-72-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-74-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1256-73-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/2424-0-0x0000000000220000-0x0000000000235000-memory.dmp

        Filesize

        84KB

      • memory/2424-2-0x0000000000400000-0x000000000043F000-memory.dmp

        Filesize

        252KB

      • memory/2424-8-0x0000000000220000-0x0000000000235000-memory.dmp

        Filesize

        84KB

      • memory/2424-7-0x00000000002D0000-0x00000000002E3000-memory.dmp

        Filesize

        76KB

      • memory/2424-6-0x0000000000400000-0x000000000043F000-memory.dmp

        Filesize

        252KB

      • memory/2424-1-0x00000000002D0000-0x00000000002E3000-memory.dmp

        Filesize

        76KB

      • memory/2520-34-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-46-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-28-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-32-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-31-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-33-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-35-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-25-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/2520-36-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-37-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-39-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-38-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-40-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-41-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-43-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-42-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-44-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-24-0x0000000001D70000-0x0000000001F7F000-memory.dmp

        Filesize

        2.1MB

      • memory/2520-45-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-47-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2520-48-0x00000000001A0000-0x00000000001A5000-memory.dmp

        Filesize

        20KB

      • memory/2520-51-0x00000000001A0000-0x00000000001A5000-memory.dmp

        Filesize

        20KB

      • memory/2520-52-0x00000000058E0000-0x0000000005CEB000-memory.dmp

        Filesize

        4.0MB

      • memory/2520-55-0x00000000058E0000-0x0000000005CEB000-memory.dmp

        Filesize

        4.0MB

      • memory/2520-56-0x0000000000270000-0x0000000000277000-memory.dmp

        Filesize

        28KB

      • memory/2520-21-0x0000000001D70000-0x0000000001F7F000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2520-17-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2796-15-0x0000000000400000-0x000000000043F000-memory.dmp

        Filesize

        252KB

      • memory/2796-9-0x0000000000400000-0x000000000043F000-memory.dmp

        Filesize

        252KB