Analysis

  • max time kernel
    150s
  • 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
    25-12-2024 05:28

General

  • Target

    JaffaCakes118_ac640c150beb86b7a5dea208cdf187aadba828f7115ed2418ab06461a0ccfcc0.exe

  • Size

    153KB

  • MD5

    b4b463d7f677821bef88956f82e4acfe

  • SHA1

    e8b8e46d97fddabb2a1e3641b934ea82f7f84617

  • SHA256

    ac640c150beb86b7a5dea208cdf187aadba828f7115ed2418ab06461a0ccfcc0

  • SHA512

    ce0a47ddd139ddc927776b9925c194aa8ed22d91409d068674e2ebdb16956155e1d3169e46db97841047084ca552af89f6452244064f0e0883c86a73b58c8d73

  • SSDEEP

    3072:C7wDVf/TBmhfUU+68DF+uuUzs6HB571DL0O:C7wDVYhcUkFBz18O

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_ac640c150beb86b7a5dea208cdf187aadba828f7115ed2418ab06461a0ccfcc0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac640c150beb86b7a5dea208cdf187aadba828f7115ed2418ab06461a0ccfcc0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kzkrzchb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3492
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qfsoazse.exe" C:\Windows\SysWOW64\kzkrzchb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kzkrzchb binPath= "C:\Windows\SysWOW64\kzkrzchb\qfsoazse.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac640c150beb86b7a5dea208cdf187aadba828f7115ed2418ab06461a0ccfcc0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kzkrzchb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kzkrzchb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1140
    • 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:1336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1748 -s 1196
      2⤵
      • Program crash
      PID:2004
  • C:\Windows\SysWOW64\kzkrzchb\qfsoazse.exe
    C:\Windows\SysWOW64\kzkrzchb\qfsoazse.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac640c150beb86b7a5dea208cdf187aadba828f7115ed2418ab06461a0ccfcc0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4748
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4748 -s 508
      2⤵
      • Program crash
      PID:2868
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1748 -ip 1748
    1⤵
      PID:4960
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4748 -ip 4748
      1⤵
        PID:1808

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        e1ebe7f51ea3573698501136915b3f10

        SHA1

        8a4f84cc10c8616978d71d5e5766bbe207493bb7

        SHA256

        8beafa8f167b5a68520f3747ca1a610ff58d5b7bbe42fb5c07cd779947196876

        SHA512

        a5c983792ce54201c0f053b0266f56571cd9533a513a3545167a380feef1b963fc50e063906ffc4918b1ce6038e8a8b73484386c43783d92f2d62d0fddcd66b8

      • memory/1748-8-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

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

        Filesize

        84KB

      • memory/1748-2-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1748-9-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/1748-1-0x0000000000850000-0x0000000000950000-memory.dmp

        Filesize

        1024KB

      • memory/1848-14-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/1848-16-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/1848-17-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/4748-11-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/4748-12-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/4748-13-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/4748-19-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB