Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-10-2024 13:53

General

  • Target

    6f42522b5beeb70d31d19fdf9854a81a_JaffaCakes118.exe

  • Size

    11.8MB

  • MD5

    6f42522b5beeb70d31d19fdf9854a81a

  • SHA1

    e03a1240c6cb12b9131fb67ba7653afa743e401e

  • SHA256

    bfd52b9121ffd76cdc7eeb2cf9fa1f229700e0fd5725634390c7f2c8c572cf70

  • SHA512

    1f643ea0b547f4bd6a6cc44f0c32d1ecfadd2559d563b15c99a2279a1e68f98ce91b6f0a400330d086c24ae2f8f19a63f4f1bc3366edf412c332cf51ea1b5ed4

  • SSDEEP

    12288:oUR4+0lGrUPDHQahTzrdCcrFy55555555555555555555555555555555555555J:ol+PrmrXrd1p

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\6f42522b5beeb70d31d19fdf9854a81a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\6f42522b5beeb70d31d19fdf9854a81a_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ujogiqfi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1160
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehaigiqa.exe" C:\Windows\SysWOW64\ujogiqfi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ujogiqfi binPath= "C:\Windows\SysWOW64\ujogiqfi\ehaigiqa.exe /d\"C:\Users\Admin\AppData\Local\Temp\6f42522b5beeb70d31d19fdf9854a81a_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ujogiqfi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ujogiqfi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2648
    • 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:5088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5064 -s 1172
      2⤵
      • Program crash
      PID:1816
  • C:\Windows\SysWOW64\ujogiqfi\ehaigiqa.exe
    C:\Windows\SysWOW64\ujogiqfi\ehaigiqa.exe /d"C:\Users\Admin\AppData\Local\Temp\6f42522b5beeb70d31d19fdf9854a81a_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2984 -s 512
      2⤵
      • Program crash
      PID:3196
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 5064 -ip 5064
    1⤵
      PID:4696
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2984 -ip 2984
      1⤵
        PID:932

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        4e5c98f61501dbddbe037fdb4f884e8f

        SHA1

        34a7e4588d52c2093fb1ea727df14f2cfe81c612

        SHA256

        27d0beb45dedeb8858a40e071647c04c42bf75973baca34e65cfb7c24818eaa2

        SHA512

        79d07ab6b726d34790adaff35a50825c903e5e6f9b116d96a2df7b6057106a0aa7e49698a51724e53107afc753cc1c08430bf8bae5e03ca9b5231fd468ee9766

      • memory/2676-13-0x0000000000740000-0x0000000000755000-memory.dmp

        Filesize

        84KB

      • memory/2676-15-0x0000000000740000-0x0000000000755000-memory.dmp

        Filesize

        84KB

      • memory/2676-16-0x0000000000740000-0x0000000000755000-memory.dmp

        Filesize

        84KB

      • memory/2984-8-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2984-9-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2984-17-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

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

        Filesize

        84KB

      • memory/5064-1-0x00000000004A0000-0x00000000005A0000-memory.dmp

        Filesize

        1024KB

      • memory/5064-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5064-11-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/5064-10-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/5064-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB