Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-10-2024 05:33

General

  • Target

    72828f1e6f5011fb0f2a17c7f5ad6a92_JaffaCakes118.exe

  • Size

    14.8MB

  • MD5

    72828f1e6f5011fb0f2a17c7f5ad6a92

  • SHA1

    66f13212a070876bab338f0e742c47a8c26f9c27

  • SHA256

    c63d0265b46bd1335dc44497a173abdbe8ffc762cacd9bebd485596dac45613c

  • SHA512

    46f3825999754e9242d9def36cd7caa11883675c5a1783dbd5b8e41e230257c7ce309e5cbf3be6ec0c3c4eddc18b473ed58533e710ca4b9b01e6daae9e63329d

  • SSDEEP

    196608:Cvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvn:

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\72828f1e6f5011fb0f2a17c7f5ad6a92_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\72828f1e6f5011fb0f2a17c7f5ad6a92_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nbgqkmkl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ffylxutv.exe" C:\Windows\SysWOW64\nbgqkmkl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nbgqkmkl binPath= "C:\Windows\SysWOW64\nbgqkmkl\ffylxutv.exe /d\"C:\Users\Admin\AppData\Local\Temp\72828f1e6f5011fb0f2a17c7f5ad6a92_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 nbgqkmkl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nbgqkmkl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1560
    • 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:2716
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3448 -s 656
      2⤵
      • Program crash
      PID:1440
  • C:\Windows\SysWOW64\nbgqkmkl\ffylxutv.exe
    C:\Windows\SysWOW64\nbgqkmkl\ffylxutv.exe /d"C:\Users\Admin\AppData\Local\Temp\72828f1e6f5011fb0f2a17c7f5ad6a92_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2660
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4660
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2660 -s 540
      2⤵
      • Program crash
      PID:2264
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3448 -ip 3448
    1⤵
      PID:2180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2660 -ip 2660
      1⤵
        PID:2844

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        867a7996c163b9de77f6e76af9bb736a

        SHA1

        62239433c6c07f1e98759c9f3a2f8ffec0d0df13

        SHA256

        6ec169e988e36960baae1998ed5a941c1a23c3536ec65097670f46ec56ab7b14

        SHA512

        077d80673cbfad39c473c2fb4fbcb8e95927462087476ad6624e13d608d6b05e3b203fab07fc985b4cb02ff5384cd9cf3a81785352e4b59434b1f5afde2e8392

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

        Filesize

        40.4MB

      • memory/3448-1-0x0000000002D30000-0x0000000002E30000-memory.dmp

        Filesize

        1024KB

      • memory/3448-2-0x0000000002CF0000-0x0000000002D03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3448-9-0x0000000002CF0000-0x0000000002D03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        40.4MB

      • memory/4660-14-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB

      • memory/4660-13-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB

      • memory/4660-11-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB