Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-12-2024 14:54

General

  • Target

    c83d89624f4b413b33a8535e942fb543_JaffaCakes118.exe

  • Size

    12.8MB

  • MD5

    c83d89624f4b413b33a8535e942fb543

  • SHA1

    2644db3a8706369e8cadbde5480f9252d25ddbbe

  • SHA256

    eb4f398465dd5dac1636447a265f692a73e3be0bc91f94df72ddd123cae98d84

  • SHA512

    8f1c620a475f490ce2257cab8d2f411c6d28546f310ba9a20fe1351d2a8085eea79cf9839809332070731695a7bd6de206ef2b456b3cc8268b243647fe66c7b3

  • SSDEEP

    49152:V2mNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd:Q

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\c83d89624f4b413b33a8535e942fb543_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c83d89624f4b413b33a8535e942fb543_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\apadppeu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhdjuewc.exe" C:\Windows\SysWOW64\apadppeu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create apadppeu binPath= "C:\Windows\SysWOW64\apadppeu\nhdjuewc.exe /d\"C:\Users\Admin\AppData\Local\Temp\c83d89624f4b413b33a8535e942fb543_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description apadppeu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start apadppeu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3464
    • 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:4480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3240 -s 584
      2⤵
      • Program crash
      PID:220
  • C:\Windows\SysWOW64\apadppeu\nhdjuewc.exe
    C:\Windows\SysWOW64\apadppeu\nhdjuewc.exe /d"C:\Users\Admin\AppData\Local\Temp\c83d89624f4b413b33a8535e942fb543_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1936
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2304
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1936 -s 536
      2⤵
      • Program crash
      PID:228
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3240 -ip 3240
    1⤵
      PID:4360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 548 -p 1936 -ip 1936
      1⤵
        PID:3172

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        58bd6aacece36b3c7cf8bc4978ca5588

        SHA1

        a312c1ac409de7312d5467cd336e5af47852564c

        SHA256

        18ef9e87e74fa65063185f629f5dcc6fb58b50b01685c50505c94894890f4a28

        SHA512

        7fd3abfd3beaa3aacd01f48aea316c74c5317810d961f33a5f017afddc63e5b69668e25218a6cacc09d01f9b5fe87aeeef40ccf66c9d2e3d96b32080b9236104

      • memory/1936-16-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/1936-11-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/1936-15-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/2304-12-0x0000000000470000-0x0000000000485000-memory.dmp

        Filesize

        84KB

      • memory/2304-14-0x0000000000470000-0x0000000000485000-memory.dmp

        Filesize

        84KB

      • memory/2304-17-0x0000000000470000-0x0000000000485000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3240-2-0x0000000000B00000-0x0000000000B13000-memory.dmp

        Filesize

        76KB

      • memory/3240-8-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/3240-9-0x0000000000B00000-0x0000000000B13000-memory.dmp

        Filesize

        76KB

      • memory/3240-1-0x0000000000BE0000-0x0000000000CE0000-memory.dmp

        Filesize

        1024KB