Analysis

  • max time kernel
    149s
  • max time network
    143s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    02/12/2022, 10:51

General

  • Target
    file.exe
  • Size 350KB
  • Sample221202-mxvkysdg7z
  • SHA256 ef514682a7ab092326100883aa5a4101cb49a2054f538e3731d80c19e065f016
  • 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
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 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:1668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ugdcnrio\
      2⤵
        PID:1348
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jgabygwd.exe" C:\Windows\SysWOW64\ugdcnrio\
        2⤵
          PID:1840
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ugdcnrio binPath= "C:\Windows\SysWOW64\ugdcnrio\jgabygwd.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1828
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ugdcnrio "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1340
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ugdcnrio
          2⤵
          • Launches sc.exe
          PID:1824
        • 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:520
      • C:\Windows\SysWOW64\ugdcnrio\jgabygwd.exe
        C:\Windows\SysWOW64\ugdcnrio\jgabygwd.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:580
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:1468

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            jgabygwd.exe

            • Path C:\Users\Admin\AppData\Local\Temp\jgabygwd.exe
            • Size 14.0MB
            • SHA256 a9b2c3d538bce40f036a33b369b59df69d23b29d3448dadcdafb5bdc7d975ea7
            • MD5 SHA1 SHA512 SSDEEP

            jgabygwd.exe

            • Path C:\Windows\SysWOW64\ugdcnrio\jgabygwd.exe
            • Size 14.0MB
            • SHA256 a9b2c3d538bce40f036a33b369b59df69d23b29d3448dadcdafb5bdc7d975ea7
            • MD5 SHA1 SHA512 SSDEEP

            memory/580-74-0x000000000050A000-0x000000000051F000-memory.dmp

            memory/580-76-0x0000000000400000-0x000000000045D000-memory.dmp

            memory/1468-72-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1468-70-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1468-80-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1468-79-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1668-57-0x0000000000400000-0x000000000045D000-memory.dmp

            memory/1668-67-0x0000000000400000-0x000000000045D000-memory.dmp

            memory/1668-66-0x000000000026A000-0x000000000027F000-memory.dmp

            memory/1668-54-0x0000000075071000-0x0000000075073000-memory.dmp

            memory/1668-56-0x00000000003C0000-0x00000000003D3000-memory.dmp

            memory/1668-55-0x000000000026A000-0x000000000027F000-memory.dmp