Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/12/2023, 19:57

General

  • Target
    026c196cc3e00261142094e84314a9c3.exe
  • Size 14.1MB
  • Sample231229-ypltmabah4
  • SHA256 d49ada1e9256f1a2043a9ac4eb26999025e66e5a60dfdbd633f81cb5a7e6fe50
  • 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\026c196cc3e00261142094e84314a9c3.exe
    "C:\Users\Admin\AppData\Local\Temp\026c196cc3e00261142094e84314a9c3.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nopsfdch\
      2⤵
        PID:4532
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bkaopdsy.exe" C:\Windows\SysWOW64\nopsfdch\
        2⤵
          PID:4564
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create nopsfdch binPath= "C:\Windows\SysWOW64\nopsfdch\bkaopdsy.exe /d\"C:\Users\Admin\AppData\Local\Temp\026c196cc3e00261142094e84314a9c3.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:932
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description nopsfdch "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3592
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start nopsfdch
          2⤵
          • Launches sc.exe
          PID:2384
        • 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:5080
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4808 -s 1172
          2⤵
          • Program crash
          PID:2204
      • C:\Windows\SysWOW64\nopsfdch\bkaopdsy.exe
        C:\Windows\SysWOW64\nopsfdch\bkaopdsy.exe /d"C:\Users\Admin\AppData\Local\Temp\026c196cc3e00261142094e84314a9c3.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3892
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3892 -s 528
          2⤵
          • Program crash
          PID:2232
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2060
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4808 -ip 4808
        1⤵
          PID:4644
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3892 -ip 3892
          1⤵
            PID:3832

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                bkaopdsy.exe

                • Path C:\Users\Admin\AppData\Local\Temp\bkaopdsy.exe
                • Size 1.2MB
                • SHA256 be3cd1da773ffaa8307c46bd0849502a5e314f26a6bd68add68e2ad6a61759d8
                • MD5 SHA1 SHA512 SSDEEP

                bkaopdsy.exe

                • Path C:\Windows\SysWOW64\nopsfdch\bkaopdsy.exe
                • Size 495KB
                • SHA256 b19f9547af4090f7c05c7fbd402d5076877a3eca183026a94ea4747cf1bb41f3
                • MD5 SHA1 SHA512 SSDEEP

                memory/2060-11-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/2060-19-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/2060-16-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/2060-17-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/2060-14-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/3892-15-0x0000000000400000-0x0000000002C6D000-memory.dmp

                memory/3892-10-0x0000000002D90000-0x0000000002E90000-memory.dmp

                memory/3892-18-0x0000000000400000-0x0000000002C6D000-memory.dmp

                memory/4808-1-0x0000000002CC0000-0x0000000002DC0000-memory.dmp

                memory/4808-8-0x0000000000400000-0x0000000002C6D000-memory.dmp

                memory/4808-9-0x0000000002DF0000-0x0000000002E03000-memory.dmp

                memory/4808-4-0x0000000000400000-0x0000000002C6D000-memory.dmp

                memory/4808-2-0x0000000002DF0000-0x0000000002E03000-memory.dmp