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
    10-12-2024 19:58

General

  • Target

    de5f0b876145c3072389c0af52539a06_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    de5f0b876145c3072389c0af52539a06

  • SHA1

    8fcb3d87bdb58c8f5eb5cd5d439fb08c88e19c23

  • SHA256

    fbc03327661ed973c859257eb8ad4941108669c968de30a2ef77af775fe0e960

  • SHA512

    858c78636b4c50791353b11df415e51bb8e3a2da4e2cda94ec2468a611db42ce30c3c3af3fa402825b2010eaad6f982088b293ddcc592726531933a4549092fc

  • SSDEEP

    49152:L88888888888888888888888888888888888888888888888888888888888888T:

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\de5f0b876145c3072389c0af52539a06_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\de5f0b876145c3072389c0af52539a06_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ljguclke\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uhyhzmoi.exe" C:\Windows\SysWOW64\ljguclke\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ljguclke binPath= "C:\Windows\SysWOW64\ljguclke\uhyhzmoi.exe /d\"C:\Users\Admin\AppData\Local\Temp\de5f0b876145c3072389c0af52539a06_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ljguclke "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ljguclke
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4320
    • 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:2908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4992 -s 1148
      2⤵
      • Program crash
      PID:3124
  • C:\Windows\SysWOW64\ljguclke\uhyhzmoi.exe
    C:\Windows\SysWOW64\ljguclke\uhyhzmoi.exe /d"C:\Users\Admin\AppData\Local\Temp\de5f0b876145c3072389c0af52539a06_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2860
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2860 -s 520
      2⤵
      • Program crash
      PID:4692
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4992 -ip 4992
    1⤵
      PID:2884
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2860 -ip 2860
      1⤵
        PID:3440

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        674d292adc7f3fbce2fda3ff8a5b53fa

        SHA1

        a51176c40115ffbfaaa1229f25e0e587801b95f9

        SHA256

        3e5f01470a87c57bc596c4809fa1e1eb98d1abbf5655c4821281cdd7d7a9a26e

        SHA512

        c0285ce69d215aef1b022314a2dac8f10181f78f4c788b982b89621e6bce2ba0c23a5db3bbfd28daf46194eea072b4a1b27013afdb50abeec4e8f328579ed113

      • memory/2860-15-0x0000000000400000-0x0000000002C68000-memory.dmp

        Filesize

        40.4MB

      • memory/4372-11-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/4372-13-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/4372-14-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/4992-1-0x0000000002F70000-0x0000000003070000-memory.dmp

        Filesize

        1024KB

      • memory/4992-2-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4992-9-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

      • memory/4992-8-0x0000000000400000-0x0000000002C68000-memory.dmp

        Filesize

        40.4MB