Analysis

  • max time kernel
    122s
  • max time network
    144s
  • 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.

  • 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
  • Suspicious use of SetThreadContext 1 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ewbqqmlr\
      2⤵
        PID:1332
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tiahmkph.exe" C:\Windows\SysWOW64\ewbqqmlr\
        2⤵
          PID:2644
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ewbqqmlr binPath= "C:\Windows\SysWOW64\ewbqqmlr\tiahmkph.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2884
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ewbqqmlr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2504
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ewbqqmlr
          2⤵
          • Launches sc.exe
          PID:2880
        • 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:2608
      • C:\Windows\SysWOW64\ewbqqmlr\tiahmkph.exe
        C:\Windows\SysWOW64\ewbqqmlr\tiahmkph.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2520
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2512

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        7a2348dcbcda6d78cadb59900c64e401

        SHA1

        16ff98dfe4ec4eccbd1ab49cf72c88a61fbaa036

        SHA256

        74c1b7c197e47becdf0b3ac185c7e256c58d9ebb0de4ae33720b9947a292c7e8

        SHA512

        3e0dbb4299bd2c2435813f5b58f1e75ed20c7b17e35c574ea53941ef1506e208b1e8281635a1d78b3ad8d229999c879b548f979489f1c35cc4a40563d7b5a57a

      • C:\Windows\SysWOW64\ewbqqmlr\tiahmkph.exe

        Filesize

        11.6MB

        MD5

        7a2348dcbcda6d78cadb59900c64e401

        SHA1

        16ff98dfe4ec4eccbd1ab49cf72c88a61fbaa036

        SHA256

        74c1b7c197e47becdf0b3ac185c7e256c58d9ebb0de4ae33720b9947a292c7e8

        SHA512

        3e0dbb4299bd2c2435813f5b58f1e75ed20c7b17e35c574ea53941ef1506e208b1e8281635a1d78b3ad8d229999c879b548f979489f1c35cc4a40563d7b5a57a

      • memory/2184-9-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

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

        Filesize

        30.6MB

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

        Filesize

        76KB

      • memory/2184-1-0x0000000002440000-0x0000000002540000-memory.dmp

        Filesize

        1024KB

      • memory/2512-10-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/2512-15-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2512-20-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2512-21-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2520-8-0x0000000000380000-0x0000000000393000-memory.dmp

        Filesize

        76KB

      • memory/2520-11-0x0000000000400000-0x0000000002290000-memory.dmp

        Filesize

        30.6MB

      • memory/2520-13-0x00000000023E0000-0x00000000024E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        30.6MB