Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 13:40

General

  • Target

    JaffaCakes118_1a3d452d707358e9968750470f83aac0128fb466b334ebdc715d1bcfa25049e2.exe

  • Size

    164KB

  • MD5

    109545ccd346a64438c76ad20826e428

  • SHA1

    b82cc2dd0a82359f66e70bdcdbb906fe977f2742

  • SHA256

    1a3d452d707358e9968750470f83aac0128fb466b334ebdc715d1bcfa25049e2

  • SHA512

    687069148861245b2facf2024036a881f3afc43e52b81419f0c7248288a1853106d67a1c5cd27017ad18cd0f4837216d61b49488eeaad843436940a130aad848

  • SSDEEP

    1536:dJI8UMLeRaE1C6XYLrh8PL7gzXZ87TQBpoC/o3jjIcUQRfr5AICRZShtDj46H9Dg:d1uZg7ZoCQ3jbBr5LQShtf4w7zS9H6l

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_1a3d452d707358e9968750470f83aac0128fb466b334ebdc715d1bcfa25049e2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1a3d452d707358e9968750470f83aac0128fb466b334ebdc715d1bcfa25049e2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2336
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pwejveol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahfqvqes.exe" C:\Windows\SysWOW64\pwejveol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3152
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pwejveol binPath= "C:\Windows\SysWOW64\pwejveol\ahfqvqes.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1a3d452d707358e9968750470f83aac0128fb466b334ebdc715d1bcfa25049e2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pwejveol "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pwejveol
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:372
    • 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:1020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2336 -s 1228
      2⤵
      • Program crash
      PID:4644
  • C:\Windows\SysWOW64\pwejveol\ahfqvqes.exe
    C:\Windows\SysWOW64\pwejveol\ahfqvqes.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1a3d452d707358e9968750470f83aac0128fb466b334ebdc715d1bcfa25049e2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4380
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4312
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4380 -s 512
      2⤵
      • Program crash
      PID:4264
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2336 -ip 2336
    1⤵
      PID:784
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4380 -ip 4380
      1⤵
        PID:2216

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        c2c36cc4dce6695a21dc5a1bf72a3121

        SHA1

        9999abafe91115b4b9277d103304d4a5b6e6f1a2

        SHA256

        93377c27b16d30eaadcc6a1b6af47a84d695a00762ea402070cae9aeda693255

        SHA512

        f5d3815265a1ab2ae97125f16d3ba83a2462a5667519698c01c0081bcbddf3b5add6d5d12f542b2ffec1752be4eeac08e7761edc94b65c48f0bc5cb1ec1d4ae0

      • memory/2336-9-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2336-2-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB

      • memory/2336-8-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/2336-1-0x0000000000570000-0x0000000000670000-memory.dmp

        Filesize

        1024KB

      • memory/4312-14-0x00000000005B0000-0x00000000005C5000-memory.dmp

        Filesize

        84KB

      • memory/4312-16-0x00000000005B0000-0x00000000005C5000-memory.dmp

        Filesize

        84KB

      • memory/4312-17-0x00000000005B0000-0x00000000005C5000-memory.dmp

        Filesize

        84KB

      • memory/4380-12-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4380-11-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4380-13-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4380-18-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB