Analysis

  • max time kernel
    147s
  • 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
    04-12-2024 11:16

General

  • Target

    c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe

  • Size

    13.6MB

  • MD5

    c2496d5d782576cee9b980a4852aa848

  • SHA1

    c2fba555557331a154db390b526b52235aafb12e

  • SHA256

    ca7f8f6861626af97a6f68ca54f5744ba6867cc365f14500191c7e0640806137

  • SHA512

    a5b797846b2f1e36f7652fcb7b8ead141a49fd5407ef7f9978be557d4a64ae0d69386e3ffb0723d1e3a20d5c84568d4cfdef05011ac0f007a46d722cc24373e1

  • SSDEEP

    6144:3ngjLKfnGE+Nj43Gd/50NS0UG4th+d49EOVVVVVVVVVVVVVVVVVVVVVVVVVVVVVn:wiOE+Nj4Q50k0UGIh+dJ

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\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\doxvjvuv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dbljjziy.exe" C:\Windows\SysWOW64\doxvjvuv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create doxvjvuv binPath= "C:\Windows\SysWOW64\doxvjvuv\dbljjziy.exe /d\"C:\Users\Admin\AppData\Local\Temp\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description doxvjvuv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4072
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start doxvjvuv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3776
    • 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:4692
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 1236
      2⤵
      • Program crash
      PID:3236
  • C:\Windows\SysWOW64\doxvjvuv\dbljjziy.exe
    C:\Windows\SysWOW64\doxvjvuv\dbljjziy.exe /d"C:\Users\Admin\AppData\Local\Temp\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4616
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2652
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4616 -s 524
      2⤵
      • Program crash
      PID:3580
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3672 -ip 3672
    1⤵
      PID:3656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 4616 -ip 4616
      1⤵
        PID:628

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        78197bd0df62d26857ce2a4eecd58918

        SHA1

        481a1edd42b0b2b1810babaaa9b9be44494d9926

        SHA256

        618c969d3416e0faeb7619acc8c0b7617a45c601119408da34715f1c64303ad9

        SHA512

        4b146df4fbdeb5197bdb27128090847be7cb02f4a7b001cd5f4a3adcc19b067bab6f7837442b96efea38f904b897ce8d1472067cc0a72450cf1748286172b90b

      • memory/2652-8-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

        Filesize

        84KB

      • memory/2652-15-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

        Filesize

        84KB

      • memory/2652-16-0x0000000000CD0000-0x0000000000CE5000-memory.dmp

        Filesize

        84KB

      • memory/3672-1-0x0000000001A60000-0x0000000001B60000-memory.dmp

        Filesize

        1024KB

      • memory/3672-2-0x0000000001920000-0x0000000001933000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3672-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3672-11-0x0000000001920000-0x0000000001933000-memory.dmp

        Filesize

        76KB

      • memory/3672-10-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB

      • memory/4616-13-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB

      • memory/4616-14-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB