Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-10-2024 15:20

General

  • Target

    0653cbfb8de2166a48ef0b6c0d3b48ca_JaffaCakes118.exe

  • Size

    168KB

  • MD5

    0653cbfb8de2166a48ef0b6c0d3b48ca

  • SHA1

    69bac9fae0be9acb4b867c41b30bd4a76f8a7203

  • SHA256

    cee4a877da71cd3d838f2f424d4c53c696eb3a0485fef0c31bd37e033cd3ceb3

  • SHA512

    518843e08379f094c01617c214dc7d2a195aefda9c4fc065ea2c098a89ee7f080ddfe984a62b7eb0d2a75af7991cbfd6b7678860b1996f6d10bdc98b2c67dec8

  • SSDEEP

    3072:odrkBHPRPZwriqxN+GVd8475x42WCJ/t4:JPRPZwriIxl7Z

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\0653cbfb8de2166a48ef0b6c0d3b48ca_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0653cbfb8de2166a48ef0b6c0d3b48ca_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\irxoftsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\frmjqppd.exe" C:\Windows\SysWOW64\irxoftsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create irxoftsg binPath= "C:\Windows\SysWOW64\irxoftsg\frmjqppd.exe /d\"C:\Users\Admin\AppData\Local\Temp\0653cbfb8de2166a48ef0b6c0d3b48ca_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description irxoftsg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start irxoftsg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4844
    • 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:464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4260 -s 1040
      2⤵
      • Program crash
      PID:2804
  • C:\Windows\SysWOW64\irxoftsg\frmjqppd.exe
    C:\Windows\SysWOW64\irxoftsg\frmjqppd.exe /d"C:\Users\Admin\AppData\Local\Temp\0653cbfb8de2166a48ef0b6c0d3b48ca_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2028
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2028 -s 528
      2⤵
      • Program crash
      PID:3816
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4260 -ip 4260
    1⤵
      PID:4212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2028 -ip 2028
      1⤵
        PID:3648

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        44c4cf035ed84ad4904284dcc349d8cb

        SHA1

        0fa1c6d15ffb23fb4e7e47e2cbfe15629a485d0c

        SHA256

        f65397253ea4177c2c8deafa164764c20391a8afdd8c070b053ba58167978f1a

        SHA512

        614a53c32ccb24d6c5c013490a2d00aaf740d6725a60a1f1b5aafa1e33d941bc843701e60b3e60908847ac280716c5b375500a88e5717274e8a206bae16e6925

      • memory/2028-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2028-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2028-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2028-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3088-16-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/3088-14-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/3088-17-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4260-2-0x00000000021E0000-0x00000000021F3000-memory.dmp

        Filesize

        76KB

      • memory/4260-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/4260-9-0x00000000021E0000-0x00000000021F3000-memory.dmp

        Filesize

        76KB

      • memory/4260-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB