Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-12-2024 08:31

General

  • Target

    e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    e0a170a43c2af3360b666b2aa742fbd2

  • SHA1

    a8a594c2742acbc4ee2adcad2b94eddc25357c32

  • SHA256

    4cd18aa5224d0d65b237774ae232b11bf9dd9a722e2707dce442f843e571ff71

  • SHA512

    a67c44b013daf360812d5b1009007db4c6ff846429aed8261bbfab6778e41c3f07409d3e9ab05f61ac7db77d96bccb00d10b8521208dd0420527b8855fdd15bf

  • SSDEEP

    6144:BeeKozztQBnWJ4ZF+PAb1nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn:BeeKozCBnuA

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\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bfjzopyx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2612
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ujwsedwi.exe" C:\Windows\SysWOW64\bfjzopyx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:324
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bfjzopyx binPath= "C:\Windows\SysWOW64\bfjzopyx\ujwsedwi.exe /d\"C:\Users\Admin\AppData\Local\Temp\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bfjzopyx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bfjzopyx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4104
    • 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:2524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4240 -s 804
      2⤵
      • Program crash
      PID:1784
  • C:\Windows\SysWOW64\bfjzopyx\ujwsedwi.exe
    C:\Windows\SysWOW64\bfjzopyx\ujwsedwi.exe /d"C:\Users\Admin\AppData\Local\Temp\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4996
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4996 -s 516
      2⤵
      • Program crash
      PID:5080
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 356 -p 4240 -ip 4240
    1⤵
      PID:3208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4996 -ip 4996
      1⤵
        PID:3740

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        aa592a0def44ebafbfe036f2238166c7

        SHA1

        44ccf25cb0f41d3063c55c4c6e0082fef8dc6892

        SHA256

        e12c6270443efe00e53bc42f5bcd0f2fe1b0d1f12cee8329c51be79db5b40e1e

        SHA512

        919bae4e5e403435d19aa9222fb548df3f3a427539603afcebb774e0724280b48dffa5f6e04c677ada5975aa1954b51aa5a0ea95ee82fbc7c35e8c9deb3c7c2c

      • memory/1992-15-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

      • memory/1992-13-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

      • memory/1992-16-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4240-1-0x0000000000B10000-0x0000000000C10000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4240-8-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/4240-9-0x00000000009D0000-0x00000000009E3000-memory.dmp

        Filesize

        76KB

      • memory/4240-2-0x00000000009D0000-0x00000000009E3000-memory.dmp

        Filesize

        76KB

      • memory/4996-11-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/4996-12-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/4996-17-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB