Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/01/2024, 11:54

General

  • Target
    5b2d09dc3b0d133be5b7cf72caca5d04.exe
  • Size 13.7MB
  • Sample240114-n3aneaadf4
  • SHA256 5b1545f793b56575048353cf6ea5c4fe4701fad610f2d5b6cfe4e7121e8ed01c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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\5b2d09dc3b0d133be5b7cf72caca5d04.exe
    "C:\Users\Admin\AppData\Local\Temp\5b2d09dc3b0d133be5b7cf72caca5d04.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\erberoux\
      2⤵
        PID:2584
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qtmusucm.exe" C:\Windows\SysWOW64\erberoux\
        2⤵
          PID:840
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create erberoux binPath= "C:\Windows\SysWOW64\erberoux\qtmusucm.exe /d\"C:\Users\Admin\AppData\Local\Temp\5b2d09dc3b0d133be5b7cf72caca5d04.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4804
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description erberoux "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4028
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start erberoux
          2⤵
          • Launches sc.exe
          PID:4084
        • 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:4092
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4720 -s 1044
          2⤵
          • Program crash
          PID:1244
      • C:\Windows\SysWOW64\erberoux\qtmusucm.exe
        C:\Windows\SysWOW64\erberoux\qtmusucm.exe /d"C:\Users\Admin\AppData\Local\Temp\5b2d09dc3b0d133be5b7cf72caca5d04.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2296
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2560
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2296 -s 520
          2⤵
          • Program crash
          PID:760
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2296 -ip 2296
        1⤵
          PID:3804
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4720 -ip 4720
          1⤵
            PID:4316

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qtmusucm.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qtmusucm.exe
                • Size 12.0MB
                • SHA256 4fdbb71bef7576a62bcbe2e34854707fda20cb13ce05de6f791c5d2f7e0ea1b7
                • MD5 SHA1 SHA512 SSDEEP

                qtmusucm.exe

                • Path C:\Windows\SysWOW64\erberoux\qtmusucm.exe
                • Size 5.3MB
                • SHA256 df24f56f58269bb1804ad2e3065137a967fa9e0adc99f8b40ad575910c14e0fe
                • MD5 SHA1 SHA512 SSDEEP

                memory/2296-9-0x0000000002E50000-0x0000000002F50000-memory.dmp

                memory/2296-18-0x0000000000400000-0x0000000002CC0000-memory.dmp

                memory/2296-14-0x0000000000400000-0x0000000002CC0000-memory.dmp

                memory/2296-10-0x0000000002E20000-0x0000000002E33000-memory.dmp

                memory/2560-11-0x0000000000380000-0x0000000000395000-memory.dmp

                memory/2560-16-0x0000000000380000-0x0000000000395000-memory.dmp

                memory/2560-20-0x0000000000380000-0x0000000000395000-memory.dmp

                memory/2560-21-0x0000000000380000-0x0000000000395000-memory.dmp

                memory/2560-22-0x0000000000380000-0x0000000000395000-memory.dmp

                memory/4720-5-0x0000000000400000-0x0000000002CC0000-memory.dmp

                memory/4720-1-0x0000000002E80000-0x0000000002F80000-memory.dmp

                memory/4720-4-0x0000000000400000-0x0000000002CC0000-memory.dmp

                memory/4720-15-0x0000000002E80000-0x0000000002F80000-memory.dmp

                memory/4720-17-0x0000000000400000-0x0000000002CC0000-memory.dmp

                memory/4720-2-0x0000000004A20000-0x0000000004A33000-memory.dmp