Analysis

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

General

  • Target

    JaffaCakes118_e363711ac1b9775290bd77d2194c0a4da0bea97397ace5db5e6749b4bb0b6b87.exe

  • Size

    243KB

  • MD5

    efb9c0c07fd0dac85d7d7f2366c1cd94

  • SHA1

    92e07b8e7566aa83a096f566070dd5a9d0469b1a

  • SHA256

    e363711ac1b9775290bd77d2194c0a4da0bea97397ace5db5e6749b4bb0b6b87

  • SHA512

    360c1a9b5261fdc3088da3feb28df8866b7f4a5e09ea9e5b66362bee0bc3858620ddeebf0c0f04e3c6fe90068945eab513ff21e6113302363139197bac20325a

  • SSDEEP

    6144:pnZQZPsbbeUbJ676nG7zMjAcuLngy0sXt4Q7Gk:JZTbeUbJ6mAMjT3y0sXKQ

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_e363711ac1b9775290bd77d2194c0a4da0bea97397ace5db5e6749b4bb0b6b87.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e363711ac1b9775290bd77d2194c0a4da0bea97397ace5db5e6749b4bb0b6b87.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pstonixg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tadbccsg.exe" C:\Windows\SysWOW64\pstonixg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pstonixg binPath= "C:\Windows\SysWOW64\pstonixg\tadbccsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e363711ac1b9775290bd77d2194c0a4da0bea97397ace5db5e6749b4bb0b6b87.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pstonixg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pstonixg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2180
    • 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:4628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3644 -s 1036
      2⤵
      • Program crash
      PID:2988
  • C:\Windows\SysWOW64\pstonixg\tadbccsg.exe
    C:\Windows\SysWOW64\pstonixg\tadbccsg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e363711ac1b9775290bd77d2194c0a4da0bea97397ace5db5e6749b4bb0b6b87.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1160
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1160 -s 528
      2⤵
      • Program crash
      PID:3432
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3644 -ip 3644
    1⤵
      PID:3592
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1160 -ip 1160
      1⤵
        PID:1876

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        1d951ab711d0fe33813177d3964b00cb

        SHA1

        f83bb25473332ccfad7b097367e2ccf6876d9dce

        SHA256

        68810a566461d99d95899da3e5044507ac21402ab7b45990802722ab9949c9bd

        SHA512

        238515994837f92e4b71780f45e5c610f5e3358b1e83e01919cca42ee816c3f4c5245475b593e1b4c62a856b090a8f86755e55c112bf0b28bb9ef893063ca6b3

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

        Filesize

        308KB

      • memory/1160-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        308KB

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

        Filesize

        308KB

      • memory/3644-9-0x00000000004A0000-0x00000000004B3000-memory.dmp

        Filesize

        76KB

      • memory/3644-2-0x00000000004A0000-0x00000000004B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3644-1-0x0000000000550000-0x0000000000650000-memory.dmp

        Filesize

        1024KB

      • memory/4248-13-0x00000000003E0000-0x00000000003F5000-memory.dmp

        Filesize

        84KB

      • memory/4248-15-0x00000000003E0000-0x00000000003F5000-memory.dmp

        Filesize

        84KB

      • memory/4248-16-0x00000000003E0000-0x00000000003F5000-memory.dmp

        Filesize

        84KB