Analysis

  • max time kernel
    148s
  • 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
    01-01-2025 13:33

General

  • Target

    JaffaCakes118_57093deb4af9d588900f67fc2e2d677e.exe

  • Size

    12.1MB

  • MD5

    57093deb4af9d588900f67fc2e2d677e

  • SHA1

    a83d4ced5a0d5fa7e4f1748bd1f8a9c9105bcdac

  • SHA256

    e22cebdc511361af6279b3d257d5ca3c69fdd3b799f193fe3fdd8f9eeb303573

  • SHA512

    da85cff41991841286401dcac9341db0740304c6d4421b5246160a1075b084c305f0069b05fd5e2dd85952de0382118857bad2fe473c95c4553761f7c504756d

  • SSDEEP

    6144:/uumRZNKfLWUAUx6z6z1PiK/GasVhMz/bY:GbUR6z6zHGasVhU

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_57093deb4af9d588900f67fc2e2d677e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_57093deb4af9d588900f67fc2e2d677e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\asnpbuhq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\agbenwwr.exe" C:\Windows\SysWOW64\asnpbuhq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create asnpbuhq binPath= "C:\Windows\SysWOW64\asnpbuhq\agbenwwr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_57093deb4af9d588900f67fc2e2d677e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description asnpbuhq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start asnpbuhq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2108
    • 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:4444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4764 -s 1040
      2⤵
      • Program crash
      PID:5108
  • C:\Windows\SysWOW64\asnpbuhq\agbenwwr.exe
    C:\Windows\SysWOW64\asnpbuhq\agbenwwr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_57093deb4af9d588900f67fc2e2d677e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3188
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3188 -s 512
      2⤵
      • Program crash
      PID:3136
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4764 -ip 4764
    1⤵
      PID:4684
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 372 -p 3188 -ip 3188
      1⤵
        PID:3196

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        75e79eba334c945075baeaa797f4fce5

        SHA1

        b4656c928b8201b12e2befd47d4218af5924ddc7

        SHA256

        0e61a415f91062a007d61edf9daa1454fcd9d1d6b300beb5e991876da95c9a58

        SHA512

        910cd5697f4b92d87e7d0c1c1b277ab9ff5d3c49182552ef7b67b436cedba9bee64f855b9a480b2b2ee0e2c376bf85876130de292921b4e832c3008c14ee44fb

      • memory/3188-14-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

      • memory/3188-17-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

      • memory/3464-11-0x0000000001050000-0x0000000001065000-memory.dmp

        Filesize

        84KB

      • memory/3464-13-0x0000000001050000-0x0000000001065000-memory.dmp

        Filesize

        84KB

      • memory/3464-16-0x0000000001050000-0x0000000001065000-memory.dmp

        Filesize

        84KB

      • memory/4764-1-0x00000000016C0000-0x00000000017C0000-memory.dmp

        Filesize

        1024KB

      • memory/4764-2-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4764-9-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

      • memory/4764-8-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB