Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/12/2023, 03:32

General

  • Target
    0d0f825f1e0f5124cc5543276d6c140d.exe
  • Size 13.3MB
  • Sample231230-d3zmesfcd4
  • SHA256 2657ffa6aa25d3deef2f9d75955d5a16c9930d32e5a0f8da8ed448d7bb9448cd
  • 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\0d0f825f1e0f5124cc5543276d6c140d.exe
    "C:\Users\Admin\AppData\Local\Temp\0d0f825f1e0f5124cc5543276d6c140d.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wdyvcvnk\
      2⤵
        PID:4496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjcnucqg.exe" C:\Windows\SysWOW64\wdyvcvnk\
        2⤵
          PID:4844
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wdyvcvnk binPath= "C:\Windows\SysWOW64\wdyvcvnk\hjcnucqg.exe /d\"C:\Users\Admin\AppData\Local\Temp\0d0f825f1e0f5124cc5543276d6c140d.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4028
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wdyvcvnk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1564
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wdyvcvnk
          2⤵
          • Launches sc.exe
          PID:2608
        • 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:4968
      • C:\Windows\SysWOW64\wdyvcvnk\hjcnucqg.exe
        C:\Windows\SysWOW64\wdyvcvnk\hjcnucqg.exe /d"C:\Users\Admin\AppData\Local\Temp\0d0f825f1e0f5124cc5543276d6c140d.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4628
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1492

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            hjcnucqg.exe

            • Path C:\Users\Admin\AppData\Local\Temp\hjcnucqg.exe
            • Size 321KB
            • SHA256 6b2c61c77e5ed513f90bf26e04018fe7a9544a9c1f58e33c42766ab2ac8131db
            • MD5 SHA1 SHA512 SSDEEP

            hjcnucqg.exe

            • Path C:\Windows\SysWOW64\wdyvcvnk\hjcnucqg.exe
            • Size 386KB
            • SHA256 c07127a5202691df52d001faf7eda498a14fe51ba0d801238924b5645aef0883
            • MD5 SHA1 SHA512 SSDEEP

            memory/1492-14-0x0000000000FB0000-0x0000000000FC5000-memory.dmp

            memory/1492-11-0x0000000000FB0000-0x0000000000FC5000-memory.dmp

            memory/1492-17-0x0000000000FB0000-0x0000000000FC5000-memory.dmp

            memory/1492-18-0x0000000000FB0000-0x0000000000FC5000-memory.dmp

            memory/4628-15-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/4628-10-0x0000000003820000-0x0000000003920000-memory.dmp

            memory/4628-16-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/4652-4-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/4652-2-0x0000000005410000-0x0000000005423000-memory.dmp

            memory/4652-7-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/4652-8-0x0000000005410000-0x0000000005423000-memory.dmp

            memory/4652-1-0x00000000038F0000-0x00000000039F0000-memory.dmp