Analysis

  • max time kernel
    144s
  • max time network
    142s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/08/2022, 12:58

General

  • Target
    file.exe
  • Size 279KB
  • Sample220829-p7g4qahebl
  • SHA256 302ca1dafea52c0039cbc171712eef95339daf45d441e669c18d629826343638
  • 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 1 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:1652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xukkvxdp\
      2⤵
        PID:4340
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\caywaewx.exe" C:\Windows\SysWOW64\xukkvxdp\
        2⤵
          PID:4596
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xukkvxdp binPath= "C:\Windows\SysWOW64\xukkvxdp\caywaewx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xukkvxdp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1672
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xukkvxdp
          2⤵
          • Launches sc.exe
          PID:2428
        • 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:680
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1652 -s 1224
          2⤵
          • Program crash
          PID:4456
      • C:\Windows\SysWOW64\xukkvxdp\caywaewx.exe
        C:\Windows\SysWOW64\xukkvxdp\caywaewx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3396
        • 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:4516
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1652 -ip 1652
        1⤵
          PID:3092

        Network

              MITRE ATT&CK Enterprise v6

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              caywaewx.exe

              • Path C:\Users\Admin\AppData\Local\Temp\caywaewx.exe
              • Size 10.3MB
              • SHA256 b8f42392eae5ac37cb3e1fe2e3936907602934df82f362d1e55d46517c6ddf9e
              • MD5 SHA1 SHA512 SSDEEP

              caywaewx.exe

              • Path C:\Windows\SysWOW64\xukkvxdp\caywaewx.exe
              • Size 10.3MB
              • SHA256 b8f42392eae5ac37cb3e1fe2e3936907602934df82f362d1e55d46517c6ddf9e
              • MD5 SHA1 SHA512 SSDEEP

              memory/1652-132-0x0000000002DCD000-0x0000000002DDE000-memory.dmp

              memory/1652-133-0x0000000002D20000-0x0000000002D33000-memory.dmp

              memory/1652-134-0x0000000000400000-0x0000000002B8E000-memory.dmp

              memory/1652-145-0x0000000000400000-0x0000000002B8E000-memory.dmp

              memory/1652-136-0x0000000002DCD000-0x0000000002DDE000-memory.dmp

              memory/1652-137-0x0000000002D20000-0x0000000002D33000-memory.dmp

              memory/3396-150-0x0000000002F29000-0x0000000002F3A000-memory.dmp

              memory/3396-151-0x0000000000400000-0x0000000002B8E000-memory.dmp

              memory/4516-147-0x0000000000E40000-0x0000000000E55000-memory.dmp

              memory/4516-152-0x0000000000E40000-0x0000000000E55000-memory.dmp

              memory/4516-153-0x0000000000E40000-0x0000000000E55000-memory.dmp