Analysis

  • max time kernel
    148s
  • 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
    30-12-2024 19:58

General

  • Target

    JaffaCakes118_e8fd4d782183a9590a96686523c41f92639134637d61b570684b6129820b97fd.exe

  • Size

    284KB

  • MD5

    75a99af8b7adc1c07232691950cad2e7

  • SHA1

    b3cef4475010055358938a59e12c0ada3d132848

  • SHA256

    e8fd4d782183a9590a96686523c41f92639134637d61b570684b6129820b97fd

  • SHA512

    1f35004baa00e4f3cc07102adc1315d27ba69a2f3560d09dc040cf7eb332d2497d4198d5b9df7996f752f799892e900d486a85b01a3c47bd421f31ae8d730d56

  • SSDEEP

    3072:yedoQKDodNgQQ/rHaTbw5VUXv3x0o3/yc7QkNaXurRq3+R7H8gF2yMzuFUkfEVYE:j6QKIBQEbw3wv/wGw+R7c2nM6F4VD

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\JaffaCakes118_e8fd4d782183a9590a96686523c41f92639134637d61b570684b6129820b97fd.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e8fd4d782183a9590a96686523c41f92639134637d61b570684b6129820b97fd.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hpitlcuu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oezlfrvn.exe" C:\Windows\SysWOW64\hpitlcuu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hpitlcuu binPath= "C:\Windows\SysWOW64\hpitlcuu\oezlfrvn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e8fd4d782183a9590a96686523c41f92639134637d61b570684b6129820b97fd.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hpitlcuu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hpitlcuu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2176
    • 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:1392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3408 -s 1044
      2⤵
      • Program crash
      PID:4704
  • C:\Windows\SysWOW64\hpitlcuu\oezlfrvn.exe
    C:\Windows\SysWOW64\hpitlcuu\oezlfrvn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e8fd4d782183a9590a96686523c41f92639134637d61b570684b6129820b97fd.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4920
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4920 -s 512
      2⤵
      • Program crash
      PID:1648
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3408 -ip 3408
    1⤵
      PID:3112
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4920 -ip 4920
      1⤵
        PID:5116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        ba96bf2efbe9ff850dcdc9ff5b98ca4d

        SHA1

        32aa69ec57e62436e5abffdddf3ad5229bedd7b3

        SHA256

        3a0a592265afce7746d8da458c3c7fd68870171cf3aa7a9c8989d0be68a60627

        SHA512

        4821118f49e43af07580bb99193492399c5559fa2dc0219fb1d061e20f8caa5556075de9952e173f490ffcabc0a70f5a01f3cb7096c93724bb60d2990727eaa4

      • memory/3232-11-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/3232-13-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/3232-14-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/3408-1-0x0000000002C40000-0x0000000002D40000-memory.dmp

        Filesize

        1024KB

      • memory/3408-2-0x0000000002BD0000-0x0000000002BE3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3408-9-0x0000000002BD0000-0x0000000002BE3000-memory.dmp

        Filesize

        76KB

      • memory/3408-8-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/4920-15-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB