Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-08-2024 06:44

General

  • Target

    ae3754b598d47295114b9d099757a2fb_JaffaCakes118.exe

  • Size

    12.0MB

  • MD5

    ae3754b598d47295114b9d099757a2fb

  • SHA1

    14d4fcad293b7bdcba0d6ef3ed30874e9ea62858

  • SHA256

    8f4b04efd604dbb28fee3ee3a894d5c6fcc9e024569fdb8cd096c810cc654f0a

  • SHA512

    419eba1237b6fedcaa5ac27d13d7da945472b06ef4afbf9bd3700c40f55f3a269060efba1a8ea4749f879a96efde47fd0f4182c3a919417aa2f28af1d1561706

  • SSDEEP

    12288:1Z+CaPfCIwUZwDu333333333333333333333333333333333333333333333333X:1cDPs

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\ae3754b598d47295114b9d099757a2fb_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ae3754b598d47295114b9d099757a2fb_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2460
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kazaqhuh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\covpuanv.exe" C:\Windows\SysWOW64\kazaqhuh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kazaqhuh binPath= "C:\Windows\SysWOW64\kazaqhuh\covpuanv.exe /d\"C:\Users\Admin\AppData\Local\Temp\ae3754b598d47295114b9d099757a2fb_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kazaqhuh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kazaqhuh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1564
    • 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:4224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2460 -s 1236
      2⤵
      • Program crash
      PID:2776
  • C:\Windows\SysWOW64\kazaqhuh\covpuanv.exe
    C:\Windows\SysWOW64\kazaqhuh\covpuanv.exe /d"C:\Users\Admin\AppData\Local\Temp\ae3754b598d47295114b9d099757a2fb_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4660
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4660 -s 516
      2⤵
      • Program crash
      PID:4768
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2460 -ip 2460
    1⤵
      PID:1020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4660 -ip 4660
      1⤵
        PID:2056

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        ba739d3a9a495aadab00e7a3dfc6a891

        SHA1

        d01ffa5c345a07990523d0edc8da5e609f2ea5ef

        SHA256

        33fdaa2f6f0f502b16930972e1792ab0ab9e7bfea4c4722a5bfaf58fc8479753

        SHA512

        0a5c607566108c6e5c783549d3cea7ea42c1e397d72cc592e7d12909d958898d7ed5ddaab6fb10cf2f9c8cb9de7eb4dbea38dce98eb8d4541143b6cf6035d559

      • memory/220-13-0x0000000000910000-0x0000000000925000-memory.dmp

        Filesize

        84KB

      • memory/220-15-0x0000000000910000-0x0000000000925000-memory.dmp

        Filesize

        84KB

      • memory/220-16-0x0000000000910000-0x0000000000925000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2460-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2460-1-0x0000000000750000-0x0000000000850000-memory.dmp

        Filesize

        1024KB

      • memory/4660-11-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/4660-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/4660-18-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB