Analysis

  • max time kernel
    149s
  • max time network
    155s
  • platform
    windows7_x64
  • resource
    win7-20240611-en
  • resource tags

    arch:x64arch:x86image:win7-20240611-enlocale:en-usos:windows7-x64system
  • submitted
    15-06-2024 01:31

General

  • Target

    5496d968b378eef69af5eb89159bc728b8ad9e395e42c74f788a4b7a8ec8a7bd.exe

  • Size

    290KB

  • MD5

    985584f5b7be5d605c1264624f4bd68e

  • SHA1

    8efbf3680021b3fb3b68094ee5296dcabb5abc1a

  • SHA256

    5496d968b378eef69af5eb89159bc728b8ad9e395e42c74f788a4b7a8ec8a7bd

  • SHA512

    e6c582d168f066c031161b8b098114edd95f5fde5c70eb1e8150fb44fd3520a4be7e9e71195c3c58078d7b9802e053ffa3e452a87965eb9e6a0ac580ccd8e34b

  • SSDEEP

    3072:NNnq5gpiR+cS7kBapQOm47e6rGyQqKCHRsJFULJtkSUyHbmcnTVaz42JVOrTKYj:rq5gN70xee6treFD7y7mcnTVaBJVOrT

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
  • Creates new service(s) 2 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 7 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5496d968b378eef69af5eb89159bc728b8ad9e395e42c74f788a4b7a8ec8a7bd.exe
    "C:\Users\Admin\AppData\Local\Temp\5496d968b378eef69af5eb89159bc728b8ad9e395e42c74f788a4b7a8ec8a7bd.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2268
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oihfcerk\
      2⤵
        PID:1188
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yfmpeslv.exe" C:\Windows\SysWOW64\oihfcerk\
        2⤵
          PID:3060
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create oihfcerk binPath= "C:\Windows\SysWOW64\oihfcerk\yfmpeslv.exe /d\"C:\Users\Admin\AppData\Local\Temp\5496d968b378eef69af5eb89159bc728b8ad9e395e42c74f788a4b7a8ec8a7bd.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2644
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description oihfcerk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2572
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start oihfcerk
          2⤵
          • Launches sc.exe
          PID:2664
        • 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:2700
      • C:\Windows\SysWOW64\oihfcerk\yfmpeslv.exe
        C:\Windows\SysWOW64\oihfcerk\yfmpeslv.exe /d"C:\Users\Admin\AppData\Local\Temp\5496d968b378eef69af5eb89159bc728b8ad9e395e42c74f788a4b7a8ec8a7bd.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2600
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2556

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        86ff04351d201876ea92f0cd054cd3d8

        SHA1

        58463e0eda24ed42381fe92b88f3f4b4d30b2a05

        SHA256

        e5146eb3048fee52a114a1176401e5d55bce6ca7f1eede4e24d9964343911e50

        SHA512

        2b3f2f0e0ba8e92e825aba781fc3ec0300a4a4be6b4ccbded249a73d2664b42e140fd5696ac50720049b386d6b6df00e88c01a266ea4aac3b264623aa27d6201

      • memory/2268-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

      • memory/2268-2-0x00000000002B0000-0x00000000002C3000-memory.dmp

        Filesize

        76KB

      • memory/2268-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2268-7-0x0000000000400000-0x000000000045A000-memory.dmp

        Filesize

        360KB

      • memory/2268-8-0x00000000002B0000-0x00000000002C3000-memory.dmp

        Filesize

        76KB

      • memory/2268-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2556-45-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-51-0x0000000005530000-0x000000000593B000-memory.dmp

        Filesize

        4.0MB

      • memory/2556-31-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/2556-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2556-20-0x0000000001A10000-0x0000000001C1F000-memory.dmp

        Filesize

        2.1MB

      • memory/2556-27-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-24-0x00000000000B0000-0x00000000000B6000-memory.dmp

        Filesize

        24KB

      • memory/2556-23-0x0000000001A10000-0x0000000001C1F000-memory.dmp

        Filesize

        2.1MB

      • memory/2556-30-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-42-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-41-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-44-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-43-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/2556-55-0x00000000004B0000-0x00000000004B7000-memory.dmp

        Filesize

        28KB

      • memory/2556-50-0x00000000002C0000-0x00000000002C5000-memory.dmp

        Filesize

        20KB

      • memory/2556-47-0x00000000002C0000-0x00000000002C5000-memory.dmp

        Filesize

        20KB

      • memory/2556-46-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        4KB

      • memory/2556-40-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-39-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-38-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-37-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-36-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-35-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-34-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-33-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-32-0x00000000000C0000-0x00000000000D0000-memory.dmp

        Filesize

        64KB

      • memory/2556-54-0x0000000005530000-0x000000000593B000-memory.dmp

        Filesize

        4.0MB

      • memory/2600-16-0x0000000000400000-0x000000000045A000-memory.dmp

        Filesize

        360KB