Analysis

  • max time kernel
    153s
  • max time network
    164s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/01/2024, 00:11

General

  • Target
    3b6b4f7a154a49d7e20f3bb6009bb595.exe
  • Size 12.5MB
  • Sample240101-ags1zabbe4
  • SHA256 3883c4f0ba615b5b49c68de143fbd85d4e62966c9a890ccf49794e0801b9b44b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

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.

  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3b6b4f7a154a49d7e20f3bb6009bb595.exe
    "C:\Users\Admin\AppData\Local\Temp\3b6b4f7a154a49d7e20f3bb6009bb595.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eackmboz\
      2⤵
        PID:1400
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gidulfmf.exe" C:\Windows\SysWOW64\eackmboz\
        2⤵
          PID:888
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create eackmboz binPath= "C:\Windows\SysWOW64\eackmboz\gidulfmf.exe /d\"C:\Users\Admin\AppData\Local\Temp\3b6b4f7a154a49d7e20f3bb6009bb595.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:484
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description eackmboz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4996
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start eackmboz
          2⤵
          • Launches sc.exe
          PID:3808
        • 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:2976
      • C:\Windows\SysWOW64\eackmboz\gidulfmf.exe
        C:\Windows\SysWOW64\eackmboz\gidulfmf.exe /d"C:\Users\Admin\AppData\Local\Temp\3b6b4f7a154a49d7e20f3bb6009bb595.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2296
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:944

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            gidulfmf.exe

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

            memory/944-12-0x0000000000C50000-0x0000000000C65000-memory.dmp

            memory/944-18-0x0000000000C50000-0x0000000000C65000-memory.dmp

            memory/944-17-0x0000000000C50000-0x0000000000C65000-memory.dmp

            memory/944-16-0x0000000000C50000-0x0000000000C65000-memory.dmp

            memory/944-15-0x0000000000C50000-0x0000000000C65000-memory.dmp

            memory/2296-13-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/2296-9-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/2296-10-0x0000000000500000-0x0000000000501000-memory.dmp

            memory/4200-1-0x0000000000580000-0x0000000000581000-memory.dmp

            memory/4200-7-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4200-5-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4200-0-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4200-3-0x0000000000590000-0x0000000000591000-memory.dmp

            memory/4200-2-0x0000000000400000-0x000000000041E000-memory.dmp