Analysis

  • max time kernel
    149s
  • 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
    30-12-2024 22:11

General

  • Target

    JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe

  • Size

    285KB

  • MD5

    c2ce2df162edbe6d16c197dcce8461c1

  • SHA1

    84d5e79aaef19c342d0f7e0f4c91a4c1446c0c55

  • SHA256

    df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d

  • SHA512

    246688b91058703e24bafd27032e87f57041772ac4a44047c7a58be7c69141b1fd4d3eb443b8756c3aecd0a8de75949ec46f603f156a41afc54e5e37ce6e10b0

  • SSDEEP

    6144:KubLIkGEMVyknC38e3qJL6b9OOhxxdeTr/ekI:KWchEMVykSoL61zxd6L

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\JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\advjtzvr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dtttizfx.exe" C:\Windows\SysWOW64\advjtzvr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create advjtzvr binPath= "C:\Windows\SysWOW64\advjtzvr\dtttizfx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description advjtzvr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start advjtzvr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3504
    • 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:816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3168 -s 1044
      2⤵
      • Program crash
      PID:5076
  • C:\Windows\SysWOW64\advjtzvr\dtttizfx.exe
    C:\Windows\SysWOW64\advjtzvr\dtttizfx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2460
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2460 -s 512
      2⤵
      • Program crash
      PID:4116
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3168 -ip 3168
    1⤵
      PID:3644
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 2460 -ip 2460
      1⤵
        PID:4300

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        8787fda0ca3a95136530af51fddbfa55

        SHA1

        42804300f7a2e76db5e9d00d5bae0ec572b16d75

        SHA256

        215377f18b7309f4296c34bd1283151016c8bf300248fc14e4208f5fd84a9ce3

        SHA512

        19e0220c3861cb2f93f8e6d2fce60b7b98c5695a189aa53045d4eb1b7c6e211f4f04f66137dd28bf8e424282fa52747c49bb3e4e99dc76f3e8c9e2233cc7734b

      • memory/2460-13-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2460-12-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2460-11-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2460-18-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

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

        Filesize

        84KB

      • memory/3168-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/3168-8-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

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

        Filesize

        84KB

      • memory/3168-9-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/3168-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

        Filesize

        1024KB

      • memory/3380-14-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/3380-16-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/3380-17-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB