Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-12-2024 16:32

General

  • Target

    fc4c19c4f99d2dae23b8a3c779e0ca44_JaffaCakes118.exe

  • Size

    10.2MB

  • MD5

    fc4c19c4f99d2dae23b8a3c779e0ca44

  • SHA1

    7464b6fee5fcac8fe8fafbf979d84e2c2b0e8b0b

  • SHA256

    cae6e52eea1ab162fae910da0f3e05511e3dbdcef880c7b086bc957d02f4a03a

  • SHA512

    e0a5a3c551aa6fb4e7cde98610a5b1c8a2c9fd817d66ffe4f935074c245d9c09f5d49f6a00ec63f2c5ec6253978621dc033ad21619bed81e61eacd7dd5eaf1e4

  • SSDEEP

    196608:Ydrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr:wrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrn

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\fc4c19c4f99d2dae23b8a3c779e0ca44_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fc4c19c4f99d2dae23b8a3c779e0ca44_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nglaewp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tamzivwq.exe" C:\Windows\SysWOW64\nglaewp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nglaewp binPath= "C:\Windows\SysWOW64\nglaewp\tamzivwq.exe /d\"C:\Users\Admin\AppData\Local\Temp\fc4c19c4f99d2dae23b8a3c779e0ca44_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nglaewp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nglaewp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3328
    • 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:3624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3124 -s 1044
      2⤵
      • Program crash
      PID:1484
  • C:\Windows\SysWOW64\nglaewp\tamzivwq.exe
    C:\Windows\SysWOW64\nglaewp\tamzivwq.exe /d"C:\Users\Admin\AppData\Local\Temp\fc4c19c4f99d2dae23b8a3c779e0ca44_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3728
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3728 -s 508
      2⤵
      • Program crash
      PID:320
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3124 -ip 3124
    1⤵
      PID:3092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 3728 -ip 3728
      1⤵
        PID:244

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        8636fe37dc8a9436c090a3f47cc99079

        SHA1

        8ee3b5d7ea8d2ff4cbb9c180c77d62387eb3a573

        SHA256

        1adcc70466bfe18f9e3b11c8c7eac95a056f5c4b3e2182c240220c724da6208c

        SHA512

        19e4428bc7c1b72d835da149977fe8a2ed6717beaf5bd95c97772061ac562653d13e560bd0ef16a257667d666c534d95765966e3ba75457b5a36c2ff6b7004af

      • memory/2956-14-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/2956-17-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/2956-16-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/3124-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        76KB

      • memory/3124-1-0x0000000000540000-0x0000000000640000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3728-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3728-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3728-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3728-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB