Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/08/2024, 06:46

General

  • Target
    fc8ad7d6d34699bb9beeabc22729013c.exe
  • Size 318KB
  • Sample240807-hjm7hatemm
  • SHA256 c73713c849c89dbdb505fdf76aac56dfa62643bf6e089909e1fda8cfa3a8ee7b
  • MD5 SHA1 SHA512 SSDEEP

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) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 4 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fc8ad7d6d34699bb9beeabc22729013c.exe
    "C:\Users\Admin\AppData\Local\Temp\fc8ad7d6d34699bb9beeabc22729013c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gtyrglga\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pwviqqyc.exe" C:\Windows\SysWOW64\gtyrglga\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gtyrglga binPath= "C:\Windows\SysWOW64\gtyrglga\pwviqqyc.exe /d\"C:\Users\Admin\AppData\Local\Temp\fc8ad7d6d34699bb9beeabc22729013c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gtyrglga "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gtyrglga
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4240
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4740
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3144 -s 1048
      2⤵
      • Program crash
      PID:2936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3144 -s 1264
      2⤵
      • Program crash
      PID:2752
  • C:\Windows\SysWOW64\gtyrglga\pwviqqyc.exe
    C:\Windows\SysWOW64\gtyrglga\pwviqqyc.exe /d"C:\Users\Admin\AppData\Local\Temp\fc8ad7d6d34699bb9beeabc22729013c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2024
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:3980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2024 -s 528
      2⤵
      • Program crash
      PID:3116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2024 -s 536
      2⤵
      • Program crash
      PID:4464
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3144 -ip 3144
    1⤵
      PID:1468
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3144 -ip 3144
      1⤵
        PID:1512
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 2024 -ip 2024
        1⤵
          PID:4744
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2024 -ip 2024
          1⤵
            PID:4556

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                pwviqqyc.exe

                • Path C:\Users\Admin\AppData\Local\Temp\pwviqqyc.exe
                • Size 13.7MB
                • SHA256 b8ba4db4a7fc7e427629921e9447cbba1399d9c79f39aef5e7ea6fa16508ddb6
                • MD5 SHA1 SHA512 SSDEEP

                memory/2024-15-0x0000000000400000-0x0000000002839000-memory.dmp

                memory/3144-2-0x00000000029D0000-0x00000000029E3000-memory.dmp

                memory/3144-4-0x0000000000400000-0x0000000000415000-memory.dmp

                memory/3144-9-0x0000000000400000-0x0000000000415000-memory.dmp

                memory/3144-8-0x00000000029D0000-0x00000000029E3000-memory.dmp

                memory/3144-7-0x0000000000400000-0x0000000002839000-memory.dmp

                memory/3144-1-0x0000000002A20000-0x0000000002B20000-memory.dmp

                memory/3980-42-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-37-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-13-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

                memory/3980-18-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/3980-52-0x0000000001FF0000-0x0000000001FF7000-memory.dmp

                memory/3980-48-0x0000000007700000-0x0000000007B0B000-memory.dmp

                memory/3980-47-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

                memory/3980-44-0x0000000001FE0000-0x0000000001FE5000-memory.dmp

                memory/3980-51-0x0000000007700000-0x0000000007B0B000-memory.dmp

                memory/3980-43-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-11-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

                memory/3980-41-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-40-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-39-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-38-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-14-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

                memory/3980-36-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-35-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-34-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-33-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-32-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-31-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-30-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-29-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-28-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-27-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-24-0x0000000001F90000-0x0000000001FA0000-memory.dmp

                memory/3980-21-0x0000000001F80000-0x0000000001F86000-memory.dmp

                memory/3980-20-0x0000000002800000-0x0000000002A0F000-memory.dmp