Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-01-2025 20:00

General

  • Target

    0877a5f9da479c4c01f7773e9a37c88df7313447330fe2fe17f745fa496cccad.exe

  • Size

    12.1MB

  • MD5

    303f6e51c43fac701d5f42ef5bf75390

  • SHA1

    8579db92117e98aab6ea6c8386044b9dac29f751

  • SHA256

    0877a5f9da479c4c01f7773e9a37c88df7313447330fe2fe17f745fa496cccad

  • SHA512

    0ef6f8304325be021264f08f7458dc7ef01c65ab8ee9b64455a27af47bbff9177648e5b6c4c2bb1d29e42205ff20987836ec32ffd23f5fd4c22bd4570e57689d

  • SSDEEP

    6144:vZDhTWrhgUaxjFftGu35QZ+2PPFGrGuislc03r:vZDhTWrhgUWFfMuP0FGqb/0

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.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0877a5f9da479c4c01f7773e9a37c88df7313447330fe2fe17f745fa496cccad.exe
    "C:\Users\Admin\AppData\Local\Temp\0877a5f9da479c4c01f7773e9a37c88df7313447330fe2fe17f745fa496cccad.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\twddflei\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nqjrprzj.exe" C:\Windows\SysWOW64\twddflei\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create twddflei binPath= "C:\Windows\SysWOW64\twddflei\nqjrprzj.exe /d\"C:\Users\Admin\AppData\Local\Temp\0877a5f9da479c4c01f7773e9a37c88df7313447330fe2fe17f745fa496cccad.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description twddflei "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start twddflei
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3712
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3412 -s 1216
      2⤵
      • Program crash
      PID:3084
  • C:\Windows\SysWOW64\twddflei\nqjrprzj.exe
    C:\Windows\SysWOW64\twddflei\nqjrprzj.exe /d"C:\Users\Admin\AppData\Local\Temp\0877a5f9da479c4c01f7773e9a37c88df7313447330fe2fe17f745fa496cccad.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1212
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1212 -s 520
      2⤵
      • Program crash
      PID:5068
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3412 -ip 3412
    1⤵
      PID:2340
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1212 -ip 1212
      1⤵
        PID:2368

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\nqjrprzj.exe

        Filesize

        12.1MB

        MD5

        1b6184a826aa367c2a9f8805e1a1cd49

        SHA1

        014dd0231a7b6f7f86a84a7471cf247152ecdb3a

        SHA256

        b7d93d8964fcfef7620dfd274d6eb88033bf7507db3abb5a4198dc0bd3dc5c95

        SHA512

        c30ac5db27d6de45b47a4a24bb38c1f8b3e4791cc2e5728195fbe521a6e176f4a8e2cdadada9b0b8e2f0c3ef105f78c9e92e1b59967d64aa70e9b785cbeff66e

      • memory/1212-11-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/1212-17-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/1212-15-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/3412-8-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/3412-9-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

        Filesize

        76KB

      • memory/3412-1-0x0000000000880000-0x0000000000980000-memory.dmp

        Filesize

        1024KB

      • memory/3412-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3412-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3412-2-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

        Filesize

        76KB

      • memory/5012-14-0x0000000000260000-0x0000000000275000-memory.dmp

        Filesize

        84KB

      • memory/5012-12-0x0000000000260000-0x0000000000275000-memory.dmp

        Filesize

        84KB

      • memory/5012-16-0x0000000000260000-0x0000000000275000-memory.dmp

        Filesize

        84KB