Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24/10/2022, 08:39

General

  • Target
    file.exe
  • Size 230KB
  • Sample221024-kkac5sffgn
  • SHA256 65757b57e365632cbb09a09c18fe86a67aa5d53c8fd9da23ee7842d8a46055a8
  • 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
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops file in System32 directory 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
  • Modifies data under HKEY_USERS 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:1836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wlatdvfu\
      2⤵
        PID:3988
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ubbfgqal.exe" C:\Windows\SysWOW64\wlatdvfu\
        2⤵
          PID:4776
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wlatdvfu binPath= "C:\Windows\SysWOW64\wlatdvfu\ubbfgqal.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4400
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wlatdvfu "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2124
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wlatdvfu
          2⤵
          • Launches sc.exe
          PID:3532
        • 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:4320
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1836 -s 1216
          2⤵
          • Program crash
          PID:1348
      • C:\Windows\SysWOW64\wlatdvfu\ubbfgqal.exe
        C:\Windows\SysWOW64\wlatdvfu\ubbfgqal.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4528
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:1428
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4528 -s 556
          2⤵
          • Program crash
          PID:1708
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 1836 -ip 1836
        1⤵
          PID:3696
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 4528 -ip 4528
          1⤵
            PID:1972

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ubbfgqal.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ubbfgqal.exe
                • Size 10.1MB
                • SHA256 c8f8515cbb586ad38d1b94e2b16aa400dba18137fc926da6d1b6d7de9e129145
                • MD5 SHA1 SHA512 SSDEEP

                ubbfgqal.exe

                • Path C:\Windows\SysWOW64\wlatdvfu\ubbfgqal.exe
                • Size 10.1MB
                • SHA256 c8f8515cbb586ad38d1b94e2b16aa400dba18137fc926da6d1b6d7de9e129145
                • MD5 SHA1 SHA512 SSDEEP

                memory/1428-152-0x0000000000F00000-0x0000000000F15000-memory.dmp

                memory/1428-151-0x0000000000F00000-0x0000000000F15000-memory.dmp

                memory/1428-146-0x0000000000F00000-0x0000000000F15000-memory.dmp

                memory/1836-144-0x0000000000400000-0x0000000000597000-memory.dmp

                memory/1836-133-0x00000000006F0000-0x0000000000703000-memory.dmp

                memory/1836-134-0x0000000000400000-0x0000000000597000-memory.dmp

                memory/1836-132-0x00000000007C3000-0x00000000007D4000-memory.dmp

                memory/1836-143-0x00000000007C3000-0x00000000007D4000-memory.dmp

                memory/4528-149-0x000000000096E000-0x000000000097F000-memory.dmp

                memory/4528-150-0x0000000000400000-0x0000000000597000-memory.dmp