Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-09-2024 18:37

General

  • Target

    ee32ada5e5b8578f25d6f2b0762d2f28_JaffaCakes118.exe

  • Size

    12.6MB

  • MD5

    ee32ada5e5b8578f25d6f2b0762d2f28

  • SHA1

    d7cf1680da472199f301dcc5758c95b0c11820fc

  • SHA256

    eb63b5df3fa1a0f2c6241e26e3269cf5319180d392819110d765ce5d735d1557

  • SHA512

    e96ff40d526a55b0df2499dbc2df4f38f0ef5fd36440c95f939646c290410f9c95f783733e8e44d17ffc09cf52af3ed622ed87123cc7d3bee4797fe4583e613d

  • SSDEEP

    393216:N88888888888888888888888888888888888888888888888888888888888888M:

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.

  • 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\ee32ada5e5b8578f25d6f2b0762d2f28_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ee32ada5e5b8578f25d6f2b0762d2f28_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cdcmhgoq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1348
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahkijjzn.exe" C:\Windows\SysWOW64\cdcmhgoq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cdcmhgoq binPath= "C:\Windows\SysWOW64\cdcmhgoq\ahkijjzn.exe /d\"C:\Users\Admin\AppData\Local\Temp\ee32ada5e5b8578f25d6f2b0762d2f28_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cdcmhgoq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cdcmhgoq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2104
    • 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:3504
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3292 -s 1032
      2⤵
      • Program crash
      PID:1280
  • C:\Windows\SysWOW64\cdcmhgoq\ahkijjzn.exe
    C:\Windows\SysWOW64\cdcmhgoq\ahkijjzn.exe /d"C:\Users\Admin\AppData\Local\Temp\ee32ada5e5b8578f25d6f2b0762d2f28_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4868
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4868 -s 512
      2⤵
      • Program crash
      PID:828
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3292 -ip 3292
    1⤵
      PID:3540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 4868 -ip 4868
      1⤵
        PID:3452

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        15.0MB

        MD5

        0ccf81079917c20b905eb17b721da600

        SHA1

        3786ccf5e9a1631a6ec7c2fa5e0d41c399b999a1

        SHA256

        52de03bdd9d2ec1c531bc0f655b9bf1b7856d8dc243f8c2d9bca0a51e2a782ac

        SHA512

        e2164c09d7375a90db9a4ce6e80be819aa47c5a76ef1f751617c39c7627e86ce8251a0fe50f7765cf7bb0c946ca89327c3f810c963a10718a0760c11a57a69a9

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

        Filesize

        340KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3292-1-0x0000000000490000-0x0000000000590000-memory.dmp

        Filesize

        1024KB

      • memory/3424-14-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/3424-16-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/3424-17-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB