Analysis

  • max time kernel
    165s
  • max time network
    176s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/02/2023, 01:31

General

  • Target
    file.exe
  • Size 193KB
  • Sample230210-bxfw1sbc87
  • SHA256 1c82cd32daa7d2c07074a4a35db8513cc6b40dcc7aa422063c4917aac097f9d1
  • 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
  • Modifies Windows Firewall 1 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.

  • 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). Likely ransomware behaviour.

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\smpdjxqn\
      2⤵
        PID:4272
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tvyjeyno.exe" C:\Windows\SysWOW64\smpdjxqn\
        2⤵
          PID:1548
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create smpdjxqn binPath= "C:\Windows\SysWOW64\smpdjxqn\tvyjeyno.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description smpdjxqn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2276
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start smpdjxqn
          2⤵
          • Launches sc.exe
          PID:3680
        • 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:2296
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1328 -s 1184
          2⤵
          • Program crash
          PID:5040
      • C:\Windows\SysWOW64\smpdjxqn\tvyjeyno.exe
        C:\Windows\SysWOW64\smpdjxqn\tvyjeyno.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4088
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1668
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4088 -s 532
          2⤵
          • Program crash
          PID:4068
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4088 -ip 4088
        1⤵
          PID:3548
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1328 -ip 1328
          1⤵
            PID:3616

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                tvyjeyno.exe

                • Path C:\Users\Admin\AppData\Local\Temp\tvyjeyno.exe
                • Size 10.5MB
                • SHA256 3e68488d7375ed71642089f62893400d5be9dd5988763ad07070022e4f7909c0
                • MD5 SHA1 SHA512 SSDEEP

                tvyjeyno.exe

                • Path C:\Windows\SysWOW64\smpdjxqn\tvyjeyno.exe
                • Size 10.5MB
                • SHA256 3e68488d7375ed71642089f62893400d5be9dd5988763ad07070022e4f7909c0
                • MD5 SHA1 SHA512 SSDEEP

                memory/1328-134-0x0000000000400000-0x0000000000560000-memory.dmp

                memory/1328-133-0x00000000006A0000-0x00000000006B3000-memory.dmp

                memory/1328-151-0x0000000000400000-0x0000000000560000-memory.dmp

                memory/1328-132-0x0000000000899000-0x00000000008AC000-memory.dmp

                memory/1328-145-0x0000000000899000-0x00000000008AC000-memory.dmp

                memory/1668-154-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/1668-153-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/1668-147-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/4088-144-0x0000000000400000-0x0000000000560000-memory.dmp

                memory/4088-143-0x00000000006A0000-0x00000000006B3000-memory.dmp

                memory/4088-152-0x0000000000400000-0x0000000000560000-memory.dmp

                memory/4088-142-0x00000000007C3000-0x00000000007D6000-memory.dmp