Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/01/2024, 05:06

General

  • Target
    5c35fea681df97b50e0d86afc84e626b.exe
  • Size 10.7MB
  • Sample240115-frh7eahhfl
  • SHA256 3254b338c3d8a9ed898c84d8d69742d0564289eb6a8cbceb6a9de45a12e42d14
  • 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\5c35fea681df97b50e0d86afc84e626b.exe
    "C:\Users\Admin\AppData\Local\Temp\5c35fea681df97b50e0d86afc84e626b.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rnyukokg\
      2⤵
        PID:3408
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lymprrpc.exe" C:\Windows\SysWOW64\rnyukokg\
        2⤵
          PID:4716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rnyukokg binPath= "C:\Windows\SysWOW64\rnyukokg\lymprrpc.exe /d\"C:\Users\Admin\AppData\Local\Temp\5c35fea681df97b50e0d86afc84e626b.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rnyukokg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4428
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rnyukokg
          2⤵
          • Launches sc.exe
          PID:2416
        • 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:3684
      • C:\Windows\SysWOW64\rnyukokg\lymprrpc.exe
        C:\Windows\SysWOW64\rnyukokg\lymprrpc.exe /d"C:\Users\Admin\AppData\Local\Temp\5c35fea681df97b50e0d86afc84e626b.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4240
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:336

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            lymprrpc.exe

            • Path C:\Users\Admin\AppData\Local\Temp\lymprrpc.exe
            • Size 4.0MB
            • SHA256 d83856dfeff36ebd222f733b5d27143c2c0e3c60224008cad7aa3039d4f56cec
            • MD5 SHA1 SHA512 SSDEEP

            lymprrpc.exe

            • Path C:\Windows\SysWOW64\rnyukokg\lymprrpc.exe
            • Size 451KB
            • SHA256 c10b20c28dd64c3ed67e750b0014a0e15dde83647cee7120005dbd14015809e3
            • MD5 SHA1 SHA512 SSDEEP

            memory/336-9-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

            memory/336-13-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

            memory/336-15-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

            memory/336-16-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

            memory/336-17-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

            memory/1576-1-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/1576-2-0x00000000005C0000-0x00000000005C1000-memory.dmp

            memory/1576-3-0x00000000005D0000-0x00000000005D1000-memory.dmp

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

            memory/1576-14-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4240-7-0x0000000000400000-0x000000000041E000-memory.dmp

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