Analysis

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

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

General

  • Target

    JaffaCakes118_013fba036dd48a94da833b2bf9803b76.exe

  • Size

    10.5MB

  • MD5

    013fba036dd48a94da833b2bf9803b76

  • SHA1

    89d754dc7baded56e4652262a19a659d265d0ebf

  • SHA256

    1f4c50d838d219ad267220ab0364f0f5e9cf0311e9d34772bcae88e64af0a0ef

  • SHA512

    eca85f354836abcce6e1167f3615a2ef06addaf23077843d378e2cd3945a4d9ba832ca381c7e243ee10232069b358e42f0ccc0a010a6368fd71cfcab45c93d1e

  • SSDEEP

    98304:5Y3333333333333333333333333333333333333333333333333333333333333H:5

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_013fba036dd48a94da833b2bf9803b76.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_013fba036dd48a94da833b2bf9803b76.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wlndhawt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jqcpylmg.exe" C:\Windows\SysWOW64\wlndhawt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wlndhawt binPath= "C:\Windows\SysWOW64\wlndhawt\jqcpylmg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_013fba036dd48a94da833b2bf9803b76.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wlndhawt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wlndhawt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2952
    • 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:4476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2388 -s 1032
      2⤵
      • Program crash
      PID:4532
  • C:\Windows\SysWOW64\wlndhawt\jqcpylmg.exe
    C:\Windows\SysWOW64\wlndhawt\jqcpylmg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_013fba036dd48a94da833b2bf9803b76.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:116
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3304
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 116 -s 508
      2⤵
      • Program crash
      PID:3376
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2388 -ip 2388
    1⤵
      PID:2264
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 116 -ip 116
      1⤵
        PID:4412

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        713ebb946e7a5442a0d2030e72db0e15

        SHA1

        73e54cb0764dac9ae66b28be8f9b81b197fbff30

        SHA256

        5a91e0a0bbaf270c68eb28a583eb3210d806a952c95d97d442b7b765d01041f7

        SHA512

        fa0c361ecd8e86ec242f95789097214797686c95660955737dfc551c9aa011ac900397feaf47822e38d0b38a9b3e8fca6b4a47517391011f6f8f5d42171eefc0

      • memory/116-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/116-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/116-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/116-19-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/2388-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2388-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/2388-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2388-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

      • memory/3304-14-0x0000000000230000-0x0000000000245000-memory.dmp

        Filesize

        84KB

      • memory/3304-16-0x0000000000230000-0x0000000000245000-memory.dmp

        Filesize

        84KB

      • memory/3304-17-0x0000000000230000-0x0000000000245000-memory.dmp

        Filesize

        84KB