Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/02/2023, 23:47

General

  • Target
    file.exe
  • Size 193KB
  • Sample230209-3st2madb75
  • SHA256 66dceebb43ee22e5deb6e342ffb6c5010148d3e0bbff159d0df811fcac097034
  • 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:4128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mvelibsd\
      2⤵
        PID:2112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qjgofysp.exe" C:\Windows\SysWOW64\mvelibsd\
        2⤵
          PID:4396
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mvelibsd binPath= "C:\Windows\SysWOW64\mvelibsd\qjgofysp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3144
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mvelibsd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mvelibsd
          2⤵
          • Launches sc.exe
          PID:3380
        • 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:1536
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4128 -s 1044
          2⤵
          • Program crash
          PID:1992
      • C:\Windows\SysWOW64\mvelibsd\qjgofysp.exe
        C:\Windows\SysWOW64\mvelibsd\qjgofysp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3824
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:3880
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3824 -s 248
          2⤵
          • Program crash
          PID:3404
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4128 -ip 4128
        1⤵
          PID:1864
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3824 -ip 3824
          1⤵
            PID:3672

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qjgofysp.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qjgofysp.exe
                • Size 12.9MB
                • SHA256 72b4d7fecd2a70be3942aec904fa588df542dc3f0f3fa7139ab9186e786ecfb5
                • MD5 SHA1 SHA512 SSDEEP

                qjgofysp.exe

                • Path C:\Windows\SysWOW64\mvelibsd\qjgofysp.exe
                • Size 12.9MB
                • SHA256 72b4d7fecd2a70be3942aec904fa588df542dc3f0f3fa7139ab9186e786ecfb5
                • MD5 SHA1 SHA512 SSDEEP

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

                memory/3824-150-0x0000000000843000-0x0000000000856000-memory.dmp

                memory/3880-153-0x00000000007A0000-0x00000000007B5000-memory.dmp

                memory/3880-152-0x00000000007A0000-0x00000000007B5000-memory.dmp

                memory/3880-147-0x00000000007A0000-0x00000000007B5000-memory.dmp

                memory/4128-132-0x00000000007B9000-0x00000000007CC000-memory.dmp

                memory/4128-145-0x0000000000400000-0x0000000000560000-memory.dmp

                memory/4128-133-0x0000000000710000-0x0000000000723000-memory.dmp

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

                memory/4128-135-0x00000000007B9000-0x00000000007CC000-memory.dmp

                memory/4128-136-0x0000000000710000-0x0000000000723000-memory.dmp