Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/01/2024, 19:33

General

  • Target
    4929cf4b5fecde39e27ec00f0954edad.exe
  • Size 12.0MB
  • Sample240107-x9ltpadec2
  • SHA256 531bdeb17a9c3dd2fafa554d41b044cc26b597260feed98f13cae36a9825d400
  • 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\4929cf4b5fecde39e27ec00f0954edad.exe
    "C:\Users\Admin\AppData\Local\Temp\4929cf4b5fecde39e27ec00f0954edad.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zbmogerx\
      2⤵
        PID:4344
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nfkkrjdh.exe" C:\Windows\SysWOW64\zbmogerx\
        2⤵
          PID:4568
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zbmogerx binPath= "C:\Windows\SysWOW64\zbmogerx\nfkkrjdh.exe /d\"C:\Users\Admin\AppData\Local\Temp\4929cf4b5fecde39e27ec00f0954edad.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2280
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zbmogerx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3744
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zbmogerx
          2⤵
          • Launches sc.exe
          PID:3972
        • 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:1568
      • C:\Windows\SysWOW64\zbmogerx\nfkkrjdh.exe
        C:\Windows\SysWOW64\zbmogerx\nfkkrjdh.exe /d"C:\Users\Admin\AppData\Local\Temp\4929cf4b5fecde39e27ec00f0954edad.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2724
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:2164

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            nfkkrjdh.exe

            • Path C:\Users\Admin\AppData\Local\Temp\nfkkrjdh.exe
            • Size 14.2MB
            • SHA256 d29d68f9d3dc81a08e7cb0c23f2cfc87ea2ea64f6ccbe2d89542053d4e8942af
            • MD5 SHA1 SHA512 SSDEEP

            memory/2164-33-0x0000000001240000-0x0000000001255000-memory.dmp

            memory/2164-30-0x0000000001240000-0x0000000001255000-memory.dmp

            memory/2164-25-0x0000000001240000-0x0000000001255000-memory.dmp

            memory/2164-23-0x0000000001240000-0x0000000001255000-memory.dmp

            memory/2164-17-0x0000000001240000-0x0000000001255000-memory.dmp

            memory/2724-16-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/2724-15-0x00000000004B0000-0x00000000005B0000-memory.dmp

            memory/2724-19-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/2968-1-0x0000000000680000-0x0000000000780000-memory.dmp

            memory/2968-8-0x00000000005D0000-0x00000000005E3000-memory.dmp

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

            memory/2968-6-0x0000000000680000-0x0000000000780000-memory.dmp

            memory/2968-5-0x0000000000400000-0x000000000046E000-memory.dmp

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

            memory/2968-2-0x00000000005D0000-0x00000000005E3000-memory.dmp