Analysis

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

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

General

  • Target
    5140d127b1646f1e0c743bc089dcdd11.exe
  • Size 14.7MB
  • Sample240110-xyg2csecgl
  • SHA256 97226e55b0b223c1f897564afdb575582da1f493a7e2a44765fd2883c887b25a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.6

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

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5140d127b1646f1e0c743bc089dcdd11.exe
    "C:\Users\Admin\AppData\Local\Temp\5140d127b1646f1e0c743bc089dcdd11.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrxgndfm\
      2⤵
        PID:2944
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lhzxforj.exe" C:\Windows\SysWOW64\rrxgndfm\
        2⤵
          PID:4376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rrxgndfm binPath= "C:\Windows\SysWOW64\rrxgndfm\lhzxforj.exe /d\"C:\Users\Admin\AppData\Local\Temp\5140d127b1646f1e0c743bc089dcdd11.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:380
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rrxgndfm "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rrxgndfm
          2⤵
          • Launches sc.exe
          PID:3616
        • 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:3368
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4560 -s 676
          2⤵
          • Program crash
          PID:1000
      • C:\Windows\SysWOW64\rrxgndfm\lhzxforj.exe
        C:\Windows\SysWOW64\rrxgndfm\lhzxforj.exe /d"C:\Users\Admin\AppData\Local\Temp\5140d127b1646f1e0c743bc089dcdd11.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2848
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2872
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2848 -s 220
          2⤵
          • Program crash
          PID:388
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4560 -ip 4560
        1⤵
          PID:2304
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 2848 -ip 2848
          1⤵
            PID:4768

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                lhzxforj.exe

                • Path C:\Users\Admin\AppData\Local\Temp\lhzxforj.exe
                • Size 2.3MB
                • SHA256 af5d5255c6fc3f1148e51bab7b923c1f79b5a25721ea73ad7e27c41d8edcd0c0
                • MD5 SHA1 SHA512 SSDEEP

                lhzxforj.exe

                • Path C:\Windows\SysWOW64\rrxgndfm\lhzxforj.exe
                • Size 5.6MB
                • SHA256 dab6b5d46b29b20d9045a57c0f3b21c0b03c9a03c730ac26897afffb4db7da43
                • MD5 SHA1 SHA512 SSDEEP

                memory/2848-11-0x0000000003530000-0x0000000003630000-memory.dmp

                memory/2848-18-0x0000000000400000-0x000000000323B000-memory.dmp

                memory/2848-12-0x0000000000400000-0x000000000323B000-memory.dmp

                memory/2872-13-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

                memory/2872-17-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

                memory/2872-19-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

                memory/2872-20-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

                memory/4560-10-0x0000000004F90000-0x0000000004FA3000-memory.dmp

                memory/4560-7-0x0000000000400000-0x000000000323B000-memory.dmp

                memory/4560-4-0x0000000000400000-0x000000000323B000-memory.dmp

                memory/4560-1-0x0000000003260000-0x0000000003360000-memory.dmp

                memory/4560-2-0x0000000004F90000-0x0000000004FA3000-memory.dmp