Analysis

  • max time kernel
    149s
  • max time network
    162s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    22/10/2022, 06:35

General

  • Target
    file.exe
  • Size 226KB
  • Sample221022-hcb6nabbf5
  • SHA256 fabddc21ca17663144ec1d501d85be2aab8bf9ffaa2f0a8a16eb24ea30dcd7e1
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • svartalfheim.top

  • jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 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). Likely ransomware behaviour.

  • Modifies data under HKEY_USERS 5 IoCs
  • 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:884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\luvvlzzh\
      2⤵
        PID:1608
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bhupipcx.exe" C:\Windows\SysWOW64\luvvlzzh\
        2⤵
          PID:1712
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create luvvlzzh binPath= "C:\Windows\SysWOW64\luvvlzzh\bhupipcx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1424
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description luvvlzzh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1512
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start luvvlzzh
          2⤵
          • Launches sc.exe
          PID:1928
        • 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:468
      • C:\Windows\SysWOW64\luvvlzzh\bhupipcx.exe
        C:\Windows\SysWOW64\luvvlzzh\bhupipcx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:792
        • 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:1900

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            bhupipcx.exe

            • Path C:\Users\Admin\AppData\Local\Temp\bhupipcx.exe
            • Size 11.1MB
            • SHA256 58e5390da3e4008fbfa5439d91fbf587fe52bbd3603a66341a9a9554c5c7369c
            • MD5 SHA1 SHA512 SSDEEP

            bhupipcx.exe

            • Path C:\Windows\SysWOW64\luvvlzzh\bhupipcx.exe
            • Size 11.1MB
            • SHA256 58e5390da3e4008fbfa5439d91fbf587fe52bbd3603a66341a9a9554c5c7369c
            • MD5 SHA1 SHA512 SSDEEP

            memory/792-80-0x0000000000400000-0x0000000002C27000-memory.dmp

            memory/792-77-0x0000000002D68000-0x0000000002D7D000-memory.dmp

            memory/792-70-0x0000000002D68000-0x0000000002D7D000-memory.dmp

            memory/884-56-0x0000000000268000-0x000000000027D000-memory.dmp

            memory/884-57-0x00000000003C0000-0x00000000003D3000-memory.dmp

            memory/884-54-0x0000000000268000-0x000000000027D000-memory.dmp

            memory/884-59-0x0000000000400000-0x0000000002C27000-memory.dmp

            memory/884-55-0x0000000075DF1000-0x0000000075DF3000-memory.dmp

            memory/884-67-0x0000000000400000-0x0000000002C27000-memory.dmp

            memory/884-66-0x0000000000268000-0x000000000027D000-memory.dmp

            memory/1900-74-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1900-94-0x0000000005870000-0x0000000005C7B000-memory.dmp

            memory/1900-72-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1900-81-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1900-82-0x00000000019B0000-0x0000000001BBF000-memory.dmp

            memory/1900-85-0x0000000000190000-0x0000000000196000-memory.dmp

            memory/1900-88-0x0000000000200000-0x0000000000210000-memory.dmp

            memory/1900-91-0x0000000000210000-0x0000000000215000-memory.dmp

            memory/1900-97-0x0000000000260000-0x0000000000267000-memory.dmp