Analysis

  • max time kernel
    196s
  • max time network
    237s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 13:32

General

  • Target

    c9ba75c3c2b17dd64211ae2d9859ced46f797f4f25d867c63c813462a857b524.exe

  • Size

    203KB

  • MD5

    90d047019c018e2188352f9aeee97192

  • SHA1

    e0d7eee14e19ddb119760d4e15e387f285d82076

  • SHA256

    c9ba75c3c2b17dd64211ae2d9859ced46f797f4f25d867c63c813462a857b524

  • SHA512

    4aa2fa4f364a398cb763cbd317ea91dbac17e9e5ed44e5ebe09ba16e62cedb588d98ad807adb84127b00c757bcfef31f229aed5294a71ce682ef494da558b5a7

  • SSDEEP

    3072:DkIfnM3Jq/AmlEkJiAj1K/2sv1p6Ti/ZVqJnctmLoQCCRLQ+cmk:DkIzXlEh5VqKtm8CXcL

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 2 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 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).

  • Modifies data under HKEY_USERS 5 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c9ba75c3c2b17dd64211ae2d9859ced46f797f4f25d867c63c813462a857b524.exe
    "C:\Users\Admin\AppData\Local\Temp\c9ba75c3c2b17dd64211ae2d9859ced46f797f4f25d867c63c813462a857b524.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hdrbwzhb\
      2⤵
        PID:2396
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfviwvnr.exe" C:\Windows\SysWOW64\hdrbwzhb\
        2⤵
          PID:2444
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hdrbwzhb binPath= "C:\Windows\SysWOW64\hdrbwzhb\tfviwvnr.exe /d\"C:\Users\Admin\AppData\Local\Temp\c9ba75c3c2b17dd64211ae2d9859ced46f797f4f25d867c63c813462a857b524.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hdrbwzhb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1744
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hdrbwzhb
          2⤵
          • Launches sc.exe
          PID:928
        • 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:2716
      • C:\Windows\SysWOW64\hdrbwzhb\tfviwvnr.exe
        C:\Windows\SysWOW64\hdrbwzhb\tfviwvnr.exe /d"C:\Users\Admin\AppData\Local\Temp\c9ba75c3c2b17dd64211ae2d9859ced46f797f4f25d867c63c813462a857b524.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2440
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:1720

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        0edca4337e5b58fbd7e28595c00abcb5

        SHA1

        08fe5d5dc4a12cf1cadca758cdb50c4238f624dd

        SHA256

        4435aa06a1ba69d8a28509309d98048b4c8078c67cfdbfc32757638cd214d693

        SHA512

        2820b32698363a7e3dfcdc0d5f6563f9170843b52e0340cb4b3e1d247a093e97cd35801e2c27a06e7c43929cb01ef1d1b8a9cb39cf1b5713750d4706dd9acf0c

      • memory/1720-35-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-63-0x0000000005630000-0x0000000005A3B000-memory.dmp

        Filesize

        4.0MB

      • memory/1720-64-0x0000000000330000-0x0000000000337000-memory.dmp

        Filesize

        28KB

      • memory/1720-38-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1720-40-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-60-0x0000000005630000-0x0000000005A3B000-memory.dmp

        Filesize

        4.0MB

      • memory/1720-59-0x00000000002A0000-0x00000000002A5000-memory.dmp

        Filesize

        20KB

      • memory/1720-56-0x00000000002A0000-0x00000000002A5000-memory.dmp

        Filesize

        20KB

      • memory/1720-55-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-54-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-18-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1720-53-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-23-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1720-24-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1720-25-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1720-41-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-28-0x0000000001890000-0x0000000001A9F000-memory.dmp

        Filesize

        2.1MB

      • memory/1720-31-0x0000000001890000-0x0000000001A9F000-memory.dmp

        Filesize

        2.1MB

      • memory/1720-32-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/1720-52-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-51-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-50-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-26-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1720-39-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-42-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-43-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-44-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-45-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-46-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-47-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-48-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/1720-49-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/2440-21-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/2440-16-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/2440-15-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

      • memory/2668-3-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

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

        Filesize

        76KB

      • memory/2668-1-0x0000000000290000-0x0000000000390000-memory.dmp

        Filesize

        1024KB

      • memory/2668-12-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/2668-9-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2668-8-0x0000000000290000-0x0000000000390000-memory.dmp

        Filesize

        1024KB

      • memory/2668-7-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/2668-4-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB