Analysis

  • max time kernel
    224s
  • max time network
    250s
  • 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:13

General

  • Target
    0ca30866f10522aa2eba7ed97efad1bb.exe
  • Size 11.5MB
  • Sample231230-dq7ghacfe7
  • SHA256 7b994ad3deaa09f120ae974c40591449ddaf3b34786fc98429b207abc846dbfb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 176.111.174.19

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

  • 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\0ca30866f10522aa2eba7ed97efad1bb.exe
    "C:\Users\Admin\AppData\Local\Temp\0ca30866f10522aa2eba7ed97efad1bb.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bkgmqkrq\
      2⤵
        PID:4112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uhsbcnyp.exe" C:\Windows\SysWOW64\bkgmqkrq\
        2⤵
          PID:4708
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bkgmqkrq binPath= "C:\Windows\SysWOW64\bkgmqkrq\uhsbcnyp.exe /d\"C:\Users\Admin\AppData\Local\Temp\0ca30866f10522aa2eba7ed97efad1bb.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4304
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bkgmqkrq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1356
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bkgmqkrq
          2⤵
          • Launches sc.exe
          PID:1848
        • 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:4476
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1656 -s 804
          2⤵
          • Program crash
          PID:3648
      • C:\Windows\SysWOW64\bkgmqkrq\uhsbcnyp.exe
        C:\Windows\SysWOW64\bkgmqkrq\uhsbcnyp.exe /d"C:\Users\Admin\AppData\Local\Temp\0ca30866f10522aa2eba7ed97efad1bb.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1304
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:3484
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1304 -s 536
          2⤵
          • Program crash
          PID:2456
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1656 -ip 1656
        1⤵
          PID:4580
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1304 -ip 1304
          1⤵
            PID:4452

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                uhsbcnyp.exe

                • Path C:\Users\Admin\AppData\Local\Temp\uhsbcnyp.exe
                • Size 9.3MB
                • SHA256 fd641319436ff0b0f56bd857b06406d25b64764f02c07dfa0ff7a1a3dbff5475
                • MD5 SHA1 SHA512 SSDEEP

                uhsbcnyp.exe

                • Path C:\Windows\SysWOW64\bkgmqkrq\uhsbcnyp.exe
                • Size 7.7MB
                • SHA256 79a86238df232ba1f4d3867db57649105b798055ed88bcfebc9ce9bf050ddd5e
                • MD5 SHA1 SHA512 SSDEEP

                memory/1304-11-0x0000000000750000-0x0000000000763000-memory.dmp

                memory/1304-16-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/1304-20-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/1304-19-0x0000000000770000-0x0000000000870000-memory.dmp

                memory/1304-12-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/1304-10-0x0000000000770000-0x0000000000870000-memory.dmp

                memory/1656-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

                memory/1656-9-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/1656-13-0x00000000005A0000-0x00000000006A0000-memory.dmp

                memory/1656-4-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/1656-2-0x0000000000400000-0x000000000045D000-memory.dmp

                memory/1656-3-0x0000000000580000-0x0000000000593000-memory.dmp

                memory/3484-17-0x00000000003E0000-0x00000000003F5000-memory.dmp

                memory/3484-23-0x00000000003E0000-0x00000000003F5000-memory.dmp

                memory/3484-26-0x00000000003E0000-0x00000000003F5000-memory.dmp

                memory/3484-30-0x00000000003E0000-0x00000000003F5000-memory.dmp

                memory/3484-31-0x00000000003E0000-0x00000000003F5000-memory.dmp