Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-12-2024 16:15

General

  • Target

    JaffaCakes118_f9b47b661391df7abf158114a2972578611e5b221081404068caa304b933d83b.exe

  • Size

    243KB

  • MD5

    634b022c0ce8ef6d058dd4585135bfd1

  • SHA1

    28ab3d6e6e41d10b881136f4b92a891dac69b761

  • SHA256

    f9b47b661391df7abf158114a2972578611e5b221081404068caa304b933d83b

  • SHA512

    73d7f31c18acbf4fc5ef668254cf3a8c3e4817a31d014a7bbe381ef6931ca85232b0621be2ade16f7e5dd0644559ad094e9e763efe0894e8cbad403c718ffd04

  • SSDEEP

    6144:LBZQuBT3I7M1BFd6F2zkO8mvIhA3ATIXfzX3fc8:NZ73I7WBPzkBcI5MXfzn0

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_f9b47b661391df7abf158114a2972578611e5b221081404068caa304b933d83b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f9b47b661391df7abf158114a2972578611e5b221081404068caa304b933d83b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nnwqrfkd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1624
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\frmjqppd.exe" C:\Windows\SysWOW64\nnwqrfkd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nnwqrfkd binPath= "C:\Windows\SysWOW64\nnwqrfkd\frmjqppd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f9b47b661391df7abf158114a2972578611e5b221081404068caa304b933d83b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nnwqrfkd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nnwqrfkd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3984
    • 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:1140
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3252 -s 1196
      2⤵
      • Program crash
      PID:2268
  • C:\Windows\SysWOW64\nnwqrfkd\frmjqppd.exe
    C:\Windows\SysWOW64\nnwqrfkd\frmjqppd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f9b47b661391df7abf158114a2972578611e5b221081404068caa304b933d83b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1692
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1692 -s 512
      2⤵
      • Program crash
      PID:232
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3252 -ip 3252
    1⤵
      PID:4508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1692 -ip 1692
      1⤵
        PID:4972

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        8a74d5aa09d65d5d54be886510362940

        SHA1

        1e0dcb8de8a131540c5a516cb0936b87a333e356

        SHA256

        f87688635849f5d672bb7dffd901888ec345dee6ade305f017e3be774df55fea

        SHA512

        38549bc1bd7286d748ed76065aac9c358fccce5b6d3b6f6332a59b8f023ad33f331ee8ea35c074734c2cf7bd16ea4b89001d857005b36792fdc759b8478afaa4

      • memory/1692-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/1692-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/1692-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/1692-19-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2080-14-0x0000000000460000-0x0000000000475000-memory.dmp

        Filesize

        84KB

      • memory/2080-16-0x0000000000460000-0x0000000000475000-memory.dmp

        Filesize

        84KB

      • memory/2080-17-0x0000000000460000-0x0000000000475000-memory.dmp

        Filesize

        84KB

      • memory/3252-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3252-2-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3252-9-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

      • memory/3252-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3252-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB