Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 03:22

General

  • Target

    JaffaCakes118_026f086162e7d6d864ca4dc744149bc0.exe

  • Size

    10.5MB

  • MD5

    026f086162e7d6d864ca4dc744149bc0

  • SHA1

    cc81af6e0d8bd8c89126f509ccb5714cce8a3ef0

  • SHA256

    3ef291e4dc9f5a6e42ae653acae1e014e90bf658c4160f6e8de7f2e4b0538460

  • SHA512

    ff7ba4526233eb5a7e6dfa4673bfe0dc9b354a9960c23822267cab62c1571139e93c3919d8bf38bd1afd58b147ea15a2fdc1ad6b92f2e0fd2e65b14847cdebf4

  • SSDEEP

    49152:DkHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHn:

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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\JaffaCakes118_026f086162e7d6d864ca4dc744149bc0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_026f086162e7d6d864ca4dc744149bc0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\khdvesej\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wtejhrol.exe" C:\Windows\SysWOW64\khdvesej\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create khdvesej binPath= "C:\Windows\SysWOW64\khdvesej\wtejhrol.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_026f086162e7d6d864ca4dc744149bc0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description khdvesej "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start khdvesej
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4032
    • 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:1552
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 852 -s 1236
      2⤵
      • Program crash
      PID:2948
  • C:\Windows\SysWOW64\khdvesej\wtejhrol.exe
    C:\Windows\SysWOW64\khdvesej\wtejhrol.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_026f086162e7d6d864ca4dc744149bc0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4276
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4608
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4276 -s 516
      2⤵
      • Program crash
      PID:732
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 852 -ip 852
    1⤵
      PID:1484
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4276 -ip 4276
      1⤵
        PID:4532

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        6f0c2edaaf51487b4b05e8a44d8891f7

        SHA1

        0d1c1f34ebeed8372cec0b20bce35bc7f2f8f84a

        SHA256

        3da5293a92c8d0efb32b6d9072a0ae2643f4f98bd2d15fec6e34e58589fdd02a

        SHA512

        b0da09c02c27166166edb63ca6e1d640b4caeb77d2f9d250d8eea540585bb89b582b0594dbc92de648f318e9cd770908e80763584bc703288edfeaea8694710e

      • memory/852-2-0x00000000024D0000-0x00000000024E3000-memory.dmp

        Filesize

        76KB

      • memory/852-1-0x0000000000930000-0x0000000000A30000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/852-9-0x00000000024D0000-0x00000000024E3000-memory.dmp

        Filesize

        76KB

      • memory/852-8-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/4276-11-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/4276-16-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/4608-12-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/4608-14-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/4608-15-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB