Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/12/2023, 23:07

General

  • Target
    067dff0c9a894682101cda9b80e7155e.exe
  • Size 11.8MB
  • Sample231229-24dncacabl
  • SHA256 1a81eec80ea13886b872425fef106c8fa1f52a50cf98da87e8d60fe341162aa1
  • 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\067dff0c9a894682101cda9b80e7155e.exe
    "C:\Users\Admin\AppData\Local\Temp\067dff0c9a894682101cda9b80e7155e.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\htaspfsb\
      2⤵
        PID:496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rdeytpqn.exe" C:\Windows\SysWOW64\htaspfsb\
        2⤵
          PID:4364
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create htaspfsb binPath= "C:\Windows\SysWOW64\htaspfsb\rdeytpqn.exe /d\"C:\Users\Admin\AppData\Local\Temp\067dff0c9a894682101cda9b80e7155e.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2068
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description htaspfsb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4356
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start htaspfsb
          2⤵
          • Launches sc.exe
          PID:1444
        • 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:4284
      • C:\Windows\SysWOW64\htaspfsb\rdeytpqn.exe
        C:\Windows\SysWOW64\htaspfsb\rdeytpqn.exe /d"C:\Users\Admin\AppData\Local\Temp\067dff0c9a894682101cda9b80e7155e.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:524
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:692

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            rdeytpqn.exe

            • Path C:\Users\Admin\AppData\Local\Temp\rdeytpqn.exe
            • Size 4.7MB
            • SHA256 74913246b963425667b49549e483ac7f2d13baf4d32e8063ab076ae0b603d30e
            • MD5 SHA1 SHA512 SSDEEP

            rdeytpqn.exe

            • Path C:\Windows\SysWOW64\htaspfsb\rdeytpqn.exe
            • Size 1.3MB
            • SHA256 5c49c7d0107d9129270a2ef9078e3d76053c486a23bdf1c48d1a17d52d16b7a4
            • MD5 SHA1 SHA512 SSDEEP

            memory/524-21-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/524-16-0x0000000000680000-0x0000000000681000-memory.dmp

            memory/524-15-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/692-25-0x0000000000EF0000-0x0000000000F05000-memory.dmp

            memory/692-24-0x0000000000EF0000-0x0000000000F05000-memory.dmp

            memory/692-23-0x0000000000EF0000-0x0000000000F05000-memory.dmp

            memory/692-22-0x0000000000EF0000-0x0000000000F05000-memory.dmp

            memory/692-18-0x0000000000EF0000-0x0000000000F05000-memory.dmp

            memory/3108-8-0x0000000002160000-0x0000000002161000-memory.dmp

            memory/3108-1-0x0000000002160000-0x0000000002161000-memory.dmp

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

            memory/3108-12-0x0000000000400000-0x000000000041E000-memory.dmp

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

            memory/3108-3-0x0000000002170000-0x0000000002171000-memory.dmp

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