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
    02-11-2024 01:41

General

  • Target

    84b615d0756f2dbbc12320ca3af1dbf0_JaffaCakes118.exe

  • Size

    11.4MB

  • MD5

    84b615d0756f2dbbc12320ca3af1dbf0

  • SHA1

    2dcf03c2002f5cfb8b6493b297e032fc522d2c40

  • SHA256

    35fa3ce15cd57657d359dd7d5b0cc5fbb8f4447f8a6c2f116b5a1b86eda08519

  • SHA512

    b4c28bd5b0387690fb328586230e002477a22e90676aa831588521d5e721c985e9aa37cb98feea4e3c70627d9376d8a30f126ba72a446e072b259062255bc26c

  • SSDEEP

    196608:BmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmG:BmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmG

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\84b615d0756f2dbbc12320ca3af1dbf0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\84b615d0756f2dbbc12320ca3af1dbf0_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3140
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mafhtrak\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ovhudqrl.exe" C:\Windows\SysWOW64\mafhtrak\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mafhtrak binPath= "C:\Windows\SysWOW64\mafhtrak\ovhudqrl.exe /d\"C:\Users\Admin\AppData\Local\Temp\84b615d0756f2dbbc12320ca3af1dbf0_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mafhtrak "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mafhtrak
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4964
    • 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:2152
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3140 -s 1036
      2⤵
      • Program crash
      PID:1668
  • C:\Windows\SysWOW64\mafhtrak\ovhudqrl.exe
    C:\Windows\SysWOW64\mafhtrak\ovhudqrl.exe /d"C:\Users\Admin\AppData\Local\Temp\84b615d0756f2dbbc12320ca3af1dbf0_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1448
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1448 -s 532
      2⤵
      • Program crash
      PID:2928
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3140 -ip 3140
    1⤵
      PID:1736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1448 -ip 1448
      1⤵
        PID:1256

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        cf7e2b46dcbe1d1e4d05cc2c7a447fd0

        SHA1

        2497c2cb7c8d5b0e7eeb8a1f9672e5e2ca111890

        SHA256

        48a267d148f6cde4fd9635d9ba383d8276709f533cdc8048673e3833f7972e3d

        SHA512

        d956ddf0a5d6ee51bc494326f30261f2e0527527608f96d7192e7333ba94143294dd6fc30fdc8dcd186a2441bb5740adc3a5a8caea13311c9d438e02a00b76aa

      • memory/1448-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1448-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1448-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1448-19-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/2292-14-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/2292-16-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/2292-17-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3140-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3140-1-0x0000000000500000-0x0000000000600000-memory.dmp

        Filesize

        1024KB