Analysis

  • max time kernel
    148s
  • max time network
    154s
  • platform
    windows7_x64
  • resource
    win7-20231215-en
  • resource tags

    arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system
  • submitted
    11/01/2024, 04:25

General

  • Target
    528785c4b432b56e5981a04c02cd9196.exe
  • Size 324KB
  • Sample240111-e2fzcseeel
  • SHA256 3d26d7945dfd585794694aad848b1f47e1cb538a2926f49eb06752de44cba8c0
  • 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.

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\528785c4b432b56e5981a04c02cd9196.exe
    "C:\Users\Admin\AppData\Local\Temp\528785c4b432b56e5981a04c02cd9196.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2140
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ducjfjf\
      2⤵
        PID:2680
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\toybpaai.exe" C:\Windows\SysWOW64\ducjfjf\
        2⤵
          PID:2792
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ducjfjf binPath= "C:\Windows\SysWOW64\ducjfjf\toybpaai.exe /d\"C:\Users\Admin\AppData\Local\Temp\528785c4b432b56e5981a04c02cd9196.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2696
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ducjfjf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2860
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ducjfjf
          2⤵
          • Launches sc.exe
          PID:2608
        • 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:2524
      • C:\Windows\SysWOW64\ducjfjf\toybpaai.exe
        C:\Windows\SysWOW64\ducjfjf\toybpaai.exe /d"C:\Users\Admin\AppData\Local\Temp\528785c4b432b56e5981a04c02cd9196.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2596
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2628

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            toybpaai.exe

            • Path C:\Users\Admin\AppData\Local\Temp\toybpaai.exe
            • Size 4.2MB
            • SHA256 62dbe253b0f6df529051d354e99d2282429a5356e8c605b50a7ea77569aac4aa
            • MD5 SHA1 SHA512 SSDEEP

            toybpaai.exe

            • Path C:\Windows\SysWOW64\ducjfjf\toybpaai.exe
            • Size 2.2MB
            • SHA256 5afabbf6ac7527cbc933feb0445bd1fe9152ef3d75e3768c09b1c0456b0fc96c
            • MD5 SHA1 SHA512 SSDEEP

            memory/2140-2-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/2140-5-0x0000000000400000-0x000000000324C000-memory.dmp

            memory/2140-1-0x0000000003330000-0x0000000003430000-memory.dmp

            memory/2140-7-0x0000000000400000-0x000000000324C000-memory.dmp

            memory/2596-16-0x0000000000400000-0x000000000324C000-memory.dmp

            memory/2596-9-0x0000000003350000-0x0000000003450000-memory.dmp

            memory/2596-10-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/2596-18-0x0000000000400000-0x000000000324C000-memory.dmp

            memory/2628-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2628-14-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2628-19-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2628-20-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2628-11-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2628-21-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/2628-22-0x0000000000080000-0x0000000000095000-memory.dmp