Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/12/2023, 19:09

General

  • Target
    3ad2aec044029075ed9c164e1681faf8.exe
  • Size 10.2MB
  • Sample231231-xt1mxafbc2
  • SHA256 ff2b1cc6b5905ea5609ffb52c098d2a2d251b1fbb28d37cac3e176203cd488fa
  • 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\3ad2aec044029075ed9c164e1681faf8.exe
    "C:\Users\Admin\AppData\Local\Temp\3ad2aec044029075ed9c164e1681faf8.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zisvcbrn\
      2⤵
        PID:4984
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fkxxazpu.exe" C:\Windows\SysWOW64\zisvcbrn\
        2⤵
          PID:2768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zisvcbrn binPath= "C:\Windows\SysWOW64\zisvcbrn\fkxxazpu.exe /d\"C:\Users\Admin\AppData\Local\Temp\3ad2aec044029075ed9c164e1681faf8.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:456
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zisvcbrn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1524
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zisvcbrn
          2⤵
          • Launches sc.exe
          PID:5064
        • 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:4784
      • C:\Windows\SysWOW64\zisvcbrn\fkxxazpu.exe
        C:\Windows\SysWOW64\zisvcbrn\fkxxazpu.exe /d"C:\Users\Admin\AppData\Local\Temp\3ad2aec044029075ed9c164e1681faf8.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5072
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2500

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            fkxxazpu.exe

            • Path C:\Users\Admin\AppData\Local\Temp\fkxxazpu.exe
            • Size 6.0MB
            • SHA256 8d3c9fa3d2718d29bec1918bba040badffb66030743f896dd5c83ef90d8372cc
            • MD5 SHA1 SHA512 SSDEEP

            fkxxazpu.exe

            • Path C:\Windows\SysWOW64\zisvcbrn\fkxxazpu.exe
            • Size 3.5MB
            • SHA256 0f36dfe1dd3b30ebe3e244a7087d61724ba24406bd30133fcc227aab853be376
            • MD5 SHA1 SHA512 SSDEEP

            memory/2500-3-0x0000000000670000-0x0000000000685000-memory.dmp

            memory/2500-5-0x0000000000670000-0x0000000000685000-memory.dmp

            memory/2500-7-0x0000000000670000-0x0000000000685000-memory.dmp

            memory/2500-6-0x0000000000670000-0x0000000000685000-memory.dmp

            memory/2500-8-0x0000000000670000-0x0000000000685000-memory.dmp

            memory/2500-9-0x0000000000670000-0x0000000000685000-memory.dmp