Analysis

  • max time kernel
    148s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231222-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231222-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/12/2023, 21:34

General

  • Target
    048dbb13d456e5edb0852bb0be9a2fd7.exe
  • Size 14.0MB
  • Sample231229-1ezzlshff6
  • SHA256 89fb1911ddfe210dbc22eaed8208dd730ff5f81b79180e613017d9ea1154f218
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\048dbb13d456e5edb0852bb0be9a2fd7.exe
    "C:\Users\Admin\AppData\Local\Temp\048dbb13d456e5edb0852bb0be9a2fd7.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2276
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tmacixln\
      2⤵
        PID:3212
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wjajboqk.exe" C:\Windows\SysWOW64\tmacixln\
        2⤵
          PID:4376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tmacixln binPath= "C:\Windows\SysWOW64\tmacixln\wjajboqk.exe /d\"C:\Users\Admin\AppData\Local\Temp\048dbb13d456e5edb0852bb0be9a2fd7.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4584
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tmacixln "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2172
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tmacixln
          2⤵
          • Launches sc.exe
          PID:1456
        • 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:4980
      • C:\Windows\SysWOW64\tmacixln\wjajboqk.exe
        C:\Windows\SysWOW64\tmacixln\wjajboqk.exe /d"C:\Users\Admin\AppData\Local\Temp\048dbb13d456e5edb0852bb0be9a2fd7.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1652
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:3944

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            wjajboqk.exe

            • Path C:\Users\Admin\AppData\Local\Temp\wjajboqk.exe
            • Size 36KB
            • SHA256 70f227026291b7c17b548316ddf9a22b3779e35ef4d1fcaf3320f382b503c001
            • MD5 SHA1 SHA512 SSDEEP

            wjajboqk.exe

            • Path C:\Windows\SysWOW64\tmacixln\wjajboqk.exe
            • Size 4KB
            • SHA256 fd7154028fa6ed7c6e3e5a9c2679432b99ac0d1d1056a55d203e1c0b11b47507
            • MD5 SHA1 SHA512 SSDEEP

            memory/1652-9-0x0000000000D40000-0x0000000000D53000-memory.dmp

            memory/1652-18-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/1652-8-0x00000000005E0000-0x00000000006E0000-memory.dmp

            memory/1652-10-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/2276-3-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/2276-23-0x0000000000580000-0x0000000000680000-memory.dmp

            memory/2276-2-0x0000000000540000-0x0000000000553000-memory.dmp

            memory/2276-1-0x0000000000580000-0x0000000000680000-memory.dmp

            memory/2276-15-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/3944-14-0x0000000000800000-0x0000000000815000-memory.dmp

            memory/3944-17-0x0000000000800000-0x0000000000815000-memory.dmp

            memory/3944-16-0x0000000000800000-0x0000000000815000-memory.dmp

            memory/3944-11-0x0000000000800000-0x0000000000815000-memory.dmp

            memory/3944-25-0x0000000000800000-0x0000000000815000-memory.dmp