Analysis

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

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

General

  • Target

    f8f54aaae74e0086b1fa46b5a84db05c_JaffaCakes118.exe

  • Size

    10.7MB

  • MD5

    f8f54aaae74e0086b1fa46b5a84db05c

  • SHA1

    6cf69b369b4d509cf28bba17f2d5c301d53cb234

  • SHA256

    90399b9745d09290d97eb0ed45d5e518e79a4e31f8133502317fa7ce3b456bfb

  • SHA512

    37d14cf05f1d0603469b4c3cecb4517ec38bf5d22da6eb743f6d832b92ae62637f9231a2f1e01cf999ba50e3a5d858b59958e5be30f7e4d7ce734ea7ac24d980

  • SSDEEP

    6144:0POE0xjG9DJs6XBy+UP29MX6TERERERERERERERERERERERERERERERERERERERV:x1xS9RdUe9MX6

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • 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\f8f54aaae74e0086b1fa46b5a84db05c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f8f54aaae74e0086b1fa46b5a84db05c_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qjzhepbd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ctpwnmqu.exe" C:\Windows\SysWOW64\qjzhepbd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qjzhepbd binPath= "C:\Windows\SysWOW64\qjzhepbd\ctpwnmqu.exe /d\"C:\Users\Admin\AppData\Local\Temp\f8f54aaae74e0086b1fa46b5a84db05c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qjzhepbd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qjzhepbd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1648
    • 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:2528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1748 -s 1040
      2⤵
      • Program crash
      PID:4916
  • C:\Windows\SysWOW64\qjzhepbd\ctpwnmqu.exe
    C:\Windows\SysWOW64\qjzhepbd\ctpwnmqu.exe /d"C:\Users\Admin\AppData\Local\Temp\f8f54aaae74e0086b1fa46b5a84db05c_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3032
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3032 -s 552
      2⤵
      • Program crash
      PID:1888
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1748 -ip 1748
    1⤵
      PID:1400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3032 -ip 3032
      1⤵
        PID:2972

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        9dd07609f744871274f6681ef57b3562

        SHA1

        f84907720ac1b04d410c80ea04fbf83dd6b533ba

        SHA256

        e51c73619cc7f91ca3b8e1aa1c216fbcf736fc238d2def94e3827a790c895a0d

        SHA512

        769eedba47ea26caabd125c1569278edc4c0edc02f5e2a9313edd113d4c980380923b37c2f95751ac41af6376d9efa4632ae481abe8f2e23833d6976ca741bc0

      • memory/1748-0-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB

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

        Filesize

        84KB

      • memory/1748-2-0x00000000068B0000-0x00000000068C3000-memory.dmp

        Filesize

        76KB

      • memory/1748-4-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB

      • memory/1748-9-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB

      • memory/1748-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2508-7-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2508-13-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2508-14-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/3032-12-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB