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
    24-12-2024 01:27

General

  • Target

    JaffaCakes118_89f6d07d84dababb976153bafeb830f97341b6259f9330800aade067af52c5c1.exe

  • Size

    284KB

  • MD5

    523df49ca016ddcba85d75ea51e13cc1

  • SHA1

    360097a175edff477f95ac76e9a9e08b8ad126dd

  • SHA256

    89f6d07d84dababb976153bafeb830f97341b6259f9330800aade067af52c5c1

  • SHA512

    fa3f3af8990d15bb4a4be4b2929e44a6da0680dcd33c1acf332f17990ad3078a9dad3de7cfddfeb0edeb53429b97644264d40a4370bd3f7ccc7a982f8363878b

  • SSDEEP

    3072:bfwmteWVHxy2D086b1/Z3RdCa9w8k9S20ke93/eNN4gVz/nyYKzLZVZYl6ljp5T1:bwmkGVD0t1/ZBdX4lRVWLZVylSpdtT

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_89f6d07d84dababb976153bafeb830f97341b6259f9330800aade067af52c5c1.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_89f6d07d84dababb976153bafeb830f97341b6259f9330800aade067af52c5c1.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pflqjnmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\knlgahrb.exe" C:\Windows\SysWOW64\pflqjnmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pflqjnmg binPath= "C:\Windows\SysWOW64\pflqjnmg\knlgahrb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_89f6d07d84dababb976153bafeb830f97341b6259f9330800aade067af52c5c1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pflqjnmg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pflqjnmg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3108
    • 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:4516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 324 -s 572
      2⤵
      • Program crash
      PID:2040
  • C:\Windows\SysWOW64\pflqjnmg\knlgahrb.exe
    C:\Windows\SysWOW64\pflqjnmg\knlgahrb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_89f6d07d84dababb976153bafeb830f97341b6259f9330800aade067af52c5c1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1652
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1652 -s 532
      2⤵
      • Program crash
      PID:232
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 324 -ip 324
    1⤵
      PID:1104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 1652 -ip 1652
      1⤵
        PID:4104

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        e69f63ed5f9beca42fe0bf19ccd0f2ad

        SHA1

        d9ed76474258fbbbff73d63560fc0bb479af02e3

        SHA256

        57a37aced0c09eb7ae134a99d329082c39b6f8a73788592476c60217042de64f

        SHA512

        f496cb1cd83f10375e85893a5a720755f25de300a227c44d374e96f78852adcbeafb725b9d3307193bb223e96c4b4075ab296065a433ae7b2fdfb5e97e5838cf

      • memory/324-1-0x0000000002D40000-0x0000000002E40000-memory.dmp

        Filesize

        1024KB

      • memory/324-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/324-9-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/324-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/988-11-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/988-13-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/988-14-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/1652-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB