Analysis

  • max time kernel
    147s
  • 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
    29-10-2024 04:03

General

  • Target

    7bba0ff4a89197cd722d7f2b0cb64fd8_JaffaCakes118.exe

  • Size

    11.9MB

  • MD5

    7bba0ff4a89197cd722d7f2b0cb64fd8

  • SHA1

    a8ace94042d34b4f0dd7baa32bc85b6c8fe9c963

  • SHA256

    d72ac4743305a738a0fda64272d002ab491e2ab53da89d2f504e0676521d1958

  • SHA512

    b516e2ca8676353d1461a7424c2784ccd7dbf509ee5e000990aecb833358202e19819a46418f93007904dd1f0fa87804c9598e5f524c4d79220e7b7540cdeab4

  • SSDEEP

    24576:tMLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:tM

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.

  • 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\7bba0ff4a89197cd722d7f2b0cb64fd8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7bba0ff4a89197cd722d7f2b0cb64fd8_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tgfzeivh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\veuijxms.exe" C:\Windows\SysWOW64\tgfzeivh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tgfzeivh binPath= "C:\Windows\SysWOW64\tgfzeivh\veuijxms.exe /d\"C:\Users\Admin\AppData\Local\Temp\7bba0ff4a89197cd722d7f2b0cb64fd8_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tgfzeivh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tgfzeivh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3424
    • 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:628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4716 -s 664
      2⤵
      • Program crash
      PID:1104
  • C:\Windows\SysWOW64\tgfzeivh\veuijxms.exe
    C:\Windows\SysWOW64\tgfzeivh\veuijxms.exe /d"C:\Users\Admin\AppData\Local\Temp\7bba0ff4a89197cd722d7f2b0cb64fd8_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1664
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1664 -s 540
      2⤵
      • Program crash
      PID:4480
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4716 -ip 4716
    1⤵
      PID:1816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1664 -ip 1664
      1⤵
        PID:2032

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        aea29ba8ca99af5cac884928f33f2748

        SHA1

        78c5f538fe7af64afd8babd1216423b8ed061a67

        SHA256

        b2f631d48e2acc5a42eb222e15ae37ddb64eeaac79a215ffaf0ad0fc619223ab

        SHA512

        74cc53fc8c9c144483e91381e2bc7e43546a95eb532f458cfd3459a7a60d50208b01598360688a3421681abbef1e7599f7bc55ea1ba629ccf9320d3eff7641b1

      • memory/1664-15-0x0000000000400000-0x0000000002C6D000-memory.dmp

        Filesize

        40.4MB

      • memory/3688-11-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/3688-13-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/3688-14-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/4716-1-0x0000000002C90000-0x0000000002D90000-memory.dmp

        Filesize

        1024KB

      • memory/4716-2-0x0000000002DF0000-0x0000000002E03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4716-9-0x0000000002DF0000-0x0000000002E03000-memory.dmp

        Filesize

        76KB

      • memory/4716-8-0x0000000000400000-0x0000000002C6D000-memory.dmp

        Filesize

        40.4MB