Analysis

  • max time kernel
    148s
  • max time network
    158s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    10/02/2023, 03:37

General

  • Target
    file.exe
  • Size 194KB
  • Sample230210-d6gwsabe4z
  • SHA256 4578fdf4e3475492d84809f602c1fef596cb4f6052343bc04c2f615bf69a6576
  • 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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • 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.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tuzpepgr\
      2⤵
        PID:1200
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aqwdiuyn.exe" C:\Windows\SysWOW64\tuzpepgr\
        2⤵
          PID:1088
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tuzpepgr binPath= "C:\Windows\SysWOW64\tuzpepgr\aqwdiuyn.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tuzpepgr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2012
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tuzpepgr
          2⤵
          • Launches sc.exe
          PID:1740
        • 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:320
      • C:\Windows\SysWOW64\tuzpepgr\aqwdiuyn.exe
        C:\Windows\SysWOW64\tuzpepgr\aqwdiuyn.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:860
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:1280

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            aqwdiuyn.exe

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

            aqwdiuyn.exe

            • Path C:\Windows\SysWOW64\tuzpepgr\aqwdiuyn.exe
            • Size 10.1MB
            • SHA256 7194c7c0209e34f008c07422275833b36153ed29b5e56478d23dcc9920a1c34f
            • MD5 SHA1 SHA512 SSDEEP

            memory/860-78-0x0000000000400000-0x0000000000560000-memory.dmp

            memory/860-76-0x000000000060B000-0x000000000061E000-memory.dmp

            memory/860-71-0x0000000000400000-0x0000000000560000-memory.dmp

            memory/860-70-0x000000000060B000-0x000000000061E000-memory.dmp

            memory/1280-74-0x0000000000110000-0x0000000000125000-memory.dmp

            memory/1280-72-0x0000000000110000-0x0000000000125000-memory.dmp

            memory/1280-83-0x0000000000110000-0x0000000000125000-memory.dmp

            memory/1280-81-0x0000000000110000-0x0000000000125000-memory.dmp

            memory/1880-67-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1880-57-0x0000000000400000-0x0000000000560000-memory.dmp

            memory/1880-54-0x00000000762B1000-0x00000000762B3000-memory.dmp

            memory/1880-68-0x0000000000400000-0x0000000000560000-memory.dmp

            memory/1880-56-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1880-55-0x000000000070B000-0x000000000071E000-memory.dmp

            memory/1880-66-0x000000000070B000-0x000000000071E000-memory.dmp