Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-09-2024 05:22

General

  • Target

    f9caba13b66e0532d3eef154eb604a60_JaffaCakes118.exe

  • Size

    10.2MB

  • MD5

    f9caba13b66e0532d3eef154eb604a60

  • SHA1

    6939cd055aa33d1448ff7a7cdac60460908da2ea

  • SHA256

    ae68b6226feff244804140604e7f8da6972ae6b0f4fb9471233e7a6cb044070e

  • SHA512

    82caa87e72b7ed7242e743686afde2fca9c3cb414adfcb0c651f91cb847f0b5f48e7672922c729586025e72021f89379ea8b77f759ab8a37fe84373a6e75ec48

  • SSDEEP

    196608:O3qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqX:O

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\f9caba13b66e0532d3eef154eb604a60_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f9caba13b66e0532d3eef154eb604a60_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yrgixhpl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\seqyyjyg.exe" C:\Windows\SysWOW64\yrgixhpl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yrgixhpl binPath= "C:\Windows\SysWOW64\yrgixhpl\seqyyjyg.exe /d\"C:\Users\Admin\AppData\Local\Temp\f9caba13b66e0532d3eef154eb604a60_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4588
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yrgixhpl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yrgixhpl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4104
    • 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:5004
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3036 -s 664
      2⤵
      • Program crash
      PID:1972
  • C:\Windows\SysWOW64\yrgixhpl\seqyyjyg.exe
    C:\Windows\SysWOW64\yrgixhpl\seqyyjyg.exe /d"C:\Users\Admin\AppData\Local\Temp\f9caba13b66e0532d3eef154eb604a60_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5100
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 984 -s 560
      2⤵
      • Program crash
      PID:4452
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3036 -ip 3036
    1⤵
      PID:4100
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 984 -ip 984
      1⤵
        PID:4928

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        8a0346c3c4438c3760c110dd13441909

        SHA1

        5e2f1e908f64a3447d4eb46161297737e29ef28d

        SHA256

        64f0ff66b09604e8a71551e728ef956d87d8006d6d87c03ebd749966cd3f1b43

        SHA512

        af08f59a226b0218b750938f8435d9699f2331b5fb3d3b8e533616eb6592ed2c088767ee05540e6acb336073e77c7dbc88d789aaa1515137b462d4d68b0d66bd

      • memory/984-15-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/984-14-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/3036-1-0x0000000000880000-0x0000000000980000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3036-8-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        76KB

      • memory/5100-11-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

      • memory/5100-13-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

      • memory/5100-16-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB