Analysis

  • max time kernel
    148s
  • max time network
    156s
  • 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 15:14

General

  • Target

    79231c2cacbfc0da610bb317d280a96d0d10e63a5824d5d052e41e57fb85bd6f.exe

  • Size

    12.5MB

  • MD5

    aee483bf0ab0bbba03e7add1c7b24d70

  • SHA1

    15ef01d3f681c7ec8cfb1e55a318723f4f4406f7

  • SHA256

    79231c2cacbfc0da610bb317d280a96d0d10e63a5824d5d052e41e57fb85bd6f

  • SHA512

    4dfe9bb49aec68b29055ab74aaac4efd83e96051072aa9f15bd2a8530376ba58f1b3d7741229a5fd96f81cd92ead9481918b4fe580bcc4baae158269d985d80e

  • SSDEEP

    6144:0ngjLKfnGE+Nj43Gd/50NS0UG4th+d49EOVVVVVVVVVVVVVVVVVVVVVVVVVVVVV7:fiOE+Nj4Q50k0UGIh+dJ

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\79231c2cacbfc0da610bb317d280a96d0d10e63a5824d5d052e41e57fb85bd6f.exe
    "C:\Users\Admin\AppData\Local\Temp\79231c2cacbfc0da610bb317d280a96d0d10e63a5824d5d052e41e57fb85bd6f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aafmxldy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3488
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\psltrtbl.exe" C:\Windows\SysWOW64\aafmxldy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aafmxldy binPath= "C:\Windows\SysWOW64\aafmxldy\psltrtbl.exe /d\"C:\Users\Admin\AppData\Local\Temp\79231c2cacbfc0da610bb317d280a96d0d10e63a5824d5d052e41e57fb85bd6f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aafmxldy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aafmxldy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2948
    • 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:3392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3364 -s 784
      2⤵
      • Program crash
      PID:3136
  • C:\Windows\SysWOW64\aafmxldy\psltrtbl.exe
    C:\Windows\SysWOW64\aafmxldy\psltrtbl.exe /d"C:\Users\Admin\AppData\Local\Temp\79231c2cacbfc0da610bb317d280a96d0d10e63a5824d5d052e41e57fb85bd6f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2520
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2520 -s 516
      2⤵
      • Program crash
      PID:4432
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3364 -ip 3364
    1⤵
      PID:4048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2520 -ip 2520
      1⤵
        PID:3712

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        a75cef01afaa76ad3a3525116d64d5bd

        SHA1

        07e952f4600aefb9833ce28192f01ccdd84f5ee0

        SHA256

        4fe5f48b274884668339e60158e77dcb87411685aa3ebef7ae78925d6af97b75

        SHA512

        3c541edd78dba8dd09e1e592e854d0e2663fb8cadc24fc241d4fff25262d659d87a694e7e96bd5ce87ca0cb65002a6e95846f23899a636480389ac9c8ef36571

      • memory/2520-14-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB

      • memory/2520-16-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB

      • memory/3364-1-0x0000000001930000-0x0000000001A30000-memory.dmp

        Filesize

        1024KB

      • memory/3364-2-0x00000000018E0000-0x00000000018F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3364-9-0x00000000018E0000-0x00000000018F3000-memory.dmp

        Filesize

        76KB

      • memory/3364-8-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB

      • memory/4072-13-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

        Filesize

        84KB

      • memory/4072-11-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

        Filesize

        84KB

      • memory/4072-15-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

        Filesize

        84KB