Analysis

  • max time kernel
    145s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-08-2024 00:48

General

  • Target

    f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe

  • Size

    11.8MB

  • MD5

    4fece95c5138be47dc60bef4279def37

  • SHA1

    1a8feffb0571f72236b16aeffd5223d0ed2400c4

  • SHA256

    f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705

  • SHA512

    a4c40a3d0963d7ce1d2b15f67e382964fb26a4f52509f770f7f7f6ceeedaa34050f3a13734f70f5f6eb03beb0b03cbc673ab9d7835855bdbf2f9de970feb81d6

  • SSDEEP

    196608:p4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTn:p

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) 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\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe
    "C:\Users\Admin\AppData\Local\Temp\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\onsomvyc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yojvpbfx.exe" C:\Windows\SysWOW64\onsomvyc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create onsomvyc binPath= "C:\Windows\SysWOW64\onsomvyc\yojvpbfx.exe /d\"C:\Users\Admin\AppData\Local\Temp\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description onsomvyc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4588
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start onsomvyc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4848
    • 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:5056
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4076 -s 600
      2⤵
      • Program crash
      PID:4840
  • C:\Windows\SysWOW64\onsomvyc\yojvpbfx.exe
    C:\Windows\SysWOW64\onsomvyc\yojvpbfx.exe /d"C:\Users\Admin\AppData\Local\Temp\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2840
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2512
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2840 -s 508
      2⤵
      • Program crash
      PID:4108
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 4076 -ip 4076
    1⤵
      PID:4828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2840 -ip 2840
      1⤵
        PID:3372

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        c0cb7788723f0e04c86a6abfd791d59b

        SHA1

        6b4aefc547bc9a6863258dd06a78dda33383785d

        SHA256

        32f8631743f6111df3e734bd6a188e5b07a2193a0be3d65aeaecc5fce055a825

        SHA512

        48c2ac3af39e07026f0e772ee50a915a5569b5c310131136f64a25b4584ca7608ab1f4853a9ae9fe71ebd29fa1905af110baaf99129445ece19963f916c96dc1

      • memory/2512-11-0x00000000001C0000-0x00000000001D5000-memory.dmp

        Filesize

        84KB

      • memory/2512-14-0x00000000001C0000-0x00000000001D5000-memory.dmp

        Filesize

        84KB

      • memory/2512-16-0x00000000001C0000-0x00000000001D5000-memory.dmp

        Filesize

        84KB

      • memory/2840-12-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2840-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4076-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4076-1-0x0000000000B80000-0x0000000000C80000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4076-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/4076-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB